
/* =====================================================================================
   ds.css — "Football Club Dashboard" design system · v1
   Source of truth: the 3 shots reproduced in ../index.html (and nothing else).
   Scale: APP px (design frame 1440 × 1014). The Dribbble shots are this UI × 0.6313.
   Tags in comments: [O] observed in a shot · [D] derived by Claude, pending validation.
   Read DESIGN.md before using. Components read the surface variables (--fg, --line…)
   set by .panel--photo / --dark / --light or the .on-* helpers.
   ===================================================================================== */
@import url("https://fonts.googleapis.com/css2?family=Google+Sans+Flex:opsz,wdth,wght@6..144,25..151,1..1000&display=swap");

:root{
  /* ---------- palette: neutrals [O] ---------- */
  --black:#000; --black-soft:#050505;
  --ink:#121313; --ink-2:#1f2120; --ink-muted:#5b605d; --ink-subtle:#626663; --ink-faint:#8a8f8d;   /* [V] PF-07 AA: shots had #6f7471 / #7d827f; faint = disabled / decorative only */
  --on-dark:#f4f4f4; --on-dark-2:#c4c6c6; --on-dark-3:#9ea0a2; --on-dark-4:#6b6e70;
  --on-photo:#fff; --on-photo-2:#d6d7d7; --on-photo-3:#d0d2d2;            /* [V] CT-1 A (2026-11-20): -3 was #a7a9aa, 2.7–3.3:1 on light glass */
  --shell:#000; --rail-btn:#393c3d; --rail-ico:#c4c6c6;
  --dark-1:#232526; --dark-line:#393b3d; --dark-hover:#2c2e2f;            /* --dark-hover [D] */
  --sage:#e5efe7; --paper:#fdfffe; --white:#fff; --muted:#eef1ee; --muted-hover:#eff1ee;
  --grid-line:#dfe2df; --dash-line:#c7cdca; --thumb-light:#d9dfdb;
  --stage:#b5c3a5;                                                        /* showcase background */
  /* ---------- palette: semantic accents [O] ---------- */
  --green:#2b7444; --green-text:#287937; --green-strong:#357f35; --green-border:#3f8a3c;
  --green-line:#4b8a66; --green-ghost:#d4e2d7; --green-tint:#e7fae8; --green-thumb:#cfe2d0;
  --blue:#0f8bc0; --blue-text:#197299; --blue-line:#3a9db0; --blue-ghost:#cfe6f1; --blue-tint:#e7f6fc; --blue-thumb:#cadbe2;
  --star-hi:#5fd65c; --star-mid:#f1c73a; --star-lo:#ee8a2e; --alert:#f26a3b;
  --red:#e0483e; --red-text:#c3372e; --red-tint:#fdeceb;                   /* [V] errors / negative / destructive */
  /* ---------- state palette [V] CO-01 A, 2026-10-09 (form of status markers: SOR-02b / CP-02, open) ---------- */
  --state-live:#5fd65c; --state-live-ink:#121313;                           /* live = ink + pulsing green dot */
  --state-wait:#5b605d; --state-wait-tint:#eef1ee;                          /* upcoming / waiting = grey */
  --state-claim:#2b7444;                                                    /* claimable = solid green */
  --state-won:#287937; --state-won-tint:#e7fae8;                            /* won / done = light green */
  --state-risk:#af4d1b; --state-risk-tint:#fff1e6;                          /* at risk / warning = orange */
  --state-fail:#c3372e; --state-fail-tint:#fdeceb;                          /* failed = red */
  --card-clip:polygon(0 0,100% 0,100% 88.2%,79.4% 100%,0 100%);              /* Sorare card silhouette (cut corner) */
  /* ---------- type ---------- */
  --font:'Google Sans Flex','Google Sans','Product Sans',system-ui,-apple-system,sans-serif;
  /* ---------- space · radius · size ---------- */
  --sp-2:2px; --sp-4:4px; --sp-6:6px; --sp-8:8px; --sp-10:10px; --sp-12:12px; --sp-16:16px; --sp-20:20px;
  --sp-24:24px; --sp-30:30px; --sp-32:32px; --sp-40:40px; --sp-60:60px;
  --r-5:5px; --r-8:8px; --r-12:12px; --r-16:16px; --r-20:20px; --r-40:40px; --r-full:999px;
  --rail-w:82px; --ctl:40px; --ctl-s:32px; --ctl-l:48px; --row:50px; --row-dense:40px; --field-h:86px;
  /* ---------- effects ---------- */
  --shadow-menu:0 16px 38px rgba(54,79,64,.13),0 3px 10px rgba(54,79,64,.07);
  --shadow-modal:0 30px 80px rgba(0,0,0,.35);                              /* [D] */
  --ease:cubic-bezier(.2,.8,.2,1); --dur:160ms;                            /* [D] */
}

/* ---------- base ---------- */
[hidden]{display:none!important}   /* components set display; hidden must still hide */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--shell);color:var(--fg,var(--ink));font-family:var(--font);font-size:16px;line-height:1.25;
  font-optical-sizing:none;font-variation-settings:"opsz" 100;   /* calibrated: fixed opsz reproduces the shots' tight letterforms */
  -webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
img,svg,video{display:block}
button,input,select,textarea{font:inherit;color:inherit;letter-spacing:inherit}
button{cursor:pointer}
a{color:inherit;text-decoration:none}
.i{width:24px;height:24px;flex:none;stroke-width:1.5}
.i-14{width:14px;height:14px}.i-16{width:16px;height:16px}.i-18{width:18px;height:18px}
.i-20{width:20px;height:20px}.i-22{width:22px;height:22px}.i-24{width:24px;height:24px}
.i-bold{stroke-width:2.2}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ---------- surfaces (set the context variables) ---------- */
.panel{position:relative;border-radius:var(--r-40);overflow:hidden;isolation:isolate;min-width:0}
.panel--photo,.on-photo{--fg:var(--on-photo);--fg-2:var(--on-photo-2);--fg-3:var(--on-photo-3);--fg-4:#8c8f90;
  --line:rgba(255,255,255,.14);--hover:rgba(255,255,255,.08);--field:rgba(255,255,255,.11);--thumb:rgba(255,255,255,.35);color:var(--fg)}
/* [V] CT-1 A « Halo » (2026-11-20, PF-07 on photo): light text in a photo context carries a soft dark halo, so it stays ≥ 4.5:1 wherever the
   picture is bright behind it (floodlights, the lit pitch, light glass). The halo's opacity follows the text's own lightness (currentColor):
   none under ink text, full under white and the light greys. Set on every element of the context (zero specificity: any component's own
   text-shadow wins), so each one reads its own colour; painted components drop it for themselves and what they hold. A browser without
   relative colours ignores the declaration: no halo, the lighter --on-photo-3 alone. */
:where(.panel--photo,.on-photo),:where(.panel--photo,.on-photo) *{text-shadow:0 0 2px oklch(from currentColor 0 0 0 / calc(clamp(0,(l - .55) * 5,1) * .6)),
  0 0 10px oklch(from currentColor 0 0 0 / calc(clamp(0,(l - .55) * 5,1) * .64)),0 1px 18px oklch(from currentColor 0 0 0 / calc(clamp(0,(l - .55) * 5,1) * .45))}
:where(.panel--photo,.on-photo) :where(.panel--light,.on-light,.card--white,.card--glass-light,.menu,.modal,.btn,.price-btn,.seg__opt.is-active,.status,.badge,.chip,.score,.league-tag,.tier,.player-pic,.sorare-card,.level-node__disc),
:where(.panel--photo,.on-photo) :where(.panel--light,.on-light,.card--white,.card--glass-light,.menu,.modal,.btn,.price-btn,.seg__opt.is-active,.status,.badge,.chip,.score,.league-tag,.tier,.player-pic,.sorare-card,.level-node__disc) *{text-shadow:none}
.panel--dark,.on-dark{--fg:var(--on-dark);--fg-2:var(--on-dark-2);--fg-3:var(--on-dark-3);--fg-4:var(--on-dark-4);
  --line:var(--dark-line);--hover:var(--dark-hover);--field:#000;--sel-bg:#fff;--sel-fg:#151515;--thumb:#000;
  --ctl-line:#4a4d4f;--ctl-off:#393c3d;--ctl-on:#fff;--ctl-mark:#000;--sk-a:#2b2d2e;--sk-b:#353839;color:var(--fg)}
.panel--light,.on-light,.card--white,.menu,.modal{--fg:var(--ink);--fg-2:var(--ink-muted);--fg-3:var(--ink-subtle);--fg-4:var(--ink-faint);
  --line:var(--grid-line);--hover:#fff;--field:var(--paper);--sel-bg:#fff;--sel-fg:var(--ink);--thumb:var(--thumb-light);
  --ctl-line:#c3c9c5;--ctl-off:#d3d9d5;--ctl-on:var(--ink);--ctl-mark:#fff;--sk-a:#e3ebe5;--sk-b:#f1f6f2;color:var(--fg)}
.card--white,.menu,.modal{--hover:var(--muted-hover)}
.panel--dark{background:var(--dark-1)}
.panel--light{background:
  radial-gradient(950px 560px at 54px -60px,rgba(207,234,255,.95) 0%,rgba(214,238,250,.55) 45%,rgba(229,239,231,0) 80%),
  linear-gradient(180deg,#d9f0f7 0,#e0f0ec 182px,var(--sage) 304px,var(--sage) 100%)}            /* [O] blue → sage */
.panel--white{background:#fff}
.panel--photo{background:#07080a}
.panel__media{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.panel--photo::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:
  linear-gradient(180deg,rgba(0,0,0,.42) 0,rgba(0,0,0,.12) 223px,rgba(0,0,0,0) 405px),
  linear-gradient(90deg,rgba(0,0,0,.30) 0%,rgba(0,0,0,.10) 30%,rgba(0,0,0,0) 45%,rgba(0,0,0,0) 68%,rgba(0,0,0,.42) 80%,rgba(0,0,0,.5) 100%)}
.frost-col{position:absolute;top:0;right:0;bottom:0;width:326px;z-index:-1;background:rgba(10,10,10,.24);
  -webkit-backdrop-filter:blur(11px) saturate(.55);backdrop-filter:blur(11px) saturate(.55);
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 63px),linear-gradient(180deg,transparent 0,transparent 238px,#000 349px);
  -webkit-mask-composite:source-in;
  mask-image:linear-gradient(90deg,transparent 0,#000 63px),linear-gradient(180deg,transparent 0,transparent 238px,#000 349px);
  mask-composite:intersect}                                                                     /* [O] shot 1 right column */

/* ---------- app shell ---------- */
.app{display:grid;grid-template-columns:var(--rail-w) minmax(0,1fr);min-height:100vh;background:var(--shell)}
.rail{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;align-items:center;gap:20px;padding:40px 0 24px}
.rail__logo{width:40px;height:40px;margin-bottom:20px;flex:none}
.rail__logo--crest{width:40px;height:48px;margin:-6px 0 18px}
.rail__btn{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;flex:none;border:0;padding:0;
  background:var(--rail-btn);color:var(--rail-ico);transition:background var(--dur) var(--ease),color var(--dur) var(--ease)}
.rail__btn .i{width:24px;height:24px}
.rail__btn:hover{background:#464a4b;color:#fff}                                                  /* [D] */
/* [V] PG-04 B (user, 2026-10-13): each rail button's name (its aria-label) in a black bubble — on hover after 300 ms, at once on keyboard focus */
.rail{z-index:30}.rail__btn{position:relative}
@media (max-height:700px){.rail{gap:10px;padding:18px 0 14px}}                                   /* short window: the rail tightens so every destination stays on screen */
@media (max-height:520px){.rail{overflow-y:auto;scrollbar-width:none}.rail::-webkit-scrollbar{display:none}}   /* phone sideways: the rail scrolls */
.rail__btn[aria-label]::after,.rail__btn[aria-label]::before{position:absolute;top:50%;opacity:0;pointer-events:none;transition:opacity .15s var(--ease),translate .15s var(--ease)}
.rail__btn[aria-label]::after{content:attr(aria-label);left:calc(100% + 12px);translate:-4px -50%;display:flex;align-items:center;height:32px;padding:0 13px;border-radius:999px;
  background:var(--black-soft);color:#fff;font-size:13px;font-weight:500;letter-spacing:0;white-space:nowrap;box-shadow:0 0 0 1px rgba(255,255,255,.12),0 8px 20px rgba(0,0,0,.35)}
.rail__btn[aria-label]::before{content:"";left:calc(100% + 6px);translate:-4px -50%;border:6px solid transparent;border-right-color:var(--black-soft);border-left:0;z-index:1}
@media (hover:hover){.rail__btn[aria-label]:hover::after,.rail__btn[aria-label]:hover::before{opacity:1;translate:0 -50%;transition-delay:.3s}}
.rail__btn[aria-label]:focus-visible::after,.rail__btn[aria-label]:focus-visible::before{opacity:1;translate:0 -50%}
.rail__btn.is-tip-off[aria-label]::after,.rail__btn.is-tip-off[aria-label]::before{opacity:0!important;pointer-events:none}   /* dismissed with Esc until the pointer / focus leaves */
.rail__btn.is-active{background:#fff;color:#1d1f20}
/* [V] C61 NV-1 A · NV-2 2 · NV-3 1 (user, 2026-11-21: « A, 2, Q ok », « 1 ») — the rail names its sections: a rail that has a `.rail__spacer` writes under each button before it
   (the sections) its aria-label, at the tab bar's 11 px / 500 — white when lit or hovered, part of the button (a bigger target), no bubble for a named button. The tools after
   the spacer (search, bell, photo) keep their round and their bubble. Under 620 px of window height the names give way to the bubbles again. */
@media (min-width:600px) and (min-height:620px){
  .rail:has(> .rail__spacer) > .rail__btn:not(.rail__spacer ~ *){margin-bottom:10px}
  .rail:has(> .rail__spacer) > .rail__btn[aria-label]:not(.rail__spacer ~ *)::before{display:none}
  .rail:has(> .rail__spacer) > .rail__btn[aria-label]:not(.rail__spacer ~ *)::after{left:50%;top:calc(100% + 4px);translate:-50% 0!important;opacity:1!important;display:block;height:14px;padding:0;border-radius:0;
    background:none;box-shadow:none;font-size:11px;line-height:14px;font-weight:500;letter-spacing:.01em;color:var(--rail-ico);pointer-events:auto;transition:color var(--dur) var(--ease)}
  .rail:has(> .rail__spacer) > .rail__btn.is-active[aria-label]:not(.rail__spacer ~ *)::after,.rail:has(> .rail__spacer) > .rail__btn[aria-label]:not(.rail__spacer ~ *):hover::after{color:#fff}
}
.rail__spacer{flex:1}
.main{min-width:0;display:flex;flex-direction:column;gap:10px;padding:10px 10px 10px 0}         /* gutter [D] */
.rail__me{width:40px;height:40px;border-radius:50%;object-fit:cover;flex:none}                  /* [V] PG-01 C: avatar at the rail bottom */
.main > .panel{flex:1 0 auto;min-height:calc(100vh - 20px)}                                  /* auto basis: a long panel grows with its content (page scroll) */
.main > .panel--fit{flex:none;height:calc(100vh - 20px);min-height:900px}                                 /* dashboard: no page scroll, inner lists scroll */
.split{display:grid;grid-template-columns:406px minmax(0,1fr);min-height:calc(100vh - 20px)}   /* master–detail [O shot 2] */
.split > .panel--light{margin-left:-40px}                                                       /* light panel overlaps the dark list */

/* ---------- showcase (Dribbble-style presentation, 1024×768 when zoomed ×0.6313) ---------- */
.showcase{min-height:100vh;display:flex;justify-content:center;background:var(--stage)}
.showcase__stage{position:relative;width:1622px;height:1217px;flex:none;background:var(--stage);overflow:hidden}
.showcase__shadow{position:absolute;left:238px;top:966px;width:1146px;height:238px;border-radius:95px;background:rgba(28,42,22,.78);filter:blur(54px)}
.showcase__stage .app{position:absolute;left:90px;top:90px;width:1440px;height:1014px;min-height:0;border-radius:40px;overflow:hidden;
  box-shadow:-1.5px 0 0 rgba(255,255,255,.28)}
.showcase__stage .rail{position:relative;height:auto}
.showcase__stage .app{grid-template-rows:minmax(0,1fr)}
.showcase__stage .main{padding:0;gap:0;min-height:0;height:1014px}
.showcase__stage .main > .panel,.showcase__stage .main > .panel--fit,.showcase__stage .split{min-height:0;height:1014px}
.showcase__stage .panel{border-radius:38px 40px 40px 38px}

/* ---------- typography ---------- */
.t-display{font-size:120px;line-height:.89;font-weight:500;letter-spacing:-.028em}               /* hero name [O] */
.t-stat{font-size:76px;line-height:1;font-weight:500;letter-spacing:.05em}                       /* 68% [O] */
.t-h1{font-size:40px;line-height:1.15;font-weight:450;letter-spacing:-.005em}                   /* page / profile title [O] */
.t-num-xl{font-size:42px;line-height:1.15;font-weight:400;letter-spacing:.015em}                /* headline amount [O] */
.t-h2{font-size:22px;line-height:1.2;font-weight:500;letter-spacing:-.025em}                    /* card titles [O] */
.t-section{font-size:30px;line-height:1.15;font-weight:470;letter-spacing:-.025em}               /* [V] TY-01 B (user, 2026-10-13): a title that groups cards — page 40 › section 30 › card 22 */
.t-body-l{font-size:18px;line-height:1.25;font-weight:400;letter-spacing:-.01em}                /* field values, column titles [O] */
.t-body{font-size:16px;line-height:1.25;font-weight:450;letter-spacing:-.015em}                 /* list rows, nav [O] */
.t-small{font-size:15px;line-height:1.25;font-weight:400;letter-spacing:.02em}                  /* overlines, meta [O] */
.t-caption{font-size:14px;line-height:1.2;font-weight:500;letter-spacing:-.005em}               /* buttons, table cells, menus [O] */
.t-micro{font-size:12px;line-height:1.2;font-weight:400}                                         /* labels, headers, axes [O] */
.t-nano{font-size:10px;line-height:1.2;font-weight:400}                                          /* tooltip captions, badges [O] */
.w-400{font-weight:400}.w-450{font-weight:450}.w-500{font-weight:500}.w-560{font-weight:560}.w-600{font-weight:600}
.c-fg{color:var(--fg)}.c-fg-2{color:var(--fg-2)}.c-fg-3{color:var(--fg-3)}.c-fg-4{color:var(--fg-4)}
.c-green{color:var(--green-text)}.c-blue{color:var(--blue-text)}.c-red{color:var(--red-text)}
.c-won{color:var(--state-won)}.c-risk{color:var(--state-risk)}.c-fail{color:var(--state-fail)}.c-wait{color:var(--state-wait)}
:is(.panel--photo,.on-photo,.panel--dark,.on-dark,.card--glass-dark) .c-won{color:#79dd76}
:is(.panel--photo,.on-photo,.panel--dark,.on-dark,.card--glass-dark) .c-risk{color:#ffa268}   /* [V] C19 PI-2 (user, 2026-10-19): « at risk » on dark, 9.4:1 on #121313 (AA) */
:is(.panel--photo,.on-photo,.panel--dark,.on-dark,.card--glass-dark) .c-fail{color:#ff8f84}   /* [V] CP-02: the number carries the state */
.c-star-hi{color:var(--star-hi)}.c-star-mid{color:var(--star-mid)}.c-star-lo{color:var(--star-lo)}.c-yellow{color:#f5c400}.c-alert{color:var(--alert)}
.num,.tnum{font-variant-numeric:tabular-nums}   /* [V] SYS-05 B: live / aligned numbers only */
.ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}

/* ---------- layout utilities ---------- */
.hstack{display:flex;align-items:center}.vstack{display:flex;flex-direction:column}
.grow{flex:1;min-width:0}.ml-auto{margin-left:auto}.wrap{flex-wrap:wrap}
.gap-4{gap:4px}.gap-6{gap:6px}.gap-8{gap:8px}.gap-10{gap:10px}.gap-12{gap:12px}.gap-16{gap:16px}
.gap-20{gap:20px}.gap-24{gap:24px}.gap-30{gap:30px}.gap-32{gap:32px}.gap-40{gap:40px}.gap-60{gap:60px}
.pad-30{padding:30px}.pad-40{padding:40px}
.page{padding:32px 40px 40px}                                                                     /* standard panel padding [O] */

/* ---------- buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;height:40px;padding:0 18px 0 16px;border:0;border-radius:12px;
  font-size:14px;font-weight:500;letter-spacing:.005em;line-height:1;white-space:nowrap;
  transition:background var(--dur) var(--ease),box-shadow var(--dur) var(--ease),opacity var(--dur),transform var(--t-ui) var(--ease-out)}
.btn .i{width:20px;height:20px}
.btn--primary{background:var(--black-soft);color:#fff;box-shadow:0 0 0 1.5px rgba(255,255,255,.5)}               /* Save [O] */
.btn--primary .i{color:#cfd1d1}
.btn--primary:hover{background:#1f2121}
.btn--secondary{background:rgba(250,255,253,.72);color:var(--ink)}                                               /* Delete [O] */
.btn--secondary .i{color:#3a3d3c}
.btn--secondary:hover{background:rgba(255,255,255,.95)}
.btn--dark{background:#000;color:#f3f3f3}                                                                         /* Upload contract [O] */
.btn--dark .i{color:#d6d6d6}
.btn--dark:hover{background:#151617}
.btn--wide{display:flex;width:100%;height:50px;border-radius:16px;background:#fff;color:var(--ink);font-size:15px}   /* Add New Condition [O] */
.btn--wide .i{color:#5b5f5d}
.btn--wide:hover{background:#f7faf8}
.btn--ghost{background:transparent;color:var(--fg)}                                                               /* [D] */
.btn--ghost:hover{background:var(--hover)}
.btn--outline{background:transparent;color:var(--fg);box-shadow:inset 0 0 0 1px var(--ctl-line,#c3c9c5)}            /* [V] CP-28: « do it now » action inside a list row */
.btn--outline .i{color:var(--fg)}
.btn--outline:hover{background:var(--hover)}
.btn--danger{background:var(--red-text);color:#fff}   /* [V] C17 CM-7.5: white on --red-text 5:1 (on --red it was 4.07:1, under AA) */
.btn--s{height:32px;padding:0 12px;gap:8px;border-radius:10px;font-size:13px}.btn--s .i{width:16px;height:16px}     /* [D] */
.btn--l{height:48px;padding:0 24px 0 20px;border-radius:14px;font-size:16px}.btn--l .i{width:22px;height:22px}      /* [D] */
:is(a,button,summary,[role=tab],[role=radio],[tabindex]):focus-visible{outline:2px solid var(--fg,#121313);outline-offset:2px}   /* [V] §6 States: every control, not only the ones listed below */
.btn:focus-visible,.btn-circle:focus-visible,.btn-icon:focus-visible,.tab:focus-visible,.rail__btn:focus-visible{outline:2px solid var(--fg,#121313);outline-offset:2px}
.rail :is(a,button):focus-visible{outline-color:#fff}                                                                /* the rail is black: --fg fell back to ink */
html :is(.btn-circle,.rail__btn,.link-arrow,.seg__opt,.tab,.tabbar__tab,.select,.btn-icon,.price-btn):active{transform:scale(.92);opacity:.78}   /* pressed [D]: beats the hover lift of the motion kit */
.btn[disabled],.btn.is-disabled{opacity:.4;pointer-events:none}
.btn.is-loading{pointer-events:none}.btn.is-loading .i{display:none}
.btn-circle{width:40px;height:40px;border-radius:50%;display:inline-grid;place-items:center;flex:none;border:0;padding:0;color:var(--fg);
  transition:background var(--dur) var(--ease)}
.btn-circle .i{width:16px;height:16px}
.btn-circle--glass{background:rgba(255,255,255,.11);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:#fff}   /* back / next [O] */
.btn-circle--glass:hover{background:rgba(255,255,255,.2)}
.btn-circle--light{background:rgba(255,255,255,.62)}                                                              /* club switcher [O] */
.btn-circle--soft{background:#f3f8f5}                                                                             /* icon before amount [O] */
.btn-circle--light:hover,.btn-circle--soft:hover{background:#fff}
.btn-icon{width:32px;height:32px;border-radius:50%;display:inline-grid;place-items:center;position:relative;border:0;padding:0;background:transparent;color:var(--fg)}
.btn-icon .i{width:22px;height:22px}
.btn-icon:hover{background:var(--hover)}
.btn-icon .badge{position:absolute;left:-7px;top:8px}

/* ---------- navigation ---------- */
.nav{display:flex;align-items:center;gap:42px}
.nav__link{font-size:16.5px;font-weight:400;color:var(--fg-2);letter-spacing:0;white-space:nowrap}
.nav__link:hover{color:var(--fg)}
.nav__link.is-active{color:var(--fg);font-weight:500}
.tabs{display:flex;align-items:baseline;gap:32px}
.tab{font-size:22px;font-weight:400;letter-spacing:-.005em;color:var(--fg-2);background:none;border:0;padding:0;white-space:nowrap}
.tab:hover{color:var(--fg)}
.tab.is-active{color:var(--fg)}
.backlink{display:inline-flex;align-items:center;gap:12px}                                                        /* "< All Players" [O] */

/* ---------- inputs ---------- */
.search{position:relative;display:flex;align-items:center;height:40px;border-radius:12px;padding:0 16px 0 44px;font-size:14px;color:var(--fg)}
.search > .i{position:absolute;left:16px;top:11px;width:18px;height:18px;color:var(--fg)}
.search input{all:unset;flex:1;min-width:0;font-size:14px;color:var(--fg)}
.search input::placeholder{color:var(--fg-3)}
.search--translucent{background:rgba(255,255,255,.5)}          /* top bar [O] */
.search--white{background:#fdfefd}                               /* inside a card [O] */
.search--outline{border:1px solid var(--line)}                   /* dark panel [O] */
.search--outline > .i{left:15px;color:var(--fg-3)}
.search--l{height:48px;border-radius:14px;font-size:16px}.search--l > .i{top:15px}.search--l input{font-size:16px}   /* L [V] SR-Q8: the player search's field */
.search:focus-within{outline:2px solid var(--fg,#121313);outline-offset:2px}                              /* [V] §18 Focus (C54): the field's ring — its input is `all:unset`, nothing showed where the keyboard was */
.select{position:relative;display:flex;align-items:center;gap:12px;height:40px;border-radius:12px;padding:0 40px 0 14px;font-size:14px;font-weight:500;
  letter-spacing:-.005em;white-space:nowrap;border:0;text-align:left}
.select > .chev{position:absolute;right:16px;top:13px;width:14px;height:14px;color:var(--fg-2);stroke-width:2.2}
.select--dark{background:#000;color:#f2f2f2;padding-left:30px;gap:8px}                     /* team switcher [O] */
.select--light{background:rgba(255,255,255,.55);color:var(--ink);font-size:15px;gap:12px;padding-left:14px}   /* date range [O] */
.select--light .muted{color:var(--ink-muted);font-weight:400}
.field{position:relative;display:flex;flex-direction:column;min-height:var(--field-h);padding:20px 48px 16px 14px;border-radius:16px;background:var(--field)}
.field__label{font-size:12px;line-height:1;color:var(--fg-3);margin-bottom:9px}
.field__value{display:flex;align-items:center;gap:8px;min-height:24px;font-size:18px;letter-spacing:-.02em;color:var(--fg);white-space:nowrap}
.field__value input,.field__value textarea{all:unset;flex:1;min-width:0;color:var(--fg)}
.field__value input::placeholder{color:var(--fg-3)}
.field__value .i{width:20px;height:20px}
.field__value .crest{width:24px;height:24px}
.field__trail{position:absolute;right:20px;top:calc(50% - 7px);width:14px;height:14px;color:var(--fg-2);stroke-width:2}
.field__trail--icon{right:18px;top:calc(50% - 10px);width:20px;height:20px;stroke-width:1.5}
.caret{display:inline-block;width:1.5px;height:20px;background:currentColor;margin-left:1px;animation:ds-blink 1s steps(1) infinite}
.field.is-focus{box-shadow:0 0 0 2px rgba(18,19,19,.12)}                                       /* [D] */
.field.is-error{box-shadow:0 0 0 1.5px var(--red)}                                             /* [D] */
.field.is-disabled{opacity:.5}                                                                 /* [D] */
.field__help{font-size:12px;color:var(--fg-3);margin:8px 0 0 14px}
.field__help--error{color:var(--red-text)}
.fields{display:grid;gap:20px}
.check,.radio{appearance:none;-webkit-appearance:none;margin:0;width:20px;height:20px;flex:none;display:inline-grid;place-items:center;
  border:1.5px solid var(--ctl-line);background:transparent;transition:background var(--dur),border-color var(--dur)}     /* [D] */
.check{border-radius:6px}
.check:checked{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)}
.on-dark .check:checked,.panel--dark .check:checked{background-image: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='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.radio{border-radius:50%}
.radio:checked{border-color:var(--ctl-on);box-shadow:inset 0 0 0 4.5px var(--ctl-mark),inset 0 0 0 10px var(--ctl-on)}
.switch{appearance:none;-webkit-appearance:none;margin:0;position:relative;width:40px;height:24px;flex:none;border-radius:999px;background:var(--ctl-off);
  transition:background var(--dur) var(--ease)}                                                  /* [D] */
.switch::before{content:"";position:absolute;left:3px;top:3px;width:18px;height:18px;border-radius:50%;background:#fff;
  box-shadow:0 1px 3px rgba(0,0,0,.18);transition:transform var(--dur) var(--ease),background var(--dur)}
.switch:checked{background:var(--ctl-on)}
.switch:checked::before{transform:translateX(16px);background:var(--ctl-mark)}
.control{display:inline-flex;align-items:center;gap:10px;font-size:14px;font-weight:450}
.seg{position:relative;isolation:isolate;display:inline-flex;gap:4px;padding:4px;border-radius:12px;background:var(--seg-track,rgba(255,255,255,.5))}  /* [V] CP-03 A */
:is(.panel--dark,.on-dark){--seg-track:#000}
:is(.panel--photo,.on-photo,.card-stage){--seg-track:rgba(255,255,255,.14)}
.card--white,.modal{--seg-track:#eff3f0}
.seg__opt{position:relative;z-index:1;display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 14px;border:0;border-radius:9px;background:transparent;
  font:inherit;font-size:14px;font-weight:500;color:var(--fg-2);white-space:nowrap;cursor:pointer;transition:color var(--dur) var(--ease),background var(--dur) var(--ease)}
.seg__opt > img{height:16px;width:auto;flex:none}
.seg__opt:hover{color:var(--fg)}
.seg__opt.is-active{background:var(--sel-bg,#fff);color:var(--sel-fg,var(--ink))}
.seg__thumb{position:absolute;z-index:0;top:4px;left:0;height:32px;border-radius:9px;background:var(--sel-bg,#fff);box-shadow:0 1px 3px rgba(24,40,32,.08);
  transition:transform .38s var(--ease-out),width .38s var(--ease-out)}
.seg.has-thumb .seg__opt.is-active{background:transparent}

/* ---------- menus ---------- */
.menu{position:absolute;z-index:30;min-width:240px;border-radius:16px;background:#fff;box-shadow:var(--shadow-menu);overflow:hidden}
.menu__item{display:flex;align-items:center;gap:6px;height:40px;padding:0 14px;font-size:14px;font-weight:560;letter-spacing:-.01em;color:var(--ink);white-space:nowrap;cursor:pointer}
:where(button.menu__item){width:100%;border:0;background:none;font:inherit;text-align:left}   /* [V] 2026-10-25: a row that acts is a <button>, without the browser's own face (no specificity: pages' own rows keep theirs) */
.menu__item--danger{color:var(--red-text)}   /* [V] 2026-10-25: a destructive row (Delete / Cancel lineup), red words, no glyph — it then asks first */
.menu__item:hover,.menu__item.is-hover{background:var(--muted-hover)}
.menu__item .crest,.menu__item .flag{width:24px;height:24px}
.menu__item .flag{margin-right:5px}
.menu__item .i{width:20px;height:20px;color:var(--ink-muted)}
.menu__item.is-selected::after{content:"";margin-left:auto;width:16px;height:16px;background:currentColor;
  -webkit-mask: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='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: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='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat}   /* [D] */
.menu__label{padding:12px 14px 6px;font-size:12px;color:var(--ink-subtle)}                                       /* [D] */
.menu__sep{height:1px;margin:4px 0;background:var(--grid-line)}                                                  /* [D] */

/* ---------- cards ---------- */
.card{position:relative;border-radius:20px;padding:24px 30px}
.card--inner{border-radius:16px}
.card--compact{padding:16px 20px 20px}
.card--translucent{background:rgba(255,255,255,.48)}          /* form / list containers on the light panel [O] */
.card--white{background:#fff}                                  /* main data container [O] */
.card--muted{background:var(--muted)}                          /* chart wells [O] */
.card--green{background:var(--green-tint)}                     /* money-in tables [O] */
.card--blue{background:var(--blue-tint)}                       /* money-out tables [O] */
.card--glass{border-radius:16px;background:rgba(255,255,255,.085);-webkit-backdrop-filter:blur(19px) saturate(.6);backdrop-filter:blur(19px) saturate(.6)}  /* on photo [O] */
.card--glass-dark{border-radius:16px;background:rgba(26,26,26,.6);-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px)}                         /* on photo [O] */
.card__head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}
.card__title{font-size:22px;font-weight:500;letter-spacing:-.025em;line-height:1.2}
.card__title--s{font-size:14px;font-weight:500;letter-spacing:0}
.card__eyebrow{display:block;font-size:14px;line-height:1.25;color:var(--fg-3);margin:4px 0 15px}
.card__total{font-size:19px;font-weight:500;letter-spacing:.01em;white-space:nowrap}
.card__total .muted{color:var(--fg-2);font-weight:400}
.label{display:block;padding:0 14px;margin:20px 0 10px;font-size:12px;line-height:1;color:var(--fg-3);white-space:nowrap}   /* list group label [O] */
.label:first-child{margin-top:0}

/* ---------- lists ---------- */
.list{display:flex;flex-direction:column}
.lrow{display:flex;align-items:center;gap:10px;height:var(--row);padding:0 15px 0 14px;border-radius:16px;font-size:16px;font-weight:500;
  letter-spacing:-.015em;color:var(--fg);white-space:nowrap;transition:background var(--dur) var(--ease)}
.lrow__title{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
.lrow__meta{font-size:14px;font-weight:400;color:var(--fg-3)}
.lrow__value{margin-left:auto;font-size:17px;font-weight:600;letter-spacing:.01em}
.lrow:hover,.lrow.is-hover{background:var(--hover)}
.lrow.is-selected{background:var(--sel-bg);color:var(--sel-fg)}
.lrow.is-dim{opacity:.38}
.lrow--strong{font-weight:560}.lrow--strong .lrow__value{font-weight:600}

/* ---------- tables ---------- */
.table{--cols:2fr 1.2fr 1fr auto;font-size:14px}
.table__head,.table__row{display:grid;grid-template-columns:var(--cols);align-items:center;column-gap:12px}
.table__head{height:20px;margin-bottom:12px;font-size:12px;color:var(--fg-3)}
.table__row{height:var(--row-dense);font-weight:560;letter-spacing:-.005em;color:var(--fg)}
.table__row > *{min-width:0;white-space:nowrap}
.table .cell{display:flex;align-items:center;gap:12px;min-width:0}
.table .cell .avatar{width:28px;height:28px}
.table .cell .crest{width:30px;height:30px}
.table .code{font-weight:480;letter-spacing:.03em;color:var(--ink-2)}
.table .num,.table .end{text-align:right;justify-self:end;font-weight:600}
.table__body--fade{-webkit-mask-image:linear-gradient(180deg,#000 0,#000 calc(100% - 64px),rgba(0,0,0,.22) calc(100% - 16px),rgba(0,0,0,.08) 100%);
  mask-image:linear-gradient(180deg,#000 0,#000 calc(100% - 64px),rgba(0,0,0,.22) calc(100% - 16px),rgba(0,0,0,.08) 100%)}

/* ---------- scroll ---------- */
.scroll{overflow:auto;scrollbar-width:thin;scrollbar-color:var(--thumb) transparent}
.scroll::-webkit-scrollbar{width:6px;height:6px}
.scroll::-webkit-scrollbar-thumb{background:var(--thumb);border-radius:3px}
.thumb{position:absolute;width:5px;height:29px;border-radius:3px;background:var(--thumb)}         /* static scrollbar mark for mockups [O] */

/* ---------- media: avatars, crests, flags ---------- */
.avatar{width:40px;height:40px;border-radius:50%;object-fit:cover;flex:none;background:#e2e7f1}
.avatar--28{width:28px;height:28px}.avatar--30{width:30px;height:30px}.avatar--110{width:110px;height:110px}
.on-dark .avatar,.panel--dark .avatar,.on-photo .avatar{box-shadow:0 0 0 1.5px rgba(255,255,255,.18)}
.avatar-group{display:flex}.avatar-group .avatar{margin-left:-10px;box-shadow:0 0 0 2px var(--ring,#fff)}.avatar-group .avatar:first-child{margin-left:0}   /* [D] */
.crest{width:30px;height:30px;flex:none}
.crest--24{width:24px;height:24px}.crest--36{width:36px;height:36px}.crest--40{width:40px;height:40px}
.crest-ring{display:grid;place-items:center;width:88px;height:88px;border-radius:50%;background:rgba(28,30,32,.72);
  -webkit-backdrop-filter:blur(13px);backdrop-filter:blur(13px)}
.crest-ring .crest{width:74px;height:74px}
.crest-gen{display:inline-grid;place-items:center;width:30px;height:30px;flex:none;border-radius:50%;background:var(--c1,#034694);color:var(--c2,#fff);
  box-shadow:inset 0 0 0 2px var(--c2,#fff),0 0 0 1px rgba(0,0,0,.08);font-size:9px;font-weight:700;letter-spacing:.04em}       /* any club, no artwork [D] */
.flag{width:24px;height:24px;flex:none;border-radius:50%;overflow:hidden;box-shadow:0 0 0 1px rgba(0,0,0,.06)}

/* ---------- page head [V] PG-01 C: one row inside the panel (title · Set · page numbers · primary action) ---------- */
.page-head{display:flex;flex-wrap:wrap;align-items:center;gap:12px 16px;min-height:44px}   /* wraps when its end runs out of room (1024–1170 px on Matchday): reflow, WCAG 1.4.10 */
.page-head__title{margin:0;font-size:40px;line-height:1.15;font-weight:450;letter-spacing:-.005em;white-space:nowrap}
.page-head__end{margin-left:auto;display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px 24px}
.page-head + .tabs{margin-top:28px}
.kpi > img{height:24px;width:auto;flex:none;object-fit:contain}

/* ---------- Sorare card [V] SOR-02: the official PNG untouched, the stage is ours ---------- */
.sorare-card{position:relative;display:block;width:var(--w,168px);aspect-ratio:771/1248;flex:none}
.sorare-card--xs{--w:40px}.sorare-card--s{--w:96px}.sorare-card--m{--w:168px}.sorare-card--l{--w:248px}.sorare-card--xl{--w:320px}
.sorare-card--bust{--w:84px}   /* [V] MD-Q10 (user, 2026-10-13): only for the card standing beside a player's bust (Matchday stage); xs 40 on phones */
.sorare-card > img{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 14px 16px rgba(24,40,32,.26)) drop-shadow(0 2px 3px rgba(24,40,32,.16))}
:is(.panel--dark,.on-dark,.panel--photo,.on-photo,.card-stage) .sorare-card > img{filter:drop-shadow(0 18px 24px rgba(0,0,0,.55)) drop-shadow(0 2px 5px rgba(0,0,0,.4))}
.sorare-card--xs > img,.sorare-card--s > img{filter:drop-shadow(0 5px 7px rgba(24,40,32,.24))}
.sorare-card::after{content:"";position:absolute;inset:0;pointer-events:none;clip-path:var(--card-clip);
  background:linear-gradient(115deg,transparent 38%,rgba(255,255,255,.32) 48%,transparent 58%) no-repeat;background-size:260% 100%;
  background-position:130% 0;transition:background-position .9s var(--ease-out)}                                   /* hover sheen follows the card shape */
.sorare-card:hover::after{background-position:-30% 0}
.sorare-card.is-unavailable > img{opacity:.42}                                                                    /* in a lineup, locked (quiet) */
.sorare-card__scrim{position:absolute;inset:0;clip-path:var(--card-clip);border-radius:2.6%/1.6%;background:rgba(8,10,10,.62);
  display:grid;place-items:center;color:#fff}                                                                     /* locked when the reason must show */
.sorare-card__scrim .i{width:28px;height:28px}
.sorare-card__notch{position:absolute;right:-1px;bottom:-1px;z-index:2;width:clamp(20px,calc(var(--w,168px) * .18),30px);aspect-ratio:1;
  border-radius:50%;background:#121313;color:#fff;display:grid;place-items:center;box-shadow:0 0 0 2.5px var(--notch-ring,var(--sage))}  /* [V] SOR-02b B: exceptions only */
.sorare-card__notch .i{width:58%;height:58%;stroke-width:2}
/* [V] MD-Q4 + MD-12 (user, 2026-10-13): on a lineup's card, phone and PC — the captain's « C » at the top-right corner, the card's decisive actions
   (ICON-03 badges, stacked) at the bottom-right corner, where the notch sits */
.sorare-card__cap{position:absolute;top:-7px;right:-7px;z-index:3;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--ink);color:#fff;
  font-size:11.5px;font-weight:700;font-style:normal;line-height:1;box-shadow:0 0 0 2px var(--cap-ring,#fff)}
:is(.panel--photo,.on-photo,.panel--dark,.on-dark,.card-stage) .sorare-card__cap{background:#fff;color:var(--ink);--cap-ring:rgba(18,20,20,.9)}
/* [V] MD-OFF (user, 2026-10-22: « une pastille … en haut à gauche, même chose que pour le C du capitaine mais avec la minute de sortie et l'icone ») —
   a lineup's card whose player went off while his match goes on: the captain's twin at the top-left corner, x-substitution + the minute he left
   (the icon alone when Sorare gives no minute), and the card in retreat (.is-off, as .is-unavailable; on the busts' stage: .bust.is-off) */
.sorare-card__off{position:absolute;top:-7px;left:-7px;z-index:3;display:inline-flex;align-items:center;justify-content:center;gap:2px;min-width:22px;height:22px;padding:0 7px 0 5px;
  border-radius:11px;background:var(--ink);color:#fff;font-size:11.5px;font-weight:700;font-style:normal;line-height:1;white-space:nowrap;font-variant-numeric:tabular-nums;
  box-shadow:0 0 0 2px var(--cap-ring,#fff)}
.sorare-card__off .i{flex:none;width:13px;height:13px;stroke-width:2.2}
.sorare-card__off:not(:has(span)){padding:0}
.sorare-card__off--bench{padding:0 8px}   /* MD-OFF-3 (user, 2026-10-23): the substitute still on the bench while his match is on — the word alone */
:is(.panel--photo,.on-photo,.panel--dark,.on-dark,.card-stage) .sorare-card__off{background:#fff;color:var(--ink);--cap-ring:rgba(18,20,20,.9)}
.sorare-card.is-off > img{opacity:.42}
.sorare-card--xs .sorare-card__off{top:-5px;left:-5px;min-width:16px;height:16px;padding:0 4px 0 2px;gap:1px;font-size:10px;box-shadow:0 0 0 1.5px var(--cap-ring,#fff)}
.sorare-card--xs .sorare-card__off .i{width:10px;height:10px}.sorare-card--xs .sorare-card__off--bench{padding:0 4px}
.sorare-card__acts{position:absolute;right:-6px;bottom:-5px;z-index:3;display:flex;flex-direction:column-reverse;align-items:center;gap:4px}
.sorare-card__acts .act--card{background:#141717;box-shadow:0 0 0 2px var(--act-ring,#fff)}.sorare-card__acts .act--card .i{width:78%;height:78%}   /* a booking at a card's corner: a dark disc (as its big tile), legible over the art and the panel alike */
/* ---------- decisive actions [V] ICON-03 (user, 2026-10-13): one drawing per action (icons i-x-act-*), three sizes ----------
   inline (text, plates, lists): the icon in green when the action earns points, red when it costs — .act-i--pos / --neg;
   on a picture (a card's corner): a green / red disc, the icon white — .act (--s 18–22);
   big (a player's sheet, a live notification): the generated drawing itself on a green / red tile — .act-art, --art = a data URI from
   assets/actions (tools/act_art.py); a booking keeps a dark tile (its card is coloured). */
.act-i{flex:none;stroke-width:1.5}
.act-i--pos{color:var(--green-text)}.act-i--neg{color:var(--red-text)}
:is(.panel--photo,.on-photo,.panel--dark,.on-dark) .act-i--pos{color:#79dd76}
:is(.panel--photo,.on-photo,.panel--dark,.on-dark) .act-i--neg{color:#ff8f84}
.act{position:relative;display:inline-grid;place-items:center;flex:none;width:var(--s,22px);height:var(--s,22px);border-radius:50%;background:var(--state-won);color:#fff;
  box-shadow:0 0 0 2px var(--act-ring,#fff)}
.act--neg{background:var(--state-fail)}
.act .i{width:70%;height:70%;stroke-width:1.9}
.act--card{background:none;box-shadow:none}.act--card .i{width:100%;height:100%}
:is(.panel--photo,.on-photo,.panel--dark,.on-dark) .act{--act-ring:rgba(18,20,20,.95)}
.act-art{display:inline-grid;place-items:center;flex:none;width:var(--s,44px);height:var(--s,44px);border-radius:calc(var(--s,44px) * .27);background:#141717;color:#fff}
.act-art--pos{background:var(--state-won)}.act-art--neg{background:var(--state-fail)}
.act-art i{display:block;width:84%;height:84%;background:currentColor;-webkit-mask:var(--art) center/contain no-repeat;mask:var(--art) center/contain no-repeat}
.act-art img{display:block;width:84%;height:84%;object-fit:contain}
/* ---------- lineup busts [V] MD-02 4 · MD-08 A · MD-09 4 · CP-09 (user, 2026-10-13): a lineup on a photo stage, five across — each player's
   official Sorare « squared » bust with his card standing beside it (.sorare-card--bust), a dark plate under it: name + score, position +
   edition, the match (crests, result, clock), the decisive actions (ICON-03 inline, with their minute). While a plate gets ≥ 130 px;
   below (row < 700 px: iPhone, narrow windows) the one-line version: the card small, tucked behind the plate, the plate centred, no
   position / edition (the card shows it: user), the clock under the score, long names fitted by DS.busts.fit() down to 10.5 px.
   [V] PS-01 F4b (user, 2026-10-14: « le score … devrait être la première chose qu'on voit »): the plate opens on the player's score in a halo
   (ds.js draws .bust__halo: a trail fading in up to the score, a glowing point; the tone has the pitch chips' hue and glows more as the score
   rises), the name under it; a wash of the same tone from the plate's top; the five plates share one height. Every line of the plate is centred
   on the halo's axis, at every size (user, 2026-10-14: « remets de l'ordre » — the halo was centred, the rows under it left-aligned).
   Markup in DESIGN.md §16. Page: the row's outer margins. ---------- */
.busts{container:busts / inline-size;display:flex;align-items:stretch;padding:0 4px}
.bust{position:relative;flex:1 1 0;min-width:0;display:flex;flex-direction:column;align-items:stretch;border:0;padding:0;background:none;font:inherit;color:#fff;cursor:pointer;text-align:left}
.bust__fig{position:relative;display:block;width:122%;margin:0 -11%;aspect-ratio:1;pointer-events:none}
.bust__img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:50% 100%;filter:drop-shadow(0 20px 26px rgba(0,0,0,.55));transition:translate .35s var(--ease-out)}
.bust__img--avatar{inset:18% 14% 0;width:72%;height:82%}   /* no « squared » picture: the avatar, smaller */
.bust__card{position:absolute;right:9%;bottom:2%;z-index:2;rotate:7deg;transform-origin:50% 100%;transition:rotate .35s var(--ease-out),translate .35s var(--ease-out)}
@media (hover:hover){.bust:hover .bust__card{rotate:0deg;translate:0 -10px}.bust:hover .bust__img{translate:0 -3px}}
.bust.is-off .bust__img{filter:brightness(.42) drop-shadow(0 20px 26px rgba(0,0,0,.55))}   /* MD-OFF: out of the light — darkened, not faded (a faded card shows the bust through it) */
.bust.is-off .bust__card > img{opacity:1;filter:brightness(.42) drop-shadow(0 18px 24px rgba(0,0,0,.55)) drop-shadow(0 2px 5px rgba(0,0,0,.4))}
.bust:focus-visible{outline:none}.bust:focus-visible .bust__plate{box-shadow:0 0 0 2px #fff}
.bust__plate{--plate-bg:rgba(14,16,16,.78);--ring:88px;--fs:38px;position:relative;z-index:3;flex:1 1 auto;display:grid;align-content:start;gap:7px;text-align:center;margin:-12px 5px 0;padding:10px 12px 11px;border-radius:16px;
  background:linear-gradient(180deg,color-mix(in srgb,var(--halo,var(--plate-bg)) 24%,var(--plate-bg)) 0,color-mix(in srgb,var(--halo,var(--plate-bg)) 8%,var(--plate-bg)) 45%,var(--plate-bg) 80%);
  -webkit-backdrop-filter:blur(16px) saturate(.7);backdrop-filter:blur(16px) saturate(.7);box-shadow:0 0 0 1px rgba(255,255,255,.08)}
.bust__top{position:relative;display:flex;flex-direction:column-reverse;align-items:center;gap:8px;width:100%;min-width:0}
.bust__name{max-width:100%;font-size:14.5px;font-weight:560;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
/* the figure — player score role: 38 / 450 / −0.03em (34 on rows under 800 px, 23 on the one-line plates), tabular (it moves live) */
.busts .bust__plate .bust__top > .score{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;flex:none;width:var(--ring);height:var(--ring);margin:0;padding:0;
  min-width:0;min-height:0;border-radius:50%;box-shadow:none;background:radial-gradient(closest-side,color-mix(in srgb,var(--halo,transparent) 22%,transparent),transparent 92%);
  color:var(--halo-fig,#fff);font-size:var(--fs);font-weight:450;line-height:1;letter-spacing:-.03em;font-variant-numeric:tabular-nums;white-space:nowrap}
.busts .bust__plate .bust__top > .score:has(small){font-size:calc(var(--fs) * .88)}                 /* « 98% » before kick-off: the chance to start */
.busts .bust__plate .bust__top > .score small{position:relative;top:-.62em;margin-left:.04em;font-size:.46em;font-weight:500;letter-spacing:0}
.busts .bust__plate .bust__top > .score[data-wide]{font-size:calc(var(--fs) * .8)}                  /* « 100 » */
/* once the official XI is out, the word in place of the ring [V] 2026-10-19 (user: « Le mot à la place de l'anneau »): no gauge without a chance to measure —
   « Starting » white, « Bench » / « Out » in the risk colour on dark; the ring's height kept so the five plates stay aligned */
.busts .bust__plate .bust__top > .bust__xi{display:flex;align-items:center;justify-content:center;flex:none;max-width:100%;height:var(--ring);font-size:calc(var(--fs) * .6);font-weight:560;line-height:1;letter-spacing:-.01em;color:#fff;white-space:nowrap}
.busts .bust__plate .bust__top > .bust__xi.c-risk{color:#ffa268}.busts .bust__plate .bust__top > .bust__xi.c-won{color:#79dd76}   /* « Starting » green (user, 2026-10-31) */
.bust__halo{position:absolute;top:0;left:50%;translate:-50% 0;width:var(--ring);height:var(--ring);overflow:visible;pointer-events:none}
.bust__halo path{fill:none;stroke:var(--halo)}
.bust__halo .gl{fill:var(--halo);opacity:.3}                                   /* the point's glow (pure SVG: Safari ignores CSS filters on SVG shapes) */
.bust__halo .pt{fill:color-mix(in oklab,var(--halo) 35%,#fff)}
.bust__meta{display:flex;align-items:center;justify-content:center;gap:8px;min-height:20px}
.bust__meta small{font-size:11px;font-weight:600;letter-spacing:.03em;color:var(--on-photo-3)}
.bust__meta .edition{gap:6px}.bust__meta .edition__chip{min-height:20px;padding:1px 7px;font-size:11.5px}.bust__meta .edition__bonus{font-size:11.5px;color:#fff}
.bust__match{display:flex;align-items:center;justify-content:center;gap:5px;font-size:12px;line-height:1.2;font-variant-numeric:tabular-nums;color:#fff}
.bust__match b{font-weight:600}
.bust__match small{display:flex;align-items:center;gap:3px;font-size:11.5px;color:var(--on-photo-2)}
.bust__match small .live-dot{width:6px;height:6px;color:var(--state-live)}
.bust__ko-l i{font-style:normal}
.bust__crest{width:18px;height:18px;flex:none;object-fit:contain}
.bust__crest:not(.crest-gen){padding:2px;border-radius:50%;background:#fff;box-sizing:border-box}   /* SOR-05 A: white disc on dark */
.crest-gen.bust__crest{width:16px;height:16px;font-size:8.5px;font-weight:700}   /* a stand-in (logo not in the data) */
.bust__acts{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px 12px;min-height:26px;padding-top:7px;border-top:1px solid rgba(255,255,255,.1)}
.bust__act{display:inline-flex;align-items:center;gap:5px;font-size:12px;color:var(--on-photo-2);font-variant-numeric:tabular-nums}
.bust__act .act-i{width:22px;height:22px}   /* user, 2026-10-18: « les decisive actions un peu plus gros » (was 16; inline range 16–24) */
.bust__act small{font-size:12px}   /* was 9.6 px (a <small> inside 11.5): at least 11 px; three actions with their minutes still hold on one line at 22 px */
.bust__none{font-size:11.5px;color:var(--on-photo-3)}
.bust--empty .bust__plate{justify-items:center}
.bust__slot{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;aspect-ratio:1;margin:0 8%;border:1.5px dashed rgba(255,255,255,.4);border-radius:18px;
  background:rgba(14,16,16,.35);font-size:12.5px;color:var(--on-photo-2)}
.bust__slot .i{width:26px;height:26px;color:#fff}
.ds-motion .busts.is-anim .bust{animation:ds-in-rise .9s var(--ease-out) backwards;animation-delay:calc(.35s + var(--i,0) * 90ms)}
@container busts (max-width:799.98px){   /* plates under 150 px: a little denser, so « Donnarumma » still fits */
  .bust__name{font-size:13px}.bust__meta .edition__bonus{display:none}.bust__plate{--ring:78px;--fs:34px;padding-inline:10px}}
@container busts (max-width:699.98px){   /* the one-line version (MD-09 4) */
  .bust{--bust-line:1}.bust + .bust{margin-left:3px}
  .bust__fig{width:100%;margin:0}
  .bust__card.sorare-card{--w:40px;right:-12%;bottom:-16%;rotate:8deg}   /* lower and outward, its foot behind the plate: face and name stay free */
  .bust__card .sorare-card__cap{width:18px;height:18px;top:-6px;right:-6px;font-size:11px}
  .bust__card .sorare-card__off{top:-6px;left:-6px;min-width:18px;height:18px;padding:0 4px 0 2px;gap:1px;font-size:10px}.bust__card .sorare-card__off .i{width:11px;height:11px}.bust__card .sorare-card__off--bench{padding:0 5px}
  .bust__plate{--plate-bg:rgba(12,14,14,.84);--ring:56px;--fs:23px;margin:-6px 0 0;padding:6px 3px 7px;gap:5px;border-radius:12px;justify-items:center;text-align:center}
  .bust__top{gap:4px}
  .bust__name{font-size:11.5px}
  .bust__meta{display:none}   /* the card beside the bust shows its edition: the plate gives the match score instead (user) */
  .bust__match{flex-wrap:wrap;justify-content:center;gap:2px 3px;font-size:10.5px}.bust__match b{font-size:11px}
  .bust__crest,.crest-gen.bust__crest{width:15px;height:15px}.bust__crest:not(.crest-gen){padding:1.5px}.crest-gen.bust__crest{font-size:7.5px}
  .bust__match small{flex-basis:100%;justify-content:center;margin:0}   /* the clock under the score */
  .bust__match--ko .bust__ko-t{order:1}.bust__match--ko .bust__ko-l{order:2}.bust__ko-l i{display:none}   /* before kick-off: crest + time, « to start » under */
  .bust__acts{justify-content:center;gap:3px 4px;min-height:0;width:100%;padding-top:5px}
  .bust__act small{display:none}.bust__act .act-i{width:18px;height:18px}
  .bust__none{font-size:0}.bust__none::after{content:"—";font-size:11px}
  .bust__slot{margin:0;border-radius:12px;font-size:10px}.bust__slot span{display:none}
}
@container busts (max-width:363.98px){.bust__plate{padding-left:2px;padding-right:2px}}   /* windows under 380 px (iPhone SE / mini): « Donnarumma » fits at 10.5 px */
:is(.card--white,.menu,.modal) .sorare-card__notch{--notch-ring:#fff}
:is(.panel--dark,.on-dark) .sorare-card__notch{--notch-ring:var(--dark-1)}
.card-stage .sorare-card__notch{--notch-ring:#1b1e1f}
.group-head{display:flex;align-items:baseline;gap:8px;margin:0 0 14px;font-size:12px;line-height:1;color:var(--fg-3);white-space:nowrap}  /* [V] SOR-02b C */
.group-head b{color:var(--fg);font-weight:600}
.card-caption{margin-top:12px;max-width:var(--w,168px)}
.card-caption__main{display:block;font-size:16px;font-weight:600;letter-spacing:.01em;line-height:1.25}
.card-caption__meta{display:block;margin-top:2px;font-size:12px;line-height:1.3;color:var(--fg-3)}
.card-grid{display:flex;flex-wrap:wrap;gap:30px 24px;align-items:flex-start}
.card-stage{position:relative;display:flex;align-items:center;justify-content:center;gap:24px;padding:40px;border-radius:20px;
  color:#f4f4f4;--fg:#f4f4f4;--fg-2:#c4c6c6;--fg-3:#87898b;
  background:radial-gradient(90% 70% at 50% 0%,#33393a 0%,#1b1e1f 55%,#111314 100%)}                              /* spotlight only: detail, opening, reward */

/* ---------- Sorare player pictures [V] SOR-03 (small sizes) ---------- */
.player-pic{position:relative;width:var(--s,40px);height:var(--s,40px);border-radius:50%;overflow:hidden;flex:none;display:inline-block;background:#e2e7f1}
.player-pic > img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 18%}            /* Sorare "avatar" (face) ≤ 48 px */
:is(.panel--dark,.on-dark,.panel--photo,.on-photo) .player-pic{background:#393c3d}
.player-pic__initials{position:absolute;inset:0;display:grid;place-items:center;font-size:calc(var(--s,40px) * .36);font-weight:560;color:var(--ink-muted)}
:is(.panel--dark,.on-dark,.panel--photo,.on-photo) .player-pic__initials{color:var(--on-dark-2)}
.player-pic--bust{--s:110px;background:#fff}                                                                 /* [V] SOR-03b 64–160 px: squared ×1.45 on the head */
.player-pic--bust > img{object-position:50% 0;transform:scale(1.45);transform-origin:50% 10%}
:is(.panel--dark,.on-dark) .player-pic--bust{background:#393c3d}
.player-faces{display:flex}.player-faces .player-pic{margin-left:-8px;box-shadow:0 0 0 2px var(--ring,#fff)}.player-faces .player-pic:first-child{margin-left:0}

/* ---------- player hero [V] SOR-04b: stadium décor + Sorare cutout, integrated; the card shows the rarity ---------- */
.panel__media--depth{filter:blur(3px) brightness(.8);transform:scale(1.04)}                                   /* telephoto depth behind the cutout */
.ds-motion .panel--photo .panel__media--depth{filter:blur(3px) brightness(.35) saturate(.7);transform:scale(1.18)}
.ds-motion.is-in .panel--photo .panel__media--depth{filter:blur(3px) brightness(.8);transform:scale(1.04)}
.hero-player__backlight{position:absolute;left:57%;top:-12%;width:68%;aspect-ratio:1;transform:translateX(-50%);pointer-events:none;
  background:radial-gradient(closest-side,rgba(214,230,255,.42),rgba(214,230,255,.12) 50%,transparent 72%)}
.hero-player__cutout{position:absolute;left:57%;top:8%;height:171%;transform:translateX(-50%);pointer-events:none;
  filter:drop-shadow(0 30px 40px rgba(0,0,0,.45))}                                                            /* Sorare "trimmed", untouched; legs cut by the panel edge */
.ds-motion .hero-player__cutout{animation:ds-in-rise 1.4s var(--ease-out) .35s backwards}
.hero-player__haze{position:absolute;left:30%;right:10%;bottom:-5%;height:34%;border-radius:50%;pointer-events:none;
  background:radial-gradient(closest-side,rgba(200,215,230,.22),transparent);filter:blur(10px)}
.hero-player__front{position:absolute;left:0;right:0;bottom:0;height:46%;pointer-events:none;
  background:linear-gradient(180deg,transparent,rgba(4,7,9,.55) 55%,rgba(4,7,9,.85))}                       /* fuses the cut into the scene */
.hero-player__card{position:absolute;left:46px;bottom:44px;transform:rotate(-5deg);z-index:2}                 /* the card = rarity, edition, serial */
.hero-player__card .sorare-card{--w:190px}

/* ---------- lineup card [V] CP-05 A: the score first ---------- */
.lineup{border-radius:16px;background:#fff;padding:16px 18px;--bar:var(--grid-line)}
.lineup--glass{background:rgba(255,255,255,.085);-webkit-backdrop-filter:blur(19px) saturate(.6);backdrop-filter:blur(19px) saturate(.6);
  color:#fff;--fg:#fff;--fg-3:var(--on-photo-3);--bar:rgba(255,255,255,.18)}
.lineup__top{display:flex;align-items:center;gap:10px}
.lineup__name{font-size:14px;font-weight:500}
.lineup__top .status{margin-left:auto}
.lineup__score{display:flex;align-items:baseline;gap:8px;margin-top:10px}
.lineup__num{font-size:36px;font-weight:450;letter-spacing:.01em;line-height:1;font-variant-numeric:tabular-nums}   /* + .c-won/.c-risk/.c-fail/.c-wait */
.lineup__target{font-size:13px;color:var(--fg-3)}
.lineup__score .player-faces{margin-left:auto}
.lineup__meta{display:flex;align-items:center;gap:6px;margin-top:10px;font-size:12px;color:var(--fg-3);white-space:nowrap}
.lineup__meta b{color:var(--fg);font-weight:560}
.target-bar{position:relative;height:4px;border-radius:2px;background:var(--bar,var(--grid-line));margin-top:12px}  /* progress to a target, tick = target */
.target-bar > i{position:absolute;left:0;top:0;bottom:0;border-radius:2px;width:var(--v,0%);background:var(--c,var(--ink))}
.target-bar::after{content:"";position:absolute;right:0;top:-4px;width:2px;height:12px;border-radius:1px;background:currentColor;opacity:.8}
.ds-motion .target-bar:not(.is-shown) > i{width:0}
.target-bar > i{transition:width 1.1s var(--ease-out) .15s}

/* ---------- levels [V] CP-06: road (Home hero) + list (Matchday columns), same state discs ---------- */
.level-road{display:flex;align-items:flex-start}
.level-node{display:flex;flex-direction:column;align-items:center;gap:8px;width:64px;flex:none;text-align:center}
.level-node__disc{position:relative;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;font-size:13px;font-weight:600}
.level-node__disc .i{width:16px;height:16px;stroke-width:2}
.level-node__lv{font-size:12px;font-weight:560}
.level-node__tg{margin-top:-4px;font-size:11px;color:var(--fg-3)}
.level-node__rw{height:22px;display:flex;align-items:center;justify-content:center}
.level-node__rw img{height:20px;width:auto}
.level-link{flex:1;height:3px;margin-top:16px;border-radius:2px;background:var(--bar,var(--grid-line))}
.level-link.is-done{background:var(--state-won)}
.is-won > .level-node__disc,.level-node.is-won .level-node__disc{background:var(--state-won-tint);color:var(--state-won)}
.level-node.is-claim .level-node__disc{background:var(--state-claim);color:#fff}
.level-node.is-current .level-node__disc{width:44px;height:44px;margin-top:-5px;background:var(--ink);color:#fff;font-size:16px}
.level-node.is-current .level-node__disc::after{content:"";position:absolute;inset:-5px;border-radius:50%;box-shadow:0 0 0 2px rgba(18,19,19,.18);animation:ds-ping 2.2s var(--ease-out) 2}
.level-node.is-locked .level-node__disc{box-shadow:inset 0 0 0 1.5px var(--bar,#c9cfcb);color:var(--fg-3)}
:is(.on-photo,.panel--photo) .level-node.is-won .level-node__disc{background:rgba(95,214,92,.18);color:var(--state-live)}
:is(.on-photo,.panel--photo) .level-node.is-current .level-node__disc{background:#fff;color:var(--ink)}
:is(.on-photo,.panel--photo) .level-node.is-current .level-node__disc::after{box-shadow:0 0 0 2px rgba(255,255,255,.35)}
:is(.on-photo,.panel--photo) .level-link{--bar:rgba(255,255,255,.2)}
:is(.on-photo,.panel--photo) .level-link.is-done{background:var(--state-live)}
.level-row{display:flex;align-items:center;gap:14px;height:58px;padding:0 16px;border-radius:16px;background:rgba(255,255,255,.6)}
.level-row.is-current{background:#fff;box-shadow:0 0 0 1.5px var(--ink)}
.level-row .level-node__disc{width:32px;height:32px}
.level-row__t{font-size:15px;font-weight:560}
.level-row__m{margin-top:2px;font-size:12px;color:var(--fg-3)}
.level-row > img{height:24px;width:auto}
.level-row .status{margin-left:auto}

/* ---------- reward = claim button [V] CP-07: the official reward art says its own state ---------- */
.reward-claim{position:relative;display:grid;place-items:center;width:var(--s,52px);height:var(--s,52px);border-radius:50%;border:0;padding:0;
  background:var(--muted);flex:none;font:inherit;color:inherit;cursor:default;transition:background .3s,box-shadow .3s}
.reward-claim::before{content:"";position:absolute;inset:-5px;border-radius:50%;pointer-events:none;                      /* progress ring: --p 0–100 */
  background:conic-gradient(var(--rc,var(--ink)) calc(var(--p,0) * 1%),rgba(18,19,19,.1) 0);
  -webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 3px),#000 calc(100% - 2.5px));mask:radial-gradient(farthest-side,transparent calc(100% - 3px),#000 calc(100% - 2.5px))}
.reward-claim > img{max-width:60%;max-height:66%;opacity:.42;transition:opacity .3s,transform .35s var(--ease-out)}
.reward-claim.is-ready{cursor:pointer;background:#fff;box-shadow:0 8px 18px rgba(24,40,32,.16);--rc:var(--state-claim);--p:100}
.reward-claim.is-ready > img{opacity:1;animation:ds-bob 2.4s ease-in-out 2}
.reward-claim.is-ready::after{content:"";position:absolute;inset:-5px;border-radius:50%;pointer-events:none;--glow:rgba(43,116,68,.32);animation:ds-attention 2.2s ease-in-out 2}
.reward-claim.is-ready:hover > img{animation:none;transform:translateY(-4px) scale(1.1) rotate(-5deg)}
.reward-claim.is-ready:focus-visible{outline:2px solid var(--fg,var(--ink));outline-offset:5px}
.reward-claim.is-claimed::before{display:none}
.reward-claim.is-claimed > img{opacity:.3}
.reward-claim__check{position:absolute;right:-4px;bottom:-4px;width:20px;height:20px;border-radius:50%;display:none;place-items:center;
  background:var(--state-won-tint);color:var(--state-won);box-shadow:0 0 0 2px #fff}
.reward-claim__check .i{width:13px;height:13px;stroke-width:2.4}
.reward-claim.is-claimed .reward-claim__check{display:grid}
.c-claim{color:var(--state-claim);font-weight:560}                                                                 /* "Ready · tap to claim" */
:is(.panel--photo,.on-photo,.panel--dark,.on-dark,.card--glass-dark) .c-claim{color:#7fe07c}                         /* state text on dark [V] 2026-10-14: the claim green's light twin (.claim-row's on photo), C54 */
@keyframes ds-bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}

/* ---------- card head with subtitle [V] 2026-10-12: card heads are text only (no icon discs) ---------- */
.block-head{display:flex;align-items:flex-start;gap:14px;flex-wrap:wrap;margin-bottom:22px}
.block-head__title,.card__head .card__title{margin:0}
.block-head__title{font-size:22px;font-weight:500;letter-spacing:-.025em;line-height:1.2}
.block-head--section .block-head__title{font-size:30px;font-weight:470;line-height:1.15}   /* [V] TY-01 B: the head of a section that groups cards (not a head inside a card) */
.block-head__sub,.card__sub{margin-top:4px;font-size:13px;color:var(--fg-3)}
.block-head__end{margin-left:auto;display:flex;align-items:center;gap:16px}
:root{--hatch:repeating-linear-gradient(-56deg,rgba(255,255,255,.85) 0 1.6px,rgba(255,255,255,0) 1.6px 8.6px),#e2e7e3}   /* only: the chance bar's possible range */

/* ---------- chance to reach [V] CP-08 A (from Copycat Design, chosen for readability; colours = Prism probability ramp) ---------- */
.chance{display:grid;grid-template-columns:150px minmax(0,1fr);align-items:center;gap:8px 26px}
.chance__dial{position:relative;width:150px;height:150px}
.chance__dial svg{width:100%;height:100%;overflow:visible}
.chance__ticks{stroke:var(--ink);stroke-width:1;stroke-linecap:round;opacity:.75;transition:opacity .6s var(--ease) 1s}
.chance__arc{fill:none;stroke:var(--score-c);stroke-width:9;stroke-linecap:round;stroke-dasharray:var(--len) 400;transition:stroke-dasharray 1.4s var(--ease-out) .2s}
.chance__glow{fill:#fff}
:is(.panel--dark,.on-dark,.panel--photo,.on-photo) .chance__ticks{stroke:#fff;opacity:.5}
:is(.panel--dark,.on-dark,.panel--photo,.on-photo) .chance__glow{fill:rgba(255,255,255,.06)}
.ds-motion .chance:not(.is-shown) .chance__arc{stroke-dasharray:0 400}
.ds-motion .chance:not(.is-shown) .chance__ticks{opacity:0}
.chance__c{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}
.chance__c b{font-size:40px;font-weight:400;line-height:1;letter-spacing:-.01em;font-variant-numeric:tabular-nums;color:color-mix(in srgb,var(--score-c) 75%,var(--fg,var(--ink)))}
.chance__c span{margin-top:6px;font-size:13px;color:var(--fg-2)}
.chance__facts{list-style:none;margin:0;padding:0;display:grid;gap:2px}
.chance__facts li{display:flex;justify-content:space-between;align-items:baseline;gap:10px;padding:9px 0;font-size:14px;color:var(--fg-2)}
.chance__facts b{font-size:19px;font-weight:450;color:var(--fg,var(--ink));font-variant-numeric:tabular-nums;white-space:nowrap}
.chance__range{grid-column:1/-1;margin-top:18px}
.chance__track{position:relative;height:12px;border-radius:6px;background:var(--hatch)}
.chance__band{position:absolute;top:0;bottom:0;border-radius:6px;background:var(--ink);transform-origin:left;transition:transform 1.1s var(--ease-out) .5s}
.ds-motion .chance:not(.is-shown) .chance__band{transform:scaleX(0)}
.chance__target,.chance__mean{position:absolute;top:50%;transition:opacity .5s var(--ease) 1.2s}
.ds-motion .chance:not(.is-shown) :is(.chance__target,.chance__mean){opacity:0}
.chance__target i{position:absolute;left:0;top:0;width:4px;height:26px;border-radius:2px;transform:translate(-50%,-50%);background:var(--ink);box-shadow:0 0 0 2px #fff}
.chance__mean i{position:absolute;left:0;top:0;width:16px;height:16px;border-radius:50%;transform:translate(-50%,-50%);background:#fff;box-shadow:0 0 0 3px var(--ink)}
.chance__target em,.chance__mean em{position:absolute;left:0;top:16px;transform:translateX(-50%);font-style:normal;font-size:12px;white-space:nowrap;font-variant-numeric:tabular-nums}
.chance__target em{color:var(--fg-2)}
.chance__mean em{color:var(--fg,var(--ink));font-weight:560}
.chance__mean.is-up em{top:-32px}
.chance__scale{display:flex;justify-content:space-between;margin-top:28px;font-size:12px;color:var(--fg-3);font-variant-numeric:tabular-nums}

/* ---------- kick-offs [V] FB-02 B, redrawn C58 (KO-A 2 · B a · C a · D a · E b — user, 2026-11-21): the frieze — a day = a grey well on an hour scale, a match = a block
   from kick-off to final whistle (white to come, ink in play, flat once finished) — and, compact, the programme: a list by lineup and day ---------- */
.kickoffs{display:grid;grid-template-columns:max-content minmax(0,1fr);column-gap:20px}
.kickoffs__labels{padding-top:56px}
.kickoffs__lab{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:8px}   /* the column fits its pill: nothing runs under the frieze */
.kickoffs__lab b,.kickoffs__lhd b{font-size:16px;font-weight:500;letter-spacing:-.015em}
.kickoffs__track{position:relative;min-width:0;padding-bottom:12px}   /* room for the live dot's ping: outside the track it made the card's scrollbars come and go (22 Nov) */
.kickoffs__axis{position:relative;height:56px}
.kickoffs__day,.kickoffs__dhd{display:flex;align-items:center;gap:6px;height:22px;font-size:13px;color:var(--ink-muted);white-space:nowrap}   /* « Tomorrow  Sat 21 Nov · in 14 h 33 min » */
.kickoffs__day{position:absolute;top:0}
.kickoffs__day b,.kickoffs__dhd b{font-weight:560;color:var(--ink)}
.kickoffs__day > *{flex:none}.kickoffs__day > span:not(.kickoffs__in){flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis}   /* a header as wide as its day: the date gives way first */
.kickoffs__in::before{content:"· "}
.kickoffs__hr{position:absolute;top:33px;transform:translateX(-50%);font-size:12px;color:var(--fg-3);font-variant-numeric:tabular-nums;white-space:nowrap}
.kickoffs__lanes{position:relative}
.kickoffs__well{position:absolute;top:0;bottom:0;border-radius:16px;background:var(--muted)}
.kickoffs__line{position:absolute;top:0;bottom:0;width:1px;background:#fff;opacity:.8}
.kickoffs__lane{position:relative}
.kickoffs__lane + .kickoffs__lane{box-shadow:0 -2px 0 #fff}                                                       /* lineups split the wells with the system's 2-px gap */
.kickoffs__blk{position:absolute;z-index:2;height:44px;display:flex;align-items:center;gap:8px;padding:0 10px 0 8px;border-radius:12px;overflow:hidden;isolation:isolate;
  text-align:left;border:0;font:inherit;transition:transform var(--t-ui) var(--ease-out),box-shadow var(--t-ui) var(--ease-out)}
.kickoffs__blk:hover{transform:translateY(-2px);box-shadow:0 14px 22px -14px rgba(20,30,25,.55);z-index:3}
.kickoffs__blk[data-st="sched"]{background:#fff;color:var(--ink)}
.kickoffs__blk[data-st="live"],.kickoffs__blk[data-st="ht"]{background:var(--ink);color:#fff}
.kickoffs__blk[data-st="ft"]{background:none;color:var(--ink-muted)}                                             /* finished = flat on the well */
.kickoffs__prog{position:absolute;left:0;top:0;bottom:0;z-index:-1;background:rgba(255,255,255,.12)}             /* the elapsed part ends on the now line */
.kickoffs__blk .player-faces{flex:none}
.kickoffs__blk .player-pic{--s:24px}
.kickoffs__blk[data-st="live"] .player-faces,.kickoffs__blk[data-st="ht"] .player-faces{--ring:var(--ink)}
.kickoffs__blk[data-st="sched"] .player-faces{--ring:#fff}
.kickoffs__blk[data-st="ft"] .player-faces{--ring:var(--muted)}
.kickoffs__txt{min-width:0;flex:1}
.kickoffs__txt b{display:block;font-size:13px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums}
.kickoffs__txt small{display:flex;align-items:center;gap:5px;margin-top:3px;font-size:11.5px;color:var(--ink-muted);white-space:nowrap;overflow:hidden;font-variant-numeric:tabular-nums}
.kickoffs__txt small span{overflow:hidden;text-overflow:ellipsis}
.kickoffs__txt small span + span::before{content:"· "}
.kickoffs__blk[data-st="live"] small,.kickoffs__blk[data-st="ht"] small{color:var(--on-dark-2)}
.kickoffs__txt .live-dot,.kickoffs__h .live-dot{width:6px;height:6px;color:var(--state-live)}
.kickoffs__blk small .i,.kickoffs__h .i{width:12px;height:12px;stroke-width:2;flex:none;color:var(--ink)}         /* KO-B: the padlock before the hour of the match that locks the lineup */
.kickoffs__blk.is-urgent small,.kickoffs__blk.is-urgent small .i{color:var(--state-risk)}                         /* under an hour: « 21:20 · in 33 min » in the alert colour */
.kickoffs__now{position:absolute;top:28px;bottom:8px;width:1.5px;margin-left:-.75px;background:var(--ink);z-index:1;pointer-events:none}   /* ink line behind the blocks + black time pill + live dot */
.kickoffs__now span{position:absolute;left:50%;top:-2px;height:26px;padding:0 10px;display:flex;align-items:center;border-radius:999px;background:var(--ink);color:#fff;
  font-size:12.5px;font-weight:560;transform:translateX(-50%);white-space:nowrap;font-variant-numeric:tabular-nums}
.kickoffs__now::after{content:"";position:absolute;left:50%;bottom:0;width:8px;height:8px;margin-left:-4px;border-radius:50%;background:var(--state-live);animation:ds-ping 2s var(--ease-out) 2}
/* the programme (compact): the lineup, its days, a row per match — no hour scale, no sideways scroll; to come = the waiting grey on the white card */
.kickoffs--list{display:block}
.kickoffs__lhd{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;min-height:26px}
.kickoffs__rows + .kickoffs__lhd{margin-top:24px}
.kickoffs__dhd{flex-wrap:wrap;height:auto;min-height:22px;row-gap:2px;margin:16px 0 8px}
.kickoffs__at{display:inline-flex;align-items:center;height:22px;padding:0 8px;margin-left:2px;border-radius:999px;background:var(--ink);color:#fff;font-size:12px;font-weight:560;font-variant-numeric:tabular-nums}
.kickoffs__rows{display:grid;gap:8px}
.kickoffs--list .kickoffs__blk{position:relative;gap:10px;padding:0 10px 0 12px}
.kickoffs--list .kickoffs__blk[data-st="sched"]{background:var(--state-wait-tint)}
.kickoffs--list .kickoffs__blk[data-st="sched"] .player-faces{--ring:var(--state-wait-tint)}
.kickoffs--list .kickoffs__blk[data-st="ft"] .player-faces{--ring:#fff}
.kickoffs__h{flex:none;min-width:42px;display:flex;align-items:center;gap:5px;font-size:14px;font-weight:500;font-variant-numeric:tabular-nums}
.kickoffs__blk.has-lock .kickoffs__h{min-width:59px}
.kickoffs__blk.is-urgent .kickoffs__h,.kickoffs__blk.is-urgent .kickoffs__h .i,.kickoffs__soon{color:var(--state-risk)}
.kickoffs--list .kickoffs__txt small{display:block;text-overflow:ellipsis}
.kickoffs--list .kickoffs__txt small span + span::before{content:"\00a0· "}
.kickoffs--list .kickoffs__blk.is-urgent small{color:var(--ink-muted)}
.ds-motion .kickoffs.is-shown:not(.is-drawn) .kickoffs__blk{animation:ds-in-left .7s var(--ease-out) backwards;animation-delay:calc(.2s + var(--b,0) * 70ms)}
.ds-motion .kickoffs.is-shown:not(.is-drawn) .kickoffs__well{animation:ds-in-fade .5s var(--ease-out) backwards}
.ds-motion .kickoffs:not(.is-shown) :is(.kickoffs__blk,.kickoffs__well,.kickoffs__now){opacity:0}

/* ---------- primary action on photo [V] CP-01 B: white on photos and dark stages, black on light panels ---------- */
:is(.panel--photo,.on-photo,.card-stage) .btn--primary{background:#fff;color:var(--ink);box-shadow:none}
:is(.panel--photo,.on-photo,.card-stage) .btn--primary .i{color:var(--ink)}
:is(.panel--photo,.on-photo,.card-stage) .btn--primary:hover{background:#eef1ee}
/* claim [V] 2026-10-18 (user: « le collect rewards doit être en vert pas en blanc »): the button that collects a won level's rewards wears the claimable green
   (CO-01, as the « Claim » pill and the ready ring) on light panels and on photos alike; white text 5.6:1 */
.btn--claim,:is(.panel--photo,.on-photo,.card-stage) .btn--claim{background:var(--state-claim);color:#fff;box-shadow:none;--glow:rgba(95,214,92,.3)}
.btn--claim .i,:is(.panel--photo,.on-photo,.card-stage) .btn--claim .i{color:#fff}
.btn--claim:hover,:is(.panel--photo,.on-photo,.card-stage) .btn--claim:hover{background:#246239}

/* ---------- league / competition logos [V] SOR-05 A: bare on light, white disc on dark / photo (automatic) ---------- */
.league-logo{height:var(--s,30px);width:auto;max-width:calc(var(--s,30px) * 3.2);object-fit:contain;flex:none}
:is(.panel--dark,.on-dark,.panel--photo,.on-photo,.card-stage) .league-logo{width:var(--d,40px);height:var(--d,40px);max-width:none;
  padding:calc(var(--d,40px) * .17);border-radius:50%;background:#fff;box-sizing:border-box}
/* ---------- competition tag [V] 2026-10-14 (user, My matches: « ça dépend du fond pour la pastille » · « Sans pastille très bien »): the official logo +
   its name, where a competition is named next to other things. On dark / photo a white pill (28 px, like a status pill); on light no pill. The nearest
   surface decides (custom properties inherit from the closest one). A wordmark (LaLiga): `.league-tag--word`, the logo alone, alt = the name. */
.panel--dark,.on-dark,.panel--photo,.on-photo,.card-stage{--tag-bg:#fff;--tag-fg:var(--ink);--tag-h:28px;--tag-pad:0 11px 0 5px;--tag-pad-w:0 11px;--tag-img:20px;--tag-word:13px}
.panel--light,.on-light,.card--white,.menu,.modal{--tag-bg:transparent;--tag-fg:var(--fg);--tag-h:auto;--tag-pad:0;--tag-pad-w:0;--tag-img:22px;--tag-word:14px}
.league-tag{display:inline-flex;align-items:center;gap:6px;flex:none;height:var(--tag-h,auto);padding:var(--tag-pad,0);border-radius:999px;background:var(--tag-bg,transparent);
  color:var(--tag-fg,inherit);font-size:12px;font-weight:560;line-height:1;white-space:nowrap}
.league-tag img{width:var(--tag-img,22px);height:var(--tag-img,22px);object-fit:contain;flex:none}
.league-tag--word{padding:var(--tag-pad-w,0)}.league-tag--word img{width:auto;max-width:72px;height:var(--tag-word,14px)}

/* ---------- tiers & editions [V] SOR-10 C (user: the old pages' look) ----------
   tiers: stars + label in the tier colour (GOAT gold · Star green · Impact blue · Roster grey · DNP orange);
   editions: metallic chips (Legendary gold · Static Fracture rose · Overflow lilac · Holo blue · Shiny silver) + bonus */
:root{--tier-goat:#e0a92c;--tier-star:#3fa83c;--tier-impact:#2f9bd0;--tier-roster:#9a9d9d;--tier-dnp:#ee8a2e}
:is(.panel--dark,.on-dark,.panel--photo,.on-photo,.card-stage){--tier-goat:#f1c73a;--tier-star:#5fd65c;--tier-impact:#4cb6e6;--tier-roster:#c4c6c6;--tier-dnp:#ee8a2e}
.tier{--tc:var(--tier-roster);display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:600;white-space:nowrap;
  color:color-mix(in srgb,var(--tc) 80%,var(--ink))}                                                    /* label darkened a touch on light */
:is(.panel--dark,.on-dark,.panel--photo,.on-photo,.card-stage) .tier{color:var(--tc)}
[data-tier="goat"]{--tc:var(--tier-goat)}[data-tier="star"]{--tc:var(--tier-star)}[data-tier="impact"]{--tc:var(--tier-impact)}
[data-tier="roster"]{--tc:var(--tier-roster)}[data-tier="dnp"]{--tc:var(--tier-dnp)}
.tier__stars{display:inline-flex;align-items:center;gap:1px;color:var(--tc)}
.tier__stars .i{width:12px;height:12px}
.tier__stars em{font-style:normal;margin-left:1px}
.edition{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}
.edition__chip{display:inline-flex;align-items:center;min-height:22px;padding:2px 8px;border-radius:6px;font-size:12px;font-weight:600;color:#1d1300;
  background:linear-gradient(135deg,#ffffff,#e4e7ea 55%,#c3c8cf)}
.edition[data-edition="legendary"] .edition__chip{background:linear-gradient(135deg,#fff3c4,#e8c25c 55%,#c9952e)}
.edition[data-edition="fracture"] .edition__chip{background:linear-gradient(135deg,#ffe1ee,#e98bb3 60%,#c4577f)}
.edition[data-edition="overflow"] .edition__chip{background:linear-gradient(135deg,#e9e2ff,#a891f5 60%,#7a5fe0)}
.edition[data-edition="holo"] .edition__chip{background:linear-gradient(135deg,#e2f4ff,#8fd0ef 55%,#4c9fd6)}
.edition[data-edition="shiny"] .edition__chip{background:linear-gradient(135deg,#ffffff,#d9dce3 55%,#aeb3bf)}
.edition__bonus{font-size:12px;font-weight:600;color:var(--fg,var(--ink))}

/* ---------- pack tile [V] CP-18 C (user): laid pack + caption; the price IS the buy button ("Buy" slides in on hover / focus,
   always shown on touch); a blocked pack is dimmed and its button becomes the reason, in words ---------- */
.pack-tile{width:var(--w,190px);display:flex;flex-direction:column}
.pack-tile__name{display:block;margin-top:14px;font-size:16px;font-weight:600;letter-spacing:.005em;line-height:1.25}
.pack-tile__meta{display:block;margin-top:3px;font-size:12px;line-height:1.4;color:var(--fg-3)}
/* the price, then "Odds" under it — always stacked, whatever the price or the reason, so every tile reads the same (user, 2026-10-12);
   pushed to the bottom of the tile so the prices of a row line up when the tiles stretch */
.pack-tile__act{display:flex;flex-direction:column;align-items:flex-start;gap:12px;margin-top:auto;padding-top:12px}
.pack-tile__act .link-arrow{min-height:24px}
.pack-tile.is-blocked .sorare-pack > img{opacity:.45}
.price-btn{display:inline-flex;align-items:center;gap:8px;height:36px;padding:0 14px;border:0;border-radius:12px;background:rgba(250,255,253,.72);
  font:inherit;font-size:15px;font-weight:600;letter-spacing:.01em;color:var(--ink);white-space:nowrap;cursor:pointer;transition:background var(--dur) var(--ease),color var(--dur)}
.price-btn > img{height:18px;width:auto;flex:none}
.price-btn__buy{display:inline-block;font-weight:560}   /* [V] C19 PI-2: always visible — nothing only on hover (rule 17, §18); was revealed on hover */
.price-btn:hover,.price-btn:focus-visible{background:#fff}
.price-btn.is-off{gap:6px;background:rgba(255,255,255,.28);color:var(--ink-2);font-size:13px;font-weight:560;cursor:default}
.price-btn.is-off .i{width:16px;height:16px}
.card--white .price-btn,.modal .price-btn{background:#eff3f0}
.card--white .price-btn:hover,.modal .price-btn:hover{background:#e4ebe6}
:is(.panel--dark,.on-dark,.panel--photo,.on-photo,.card-stage) .price-btn{background:rgba(255,255,255,.14);color:#fff}
:is(.panel--dark,.on-dark,.panel--photo,.on-photo,.card-stage) .price-btn:hover{background:#fff;color:var(--ink)}
.link-arrow{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:500;color:var(--fg);text-decoration:none;white-space:nowrap}
.link-arrow .i{width:16px;height:16px}
button.link-arrow{border:0;background:none;padding:0;font:inherit;font-size:13px;font-weight:500;cursor:pointer}

/* ---------- draw odds [V] CP-19 C: DS.odds — one row per card, one column per tier; every % in a cell tinted by its tier
   (stronger = likelier); % in ink with Sorare's decimal (DS.fmt.share): a split, not a chance of success → never the score ramp ---------- */
.odds-table{width:100%;border-collapse:separate;border-spacing:0 3px;table-layout:fixed}
.odds-table thead th{padding:0 2px 6px;font-weight:400;vertical-align:bottom}
.odds-table thead th:first-child{width:58px;padding-left:6px;text-align:left;font-size:12px;color:var(--fg-3)}
.odds-table__tier{display:flex;flex-direction:column;align-items:flex-end;gap:3px;padding-right:8px}
.odds-table__tier .tier{font-size:11.5px}
.odds-table__tier .tier__stars .i{width:9px;height:9px}
.odds-table tbody th{padding:0 6px;text-align:left;font-size:12px;font-weight:400;color:var(--fg-3);white-space:nowrap}
.odds-table td{height:32px;padding:0 2px;text-align:right;font-size:14px;font-weight:560;font-variant-numeric:tabular-nums;color:var(--fg)}
.odds-table td.is-none{text-align:center;font-weight:400;color:var(--fg-4)}
.odds-cell{display:flex;align-items:center;justify-content:flex-end;height:32px;padding:0 8px;border-radius:8px;background:color-mix(in srgb,var(--tc) var(--a,20%),transparent)}
.odds-summary{display:grid;grid-template-columns:repeat(var(--n,2),minmax(0,1fr));gap:6px}
.odds-tile{display:flex;flex-direction:column;gap:4px;padding:9px 10px 10px;border-radius:10px;background:color-mix(in srgb,var(--tc) 26%,transparent)}
.odds-tile b{font-size:22px;font-weight:450;letter-spacing:.015em;color:var(--fg);font-variant-numeric:tabular-nums}
.odds-tile .tier{font-size:11.5px;gap:5px}.odds-tile .tier__stars .i{width:10px;height:10px}
.odds-source{margin-top:8px;font-size:11.5px;color:var(--fg-3)}

/* ---------- ranking row [V] CP-10 A: Top editions (and later leaderboards) — translucent rows, white when hovered / selected ---------- */
.rank-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:0 4px 10px}
.rank-head b{display:block;font-size:16px;font-weight:560}
.rank-head small{display:block;margin-top:3px;font-size:12px;color:var(--fg-3)}
.rank-head > span{font-size:12px;color:var(--fg-3)}
.rank-list{display:grid;gap:4px}
.rank-row{display:grid;grid-template-columns:var(--cols,40px minmax(0,1.25fr) 112px minmax(0,1.45fr) 112px);align-items:center;gap:14px;width:100%;min-height:64px;
  padding:0 16px 0 12px;border:0;border-radius:16px;background:var(--row-bg,rgba(255,255,255,.5));font:inherit;color:var(--fg);text-align:left;cursor:pointer;
  transition:background var(--dur) var(--ease),box-shadow var(--dur) var(--ease)}
:is(.panel--dark,.on-dark){--row-bg:rgba(255,255,255,.04)}
.rank-row:hover{background:var(--hover)}
.rank-row.is-selected,.rank-row[aria-pressed="true"]{background:var(--sel-bg,#fff);color:var(--sel-fg,var(--ink));box-shadow:0 8px 20px rgba(24,40,32,.08)}
.rank-row__name{display:flex;align-items:center;gap:8px;min-width:0;font-size:15px;font-weight:560;letter-spacing:-.01em;white-space:nowrap;overflow:hidden}
.rank-row__meta{display:block;margin-top:4px;font-size:12px;color:var(--fg-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rank-row__end{text-align:right;white-space:nowrap}
.rank-row__end b{display:block;font-size:15px;font-weight:600;letter-spacing:.01em}
.rank-row__end small{display:block;margin-top:3px;font-size:12px;color:var(--fg-3)}
.owned{display:inline-flex;align-items:center;gap:3px;font-size:12px;font-weight:560;color:var(--state-won);white-space:nowrap}
.owned .i{width:13px;height:13px;stroke-width:2.4}

/* ---------- edition detail [V] CP-20 A: beside the Top editions list — bust, chance, best pack (buy from its price), owned, other packs ---------- */
.edition-detail{border-radius:20px;padding:22px 22px 18px;background:#fff}
.edition-detail__id{display:flex;align-items:center;gap:16px}
.edition-detail__name{font-size:22px;font-weight:500;letter-spacing:-.025em;line-height:1.15}
.edition-detail__meta{margin-top:4px;font-size:13px;color:var(--fg-3)}
.edition-detail__tags{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin-top:12px}
.edition-detail__chance{margin-top:20px}
.edition-detail__chance b{display:block;font-size:44px;font-weight:420;letter-spacing:.01em;line-height:1}
.edition-detail__chance span{display:block;margin-top:8px;font-size:13px;color:var(--fg-3)}
.edition-detail__pack{display:flex;align-items:center;gap:14px;margin-top:18px;padding:12px;border-radius:16px;background:#f3f6f4}
.edition-detail__pack small{display:block;font-size:12px;color:var(--fg-3)}
.edition-detail__pack b{display:block;margin-top:2px;font-size:15px;font-weight:600}
.edition-detail__pack .price-btn{margin-left:auto;background:#fff}
.edition-detail__owned{margin-top:14px}
.edition-detail__also{margin-top:14px}
.edition-detail__also > small{display:block;margin-bottom:6px;font-size:12px;color:var(--fg-3)}
.also-row{display:flex;align-items:center;gap:10px;min-height:40px;padding:0 6px;border-radius:10px;font-size:13.5px;font-weight:560;color:var(--fg);text-decoration:none}
.also-row:hover{background:#f3f6f4}
.also-row span{display:inline-flex;align-items:center;gap:5px;font-weight:400;color:var(--fg-3)}
.also-row span img{height:14px;width:auto}
.also-row > .i{margin-left:auto;width:16px;height:16px}
.edition-detail__src{margin:10px 0 0;font-size:11.5px;color:var(--fg-3)}

/* ---------- Sorare packs [V] SOR-06 ---------- */
.sorare-pack{position:relative;display:block;width:var(--w,150px);aspect-ratio:703/1076;flex:none}
.sorare-pack > img{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 16px 18px rgba(24,40,32,.28)) drop-shadow(0 2px 4px rgba(24,40,32,.16))}
:is(.panel--dark,.on-dark,.panel--photo,.on-photo,.card-stage) .sorare-pack > img{filter:drop-shadow(0 22px 30px rgba(0,0,0,.6))}
.sorare-pack::after{content:"";position:absolute;inset:0;pointer-events:none;clip-path:var(--card-clip);
  background:linear-gradient(115deg,transparent 38%,rgba(255,255,255,.3) 48%,transparent 58%) no-repeat;background-size:260% 100%;
  background-position:130% 0;transition:background-position .9s var(--ease-out)}
.sorare-pack:hover::after{background-position:-30% 0}
.sorare-pack .sorare-card__notch{font-size:13px;font-weight:600;line-height:1}                                /* notch = number of packs to open */
.pack-feature{position:relative;display:flex;flex-direction:column;align-items:center}                       /* featured: floats in the studio light */
.pack-feature__float{animation:ds-float 5s ease-in-out 1}
.pack-feature__floor{width:70%;height:26px;margin-top:-6px;border-radius:50%;background:radial-gradient(closest-side,rgba(0,0,0,.55),transparent);animation:ds-breathe 5s ease-in-out 1}
/* opening: .card-stage (dark showcase) */

/* ---------- Sorare scores [V] 2026-10-12: Prism Sorare V2 colorimetry (Iris §9.1.1) ----------
   colour = DS.fmt.scoreColor on the unrounded value (set by ds.js from data-score as --score-l / --score-d).
   small numbers: tinted chip (27 %) + dark ink · large numbers (≥ 24 px): tinted text, no chip · 0 grey · 100 silver */
[data-score]{--score-c:var(--score-l,#c0af91)}
:is(.panel--dark,.on-dark,.panel--photo,.on-photo,.card-stage) [data-score]{--score-c:var(--score-d,#665c4c)}
.score{display:inline-flex;align-items:center;justify-content:center;min-width:32px;min-height:24px;padding:3px 7px;border-radius:6px;
  background:color-mix(in srgb,var(--score-c) 27%,var(--score-surface,#fff));color:var(--ink);font-size:12.5px;font-weight:600;line-height:1.4;
  font-variant-numeric:tabular-nums;white-space:nowrap;vertical-align:middle}
:is(.panel--dark,.on-dark,.card-stage) .score{--score-surface:var(--dark-1);color:var(--on-dark)}
:is(.panel--photo,.on-photo) .score{background:color-mix(in srgb,var(--score-c) 45%,rgba(16,18,19,.55));color:#fff}
.score--m{min-height:28px;padding:4px 9px;font-size:14px;border-radius:7px}
.score.is-empty{background:var(--muted);color:var(--fg-3)}
:is(.panel--dark,.on-dark,.panel--photo,.on-photo) .score.is-empty{background:rgba(255,255,255,.08)}
.score.is-perfect{background:linear-gradient(225deg,rgb(232 160 204 / 85%) 0 14%,rgb(146 212 188 / 75%) 26%,rgb(138 184 228 / 0%) 40%),
  linear-gradient(135deg,#fff 0%,#e4e5ea 45%,#f4f4f7 55%,#d3d5dc 100%);box-shadow:inset 0 0 0 1px #a2a4b0;color:#19191f}
.score-lg{color:color-mix(in srgb,var(--score-c) 75%,var(--fg,var(--ink)));font-variant-numeric:tabular-nums}   /* ≥ 24 px figures */
.score-ink{color:color-mix(in srgb,var(--score-c) 55%,var(--fg,var(--ink)));font-weight:600}   /* Prism smallTextColor */                    /* small coloured text: chance % */
.pill--rating[data-score] > .i{color:var(--score-c)}                                                             /* shot-1 pill now carries a Sorare score */

/* ---------- pills, chips, badges, status ---------- */
.pill{display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 12px;border-radius:999px;font-size:15px;font-weight:450;white-space:nowrap}
.pill--rating{border:1.5px solid rgba(255,255,255,.14);background:rgba(0,0,0,.22);color:#ececec}      /* [O] */
.pill--rating .i{width:15px;height:15px}
.pill--light{background:rgba(255,255,255,.62);color:var(--ink);font-size:14px;font-weight:500}           /* [D] */
.chip{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 14px;border-radius:999px;border:1.5px solid var(--line);
  background:transparent;color:var(--fg);font-size:14px;font-weight:500;white-space:nowrap}                /* filter chip [D] */
.chip .i{width:16px;height:16px}
.chip.is-active{background:var(--fg);border-color:var(--fg);color:var(--sel-fg,#fff)}
.panel--light .chip.is-active,.on-light .chip.is-active{color:#fff}
.on-dark .chip.is-active,.panel--dark .chip.is-active,.on-photo .chip.is-active{color:#151515}
.badge{display:inline-grid;place-items:center;min-width:16px;height:16px;padding:0 4px;border-radius:999px;background:var(--alert);color:var(--ink);
  font-size:10px;font-weight:600;line-height:1;box-shadow:0 0 0 1.5px var(--ring,#e8f2ef)}               /* notification count [O] */
.status{display:inline-flex;align-items:center;gap:6px;height:26px;padding:0 11px 0 10px;border-radius:999px;font-size:12.5px;font-weight:560;
  white-space:nowrap;background:var(--state-wait-tint);color:var(--state-wait)}                        /* [V] CP-02 status pill (CO-01 A colours) */
.status::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor;flex:none}   /* marker: dot for now — grammar open (ICON-02) */
.status > .i{width:14px;height:14px;stroke-width:2;margin-left:-1px}
.status:has(> .i)::before,.status--plain::before{display:none}
.status--live{background:var(--state-live-ink);color:#fff}
.status--live::before{background:var(--state-live);animation:ds-dot-ping 1.8s var(--ease-out) 2}
.status--wait{background:var(--state-wait-tint);color:var(--state-wait)}
.status--claim{background:var(--state-claim);color:#fff}
.status--won{background:var(--state-won-tint);color:var(--state-won)}
.status--risk{background:var(--state-risk-tint);color:var(--state-risk)}
.status--fail{background:var(--state-fail-tint);color:var(--state-fail)}
.status--pos{background:var(--state-won-tint);color:var(--state-won)}.status--neg{background:var(--state-fail-tint);color:var(--state-fail)}
.status--info{background:var(--blue-tint);color:var(--blue-text)}.status--neutral{background:var(--state-wait-tint);color:var(--state-wait)}
.status--warn{background:var(--state-risk-tint);color:var(--state-risk)}                               /* legacy aliases */
@keyframes ds-dot-ping{0%{box-shadow:0 0 0 0 rgba(95,214,92,.55)}70%,100%{box-shadow:0 0 0 6px rgba(95,214,92,0)}}
.delta{display:inline-flex;align-items:center;gap:2px;font-size:14px;font-weight:560}                      /* +12% [D] */
.delta .i{width:16px;height:16px;stroke-width:2}
.delta--up{color:var(--green-text)}.delta--down{color:var(--red-text)}

/* ---------- KPIs & amounts ---------- */
.kpi{display:inline-flex;align-items:center;gap:10px;font-size:22px;font-weight:420;letter-spacing:.02em;white-space:nowrap;color:var(--fg)}
.kpi .i{width:22px;height:22px}
.kpi--strong{font-weight:560}
.kpi--in{color:var(--green-text)}.kpi--out{color:var(--blue-text)}
.kpi--neutral .i{color:var(--fg-2)}
.kpis{display:flex;align-items:center;gap:32px;flex-wrap:wrap}
.amount-xl{display:inline-flex;align-items:center;gap:16px;font-size:42px;font-weight:400;letter-spacing:.015em;white-space:nowrap}
.amount-xl .btn-circle .i{width:20px;height:20px}
.overline{font-size:15px;color:var(--fg-3);letter-spacing:.02em}

/* ---------- tooltip & chart chrome ---------- */
.tip{position:absolute;z-index:10;display:inline-flex;flex-direction:column;align-items:center;justify-content:center;min-width:130px;height:57px;padding:0 20px;
  border-radius:999px;background:var(--black-soft);color:#fff;transform:translate(-50%,calc(-100% - 12px));pointer-events:none;white-space:nowrap}
.tip::after{content:"";position:absolute;left:50%;bottom:-6px;margin-left:-7px;border:7px solid transparent;border-top-color:var(--black-soft);border-bottom:0}
.tip__value{font-size:22px;font-weight:450;line-height:1;letter-spacing:-.005em}
.tip__caption{margin-top:3px;font-size:10px;line-height:1;color:#a9abab}
.tip--media{flex-direction:row;gap:0;height:39px;min-width:0;padding:0 16px 0 5px}
.tip--media .avatar,.tip--media .crest{width:30px;height:30px;border-radius:50%;box-shadow:0 0 0 2px var(--black-soft)}
.tip--media .crest{margin-left:-6px;background:#fff}
.tip--media .tip__value{margin-left:12px}
.tip--s{height:28px;min-width:0;padding:0 12px;font-size:12px;font-weight:500}                                  /* plain hint [D] */
/* HINT [V] C54 CT-3 « Bulle + légendes » (user, 2026-11-20): what a `title` says, in the system's black bubble — on hover after 300 ms, at once on
   keyboard focus, on a tap on iPhone (ds.js hints). One bubble for the page, fixed above its element (below when there is no room), an arrow on it;
   one line reads as a pill, a definition wraps to 280 px. Hoverable, closed by Esc / a tap elsewhere / a scroll (WCAG 1.4.13). */
.hint{position:fixed;left:0;top:0;z-index:250;box-sizing:border-box;max-width:min(280px,calc(100vw - 16px));padding:7px 13px;border-radius:16px;background:var(--black-soft);color:#fff;
  font-size:13px;font-weight:500;line-height:1.38;letter-spacing:0;text-align:left;text-wrap:pretty;white-space:pre-line;overflow-wrap:anywhere;text-shadow:none;
  box-shadow:0 0 0 1px rgba(255,255,255,.12),0 8px 20px rgba(0,0,0,.35);opacity:0;visibility:hidden;pointer-events:none;translate:0 4px;
  transition:opacity .14s var(--ease),translate .14s var(--ease),visibility 0s .14s}
.hint.is-below{translate:0 -4px}
.hint.is-on{opacity:1;visibility:visible;pointer-events:auto;translate:0 0;transition-delay:0s}
.hint::after{content:"";position:absolute;left:var(--hint-x,50%);bottom:-6px;margin-left:-6px;border:6px solid transparent;border-top-color:var(--black-soft);border-bottom:0}
.hint.is-below::after{bottom:auto;top:-6px;border:6px solid transparent;border-bottom-color:var(--black-soft);border-top:0}
/* [V] C62 the guided tour: the system's .hint with two buttons over the page, the piece it explains ringed in white, the page dimmed around it */
.tour-spot{position:fixed;z-index:249;border-radius:16px;box-shadow:0 0 0 2px #fff,0 0 0 9999px rgba(0,0,0,.45);pointer-events:none}
.tour-spot.is-none{box-shadow:0 0 0 9999px rgba(0,0,0,.45)}   /* C62 round 2: a card with no piece — the page dimmed, no ring */
.hint.tour-tip{display:flex;flex-direction:column;gap:4px;max-width:none;padding:12px 14px;z-index:260}
.tour-tip b{font-size:14px;font-weight:600}
.tour-tip__say{font-size:13px;line-height:1.4;color:var(--on-photo-2)}
.tour-tip__foot{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:8px}
.tour-tip__skip{all:unset;cursor:pointer;padding:8px 4px;border-radius:6px;font-size:13px;color:var(--on-photo-2)}
.tour-tip__skip:hover{color:#fff}
.tour-tip :is(button):focus-visible{outline:2px solid #fff;outline-offset:2px}
.tour-tip .tour-tip__next{background:#fff;color:#121313}
.tour-tip.is-over::after{display:none}
@media (max-width:599px){
  .tour-tip b,.tour-tip__say{font-size:15px}
  .tour-tip .tour-tip__next{height:44px;min-height:44px;padding:0 16px;font-size:15px}
  .tour-tip__skip{display:inline-flex;align-items:center;min-height:44px;padding:0 4px;font-size:15px}
}
@media (prefers-reduced-motion:no-preference){
  html:not(.ds-static) .tour-tip{animation:tour-in .22s var(--ease)}
  html:not(.ds-static) .tour-spot{transition:left .2s var(--ease),top .2s var(--ease),width .2s var(--ease),height .2s var(--ease)}
}
@keyframes tour-in{from{opacity:0;translate:0 4px}}
[data-hint-tab]{-webkit-tap-highlight-color:transparent}
@media (prefers-reduced-motion:reduce){.hint{transition:none;translate:none}}
.marker{position:absolute;width:7px;height:7px;margin:-3.5px 0 0 -3.5px;border-radius:50%;background:#fff;box-shadow:0 0 0 1.8px #0b0b0b}
.legend{display:flex;align-items:center;gap:24px;font-size:12px;color:var(--fg-2);white-space:nowrap}
.legend__item{display:inline-flex;align-items:center;gap:8px}
.legend__dot{width:9px;height:9px;border-radius:50%;background:currentColor}
.chart{position:relative}
.chart svg{overflow:visible}
.chart text{font-family:var(--font);font-size:12px;fill:var(--fg-2)}

/* ---------- progress & loading [D] ---------- */
.progress{height:6px;border-radius:999px;background:var(--line);overflow:hidden}
.progress > i{display:block;height:100%;width:var(--v,50%);border-radius:inherit;background:var(--green);transform-origin:left;transition:transform 1.1s var(--ease-out) .15s}
.ring{--v:68;--ring-v:var(--v);--c:var(--green);width:64px;height:64px;border-radius:50%;flex:none;transition:--ring-v 1.3s var(--ease-out) .15s;
  background:radial-gradient(closest-side,var(--ring-bg,#fff) 79%,transparent 80%),conic-gradient(var(--c) calc(var(--ring-v)*1%),var(--line) 0)}
.spinner{width:20px;height:20px;flex:none;border-radius:50%;border:2px solid currentColor;border-right-color:transparent;animation:ds-spin .8s linear infinite}
.skeleton{border-radius:8px;background:linear-gradient(90deg,var(--sk-a) 0%,var(--sk-b) 50%,var(--sk-a) 100%);background-size:200% 100%;animation:ds-shimmer 1.4s linear infinite}

/* ---------- the wait [V] C40 WT-1 B « L'objet attend » (user, 2026-10-31: « B, tes recos ») — DS.busy(btn, o) in ds.js. Whatever waits for Sorare after a
   click moves at once and until the answer: the button says its verb with the spinner and keeps its width (.is-loading), the window's other controls step
   back (.is-busy-off), the thing waited for moves (.is-waiting): a pack floats over its ground with a glint, a reward's ring turns, cards lift one after the
   other, a switch's knob spins, an icon button's icon turns. Words at 4 s and 12 s go where the page says. These loops say something is loading: exempt
   from PF-10's 5 s. Reduced motion (Q7): nothing travels, the indicators pulse in place. ---------- */
.btn.is-loading{cursor:progress;white-space:nowrap;overflow:hidden;justify-content:center}   /* centred even where the button spreads its parts (.inbox__all) */
.btn.is-loading .spinner{width:16px;height:16px}
.btn--s.is-loading .spinner{width:14px;height:14px}
.busy__lab{display:inline-block;animation:ds-busy-roll .34s var(--ease-out) both}
.is-busy-off{opacity:.4;pointer-events:none;transition:opacity .25s var(--ease)}
.is-busy-said{animation:ds-busy-say .45s var(--ease-out) both}
.sorare-pack.is-waiting{animation:ds-busy-float 2.6s cubic-bezier(.45,0,.55,1) infinite}
.busy__glint{position:absolute;inset:0;pointer-events:none;-webkit-mask:var(--busy-m) center/contain no-repeat;mask:var(--busy-m) center/contain no-repeat;
  background:linear-gradient(115deg,transparent 36%,rgba(255,255,255,.85) 50%,transparent 64%) no-repeat;background-size:260% 100%;background-position:150% 0;
  animation:ds-busy-glint 2.2s cubic-bezier(.45,0,.4,1) .3s infinite}
.busy__ground{position:absolute;left:12%;right:12%;bottom:-16px;height:12px;border-radius:50%;pointer-events:none;
  background:radial-gradient(closest-side,rgba(24,40,32,.3),rgba(24,40,32,0));animation:ds-busy-ground 2.6s cubic-bezier(.45,0,.55,1) infinite}
:is(.panel--photo,.on-photo,.panel--dark,.on-dark) .busy__ground{background:radial-gradient(closest-side,rgba(0,0,0,.55),rgba(0,0,0,0))}
.reward-claim.is-waiting::before{background:conic-gradient(var(--rc,var(--ink)) 0 26%,var(--busy-track,rgba(18,19,19,.1)) 0);animation:ds-spin 1.15s linear infinite;
  animation-delay:calc(var(--busy-i,0) * -.38s)}
:is(.panel--photo,.on-photo,.panel--dark,.on-dark,.card-stage) .reward-claim.is-waiting{--busy-track:rgba(255,255,255,.22)}
.reward-claim.is-waiting > img{animation:ds-busy-bob 1.5s cubic-bezier(.45,0,.55,1) infinite;animation-delay:calc(var(--busy-i,0) * .18s)}
:is(.sorare-card,.busy-any).is-waiting{animation:ds-busy-lift 1.9s cubic-bezier(.45,0,.55,1) infinite;animation-delay:calc(var(--busy-i,0) * .14s)}
.sorare-card.is-waiting::after{animation:ds-busy-sheen 1.9s cubic-bezier(.45,0,.4,1) infinite;animation-delay:calc(var(--busy-i,0) * .14s)}
.switch.is-waiting{cursor:progress}
.switch.is-waiting::after{content:"";position:absolute;top:6px;left:6px;width:12px;height:12px;box-sizing:border-box;border-radius:50%;
  border:1.6px solid var(--ink);border-right-color:transparent;animation:ds-spin .8s linear infinite}
.switch.is-waiting:checked::after{left:22px;border-color:var(--ctl-on);border-right-color:transparent}
:is(.btn-circle,.btn-icon,.rail__btn).is-waiting{cursor:progress}
:is(.btn-circle,.btn-icon,.rail__btn).is-waiting .i{animation:ds-spin .9s linear infinite}
@keyframes ds-busy-roll{from{transform:translateY(80%);opacity:0}}
@keyframes ds-busy-say{from{transform:translateY(6px);opacity:0}}
@keyframes ds-busy-float{0%,100%{transform:translateY(0) rotate(-1.5deg)}50%{transform:translateY(-12px) rotate(1.5deg)}}
@keyframes ds-busy-ground{0%,100%{transform:translateY(0) scaleX(1);opacity:1}50%{transform:translateY(12px) scaleX(.72);opacity:.55}}
@keyframes ds-busy-glint{0%{background-position:150% 0}60%,100%{background-position:-50% 0}}
@keyframes ds-busy-bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
@keyframes ds-busy-lift{0%,60%,100%{transform:none}25%{transform:translateY(-12px)}}
@keyframes ds-busy-sheen{0%{background-position:130% 0}50%,100%{background-position:-30% 0}}
@keyframes ds-busy-pulse{0%,100%{opacity:.25}50%{opacity:1}}
@media (prefers-reduced-motion:reduce){   /* Q7: beats the global « no animation » rule (and .ds-static) by specificity */
  html .spinner,html .switch.is-waiting::after{border-right-color:currentColor!important;animation:ds-busy-pulse 1.6s ease-in-out infinite!important}
  html .switch.is-waiting::after{border-color:var(--ink)!important}html .switch.is-waiting:checked::after{border-color:var(--ctl-on)!important}
  html .reward-claim.is-waiting::before{background:conic-gradient(var(--rc,var(--ink)) 0 100%,transparent 0);animation:ds-busy-pulse 1.6s ease-in-out infinite!important}
  html :is(.btn-circle,.btn-icon,.rail__btn).is-waiting .i{animation:ds-busy-pulse 1.6s ease-in-out infinite!important}
  html .busy__glint,html .busy__ground{display:none}
}

/* ---------- feedback & overlays ----------
   banners [V] CP-14 B: tinted by severity, one glyph that says what happened (eye = preview, refresh = state uncertain,
   danger-circle = something failed — never a triangle or an info "i"), the action on the right */
.banner{display:flex;align-items:center;gap:12px;min-height:48px;padding:10px 12px 10px 16px;border-radius:14px;font-size:13.5px;line-height:1.35;color:var(--ink)}
.banner .i{width:20px;height:20px;flex:none}
.banner b,.banner__title{font-weight:600}
.banner__act{margin-left:auto;flex:none}
.banner--info{background:var(--blue-tint)}.banner--info .i{color:var(--blue-text)}
.banner--success{background:var(--state-won-tint)}.banner--success .i{color:var(--state-won)}                    /* [D] */
.banner--error{background:var(--state-fail-tint)}.banner--error .i{color:var(--state-fail)}
.banner--warn{background:var(--state-risk-tint)}.banner--warn .i{color:var(--state-risk)}
.toast{display:inline-flex;align-items:center;gap:10px;height:48px;padding:0 20px 0 14px;border-radius:999px;background:var(--black-soft);color:#fff;
  font-size:14px;font-weight:500;white-space:nowrap;box-shadow:0 12px 30px rgba(0,0,0,.25)}
.toast .i{width:20px;height:20px;color:var(--star-hi)}
.toast__action{margin-left:10px;color:#fff;text-decoration:underline;text-underline-offset:3px}
.toast--fixed{position:fixed;left:50%;bottom:30px;translate:-50% 0;z-index:200}
/* live notification [V] ICON-03 + HQ-4 (user, 2026-10-13: from the bottom of the screen, never over the middle): the action's tile, one line
   and its points; a tap opens the player */
.toast--event{height:auto;min-height:60px;gap:12px;padding:8px 22px 8px 8px;border-radius:22px;cursor:pointer;pointer-events:auto}
.toast--event .act-art{--s:44px}
.toast__t{display:grid;gap:1px;min-width:0}.toast__t b{font-size:14.5px;font-weight:560;line-height:1.25}
.toast__t small{font-size:12px;line-height:1.3;color:var(--on-photo-2)}
.toast__pts{margin-left:auto;padding-left:6px;font-size:17px;font-weight:600;font-variant-numeric:tabular-nums;color:#79dd76}.toast__pts.is-neg{color:#ff8f84}
.toast__t b,.toast__t small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media (max-width:599px){.toast--fixed.toast--event{left:12px;right:12px;translate:none;max-width:none;width:auto;white-space:nowrap}}
.overlay{position:fixed;inset:0;z-index:100;display:grid;place-items:center;background:rgba(0,0,0,.45);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
/* purchase window [V] CP-13 A: a centred window over the dimmed page (.overlay) — purchase and full odds; Cancel takes the focus */
.modal{width:min(460px,calc(100vw - 40px));border-radius:20px;background:#fff;padding:24px 24px 20px;box-shadow:var(--shadow-modal)}
.modal--wide{width:min(560px,calc(100vw - 40px))}                                                               /* full odds table */
.modal__head{display:flex;align-items:center;gap:16px}
.modal__title{font-size:20px;font-weight:500;letter-spacing:-.02em;line-height:1.2}
.modal__sub{margin-top:4px;font-size:13px;color:var(--fg-3)}
.modal__close{margin-left:auto;align-self:flex-start;width:32px;height:32px;flex:none;border:0;border-radius:50%;background:#eff3f0;color:var(--ink);display:grid;place-items:center;cursor:pointer}
.modal__close .i{width:16px;height:16px}
.modal__head .page-head__me{width:46px;height:46px;border-radius:50%;object-fit:cover;flex:none}   /* profile sheet: ds.js DS.profileSheet */
.ds-pf{display:grid;gap:4px;margin:6px -14px 0}
.modal__note{margin:10px 0 0;font-size:12.5px;line-height:1.45;color:var(--fg-3)}
.modal .banner{margin-top:12px}
.modal__foot{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}
.modal .btn--ghost:hover{background:#eff3f0}
.summary{display:grid;gap:2px;margin:20px 0 0}
.summary > div{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:38px;font-size:14px}
.summary dt{color:var(--fg-3)}
.summary dd{margin:0;display:inline-flex;align-items:center;gap:6px;font-weight:600;letter-spacing:.01em}
.summary dd > img{height:18px;width:auto}
.summary .is-strong dd{font-size:16px}
.drawer{position:fixed;top:10px;right:10px;bottom:10px;width:440px;z-index:100;border-radius:var(--r-40);padding:32px 30px;box-shadow:var(--shadow-modal)}
.empty{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;padding:40px 20px}
.empty__icon{width:64px;height:64px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.62);color:var(--fg);margin-bottom:6px}
.on-dark .empty__icon,.panel--dark .empty__icon{background:#2c2e2f}
.empty__icon .i{width:26px;height:26px}
.empty__title{font-size:18px;font-weight:500}
.empty__text{font-size:14px;color:var(--fg-2);max-width:320px;line-height:1.4}
/* blocking screen [V] CP-14 B + C: the Sorare asset concerned (dimmed + lock) when there is one, else an .empty__icon disc */
.gate{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:300px;padding:28px}
.gate__art{position:relative;margin-bottom:18px}
.gate__art :is(.sorare-pack,.sorare-card) > img{opacity:.45}
.gate__art .empty__icon{margin:0}
.lock-badge{position:absolute;left:50%;top:50%;width:44px;height:44px;margin:-22px 0 0 -22px;border-radius:50%;background:rgba(18,19,19,.82);color:#fff;display:grid;place-items:center}
.lock-badge .i{width:22px;height:22px}
.gate__title{font-size:22px;font-weight:500;letter-spacing:-.025em}
.gate__text{margin-top:8px;max-width:380px;font-size:14px;line-height:1.45;color:var(--fg-2)}
.gate__actions{display:flex;justify-content:center;gap:10px;margin-top:20px}
.divider{height:1px;background:var(--line);border:0;margin:0}
.kv{display:grid;grid-template-columns:auto 1fr;gap:10px 24px;font-size:14px}
.kv dt{color:var(--fg-3)}.kv dd{margin:0;font-weight:500;text-align:right}

/* ---------- football domain ---------- */
.hero-id{position:absolute;left:46px;top:153px}                                                       /* [O] shot 1 identity block */
.hero-id .overline{margin-bottom:22px}
.hero-id__crest{position:absolute;left:361px;top:34px}
.match{position:relative;height:120px;border-radius:16px;color:#fff}                                  /* match card on photo [O] */
.match__crest{position:absolute;top:24px;width:30px;height:30px}
.match__crest--home{left:23px}.match__crest--away{right:23px}
.match__code{position:absolute;top:77px;width:60px;margin-left:-30px;text-align:center;font-size:14px;line-height:1;color:var(--on-photo-3);letter-spacing:.02em}
.match__code--home{left:38px}.match__code--away{left:calc(100% - 38px)}
.match .pill{position:absolute;left:50%;top:24px;transform:translateX(-50%)}
.match__score{position:absolute;left:0;right:0;top:66px;display:flex;justify-content:center;align-items:baseline;gap:11px;font-size:39px;font-weight:430;letter-spacing:.01em;line-height:1}
.match__score i{font-style:normal;font-size:25px;color:#aeb0b0;position:relative;top:-3px}
.match-list{display:flex;flex-direction:column;gap:2px}
.stat-widget{width:233px}
.stat-widget__head{position:relative;display:flex;align-items:center;height:73px;padding:0 0 0 16px;border-radius:14px;background:var(--green-strong)}
.stat-widget__head .crest{width:36px;height:36px;border-radius:50%;background:#fff;box-shadow:0 0 0 2.4px #fff}
.stat-widget__head .crest + .crest{margin-left:-3px}
.stat-widget__head svg.spark{position:absolute;right:0;top:11px}
.stat-widget__body{margin-top:3px;height:190px;padding:22px 28px;border:3px solid var(--green-border);border-radius:14px;
  background:rgba(26,26,26,.6);-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px);color:#fff}
.stat-widget__label{margin-top:12px;font-size:19px;line-height:1.21;color:var(--on-photo-2);letter-spacing:-.008em}
.profile{display:flex;align-items:center;gap:20px}
.profile__name{margin:2px 0 14px}

/* ---------- Home pieces [V] PG-08 A · CP-21 A · CP-22 B · CP-23 A · CP-24 A · CP-25 C · CP-26 B (user, one by one, 2026-10-12) ---------- */
/* claim row: the official reward art is the button (CP-07) + what you get + where it comes from */
.claim-row{display:flex;align-items:center;gap:14px;padding:7px 0}
.claim-row__t{min-width:0;flex:1}
.claim-row__t b{display:block;font-size:15px;font-weight:560;font-variant-numeric:tabular-nums}
.claim-row__t small{display:block;margin-top:3px;font-size:12.5px;color:var(--fg-3)}
.claim-row__t small.c-claim{color:var(--state-claim)}
:is(.on-photo,.panel--photo) .claim-row__t small.c-claim{color:#7fe07c}
.claim-row__end{margin-left:auto;flex:none}
/* "Ready to claim": everything collectable in one place, next to the balances (PG-08 A) */
.inbox__head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:10px}
.inbox__head .card__title{margin:0}
.inbox__n{font-size:22px;font-weight:450;font-variant-numeric:tabular-nums}
.inbox__all{width:100%;margin-top:12px;justify-content:space-between}
.inbox__sum{display:inline-flex;align-items:center;gap:6px;font-weight:600;font-variant-numeric:tabular-nums}
.inbox__sum img{height:18px;width:auto;margin-left:6px}
.inbox__sep{height:1px;background:var(--line);margin:18px 0 12px}
.inbox__label{font-size:12px;color:var(--fg-3);margin-bottom:2px}
.inbox__empty{padding:6px 0 2px;font-size:13.5px;line-height:1.45;color:var(--fg-2)}
.inbox__empty b{display:block;font-size:15px;font-weight:560;color:var(--fg)}
/* a reward still to choose (CP-24 A): the possible official arts, small, inside the disc */
.reward-trio{position:relative;width:62%;height:62%}
.reward-trio img{position:absolute;height:58%;width:auto;object-fit:contain;opacity:.42}
.reward-claim.is-ready .reward-trio img,.modal__head .reward-trio img{opacity:1}
.reward-trio img:nth-child(1){left:2%;top:4%}.reward-trio img:nth-child(2){right:0;top:0;height:46%}.reward-trio img:nth-child(3){left:30%;bottom:-2%;height:62%}
/* reward ring on photo / dark: white ring (surface variant) */
:is(.on-photo,.panel--photo,.on-dark,.panel--dark) .reward-claim:not(.is-ready):not(.is-claimed){background:rgba(255,255,255,.1)}
:is(.on-photo,.panel--photo,.on-dark,.panel--dark) .reward-claim:not(.is-ready)::before{background:conic-gradient(#fff calc(var(--p,0) * 1%),rgba(255,255,255,.18) 0)}
:is(.on-photo,.panel--photo,.on-dark,.panel--dark) .reward-claim:not(.is-ready) > img{opacity:.55}
/* Daily Boost (CP-21 A): the track's steps ARE the claim buttons; the actions are a checklist */
.boost-track{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;padding:6px 0 18px;border-bottom:1px solid var(--line)}
.boost-step{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center}
.boost-step b{margin-top:6px;font-size:15px;font-weight:600;font-variant-numeric:tabular-nums}
.boost-step span,.boost-step small{margin-top:-4px;font-size:11.5px;color:var(--fg-3)}
.boost-step small.c-claim{color:var(--state-claim)}
:is(.panel--photo,.on-photo,.panel--dark,.on-dark,.card--glass-dark) .boost-step small.c-claim{color:#7fe07c}      /* « Ready », « Ready next » in the Daily Boost's dark card: 2.6:1 with the light panel's green (C54) */
.checklist{list-style:none;margin:14px 0 0;padding:0;display:grid;gap:2px}
.checklist li{display:flex;align-items:center;gap:12px;min-height:44px;font-size:14px}
.checklist li.is-done .checklist__t{color:var(--fg-3)}
.checklist__t{flex:1;min-width:0}
.checklist small{font-size:12.5px;color:var(--state-won)}
:is(.panel--photo,.on-photo,.panel--dark,.on-dark,.card--glass-dark) .checklist small{color:#79dd76}               /* « Done » on the dark card: .c-won's light twin (C54) */
.check-disc{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;flex:none;box-shadow:inset 0 0 0 1.5px var(--ctl-line,#c3c9c5)}
.check-disc .i{width:13px;height:13px;stroke-width:2.2}
.is-done > .check-disc{background:var(--state-won-tint);color:var(--state-won);box-shadow:none}
/* choosing a reward (CP-22 B): side-by-side tiles, the Sorare art large; the picked tile turns white with a tick */
.choice-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:18px}
.choice-tile{position:relative;display:flex;flex-direction:column;align-items:center;gap:4px;padding:16px 10px 14px;border:0;border-radius:16px;background:#f2f5f2;
  text-align:center;font:inherit;color:var(--ink);cursor:pointer;transition:background var(--dur) var(--ease),box-shadow var(--dur) var(--ease)}
.choice-tile__art{height:84px;display:grid;place-items:center;margin-bottom:6px}
.choice-tile__art img{max-height:84px;max-width:70px;object-fit:contain;filter:drop-shadow(0 8px 10px rgba(24,40,32,.2))}
.choice-tile b{font-size:15px;font-weight:560}.choice-tile small{font-size:12px;color:var(--fg-3)}
.choice-tile:hover{background:#eaefeb}
.choice-tile.is-on,.choice-tile[aria-checked="true"]{background:#fff;box-shadow:0 0 0 1.5px var(--ink)}
.tick{position:absolute;right:10px;top:10px;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;box-shadow:inset 0 0 0 1.5px #c9cfcb}
.tick .i{width:13px;height:13px;stroke-width:2.4;opacity:0}
:is(.is-on,[aria-checked="true"]) > .tick{background:var(--ink);color:#fff;box-shadow:none}
:is(.is-on,[aria-checked="true"]) > .tick .i{opacity:1}
/* level detail [V] CP-23 A: a small white card above the hovered / focused / tapped level, three lines like a bubble (ds.js [data-road]) */
[data-road]{position:relative;z-index:0;transition:z-index 0s .2s}
[data-road]:has(> .level-pop.is-on){z-index:25;transition-delay:0s}   /* the card rises above what sits just above the road (Home's bust plates are z 3) and stays up while it fades out; under the rail (30) and the iPhone bars (49+) */
.level-pop{position:absolute;z-index:20;left:0;top:0;display:grid;gap:2px;min-width:184px;max-width:270px;padding:9px 14px 10px;border-radius:14px;
  background:#fff;color:var(--ink);box-shadow:var(--shadow-menu);font-size:12.5px;line-height:1.4;text-align:left;
  transform:translate(-50%,calc(-100% - 4px)) scale(.96);transform-origin:50% 100%;opacity:0;pointer-events:none;
  transition:opacity .16s var(--ease),transform .2s var(--ease-out)}
.level-pop.is-on{opacity:1;transform:translate(-50%,calc(-100% - 4px));pointer-events:auto}
.level-pop b{font-size:13.5px;font-weight:600}
.level-pop span{display:flex;align-items:center;gap:5px;flex-wrap:wrap;color:var(--ink-2)}
.level-pop span img{height:16px;width:auto}
.level-pop small{font-size:12px;color:var(--ink-subtle)}
.level-pop .link-arrow{margin-top:4px;color:var(--ink)}
:is(a,button).level-node{border:0;background:none;padding:0;font:inherit;color:inherit;text-decoration:none;cursor:pointer}
.level-node__rw{gap:3px;font-size:11px;font-weight:560;color:var(--fg-2);white-space:nowrap}
.level-node__rw img{height:18px}
/* a free lineup slot (where lineups are listed; the lives themselves are hearts, CP-25 C) */
.lineup--free{display:flex;flex-direction:column;align-items:flex-start;background:rgba(255,255,255,.42)}
.lineup--glass.lineup--free{background:rgba(255,255,255,.05)}
.lineup--free .lineup__tag{margin-left:auto;font-size:12.5px;font-weight:560;color:var(--fg-3)}
.lineup--free p{margin:12px 0 14px;font-size:13px;line-height:1.4;color:var(--fg-3);flex:1}
a.lineup{display:block;color:var(--fg,var(--ink));text-decoration:none}
.lineup--glass .target-bar{--c:#fff}
/* lives [V] CP-25 C: hearts — filled = left, dimmed outline = played */
.lives{display:inline-flex;align-items:center;gap:3px;vertical-align:middle}
.lives .i{width:18px;height:18px}
.lives .is-used{opacity:.35}
/* squad band [V] CP-26 B: the team photo, the squad on glass (on compact: photo header + solid card) */
.squad-band{position:relative;display:flex;align-items:flex-end;gap:24px;min-height:250px;padding:22px;border-radius:20px;overflow:hidden;isolation:isolate;
  color:#fff;--fg:#fff;--fg-2:var(--on-photo-2);--fg-3:var(--on-photo-3)}
.squad-band__photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 35%;z-index:-2}
.squad-band::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,rgba(0,0,0,.62) 0,rgba(0,0,0,.2) 55%,rgba(0,0,0,.45) 100%)}
.squad-band__card{width:min(420px,100%);padding:18px 20px 20px}
.squad-band__card .card__sub{color:var(--on-photo-2)}
.squad-band__card p{margin:10px 0 14px;font-size:13px;line-height:1.45;color:var(--on-photo-2)}
.squad-band__end{margin-left:auto;display:flex;align-items:center;gap:12px}
.squad-band__end .player-faces .player-pic{--ring:rgba(20,22,22,.9)}
.squad-band__names{font-size:13px;color:var(--on-photo-2)}.squad-band__names b{color:#fff;font-weight:560}
:is(.on-photo,.panel--photo,.squad-band) .seats__bar i{background:rgba(255,255,255,.22)}
:is(.on-photo,.panel--photo,.squad-band) .seats__bar i.on{background:#fff}
/* squad seats meter */
.seats{display:flex;align-items:center;gap:8px;font-size:15px}
.seats b{margin-left:6px;font-weight:600}
.seats__bar{display:flex;gap:4px;flex:1}
.seats__bar i{flex:1;height:8px;border-radius:4px;background:var(--muted)}
.seats__bar i.on{background:var(--fg,var(--ink))}
/* chance gauge on photo / dark (surface variant) */
:is(.on-photo,.panel--photo,.on-dark,.panel--dark) .chance__track{background:repeating-linear-gradient(-56deg,rgba(255,255,255,.3) 0 1.6px,rgba(255,255,255,0) 1.6px 8.6px),rgba(255,255,255,.08)}
:is(.on-photo,.panel--photo,.on-dark,.panel--dark) .chance__band{background:rgba(255,255,255,.88)}
:is(.on-photo,.panel--photo,.on-dark,.panel--dark) .chance__target i{background:#fff;box-shadow:0 0 0 2px rgba(0,0,0,.55)}
:is(.on-photo,.panel--photo,.on-dark,.panel--dark) .chance__mean i{background:var(--ink);box-shadow:0 0 0 3px #fff}

/* ---------- player details [V] PL-01…PL-06 + R1–R7 (user, 2026-10-15 — DECISIONS §C13, DESIGN.md §6 « The player's details ») ----------
   A tap on a player opens this sheet, then « Player page » the page. ≥ 600 px a non-modal side sheet (the page stays live and clickable behind it),
   < 600 px a bottom sheet (.overlay > .modal, PF-04). E4 « Le sobre »: SOR-03b's profile disc, the name, PS-01's halo with no tile on the sheet's own
   background (W1: the ramp's light colour, the figure 55 / 45 with ink, ≥ 4.5:1). O2: the content in .seg tabs (This match · Form · Cards), sticky.
   « Les deux parts » for where the score comes from, the form as bars. Rendered by ds.js DS.playerSheet from the page's data. */
.player-sheet{--ps-tile:#f3f6f4;--ps-track:#eef2ef;--ps-axis:#c7cdca;--ps-disc:#e9eeeb;--ps-disc-done:#cfdcd3;
  display:flex;flex-direction:column;overflow:hidden;color:var(--fg);background:linear-gradient(180deg,#dff0ee 0,#e2efe8 260px,var(--sage) 520px,var(--sage) 100%)}
.drawer.player-sheet{width:min(480px,calc(100vw - 20px));padding:0;z-index:130;box-shadow:0 30px 80px rgba(0,0,0,.45),0 0 0 1px rgba(255,255,255,.07)}
.player-sheet__scroll{position:relative;flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
.player-sheet__head{padding:16px 20px 4px}
.player-sheet__top{display:flex;align-items:center;gap:8px}
.player-sheet__count{min-width:0;margin-left:4px;overflow:hidden;font-size:13px;color:var(--fg-3);text-overflow:ellipsis;white-space:nowrap}
.player-sheet__close{margin-left:auto}
.player-sheet__pause{margin-left:auto}.player-sheet__pause[hidden]{display:none}.player-sheet__pause:not([hidden]) + .player-sheet__close{margin-left:0}   /* PL-07 P1: the page's « Pause live », repeated */
.player-sheet__id{display:grid;grid-template-columns:96px minmax(0,1fr) auto;gap:16px;align-items:center;margin-top:12px}
.player-sheet__pic{--s:96px}
.player-sheet__over{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--fg-3);letter-spacing:.02em}
.player-sheet__over img,.player-sheet__match img{width:24px;height:24px;flex:none;object-fit:contain}             /* SOR-05 A: logos bare on light */
.player-sheet__name{margin:8px 0 0;font-size:30px;font-weight:450;letter-spacing:-.025em;line-height:1.02}
.player-sheet__now{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin-top:16px}
.player-sheet__match{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:560;white-space:nowrap}
.player-sheet__match b{font-size:17px;font-weight:600;letter-spacing:.01em;font-variant-numeric:tabular-nums}
.player-sheet__code{display:none}
.player-sheet__split{font-size:13px;color:var(--fg-3);white-space:nowrap}
.player-sheet__split b{color:var(--fg);font-weight:600;font-variant-numeric:tabular-nums}
.player-sheet__body{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;padding:10px 10px 16px}
.player-sheet__tabs{position:sticky;top:0;z-index:5;margin:-10px -10px 0;padding:10px;background:rgba(229,239,231,.9);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}
.player-sheet__tabs .seg{display:flex;width:100%}.player-sheet__tabs .seg__opt{flex:1;justify-content:center}
.player-sheet__tab{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
.player-sheet__tab[hidden]{display:none}
.player-sheet__card{padding:24px 30px}
.player-sheet__card .card__head{margin-bottom:16px;align-items:flex-start}
.player-sheet__card .card__sub{margin-top:4px}
.player-sheet__note{margin:2px 6px 0;font-size:12.5px;line-height:1.45;color:var(--fg-3)}
.player-sheet__none{margin:0;font-size:14px;line-height:1.45;color:var(--fg-2)}
.player-sheet__foot{display:flex;gap:10px;flex:none;padding:12px 20px 16px;background:rgba(229,239,231,.9);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}
.player-sheet__foot .btn{flex:1}
.player-sheet.is-swap .player-sheet__scroll{animation:ps-swap .38s var(--ease-out)}
@keyframes ps-swap{from{opacity:0;transform:translateX(16px)}}
.pts-pos{color:var(--green-text)}.pts-neg{color:var(--red-text)}
/* toasts stay clear of the sheet (ds.js sets html.has-player-sheet, --ps-cover, --ps-lift): still from the bottom, centred in the page left of the side
   sheet on PC, above the bottom sheet's buttons on a phone */
@media (min-width:600px){html.has-player-sheet .toast--fixed{left:calc(50% - var(--ps-cover, 0px) / 2)}}
/* the score's halo on a light surface (PS-01 + PL-06 W1): the trail and its point in the ramp's light colour, the figure mixed with ink */
.score-halo{--ring:88px;--fs:38px;position:relative;display:grid;place-items:center;flex:none;width:var(--ring);height:var(--ring)}
.score-halo svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.score-halo path{fill:none;stroke:var(--halo)}
.score-halo .gl{fill:var(--halo);opacity:.16}
.score-halo .pt{fill:var(--halo)}
.score-halo b{position:relative;z-index:1;font-size:var(--fs);font-weight:450;letter-spacing:-.03em;line-height:1;color:var(--halo-fig,var(--fg));font-variant-numeric:tabular-nums}
.score-halo b small{position:relative;top:-.62em;margin-left:.04em;font-size:.46em;font-weight:500}
.score-halo.is-wide b{font-size:calc(var(--fs) * .8)}
.score-halo.is-xi b{font-size:calc(var(--fs) * .6);font-weight:560;letter-spacing:-.01em;color:var(--fg)}.score-halo.is-xi.is-risk b{color:var(--state-risk)}   /* the official XI's word, no ring [V] 2026-10-19 */
.score-halo.is-xi:not(.is-risk) b{color:var(--state-won)}:is(.panel--photo,.on-photo,.panel--dark,.on-dark,.card--glass-dark) .score-halo.is-xi:not(.is-risk) b{color:#79dd76}   /* « Starting » green (user, 2026-10-31) */
/* decisive actions — ICON-03's big tiles */
.decisive-list{display:grid;gap:12px}
.decisive-list__row{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:16px}
.decisive-list__row b{display:block;font-size:16px;font-weight:560}
.decisive-list__row small{display:block;margin-top:2px;font-size:13px;color:var(--fg-3)}
.decisive-list__pts{font-size:17px;font-weight:600;font-variant-numeric:tabular-nums}
/* [V] C86 a player's score over his match (owner, 2026-12-04: « Oui, tes recos »; ds.js DS.scoreCurve): Sorare's curve « La courbe » — the line and a light
   area on the score ramp (the halo's colours, set by ds.js), ICON-04's tiles at their minute, the axis 0 · 35 · 60 · 100; a quarter of an hour's detail in
   the sheet's rows; the C84 beads to the projected finish over a faint fan. Text 12 px minimum in --fg-3 (AA on white); the chosen quarter is a tint. */
.score-curve{position:relative}
.score-curve__chart,.score-curve__plot{position:relative;width:100%}
.score-curve__plot svg{display:block;overflow:visible}
.score-curve__grid{stroke:var(--grid-line);stroke-width:1}.score-curve__grid.is-base{stroke:var(--ps-axis,#c7cdca)}
.score-curve__ax{font-size:12px;fill:var(--fg-3);font-variant-numeric:tabular-nums}
.score-curve__tag{font-weight:500}
.score-curve__sel{fill:rgba(18,19,19,.05)}
.score-curve__line{fill:none;stroke-width:2.6;stroke-linejoin:round;stroke-linecap:round}
.score-curve__area{stroke:none}
.score-curve__pt{fill:#fff;stroke-width:1.8;transform-box:fill-box;transform-origin:center}
.score-curve__now{transform-box:fill-box;transform-origin:center}
.score-curve__beat{fill:none;stroke:var(--c);stroke-width:1.6;opacity:0;transform-box:fill-box;transform-origin:center}
.ds-motion .score-curve__beat{animation:sc-beat 1.6s var(--ease-out) 1.2s 3}   /* three beats, then it rests (PF-10) */
@keyframes sc-beat{0%{opacity:.7;transform:scale(.5)}100%{opacity:0;transform:scale(1.5)}}
.ds-motion .score-curve__now.is-tick{animation:sc-tick .5s var(--ease-out)}
@keyframes sc-tick{40%{transform:scale(1.6)}}
.score-curve__on{fill:none;stroke-width:3.2;stroke-linecap:round;stroke-dasharray:.01 7}
.score-curve__end{fill:#fff;stroke-width:2}
.score-curve__fan{opacity:.13;stroke:none}
.score-curve__act{position:absolute;z-index:2;pointer-events:none;box-shadow:0 0 0 2px #fff}
.score-curve__act img{width:100%;height:100%;object-fit:contain}
.score-curve__act.is-flow{position:static;box-shadow:none;border-radius:6px}
.score-curve__hit{position:absolute;top:0;bottom:22px;z-index:3;padding:0;border:0;border-radius:8px;background:none;cursor:pointer;touch-action:pan-y}
.score-curve__hit:focus-visible{outline:2px solid var(--fg);outline-offset:-2px}
@media (hover:hover){.score-curve__hit:not(.is-on):hover{background:rgba(18,19,19,.03)}}
.score-curve__det{display:grid;gap:2px;margin-top:14px;padding-top:14px;border-top:1px solid var(--grid-line)}
.score-curve__h{display:flex;align-items:baseline;gap:10px;margin-bottom:6px;font-size:14px}
.score-curve__h b{font-weight:600;font-variant-numeric:tabular-nums}
.score-curve__h small{font-size:13px;color:var(--fg-3);font-variant-numeric:tabular-nums}
.score-curve__h > span{margin-left:auto;font-weight:600;font-variant-numeric:tabular-nums}
.score-curve__split{display:flex;flex-wrap:wrap;align-items:center;gap:4px 6px;margin:-2px 0 8px;white-space:normal}
.score-curve__sub{margin:18px 0 10px}
.score-curve__wait{height:188px;border-radius:12px}   /* Prism reads the checkpoints when the sheet opens: the curve's place, waiting */
/* where the score comes from — « Les deux parts » (PL-02 1) */
.score-parts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px;margin-bottom:16px}
.score-parts__fig{padding:12px 16px;border-radius:5px;background:var(--ps-tile)}
.score-parts__fig:first-child{border-radius:16px 5px 5px 16px}.score-parts__fig:last-child{border-radius:5px 16px 16px 5px}
.score-parts__fig small{display:block;font-size:12px;color:var(--fg-3)}
.score-parts__fig b{display:block;margin-top:4px;font-size:22px;font-weight:420;letter-spacing:.02em;font-variant-numeric:tabular-nums}
.score-parts__sub{display:flex;align-items:baseline;gap:10px;margin:16px 0 8px;font-size:14px;font-weight:560}
.score-parts__sub span{margin-left:auto;font-variant-numeric:tabular-nums}
.score-ladder{position:relative;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));margin:2px 0 6px}
.score-ladder::before{content:"";position:absolute;left:8%;right:8%;top:13px;height:2px;border-radius:2px;background:var(--ps-track)}
.score-ladder__step{position:relative;display:grid;justify-items:center;gap:6px;font-size:12px;color:var(--fg-3);font-variant-numeric:tabular-nums}
.score-ladder__step i{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--ps-disc);font-style:normal;font-size:11px;font-weight:600;color:var(--fg-2)}
.score-ladder__step.is-done i{background:var(--ps-disc-done);color:var(--fg)}
.score-ladder__step.is-on{color:var(--fg);font-weight:600}
.score-ladder__step.is-on i{background:var(--ink);color:#fff;box-shadow:0 0 0 4px var(--ps-disc)}
.aa-cat > summary{display:flex;align-items:center;gap:8px;height:40px;padding:0 10px;margin:0 -10px;border-radius:12px;list-style:none;cursor:pointer;font-size:14px;font-weight:500}
.aa-cat > summary::-webkit-details-marker{display:none}
.aa-cat > summary:hover{background:var(--ps-tile)}
.aa-cat > summary .i{width:16px;height:16px;color:var(--fg-3);transition:transform .2s var(--ease)}
.aa-cat[open] > summary .i{transform:rotate(90deg)}
.aa-cat > summary span{margin-left:auto;font-weight:600;font-variant-numeric:tabular-nums}
.aa-row{display:grid;grid-template-columns:minmax(0,1fr) 32px 96px 48px;align-items:center;gap:10px;height:30px;font-size:14px}
.aa-row__l{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--fg-2)}
.aa-row__n{text-align:right;font-size:12px;color:var(--fg-3);font-variant-numeric:tabular-nums}
.aa-row__v{text-align:right;font-weight:600;font-variant-numeric:tabular-nums}
.aa-bar{position:relative;height:8px}
.aa-bar::before{content:"";position:absolute;left:50%;top:-4px;bottom:-4px;width:1px;background:var(--ps-axis)}
.aa-bar i{position:absolute;top:0;height:8px;border-radius:5px}
.aa-bar i.is-pos{left:50%;background:var(--green)}
.aa-bar i.is-neg{right:50%;background:var(--red)}
.aa-row.is-live{height:auto;min-height:30px;padding:2px 0}.aa-row.is-live .aa-row__l{font-style:italic;color:var(--fg-3);white-space:normal;line-height:1.25}
.aa-row.is-live .aa-row__l small{display:block;font-size:12px;font-style:normal}   /* two short lines instead of one cut off (2026-10-18) */
.aa-row.is-live .aa-bar i{background:repeating-linear-gradient(135deg,#9aa39e 0 3px,transparent 3px 6px)}
/* your lineups */
.lineup-points{display:grid;gap:6px}
.lineup-points__row{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:16px;padding:8px 12px 8px 10px;border-radius:16px;background:var(--ps-tile)}
.lineup-points__row b:not(.sorare-card__cap){display:block;font-size:16px;font-weight:560}   /* not the card's captain « C »: it stays centred in its disc (2026-10-18) */
.lineup-points__row small{display:block;margin-top:2px;font-size:13px;color:var(--fg-3)}
.lineup-points__v{text-align:right}
.lineup-points__v b{font-size:17px;font-weight:600;font-variant-numeric:tabular-nums}
/* the form as bars (PL-03 a) */
.form-bars{position:relative;--col:112px}
.form-bars__grid{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:6px;align-items:end}
.form-bars__m{display:grid;justify-items:center;gap:6px;min-width:0}
.form-bars__col{position:relative;display:flex;align-items:flex-end;width:100%;max-width:30px;height:var(--col)}
.form-bars__col i{display:block;width:100%;border-radius:8px 8px 5px 5px;background:var(--score-c)}
.form-bars__col.is-dnp i{height:6px;background:var(--ps-disc-done)}
.form-bars__v{position:absolute;left:0;right:0;z-index:1;width:max-content;margin:0 auto;padding:0 3px;border-radius:5px;background:#fff;font-size:12px;font-weight:600;line-height:16px;color:var(--fg-2);font-variant-numeric:tabular-nums}   /* on the card's white, above the dashed L10 line: the line stops around the figure */
.form-bars__acts{position:absolute;left:0;right:0;bottom:6px;display:flex;flex-direction:column;align-items:center;gap:2px}
.form-bars__acts .act{--s:16px}
.form-bars__m img{width:18px;height:18px;object-fit:contain}
.form-bars__m small{font-size:11px;color:var(--fg-3);white-space:nowrap}
.form-bars__avg{position:absolute;left:-2px;right:-2px;border-top:1.5px dashed var(--ink-2);pointer-events:none}
.form-usual{display:flex;gap:16px;font-size:13px;color:var(--fg-3);white-space:nowrap}
.form-usual b{color:var(--fg);font-weight:600;font-variant-numeric:tabular-nums}
/* next matches · before kick-off · the best pack */
.fixture-rows{display:grid;gap:6px}
.fixture-rows__row{display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:12px;min-height:50px;padding:0 12px 0 10px;border-radius:16px;background:var(--ps-tile)}
.fixture-rows__row img{width:30px;height:30px;object-fit:contain}
.fixture-rows__row b{display:block;font-size:16px;font-weight:560}
.fixture-rows__row small{display:block;margin-top:2px;font-size:13px;color:var(--fg-3)}
/* C70 TM-3 a (owner, 2026-11-25): a next match opens « Inside the match » — the row is a link, a chevron at its end, a 5 % ink tint on hover */
a.fixture-rows__row{grid-template-columns:30px minmax(0,1fr) auto 18px;color:inherit;text-decoration:none;transition:background-color .15s var(--ease)}
a.fixture-rows__row:hover{background:color-mix(in srgb,var(--ink) 5%,var(--ps-tile))}
a.fixture-rows__row:focus-visible{outline:2px solid var(--fg);outline-offset:2px}
.fixture-rows__go{width:18px;height:18px;color:var(--fg-3)}
/* C70 TM-4 a: the crest and the club of the details' overline open the club's window (the look unchanged; underlined on hover; 44-px targets on phones) */
.player-sheet__club{position:relative;display:inline-flex;align-items:center;padding:0;border:0;background:none;color:inherit;font:inherit;letter-spacing:inherit;cursor:pointer;border-radius:6px}
.player-sheet__club:hover{text-decoration:underline;text-underline-offset:3px}
.player-sheet__club:focus-visible{outline:2px solid var(--fg);outline-offset:2px}
@media (pointer:coarse){.player-sheet__club::before{content:"";position:absolute;left:50%;top:50%;width:max(100%,44px);height:max(100%,44px);transform:translate(-50%,-50%)}}
.fixture-rows__c{text-align:right}.fixture-rows__c .score-ink{font-size:16px}
.projection{display:grid;gap:16px}
.projection__nums{display:flex;align-items:baseline;gap:16px}
.projection__nums b{font-size:38px;font-weight:450;letter-spacing:-.03em;font-variant-numeric:tabular-nums}
.projection__nums span{font-size:13px;color:var(--fg-3)}
.projection__range{position:relative;height:16px;border-radius:8px;background:var(--ps-track)}
.projection__range i{position:absolute;top:0;bottom:0;border-radius:8px;background:repeating-linear-gradient(135deg,rgba(18,19,19,.32) 0 2px,transparent 2px 6px)}
.projection__range em{position:absolute;top:-2px;width:20px;height:20px;margin-left:-10px;border-radius:50%;background:#fff;box-shadow:0 0 0 2px var(--ink)}
.projection__ax{position:relative;height:16px;margin-top:6px;font-size:11px;color:var(--fg-3);font-variant-numeric:tabular-nums}
.projection__ax span{position:absolute;translate:-50% 0}.projection__ax span:first-child{translate:0}.projection__ax span:last-child{translate:-100% 0}
.player-sheet__cards{display:flex;gap:20px;flex-wrap:wrap}
.player-sheet__cards .card-caption{margin-top:10px}
.best-pack{display:flex;align-items:center;gap:16px;padding:12px;border-radius:16px;background:var(--ps-tile)}
.best-pack > img{width:46px;height:auto;flex:none;filter:drop-shadow(0 6px 8px rgba(24,40,32,.25))}
.best-pack small{display:block;font-size:12px;color:var(--fg-3)}
.best-pack b{display:block;margin-top:2px;font-size:15px;font-weight:600}
.best-pack .price-btn{margin-left:auto;background:#fff;text-decoration:none}
@media (max-width:599px){
  .overlay > .modal.player-sheet{position:relative;padding:0;max-height:calc(100svh - var(--sat) - 20px);overflow:hidden;background:linear-gradient(180deg,#dff0ee 0,var(--sage) 420px)}
  .overlay > .modal.player-sheet::before{flex:none;margin:8px auto 0}
  .player-sheet__head{padding:12px 16px 4px}
  .player-sheet__pause{width:40px;padding:0;border-radius:50%}   /* the icon alone on a phone, its words for screen readers */
  .player-sheet__pause span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .player-sheet__id{grid-template-columns:64px minmax(0,1fr) auto;gap:12px}
  .player-sheet__pic{--s:64px}
  .player-sheet__name{font-size:26px}
  .player-sheet__id .score-halo{--ring:78px;--fs:34px}
  .player-sheet__nm{display:none}.player-sheet__code{display:inline}
  .player-sheet__body{padding:8px 8px 10px;gap:8px}
  .player-sheet__tabs{margin:-8px -8px 0;padding:8px}
  .player-sheet__card{padding:20px 16px}
  .player-sheet__card .card__title{font-size:20px}
  .player-sheet__note,.player-sheet__none{font-size:15px}   /* sentences ≥ 15 px on compact (MK-I3 B) */
  .player-sheet__foot{flex-direction:column-reverse;padding:10px 12px calc(var(--sab) + 12px)}
  .player-sheet__foot .btn{flex:none;width:100%;height:52px;border-radius:16px;font-size:16px}
  .aa-cat > summary{height:44px}
  html.has-player-sheet .toast--fixed{bottom:calc(max(var(--ps-lift, 0px), var(--sab)) + 12px)}
  .aa-row{grid-template-columns:minmax(0,1fr) 30px 70px 44px;gap:8px}
  .form-bars{--col:96px}.form-bars__grid{gap:4px}.form-bars__m small{display:none}
  .score-parts__fig{padding:10px}.score-parts__fig b{font-size:20px}
}

/* ---------- the player cockpit [V] PL-13 … PL-16 (user, 2026-10-16 — DECISIONS §C13, DESIGN.md §6 « The player cockpit ») ----------
   A « L'affiche »: the player hero (SOR-04b) carries the cockpit, on a LIGHT photo (PL-14: « brume 2 », assets/photos/stadium-mist.jpg).
   .panel--photo-light = a photo panel that is a light surface: ink text (the .on-light tokens), white veils where text sits, white frosted glass
   (.card--glass-light), the SOR-04b layers lightened and the front fading to the light panel's sage. Not .panel--photo: its descendant rules are for
   dark photos. Colours that read good or not at a glance (PL-15 « net »): the verdict word (.score-lg) and its .verdict-scale on the score ramp
   (Avoid 10 · Situational 30 · Solid option 50 · Strong pick 70 · Must-own 90), a halo's figure at the .score-lg mix with .score-halo--net (bolder trail,
   a glow of its colour), the rank by its percentile (« Top 12% » = .score chip, data-score 88). iPhone (PL-16): the hero keeps the bust only (page CSS). */
.panel--photo-light{--fg:var(--ink);--fg-2:var(--ink-muted);--fg-3:var(--ink-subtle);--fg-4:var(--ink-faint);--line:var(--grid-line);--hover:#fff;--field:var(--paper);
  --sel-bg:#fff;--sel-fg:var(--ink);--thumb:var(--thumb-light);--ctl-line:#c3c9c5;--ctl-off:#d3d9d5;--ctl-on:var(--ink);--ctl-mark:#fff;--sk-a:#e3ebe5;--sk-b:#f1f6f2;
  --tag-bg:transparent;--tag-fg:var(--fg);--tag-h:auto;--tag-pad:0;--tag-pad-w:0;--tag-img:22px;--tag-word:14px;color:var(--fg);background:#eef3f0}
.panel--photo-light::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:
  radial-gradient(980px 600px at 12% 30%,rgba(255,255,255,.72),rgba(255,255,255,.36) 48%,rgba(255,255,255,0) 76%),
  linear-gradient(180deg,rgba(255,255,255,.45) 0,rgba(255,255,255,0) 300px)}
.panel--photo-light .panel__media{translate:calc(var(--mx,0) * -10px) calc(var(--my,0) * -7px);transition:translate .8s var(--ease-out)}
.panel--photo-light .panel__media--depth{filter:blur(2px);transform:scale(1.03)}
.ds-motion .panel--photo-light .panel__media--depth{transform:scale(1.12);filter:blur(2px) brightness(1.25) saturate(.7);
  transition:transform var(--t-hero) var(--ease-out) .2s,filter 2s var(--ease) .2s,translate .8s var(--ease-out)}
.ds-motion.is-in .panel--photo-light .panel__media--depth{transform:scale(1.03);filter:blur(2px)}
.panel--photo-light .frost-col{background:rgba(255,255,255,.24);-webkit-backdrop-filter:blur(11px) saturate(1.1);backdrop-filter:blur(11px) saturate(1.1)}
.panel--photo-light .hero-player__backlight{background:radial-gradient(closest-side,rgba(255,255,255,.72),rgba(255,255,255,.22) 50%,transparent 72%)}
.panel--photo-light .hero-player__cutout{filter:drop-shadow(0 30px 40px rgba(34,52,44,.28))}
.panel--photo-light .hero-player__haze{background:radial-gradient(closest-side,rgba(255,255,255,.6),transparent)}
.panel--photo-light .hero-player__front{background:linear-gradient(180deg,transparent,rgba(232,240,235,.62) 55%,rgba(232,240,235,.94))}
.panel--photo-light .crest-ring{background:rgba(255,255,255,.8);box-shadow:0 8px 24px rgba(34,52,44,.12)}
.panel--photo-light .overline{color:var(--fg)}                                   /* on the photo every text is ink: the picture varies under it */
@media (max-width:599px){ .panel--photo-light::after{background:radial-gradient(520px 420px at 18% 22%,rgba(255,255,255,.7),rgba(255,255,255,.3) 50%,rgba(255,255,255,0) 78%),
  linear-gradient(180deg,rgba(255,255,255,.4) 0,rgba(255,255,255,0) 260px)} }
.card--glass-light{border-radius:20px;background:rgba(255,255,255,.74);-webkit-backdrop-filter:blur(22px) saturate(1.3);backdrop-filter:blur(22px) saturate(1.3);
  box-shadow:0 10px 30px rgba(34,52,44,.08);--seg-track:rgba(18,19,19,.06)}
.verdict-scale{display:inline-flex;gap:4px}
.verdict-scale i{width:24px;height:6px;border-radius:3px;background:var(--verdict-track,#dfe5e1)}
.verdict-scale i.is-on{background:var(--fg)}
.verdict-scale[data-score] i.is-on{background:var(--score-c)}                  /* « net »: the filled steps in the verdict's colour */
:is(.panel--photo,.on-photo,.panel--dark,.on-dark) .verdict-scale{--verdict-track:rgba(255,255,255,.22)}
.score-halo--net{isolation:isolate}
.score-halo--net path{stroke-width:4.4}
.score-halo--net::after{content:"";position:absolute;inset:-10px;border-radius:50%;z-index:-1;pointer-events:none;
  background:radial-gradient(closest-side,color-mix(in srgb,var(--halo) 28%,transparent),color-mix(in srgb,var(--halo) 9%,transparent) 68%,transparent)}
.score-halo--net b small{color:var(--halo-fig-s,inherit)}                       /* the small « % » keeps 4.5:1 (the figure is ≥ 24 px: 3:1) */

/* ==================================================================================================================================================
   the player page · Performance [V] PL-17 A « Le fil » … PL-20 + PL-Q9 (user, 2026-10-17; DECISIONS §C13) — the tab's visual pieces; the page's layout stays in
   explorations/_player7.css (pf-). Reference build: explorations/PL-7-performance.html.
   .stat-strip        the figures of a sample: tiles joined by 2-px gaps, each as wide as its figure (compact, on the left — user), the lead one the view's hero
   .hist / .hist-bar  Prism V2's history bars (PL-19, user: « reprends les barres de prism … fondu en bas »): month headers above, 44-px bars on 8-px gaps in a
                      208-px plot under 24 px of headroom, the porcelain finish (the score colour 86 / 80 / 26 % with white, a fine grain, a soft shadow), the
                      semantic fade under the decisive actions (state tints), the score chip above; the opponent's crest · status · Sorare GW under; arrows,
                      drag and a progress line
   .act-pic           ICON-04's picture form: Prism's micro family in charts (each at Prism's size), its detailed family in a match's recorded actions — the
                      image comes from one class per action that the page writes (data URIs)
   .act-badge         a match's recorded action (Prism's badge): the detailed picture, the label, ×N, the points — on the state tints
   .float-card        a match's details beside the chart on PC (Prism's non-modal cards: several at once, dragged by their head; a bottom sheet on iPhone)
   .trend / .traj     the career trend (the word + the slope) and its line by season (provisional = dashed, hollow point)
   .peer-group / .peer-row / .peer-ruler / .peer-pct   microstats against peers: better ← median → weaker, the percentile on the score ramp (PL-Q9 Q2)
   ================================================================================================================================================== */
.stat-strip{display:flex;flex-wrap:wrap;gap:2px;margin:20px 0 0}
.stat-strip__i{flex:none;display:grid;align-content:start;gap:4px;min-width:128px;padding:16px 20px;border-radius:5px;background:var(--tile-soft,#f3f6f4)}
.stat-strip__i.is-lead{min-width:196px}
.stat-strip__i:first-child{border-radius:16px 5px 5px 16px}
.stat-strip__i:last-child{border-radius:5px 16px 16px 5px}
.stat-strip__i dt{font-size:12px;color:var(--fg-3)}
.stat-strip__i dd{margin:0;font-size:22px;font-weight:420;letter-spacing:.02em;line-height:1.15;font-variant-numeric:tabular-nums}
.stat-strip__i dd .score-ink{font-weight:inherit}
.stat-strip__i dd b{font-weight:inherit}
.stat-strip__i.is-lead dd{font-size:42px;font-weight:400;letter-spacing:.015em}
.stat-strip__i small{font-size:12px;line-height:1.35;color:var(--fg-3)}
.ds-motion .stat-strip.is-upd dd{animation:strip-upd .45s var(--ease-out)}
.hist{position:relative;margin-top:24px;min-width:0}
.hist__top{display:flex;align-items:center;flex-wrap:wrap;gap:8px 20px;margin-bottom:6px}
.hist__hint{flex:1 1 280px;min-width:0;font-size:13px;line-height:1.45;color:var(--fg-3)}
.hist__nav{display:flex;gap:6px;flex:none}
.hist__arrow{background:var(--ctl-soft,#eff3f0)}
.hist__arrow:hover{background:#e4ebe6}
.hist__arrow[disabled]{opacity:.38;cursor:default}
.hist__arrow[disabled]:hover{background:var(--ctl-soft,#eff3f0);transform:none}
@property --hist-top{syntax:"<color>";inherits:true;initial-value:transparent}
@property --hist-body{syntax:"<color>";inherits:true;initial-value:transparent}
@property --hist-base{syntax:"<color>";inherits:true;initial-value:transparent}
.hist__scroll{overflow-x:auto;overflow-y:hidden;margin:0 -6px;padding:0 6px;scrollbar-width:none;cursor:grab;-webkit-user-select:none;user-select:none;overscroll-behavior-x:contain}
.hist__scroll::-webkit-scrollbar{display:none}
.hist__scroll.is-dragging,.hist__scroll.is-dragging .hist-bar{cursor:grabbing}
.hist__track{position:relative;min-width:100%;padding-bottom:4px}
.hist__months{position:relative;height:24px}
.hist__months span{position:absolute;top:0;height:100%;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:500;color:var(--fg-3);white-space:nowrap;overflow:hidden}
.hist__months span + span::before{content:"";position:absolute;left:-4px;top:2px;bottom:2px;width:1px;background:var(--grid-line)}
.hist__plot{position:relative;display:flex;align-items:flex-end;gap:8px;height:208px;margin-top:24px}
.hist-bar{position:relative;flex:none;width:44px;height:100%;padding:0;border:0;background:none;color:inherit;font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}
.hist-bar:focus-visible{outline:none}
.hist-bar:focus-visible .hist-bar__col{outline:2px solid var(--fg);outline-offset:2px}
.hist-bar__col{position:absolute;left:0;right:0;bottom:0;isolation:isolate;height:var(--h);min-height:2px;border-radius:6px 6px 2px 2px;transform-origin:50% 100%}
.hist-bar__fill{--hist-top:color-mix(in srgb,var(--c,#9792a5) 86%,#fff);--hist-body:color-mix(in srgb,var(--c,#9792a5) 80%,#fff);--hist-base:color-mix(in srgb,var(--c,#9792a5) 26%,#fff);
  position:absolute;inset:0;border-radius:inherit;
  background:linear-gradient(120deg,rgb(255 255 255 / 4%),transparent 45%,rgb(18 19 19 / 3%)),linear-gradient(180deg,var(--hist-top) 0%,var(--hist-body) 78%,var(--hist-base) 100%);
  box-shadow:1px 2px 4px rgb(18 19 19 / 9%),0 1px 2px rgb(18 19 19 / 3.5%),inset 0 1px 0 rgb(255 255 255 / 28%),inset 1px 0 0 rgb(255 255 255 / 12%),inset -1px 0 0 rgb(18 19 19 / 4%);
  transition:--hist-top .18s var(--ease),--hist-body .18s var(--ease),--hist-base .18s var(--ease),box-shadow .18s var(--ease)}
.hist-bar__fill::before{content:"";position:absolute;inset:0;border-radius:inherit;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cfilter id='grain' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(/set/v2/%23grain)' d='M0 0h96v96H0z'/%3E%3C/svg%3E");background-size:96px 96px;opacity:.075;mix-blend-mode:soft-light;pointer-events:none}
.hist-bar:is([data-state="dnp"],[data-state="none"]) .hist-bar__fill{--hist-top:color-mix(in srgb,var(--ink-faint) 82%,#fff);--hist-body:color-mix(in srgb,var(--ink-faint) 66%,#fff);--hist-base:color-mix(in srgb,var(--ink-faint) 52%,#fff);box-shadow:0 1px 2px rgb(18 19 19 / 3.5%)}
.hist-bar[data-ctx] .hist-bar__fill{--hist-top:var(--dash-line);--hist-body:color-mix(in srgb,var(--dash-line) 50%,var(--grid-line));--hist-base:var(--grid-line);box-shadow:0 1px 2px rgb(18 19 19 / 3.5%)}
.hist-bar:is([data-state="dnp"],[data-state="none"],[data-ctx]) .hist-bar__fill::before{opacity:.035}
.hist-bar[data-state="perfect"]:not([data-ctx]) .hist-bar__fill{background:linear-gradient(115deg,transparent 30%,rgb(255 255 255 / 60%) 42%,transparent 54%),
  linear-gradient(160deg,rgb(255 255 255 / 0%) 6%,rgb(232 160 204 / 55%) 24%,rgb(255 255 255 / 0%) 38%,rgb(146 212 188 / 50%) 60%,rgb(138 184 228 / 45%) 82%,rgb(255 255 255 / 0%) 100%),
  linear-gradient(180deg,#f6f6f9 0%,#dadbe2 20%,#babcc7 50%,#a3a5b1 78%,#8b8d9a 100%);box-shadow:1px 2px 4px rgb(18 19 19 / 9%),inset 0 0 0 1px rgb(18 19 19 / 30%)}
.hist-bar__fade{position:absolute;left:0;right:0;bottom:0;border-radius:inherit;pointer-events:none}
.hist-bar__fade[data-tone="pos"]{background:linear-gradient(180deg,transparent 0%,color-mix(in srgb,var(--state-won-tint) 32%,transparent) 42%,color-mix(in srgb,var(--state-won-tint) 82%,transparent) 100%)}
.hist-bar__fade[data-tone="neg"]{background:linear-gradient(180deg,transparent 0%,color-mix(in srgb,var(--state-fail-tint) 34%,transparent) 42%,color-mix(in srgb,var(--state-fail-tint) 84%,transparent) 100%)}
.hist-bar__fade[data-tone="perfect"]{background:linear-gradient(180deg,transparent 0%,rgb(255 255 255 / 30%) 40%,rgb(255 255 255 / 72%) 100%)}
.hist-bar__col::after{content:"";position:absolute;inset:0;z-index:2;border-radius:inherit;background:transparent;transition:background-color .12s var(--ease);pointer-events:none}
@media (hover:hover){.hist-bar:hover .hist-bar__col::after{background:rgb(18 19 19 / 5%)}}
.hist-bar[aria-pressed="true"] .hist-bar__col{outline:2px solid color-mix(in srgb,var(--ink) 45%,transparent);outline-offset:1px}
.hist-bar__v{position:absolute;left:50%;bottom:calc(var(--h) + 4px);z-index:1;transform:translateX(-50%);white-space:nowrap;pointer-events:none}
.hist-bar__v .score{min-width:34px}
.hist-bar__dnp{font-size:12px;font-weight:500;color:var(--fg-2)}
.hist-bar__acts{position:absolute;left:50%;bottom:4px;z-index:1;display:flex;flex-direction:column;align-items:center;gap:2px;width:max-content;transform:translateX(-50%)}
.hist-bar__act{position:relative;display:grid;place-items:center}
.act-pic{display:inline-block;flex:none;width:var(--s,16px);height:var(--s,16px);background:center / contain no-repeat;vertical-align:middle}
.hist-bar__act .hist-bar__n{position:absolute;top:-3px;right:-5px;font-size:12px;font-weight:700;line-height:1;letter-spacing:-.04em;color:color-mix(in srgb,var(--state-won) 50%,var(--ink));
  text-shadow:0 1px 0 rgb(255 255 255 / 98%),0 0 2px rgb(255 255 255 / 92%);font-variant-numeric:tabular-nums}
.hist-bar__n.is-neg{color:color-mix(in srgb,var(--state-fail) 73%,var(--ink))}
.ds-motion .hist:not(.is-shown) .hist__plot.is-grow .hist-bar__col{transform:scaleY(0)}
.ds-motion .hist.is-shown .hist__plot.is-grow .hist-bar__col{animation:hist-grow .8s var(--ease-out) backwards;animation-delay:calc(min(var(--k), 28) * 22ms)}
.ds-motion .hist.is-shown .hist__plot.is-grow .hist-bar__v{animation:ds-in-fade .45s var(--ease-out) backwards;animation-delay:calc(min(var(--k), 28) * 22ms + .3s)}
@keyframes hist-grow{from{transform:scaleY(0)}}
.hist__info{display:flex;gap:8px;margin-top:10px}
.hist__game{flex:none;display:grid;justify-items:center;align-content:start;gap:4px;width:44px;transition:opacity .18s var(--ease)}
.hist__crest{width:24px;height:24px;object-fit:contain}
.hist__crest.is-flag{border-radius:50%;object-fit:cover}
.hist__nocrest{display:block;width:14px;height:14px;margin:4px;border-radius:4px;background:#e1e7e3}
.hist__game small{font-size:12px;font-weight:500;color:var(--fg-3);white-space:nowrap;font-variant-numeric:tabular-nums}
.hist__game[data-ctx]{opacity:.7}
.hist__status{display:grid;place-items:center;width:18px;height:18px;color:var(--fg-3)}
.hist__status .i{width:16px;height:16px}
.hist__status--on{color:var(--ink)}
.hist__status-dot{display:block;width:6px;height:6px;border-radius:50%;background:#c7cdca}
.hist__progress{margin-top:10px}
.hist__progress-t{position:relative;height:4px;overflow:hidden;border-radius:999px;background:#e6ebe7}
.hist__progress-t i{position:absolute;top:0;bottom:0;left:0;width:calc(var(--hist-thumb, 1) * 100%);border-radius:inherit;background:var(--ink-muted);transform:translateX(var(--hist-shift, 0%))}
.hist__progress-l{display:flex;justify-content:space-between;margin-top:6px;font-size:12px;color:var(--fg-3)}
.hist__legend{justify-content:center;flex-wrap:wrap;gap:8px 16px;margin-top:20px;white-space:normal}
.hist__legend .legend__item{gap:6px;white-space:nowrap}
.hist__legend b{font-weight:600;color:var(--fg)}
.hist__legend .legend__dot{width:10px;height:10px}
.hist__legend .legend__dot.is-perfect{background:linear-gradient(225deg,rgb(232 160 204 / 85%) 0 14%,rgb(146 212 188 / 75%) 26%,rgb(138 184 228 / 0%) 40%),linear-gradient(135deg,#fff 0%,#e4e5ea 45%,#f4f4f7 55%,#d3d5dc 100%);box-shadow:inset 0 0 0 1px rgb(18 19 19 / 30%)}
.hist__legend .legend__dot.is-dnp{background:color-mix(in srgb,var(--ink-faint) 66%,#fff)}
/* [V] C54 CT-3 « Bulle + légendes »: the key under the colours — the status icons under the bars and the decisive actions on them, in words */
.hist__legend + .hist__legend.hist__key{margin-top:8px}
.hist__key .legend__item{gap:6px}
.hist__key .hist__status,.hist__key .hist-bar__act{flex:none}
.act-badges{display:flex;flex-wrap:wrap;gap:6px}
.act-badge{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:0 10px;border-radius:8px;background:var(--tile-soft,#f3f6f4);font-size:13px;font-weight:500}
.act-badge[data-pos="true"]{background:var(--state-won-tint);color:var(--state-won)}
.act-badge[data-pos="false"]{background:var(--state-fail-tint);color:var(--state-fail)}
.act-badge[data-pos] small,.act-badge[data-pos] b{color:inherit}
.act-badge .act-i{width:16px;height:16px}
.act-badge small{font-size:12px;color:var(--fg-3)}
.act-badge b{font-variant-numeric:tabular-nums}
.hist__cards{position:absolute;left:0;top:0;right:0;height:0;z-index:40}
.float-card{position:absolute;width:min(440px,100%);max-height:min(78vh,740px);overflow:auto;overscroll-behavior:contain;border-radius:20px;background:#fff;color:var(--ink);
  box-shadow:0 24px 60px rgba(24,40,32,.22),0 4px 14px rgba(24,40,32,.1);scrollbar-width:thin}
.ds-motion .float-card{animation:float-in .22s var(--ease-out)}
@keyframes float-in{from{opacity:0;translate:0 6px;scale:.98}}
.float-card:focus-visible{outline:2px solid var(--fg);outline-offset:2px}
.float-card.is-dragging{box-shadow:0 30px 70px rgba(24,40,32,.28),0 6px 18px rgba(24,40,32,.12)}
.float-card__head{position:relative;padding:8px 16px 2px;cursor:move;-webkit-user-select:none;user-select:none}
.float-card__pill{display:block;width:32px;height:4px;margin:0 auto 10px;border-radius:999px;background:#d9dfdb}
.float-card__x{position:absolute;top:10px;right:10px}
.float-card__x .i{width:20px;height:20px}
.float-card__body{padding:0 16px 16px}
.trend__eyebrow{display:block;font-size:12px;color:var(--fg-3)}
.trend{min-width:0}
.trend .trend__s{display:flex;align-items:center;gap:8px;margin:6px 0 4px;font-size:22px;font-weight:500;letter-spacing:-.025em;line-height:1.2}
.trend__s .i{width:24px;height:24px}
.trend[data-tone="improving"] .trend__s{color:var(--green-text)}
.trend[data-tone="declining"] .trend__s{color:var(--red-text)}
.trend[data-tone="insufficient"] .trend__s{color:var(--fg-3)}
.trend__slope{font-size:12px;color:var(--fg-3)}
.trend__slope b{font-size:16px;color:var(--fg);font-variant-numeric:tabular-nums}
.trend__m,.trend__need{margin-top:6px;font-size:12px;line-height:1.55;color:var(--fg-3)}
.traj{min-width:0}
.traj__l{display:block;font-size:12px;color:var(--fg-3)}
.traj__c{min-width:0}
.traj__svg{display:block;max-width:100%;overflow:visible;--traj-tone:var(--ink)}
.traj__svg .grid{stroke:var(--grid-line);stroke-width:1}
.traj__svg[data-tone="improving"]{--traj-tone:var(--green)}
.traj__svg[data-tone="declining"]{--traj-tone:var(--state-fail)}
.traj__svg[data-tone="insufficient"]{--traj-tone:var(--ink-subtle)}
.traj__seg{stroke:var(--traj-tone);stroke-width:2;stroke-linecap:round}
.traj__seg.is-prov{stroke:var(--ink-faint);stroke-dasharray:5 5;stroke-linecap:butt}
.traj__pt{fill:var(--traj-tone);stroke:var(--tile-soft,#f3f6f4);stroke-width:2}
.traj__pt.is-prov{fill:#fff;stroke:var(--ink-faint);stroke-width:1.5}
.traj__v{font-size:12px;font-weight:600;fill:var(--ink);font-variant-numeric:tabular-nums}
.traj__x{font-size:12px;fill:var(--ink-subtle)}
.traj__empty{padding:24px 0;font-size:13px;color:var(--fg-3)}
.traj__note{display:flex;align-items:center;gap:6px;margin-top:4px;font-size:12px;line-height:1.5;color:var(--fg-3)}
.traj__hollow{flex:none;width:9px;height:9px;border-radius:50%;background:#fff;box-shadow:inset 0 0 0 1.5px var(--ink-faint)}
.ds-motion .traj.is-shown .traj__seg{animation:traj-draw 1s var(--ease-out) backwards .2s}
@keyframes traj-draw{from{opacity:0}}
.peer-group{min-width:0}
.peer-group__h{padding:0 2px 10px}
.peer-group__h h4{margin:0;font-size:16px;font-weight:560;letter-spacing:-.01em}
.peer-group .peer-group__h p{margin-top:2px;font-size:13px;color:var(--fg-3)}
.peer-group__scale{display:grid;grid-template-columns:26px minmax(0,1fr);gap:12px;padding:0 20px 6px 16px;font-size:12px;font-weight:500;color:var(--fg-3)}
.peer-group__sc{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.peer-group__sc span:nth-child(2){text-align:center}
.peer-group__sc span:last-child{text-align:right}
.peer-group__list{display:grid;gap:2px;margin:0;padding:0;list-style:none}
.peer-row{display:grid;grid-template-columns:26px minmax(0,1fr);align-items:start;gap:12px;padding:12px 16px 10px;border-radius:5px;background:var(--tile-soft,#f3f6f4)}
.peer-row:first-child{border-radius:14px 14px 5px 5px}
.peer-row:last-child{border-radius:5px 5px 14px 14px}
.peer-row:only-child{border-radius:14px}
.peer-row__n{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#fff;font-size:12px;font-weight:600;font-variant-numeric:tabular-nums}
.peer-row__b{min-width:0}
.peer-row__t,.peer-row__m{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:2px 10px}
.peer-row__t b{font-size:14px;font-weight:560}
.peer-row__m{margin-top:2px;font-size:12px;line-height:1.4;color:var(--fg-3)}
.peer-row__m span:last-child{white-space:nowrap;color:var(--fg-2)}
.peer-row__m b{color:var(--fg);font-variant-numeric:tabular-nums}
.peer-row__n{margin-top:1px}
.peer-ruler{display:block;height:16px;margin:6px 0 0;overflow:hidden}
.peer-ruler__in{position:relative;display:block;height:16px;margin:0 8px}
.peer-ruler__in::before{content:"";position:absolute;left:0;right:0;top:7px;height:2px;border-radius:2px;background:#d5dcd8}
.peer-ruler__in::after{content:"";position:absolute;left:50%;top:3px;width:1px;height:10px;background:#9aa29e}
.peer-ruler__p{position:absolute;inset:0;z-index:1;transform:translateX(calc(var(--x) * 1%));transition:transform .9s var(--ease-out) .15s}
.peer-ruler__p i{position:absolute;left:0;top:2px;width:12px;height:12px;margin-left:-6px;border-radius:50%;background:var(--score-c);box-shadow:0 0 0 2px var(--tile-soft,#f3f6f4)}
.ds-motion .peer-group[data-reveal]:not(.is-shown) .peer-ruler__p{transform:translateX(50%)}
.peer-pct.score{flex:none;min-width:84px;min-height:26px;padding:4px 10px;border-radius:8px;font-size:12.5px}
.peer-group__empty{display:grid;place-items:center;min-height:200px;padding:24px;border-radius:14px;background:var(--tile-soft,#f3f6f4);font-size:14px;line-height:1.5;color:var(--fg-2);text-align:center}
@keyframes strip-upd{from{opacity:.35}}

/* ==================================================================================================================================================
   the player page · Matches [V] PL-21 + PL-Q11 (user, 2026-10-17: « Toutes tes recommandations, sauf Q4 on fait icône + mot »; DECISIONS §C13) — the tab's
   visual pieces; the page's layout stays in explorations/_player8.css (mt-). Reference build: explorations/PL-8-matches.html.
   .conf-meter / .conf-line  a projection's confidence: three bars + the words (the cockpit's and the tab's — one look on the page)
   .outlook-head      the outlook's headline: label, the median (42) on the ramp « / 100 », the confidence, « Experimental … », the scenario's sentence
   .proj-limits       the projection's limits, before the figure (tinted notes)
   .score-dist        Prism's score distribution (MSD), drawn in Prism's own viewBox 360 × 205: bars on the score ramp, the P25–P75 band in grey, the smoothed
                      curve, the median, the readout and a range input for keys and touch; .quartiles (P25 · Median · P75 in .score--m), .range-bar (fallback)
   .chance-rows       decisive-event chances: ICON-04's inline glyph, the label, a bar on the chance ramp, the % (.score-ink); .conf-list + .conf-note
   .xi-pitch          a team's predicted XI standing, attack at the top (Prism LPP): the light surface with the system's FIFA markings (.xi-marks), rows of
                      .xi-player (face 38 in a 46-px ring = the chance to start on the ramp, the surname, the .score chip), .xi-alts (alternatives > 10 %);
                      the page's player ringed in ink; .xi-fig + .xi-legend
   .lifecycle         Prism's forecast lifecycle: markers on a line (the current one in ink), the publication card; .step-chart (the start probability's
                      steps in ink); .nav-row (a tinted row that leads somewhere)
   .stat-well / .eval-list / .eval-item / .check-mark / .eval-foot   prediction history: the average, the evaluated matches rolling open
   .stat-strip__i.is-toggle  a strip figure that opens what it summarises (.stat-strip__btn, .stat-strip__chev)
   .league-rank       the league's schedule ranking (two numbered columns, the player's club tinted); .diff-chip (a difficulty on the score ramp: 1 → 90 … 5 → 10)
   (a paragraph's margin is written with two classes: a page's own paragraph reset, e.g. the player engine's .pp p, must not cancel it)
   .fixture-rail      the next fixtures as .fixture-card (date, competition · GW, crest, the opponent, Home / Away with its icon, .diff-scale, .diff-chip) on a
                      timeline, .best-window behind the best three-match run */
/* the confidence meter (the cockpit's, PL-13 — now the system's) */
.conf-meter{display:inline-flex;align-items:flex-end;gap:2px;height:12px}
.conf-meter i{width:4px;border-radius:2px;background:var(--meter-track,#dfe5e1)}
.conf-meter i:nth-child(1){height:5px}.conf-meter i:nth-child(2){height:8px}.conf-meter i:nth-child(3){height:12px}
.conf-meter i.is-on{background:var(--fg-2)}
:is(.on-photo,.panel--photo) .conf-meter{--meter-track:rgba(255,255,255,.22)}
.proj-limits{display:grid;gap:8px;margin:16px 0 0;padding:0;list-style:none}
.proj-limits li{padding:12px 16px;border-radius:12px;background:var(--tile-soft,#f3f6f4);font-size:13px;line-height:1.5;color:var(--fg-2)}
.outlook-head{display:grid;justify-items:center;gap:8px;padding:24px 0 20px;text-align:center}
.outlook-head > small{font-size:14px;color:var(--fg-2)}
.outlook-head__n{display:flex;align-items:baseline;justify-content:center;gap:8px;margin:0}
.outlook-head__n b{font-size:42px;font-weight:400;letter-spacing:.015em;line-height:1.05}
.outlook-head__n span{font-size:14px;color:var(--fg-3)}
.outlook-head__c,.outlook-head__x,.outlook-head__s{margin:0}
.outlook-head__x{font-size:12px;color:var(--fg-3)}
.outlook-head__s{font-size:14px;color:var(--fg-2)}
.outlook-head__s.outlook-head__s--alone{margin-top:20px;text-align:center}
.conf-line{display:inline-flex;align-items:center;gap:8px;font-size:13px}
.conf-line b{font-weight:560;color:var(--fg)}
/* the score distribution (Prism MSD): Prism's own viewBox, scaled to the column */
.score-dist{position:relative;margin:4px 0 0;min-width:0}
.score-dist__head{display:flex;justify-content:space-between;flex-wrap:wrap;gap:4px 12px;font-size:12px;line-height:1.5;color:var(--fg-3)}
.score-dist__head > :first-child{font-size:14px;font-weight:560;color:var(--fg)}
.score-dist__plot{position:relative;margin-top:12px}
.score-dist__svg{display:block;width:100%;height:auto;overflow:visible;touch-action:pan-y}
.score-dist__t{font-size:var(--fs,14px);fill:var(--fg-3);font-variant-numeric:tabular-nums}
.score-dist__t.is-med{fill:var(--fg);font-weight:600}
.score-dist__grid{stroke:var(--grid-line);stroke-width:1;vector-effect:non-scaling-stroke}
.score-dist__band{fill:rgba(18,19,19,.055)}
.score-dist__bar{transition:opacity .16s var(--ease)}
.score-dist__bar.is-dim{opacity:.32}
.score-dist__curve{fill:none;stroke:var(--fg-2);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.score-dist__med line{stroke-width:1.5;vector-effect:non-scaling-stroke}
.score-dist__sel{stroke:var(--ink);stroke-width:3;stroke-linecap:round;vector-effect:non-scaling-stroke}
.score-dist__hit{fill:transparent}
.score-dist__range{position:absolute;left:8.9%;bottom:0;width:88.9%;height:44px;margin:0;opacity:0;cursor:ew-resize}
.score-dist:has(.score-dist__range:focus-visible){outline:2px solid var(--fg);outline-offset:4px;border-radius:12px}
.score-dist__plot + .score-dist__ax{margin:4px 0 0}
.score-dist__ax{font-size:12px;color:var(--fg-3);text-align:center}
.score-dist__legend{justify-content:center;flex-wrap:wrap;gap:4px 16px;margin-top:8px;white-space:normal}
.score-dist__kbars{display:inline-flex;align-items:flex-end;gap:1px;height:12px}
.score-dist__kbars b{width:4px;height:7px;border-radius:1px 1px 0 0}
.score-dist__kbars b:nth-child(2){height:12px}.score-dist__kbars b:nth-child(3){height:9px}
.score-dist__kcurve{width:24px;height:3px;border-radius:2px;background:var(--fg-2)}
.score-dist__legend + .score-dist__read{margin:4px 0 0}
.score-dist__read{display:flex;align-items:center;justify-content:center;gap:8px;min-height:32px;font-size:12px;color:var(--fg-2);font-variant-numeric:tabular-nums}
.score-dist__read b{color:var(--fg);font-weight:600}
.score-dist__kband{width:12px;height:12px;border-radius:3px;background:rgba(18,19,19,.1)}
.quartiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px;margin:16px 0 0;text-align:center}
.quartiles > div{display:grid;justify-items:center;gap:8px;padding:12px 4px;background:var(--tile-soft,#f3f6f4)}
.quartiles > div:first-child{border-radius:16px 5px 5px 16px}.quartiles > div:last-child{border-radius:5px 16px 16px 5px}
.quartiles dt{font-size:13px;color:var(--fg-2)}
.quartiles dd{margin:0}
.range-bar{margin:4px 0 0}
.range-bar__h{display:flex;justify-content:space-between;gap:12px;margin-bottom:12px;font-size:14px;color:var(--fg-2)}
.range-bar__h b{color:var(--fg);font-weight:560}
/* the distribution's motion: the bars grow from the base, the curve draws, the median arrives last */
.ds-motion .score-dist:not(.is-shown) .score-dist__bars.is-grow .score-dist__bar{transform:scaleY(0)}
.ds-motion .score-dist.is-shown .score-dist__bars.is-grow .score-dist__bar{transform-box:fill-box;transform-origin:50% 100%;animation:dist-grow .7s var(--ease-out) backwards;animation-delay:calc(.1s + var(--i) * 26ms)}
.ds-motion .score-dist:not(.is-shown) .score-dist__curve.is-draw{stroke-dasharray:1;stroke-dashoffset:1}
.ds-motion .score-dist.is-shown .score-dist__curve.is-draw{stroke-dasharray:1;animation:chart-draw 1s var(--ease-out) .5s backwards}
.ds-motion .score-dist:not(.is-shown) .score-dist__med.is-late{opacity:0}
.ds-motion .score-dist.is-shown .score-dist__med.is-late{animation:ds-in-fade .45s var(--ease-out) .9s backwards}
@keyframes dist-grow{from{transform:scaleY(0)}}
@keyframes chart-draw{from{stroke-dashoffset:1}}
.chance-rows{display:grid;margin:0;padding:0;list-style:none}
.chance-rows__row{display:grid;grid-template-columns:22px minmax(44px,.8fr) minmax(44px,1.2fr) 4.2ch;align-items:center;gap:10px;min-height:52px;font-size:14px}
.chance-rows__i{width:22px;height:22px}
.chance-rows__l{min-width:0;line-height:1.4}
.chance-rows__bar{height:8px;overflow:hidden;border-radius:999px;background:var(--tile-soft,#f3f6f4)}
.chance-rows__bar i{display:block;height:100%;border-radius:inherit;transition:width .18s var(--ease),background-color .18s var(--ease)}
.chance-rows__v{justify-self:end;font-size:17px;font-variant-numeric:tabular-nums;transition:color .18s var(--ease)}
.ds-motion .chance-rows:not(.is-shown) .chance-rows__bar i{width:0!important}
.ds-motion .chance-rows.is-shown .chance-rows__bar i{transition:width .8s var(--ease-out) .15s,background-color .18s var(--ease)}
.conf-list{display:grid;gap:10px;margin:0;padding:16px;border-radius:16px;background:var(--tile-soft,#f3f6f4)}
.conf-list > div{display:grid;grid-template-columns:84px minmax(0,1fr);gap:12px;align-items:baseline}
.conf-list dt{font-size:12px;color:var(--fg-3)}
.conf-list dd{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px;margin:0;font-size:13px;line-height:1.5}
.conf-list dd > span:not(.conf-line){color:var(--fg-2)}
.conf-list + .conf-note{margin:12px 0 0}
.conf-note{font-size:12px;line-height:1.6;color:var(--fg-3)}
.xi-fig{margin:16px 0 0;border-radius:16px}
.xi-fig:focus-visible{outline:2px solid var(--fg);outline-offset:4px}
.xi-legend{margin:12px 0 0;font-size:12px;line-height:1.6;color:var(--fg-3)}
/* the pitch: standing, attack at the top (Prism LPP), the system's FIFA markings (My matches) — light (Prism's) or the turf (?pitch=turf) */
.xi-pitch{--pl:rgba(43,116,68,.17);--lw:1px;position:relative;isolation:isolate;display:grid;align-content:space-between;gap:20px;min-height:540px;padding:24px 8px 16px;
  border-radius:16px;overflow:hidden;background:#edf4ef}
.xi-marks{position:absolute;inset:0;z-index:-1;pointer-events:none}
.xi-marks i{position:absolute;display:block;border:0 solid var(--pl)}
.xi-marks__frame{inset:2% 3%;border-width:var(--lw)!important;border-radius:2px}
.xi-marks__half{top:50%;left:3%;right:3%;border-top-width:var(--lw)!important}
.xi-marks__circle{top:50%;left:50%;width:27%;aspect-ratio:1;border-width:var(--lw)!important;border-radius:50%;translate:-50% -50%}
.xi-marks__spot{top:50%;left:50%;width:6px;height:6px;border-radius:50%;background:var(--pl);translate:-50% -50%}
.xi-marks__box{left:20.5%;right:20.5%;height:15%}
.xi-marks__small{left:36.5%;right:36.5%;height:5%}
.xi-marks__box.is-t,.xi-marks__small.is-t{top:2%;border-width:0 var(--lw) var(--lw)}
.xi-marks__box.is-b,.xi-marks__small.is-b{bottom:2%;border-width:var(--lw) var(--lw) 0}
.xi-marks__pen{left:50%;width:5px;height:5px;border-radius:50%;background:var(--pl);translate:-50% -50%}
.xi-marks__pen.is-t{top:12.06%}.xi-marks__pen.is-b{top:87.94%}
.xi-marks__arc{left:50%;width:20.2%;height:3.34%;translate:-50% 0}
.xi-marks__arc.is-t{top:17%;border-width:0 var(--lw) var(--lw);border-radius:0 0 50% 50% / 0 0 100% 100%}
.xi-marks__arc.is-b{bottom:17%;border-width:var(--lw) var(--lw) 0;border-radius:50% 50% 0 0 / 100% 100% 0 0}
.xi-marks__cor{width:9px;height:9px}
.xi-marks__cor.is-tl{left:3%;top:2%;border-right-width:var(--lw);border-bottom-width:var(--lw);border-bottom-right-radius:100%}
.xi-marks__cor.is-tr{right:3%;top:2%;border-left-width:var(--lw);border-bottom-width:var(--lw);border-bottom-left-radius:100%}
.xi-marks__cor.is-bl{left:3%;bottom:2%;border-right-width:var(--lw);border-top-width:var(--lw);border-top-right-radius:100%}
.xi-marks__cor.is-br{right:3%;bottom:2%;border-left-width:var(--lw);border-top-width:var(--lw);border-top-left-radius:100%}
.xi-pitch__row{position:relative;display:grid;grid-template-columns:repeat(var(--n),minmax(0,1fr));align-items:start;gap:4px;min-height:82px}
.xi-pitch__slot{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:0}
.xi-player{display:flex;flex-direction:column;align-items:center;gap:4px;width:100%;max-width:136px;padding:2px;border-radius:12px;color:inherit;text-align:center;text-decoration:none}
.xi-player:focus-visible,.xi-alt:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.xi-player__fig{position:relative;display:grid;place-items:center;width:46px;height:46px;flex:none}
.xi-player__ring{position:absolute;inset:0;width:46px;height:46px;transform:rotate(-90deg);fill:none;stroke-width:2}
.xi-player__ring .t{stroke:rgba(18,19,19,.1)}
.xi-player__ring .v{stroke:var(--c);stroke-linecap:round}
.xi-player .player-pic{box-shadow:0 1px 3px rgba(18,19,19,.12)}
.xi-player__n{max-width:100%;font-size:13px;font-weight:600;line-height:1.25;overflow-wrap:anywhere}
/* the page's player: the ring in ink (Prism's violet is not in the system), white on the turf */
.xi-player.is-me .xi-player__ring .v{stroke:var(--ink);stroke-width:2.6}
.xi-player.is-me .xi-player__ring .t{stroke:rgba(18,19,19,.22)}
.xi-alts{display:grid;width:100%;max-width:150px;margin:0;padding:0;list-style:none}
.xi-alt{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:2px 6px;min-height:40px;padding:4px 2px;border-radius:12px;font-size:12px;line-height:1.4;color:var(--fg-2);text-align:center;text-decoration:none;overflow-wrap:anywhere}
.xi-alt__n{min-width:0}
.xi-alt.is-me{background:#fff;color:var(--ink);font-weight:600}
@media (hover:hover){
  .xi-player:hover .player-pic{box-shadow:0 0 0 2px #fff,0 2px 8px rgba(18,19,19,.18)}
  .xi-alt:hover{background:rgba(255,255,255,.72);color:var(--ink)}
}
.xi-chip{min-width:36px}
/* the lineup's motion: the markings fade, the players pop line by line, each ring runs to its chance */
.ds-motion .xi-fig:not(.is-shown) .xi-pitch__slot{opacity:0}
.ds-motion .xi-fig.is-shown .xi-pitch__slot{animation:xi-pop .55s var(--spring) backwards;animation-delay:calc(.12s + var(--i) * 40ms)}
.ds-motion .xi-fig.is-shown .xi-player__ring .v{animation:xi-ring 1s var(--ease-out) backwards;animation-delay:calc(.3s + var(--i) * 40ms)}
.ds-motion .xi-fig:not(.is-shown) .xi-marks i{opacity:0}
.ds-motion .xi-fig.is-shown .xi-marks i{animation:ds-in-fade 1s var(--ease-out) backwards}
@keyframes xi-pop{from{opacity:0;transform:translateY(8px) scale(.94)}}
@keyframes xi-ring{from{stroke-dasharray:0 138.23}}
.lifecycle{--ms:40px;--mg:20px;display:grid;gap:var(--mg);margin:20px 0 0;padding:0;list-style:none}
.lifecycle > li{position:relative;display:grid;grid-template-columns:var(--ms) minmax(0,1fr);gap:12px;align-items:start;min-width:0}
.lifecycle > li:not(:last-child)::before{content:"";position:absolute;top:20px;bottom:calc(-1 * var(--mg) - 20px);left:calc(var(--ms) / 2 - 1px);width:2px;background:var(--grid-line)}
.lifecycle__m{position:relative;z-index:1;display:grid;place-items:center;width:var(--ms);height:var(--ms);border-radius:50%;background:var(--tile-soft,#f3f6f4);color:var(--fg-2)}
.lifecycle__m .i{width:18px;height:18px}
.lifecycle > li[aria-current="step"] > .lifecycle__m:not(.is-pub){background:var(--ink);color:#fff;box-shadow:0 0 0 4px var(--tile-soft,#f3f6f4)}
.lifecycle__m.is-pub{width:32px;height:32px;margin:4px auto 0;background:#fff;box-shadow:0 0 0 5px var(--tile-soft,#f3f6f4)}
.lifecycle__m.is-pub i{width:14px;height:14px;border-radius:50%;box-shadow:inset 0 0 0 2px var(--ink-faint)}
.lifecycle > li[aria-current="step"] > .lifecycle__m.is-pub i{box-shadow:inset 0 0 0 2px var(--ink);background:#fff}
.lifecycle__b{min-width:0}
.lifecycle__card{position:relative;padding:16px;border-radius:16px;background:var(--tile-soft,#f3f6f4)}
.lifecycle__card small{display:block;font-size:12px;font-weight:600;color:var(--fg-2)}
.lifecycle__card b{display:block;margin-top:4px;font-size:16px;font-weight:560}
.lifecycle .lifecycle__card p{margin:6px 0 0;font-size:13px;line-height:1.5;color:var(--fg-2)}
.lifecycle__dots{position:absolute;top:16px;right:16px;display:flex;gap:6px}
.lifecycle__dots i{width:8px;height:8px;border-radius:50%;background:var(--ink-faint);animation:lifecycle-dot 1.4s ease-in-out 3 backwards}
.lifecycle__dots i:nth-child(2){animation-delay:.2s}.lifecycle__dots i:nth-child(3){animation-delay:.4s}
@keyframes lifecycle-dot{40%{opacity:.3}}
.lifecycle__t{padding-top:6px;min-width:0}
.lifecycle__t b{display:block;font-size:14px;font-weight:600;line-height:1.5}
.lifecycle .lifecycle__t p{margin:2px 0 0;font-size:12px;line-height:1.5;color:var(--fg-3)}
.step-chart{position:relative;height:190px;margin-top:12px}
.step-chart svg{display:block;overflow:visible;touch-action:pan-y;cursor:crosshair}
.step-chart svg:focus-visible{outline:2px solid var(--fg);outline-offset:4px;border-radius:8px}
.step-chart__grid{stroke:var(--grid-line);stroke-width:1;stroke-dasharray:3 4}
.step-chart__ty,.step-chart__tx{font-size:12px;fill:var(--fg-3);font-variant-numeric:tabular-nums}
.step-chart__tx{fill:var(--fg-2)}
.step-chart__area{fill:rgba(18,19,19,.055)}
.step-chart__line{fill:none;stroke:var(--ink);stroke-width:2;stroke-linejoin:round}
.step-chart__dot{fill:var(--ink)}
.step-chart__act line{stroke:var(--dash-line);stroke-width:1;stroke-dasharray:2 3}
.step-chart__act circle{fill:var(--ink);stroke:#fff;stroke-width:2}
.ds-motion .step-chart.is-shown .step-chart__line.is-draw{stroke-dasharray:1;animation:chart-draw 1.1s var(--ease-out) .15s backwards}
.ds-motion .step-chart.is-shown .step-chart__area.is-in{animation:ds-in-fade .8s var(--ease-out) .4s backwards}
.ds-motion .step-chart.is-shown .step-chart__dot.is-pop{transform-box:fill-box;transform-origin:center;animation:step-dot .4s var(--spring) backwards;animation-delay:calc(.25s + var(--k) * 60ms)}
@keyframes step-dot{from{transform:scale(0)}}
.nav-row{display:grid;grid-template-columns:28px minmax(0,1fr) 16px;align-items:center;gap:12px;width:100%;min-height:68px;margin-top:24px;padding:12px 16px;
  border:0;border-radius:16px;background:var(--tile-soft,#f3f6f4);font:inherit;color:var(--fg);text-align:left;cursor:pointer;transition:background-color .16s var(--ease)}
.nav-row:hover{background:#e9efeb}
.nav-row__i .i{width:24px;height:24px;color:var(--fg-2)}
.nav-row__t{display:grid;gap:2px;min-width:0}
.nav-row__t b{font-size:14px;font-weight:600}
.nav-row__t small{font-size:12px;color:var(--fg-3)}
.nav-row > .i{width:16px;height:16px;color:var(--fg-3)}
.stat-well{display:flex;align-items:center;gap:16px;margin-top:12px;padding:16px;border-radius:16px;background:var(--tile-soft,#f3f6f4)}
.stat-well .btn-circle{flex:none;background:#fff;cursor:default}
.stat-well .btn-circle .i{width:20px;height:20px}
.stat-well > div{display:grid;gap:2px;min-width:0}
.stat-well b{font-size:42px;font-weight:400;letter-spacing:.015em;line-height:1.05;font-variant-numeric:tabular-nums;white-space:nowrap}
.stat-well span,.stat-well small{font-size:12px;line-height:1.4;color:var(--fg-2)}
.eval-list{margin-top:12px;max-height:224px;overflow:auto;padding:2px;scrollbar-width:thin;transition:max-height .26s var(--ease-out)}
.eval-list.is-open{max-height:360px}
.eval-list:focus-visible{outline:2px solid var(--fg);outline-offset:2px;border-radius:16px}
.eval-list ol{display:grid;gap:8px;margin:0;padding:0;list-style:none}
.eval-item{border-radius:16px;background:var(--tile-soft,#f3f6f4);overflow:hidden}
.eval-item__b{padding:12px 16px}
.eval-item__b header{display:grid;gap:2px}
.eval-item__b time{font-size:14px;font-weight:600;line-height:1.4}
.eval-item__b header span{font-size:12px;line-height:1.4;color:var(--fg-3)}
.eval-item__b .eval-item__sc{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;margin:10px 0 0}
.eval-item__sc b{font-size:22px;font-weight:420;letter-spacing:.02em;font-variant-numeric:tabular-nums}
.eval-item__sc span{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--fg-2)}
.eval-item__btn{display:flex;align-items:center;gap:8px;width:100%;min-height:44px;padding:10px 16px;border:0;background:rgba(255,255,255,.55);font:inherit;font-size:12px;color:var(--fg-2);text-align:left;cursor:pointer;transition:background-color .16s var(--ease)}
.eval-item__btn:hover{background:rgba(255,255,255,.9);color:var(--fg)}
.eval-item__btn[aria-expanded="true"]{color:var(--fg)}
.eval-item__chev{width:16px;height:16px;margin-left:auto;transition:transform .2s var(--ease)}
.eval-item__btn[aria-expanded="true"] .eval-item__chev{transform:rotate(90deg)}
.eval-item__d{display:grid;grid-template-rows:0fr;opacity:0;transition:grid-template-rows .26s var(--ease-out),opacity .18s var(--ease)}
.eval-item.is-open .eval-item__d{grid-template-rows:1fr;opacity:1}
.eval-item__d > div{min-height:0;overflow:hidden}
.eval-item__dd{padding:12px 16px;font-size:12px;line-height:1.5;color:var(--fg-2);background:rgba(255,255,255,.55)}
.eval-item__dd p{margin:0}
.eval-item__dd ul{display:grid;gap:8px;margin:10px 0 0;padding:0;list-style:none}
.eval-item__dd li{display:grid;gap:2px}
.eval-item__dd li b{color:var(--fg);font-weight:600}
.eval-item__res{display:flex;align-items:center;gap:8px;min-height:44px;margin:0;padding:10px 16px;font-size:12px;color:var(--fg-2);background:rgba(255,255,255,.55)}
.eval-item__cmp{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:10px 0 0}
.eval-item__cmp dt{font-size:12px;color:var(--fg-3)}
.eval-item__cmp dd{margin:2px 0 0;font-size:14px;font-weight:600}
.eval-item__cmp span{display:block;margin-top:2px;font-size:12px;color:var(--fg-3);font-variant-numeric:tabular-nums}
.check-mark{display:inline-grid;place-items:center;flex:none;width:20px;height:20px;border-radius:50%;background:var(--state-risk-tint);color:var(--state-risk)}
.check-mark.is-ok{background:var(--state-won-tint);color:var(--state-won)}
.check-mark .i{width:13px;height:13px}
.stat-well ~ .eval-foot{margin:12px 0 0}
.eval-foot{display:flex;align-items:center;gap:8px;font-size:12px;line-height:1.5;color:var(--fg-3)}
.eval-foot .i{width:16px;height:16px}
.stat-strip__i.is-toggle{position:relative;padding-right:44px}
.stat-strip__btn{position:absolute;inset:0;width:100%;border:0;border-radius:inherit;background:transparent;font:inherit;color:var(--fg-2);cursor:pointer;transition:background-color .16s var(--ease)}
.stat-strip__btn:hover{background:rgba(18,19,19,.035)}
.stat-strip__btn:focus-visible{outline:2px solid var(--fg);outline-offset:-3px}
.stat-strip__chev{position:absolute;top:16px;right:16px;width:18px;height:18px;transition:transform .2s var(--ease)}
.stat-strip__i.is-open{background:#e9efeb}
.stat-strip__i.is-open .stat-strip__chev{transform:rotate(180deg)}
.league-rank{display:grid;grid-template-rows:0fr;opacity:0;transform:translateY(-4px);visibility:hidden;transition:grid-template-rows .26s var(--ease-out),opacity .18s var(--ease),transform .26s var(--ease-out),visibility 0s linear .26s}
.league-rank[data-open="true"]{grid-template-rows:1fr;opacity:1;transform:none;visibility:visible;transition-delay:0s}
.league-rank__in{min-height:0;overflow:hidden}
.league-rank__p{margin-top:12px;padding:16px;border-radius:16px;background:var(--tile-soft,#f3f6f4)}
.league-rank__h{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:12px 20px}
.league-rank__h h3{margin:0;font-size:16px;font-weight:560;line-height:1.3}
.league-rank__h span{display:block;margin-top:2px;font-size:13px;color:var(--fg-3)}
.league-rank__act{display:inline-flex;align-items:center;gap:12px}
.league-rank__seg .seg__opt{min-width:72px;justify-content:center}
.league-rank__x{flex:none}
.league-rank__scale{display:grid;grid-template-columns:auto minmax(90px,220px) auto;align-items:center;gap:8px;width:fit-content;max-width:100%;margin-top:12px;font-size:12px;color:var(--fg-2)}
.league-rank__scale i{height:4px;border-radius:999px}
.league-rank__cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px;border-radius:12px}
.league-rank__cols:focus-visible{outline:2px solid var(--fg);outline-offset:4px}
.league-rank__col{display:grid;gap:2px;align-content:start;margin:0;padding:4px;border-radius:12px;background:#fff;list-style:none}
.league-rank__row{display:grid;grid-template-columns:24px minmax(0,1fr) 54px 124px 62px;align-items:center;gap:8px;min-height:48px;padding:6px 8px;border-radius:9px;font-size:12px;color:var(--fg-2)}
.league-rank__row.is-me{background:var(--tile-soft,#f3f6f4);color:var(--fg)}
.league-rank__n{text-align:center;font-weight:700;font-variant-numeric:tabular-nums}
.league-rank__club{display:flex;align-items:center;gap:8px;min-width:0}
.league-rank__club > span{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 8px;min-width:0}
.league-rank__club b{min-width:0;font-size:13px;font-weight:600;color:var(--fg);overflow-wrap:anywhere}
.league-rank__club em{font-style:normal;font-size:11px;font-weight:600;color:var(--fg-2);white-space:nowrap}
.league-rank__v{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.league-rank__row .diff-chip{justify-self:center}
.league-rank__cov{text-align:right;white-space:nowrap;color:var(--fg-3);font-variant-numeric:tabular-nums}
.diff-chip{white-space:nowrap}
.diff-chip.is-none{visibility:hidden;min-height:24px}
/* the fixture rail (Prism PMA:686-819): a timeline, one card per fixture, the best window behind three of them */
.fixture-rail__bar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-top:24px}
.fixture-rail__bar p{margin:0;font-size:13px;line-height:1.5;color:var(--fg-3)}
.fixture-rail__btns{display:flex;gap:8px}
.fixture-rail__btns[hidden]{display:none}
.fixture-rail__b:disabled{opacity:.4;cursor:default}
.fixture-rail{margin-top:8px;padding:0 0 8px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:thin;border-radius:16px}
.fixture-rail:focus-visible{outline:2px solid var(--fg);outline-offset:2px}
.fixture-rail__g{position:relative;display:grid;grid-template-columns:repeat(var(--n),minmax(132px,1fr));gap:12px;min-width:max(100%,calc(var(--n) * 144px - 12px));padding:32px 0 2px}
.fixture-rail__line{position:absolute;top:16px;left:5%;right:5%;height:1px;background:var(--grid-line)}
.fixture-card{position:relative;z-index:2;grid-row:1;display:flex;flex-direction:column;min-width:0;min-height:276px;padding:12px 10px;border-radius:16px;background:var(--tile-soft,#f3f6f4);text-align:center;scroll-snap-align:start}
.fixture-card__dot{position:absolute;top:-20px;left:50%;z-index:3;width:8px;height:8px;border-radius:50%;background:var(--ink-faint);box-shadow:0 0 0 3px #fff;translate:-50% 0}
.fixture-card.in-window{background:transparent}
.fixture-card.in-window .fixture-card__dot{display:none}
.fixture-card__date{font-size:12px;color:var(--fg-3);font-variant-numeric:tabular-nums}
.fixture-card__date + .fixture-card__comp{margin:6px 0 0}
.fixture-card__comp{min-height:36px;font-size:12px;line-height:1.5;color:var(--fg-2);overflow-wrap:anywhere}
.fixture-card__opp{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:88px;padding:12px 0}
.fixture-card__opp b{max-width:100%;min-height:36px;font-size:13px;font-weight:600;line-height:1.4;overflow-wrap:anywhere}
.fixture-card__venue{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--fg-2)}
.fixture-card__venue .i{width:16px;height:16px}
.fixture-card__diff{display:grid;justify-items:center;gap:8px;padding-top:8px;font-size:12px;color:var(--fg-3)}
.diff-scale{display:grid;grid-template-columns:repeat(5,1fr);gap:2px;width:72px}
.diff-scale i{height:3px;border-radius:999px;background:var(--grid-line)}
.diff-scale i.is-on{background:var(--tone)}
.best-window{position:relative;z-index:1;grid-row:1;align-self:stretch;margin:-16px -6px 0;border-radius:0 0 20px 20px;background:var(--win);pointer-events:none}
.best-window[data-edge="start"],.best-window[data-edge="both"]{margin-left:0}
.best-window[data-edge="end"],.best-window[data-edge="both"]{margin-right:0}
/* C70: a match of the rail opens « Inside the match » — « The match › » at the card's foot, the whole card the link's target */
.fixture-card.is-link{transition:background-color .15s var(--ease)}
.fixture-card.is-link:hover{background:color-mix(in srgb,var(--ink) 6%,var(--tile-soft,#f3f6f4))}
.fixture-card.in-window.is-link:hover{background:color-mix(in srgb,var(--ink) 5%,transparent)}
.fixture-card__go{display:inline-flex;align-items:center;justify-content:center;gap:2px;margin-top:10px;min-height:32px;color:var(--ink);font-size:14px;font-weight:560;text-decoration:none}
.fixture-card__go .i{width:16px;height:16px}
.fixture-card__go::after{content:"";position:absolute;inset:0;border-radius:inherit}
.fixture-card__go:focus-visible{outline:none}.fixture-card__go:focus-visible::after{outline:2px solid var(--fg);outline-offset:2px}
/* DS.clubWindow [V] C70 TM-4 a — the calendar's club window on any page (was .cal-sheet in pages/calendar.html) */
.club-win{width:min(1040px,calc(100vw - 40px));max-height:calc(100vh - 60px);overflow:auto}
.club-win__k{margin:20px 0 8px;font-size:12px;color:var(--fg-3)}
.club-win__pl{display:flex;flex-wrap:wrap;gap:8px 20px;margin:0;padding:0;list-style:none}
.club-win__p{position:relative;display:inline-flex;align-items:center;gap:10px;min-width:0;color:inherit;text-decoration:none;border-radius:8px}
.club-win__p b{min-width:0;font-size:14px;font-weight:560;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
a.club-win__p:hover b{text-decoration:underline;text-underline-offset:3px}
a.club-win__p:focus-visible{outline:2px solid var(--fg);outline-offset:2px}
.club-win__s{margin:16px 0 0;font-size:14px;line-height:1.45;color:var(--fg-2)}
.club-win__rail{margin-top:12px}
.club-win__venue{display:inline-flex;align-items:center;gap:4px}.club-win__venue .i{width:14px;height:14px}
.club-win__crest{object-fit:contain;flex:none}.club-win__flag{object-fit:cover;flex:none}
@media (max-width:599px){.club-win{width:100%;max-height:88vh}.club-win__p::before{content:"";position:absolute;left:50%;top:50%;width:max(100%,44px);height:max(100%,44px);transform:translate(-50%,-50%)}}
.best-window__l{position:absolute;top:0;left:50%;z-index:4;translate:-50% -50%;pointer-events:auto;white-space:nowrap}
.best-window__l.score{background:color-mix(in srgb,var(--score-c) 30%,#fff);box-shadow:0 0 0 3px #fff}
.best-window__l.status{box-shadow:0 0 0 3px #fff}
/* the calendar's motion: the cards rise one after the other, the window settles behind them, its label pops */
.ds-motion .fixture-rail:not(.is-shown) :is(.fixture-card,.best-window){opacity:0}
.ds-motion .fixture-rail.is-shown .fixture-card{animation:fixture-rise .6s var(--ease-out) backwards;animation-delay:calc(.08s + min(var(--k), 9) * 55ms)}
.ds-motion .fixture-rail.is-shown .best-window{animation:ds-in-fade .7s var(--ease-out) .45s backwards}
.ds-motion .fixture-rail.is-shown .best-window__l{animation:window-label .5s var(--spring) .7s backwards}
.ds-motion .fixture-rail.is-shown .diff-scale i.is-on{animation:ds-in-fade .4s var(--ease-out) backwards;animation-delay:calc(.4s + min(var(--k), 9) * 55ms)}
@keyframes fixture-rise{from{opacity:0;transform:translateY(12px)}}
@keyframes window-label{from{opacity:0;scale:.8}}
@media (max-width:1023px){
  .league-rank__cols{max-height:520px;overflow-y:auto}
}
@media (max-width:599px){
  /* sentences and notes ≥ 15 px on iPhone (MK-I3 B) */
  .xi-legend,.outlook-head__s,.proj-limits li,.lifecycle .lifecycle__card p,.fixture-rail__bar p,.eval-item__dd,.conf-note{font-size:15px}
  .conf-list > div{grid-template-columns:minmax(0,1fr);gap:2px}
  .conf-list dd{font-size:15px}
}
@media (pointer:coarse){
  .xi-alt{min-height:44px}
  .fixture-rail__b{width:44px;height:44px}
}

/* ==================================================================================================================================================
   the player page · Market [V] PL-22 + PL-Q12 + PL-23 (user, 2026-10-17: « Q1 b) Q2 b) Q3 a) Q4 a) Q5 Q6 Q7 tes recommandations » · « Q1 a, Q2 tous les
   doublons retirés, Q3 oui aussi sur iPhone »; DECISIONS §C13) — the tab's visual pieces; the page's layout (the two columns, the engine's section widths,
   the options left as switches) stays in explorations/_player9.css (mk-). Reference build: explorations/PL-9-market.html.
   .market-h · .market-note · .market-status · .market-loading · .market-error · .market-errline · .market-skel · .market-empty · .market-chips ·
   .market-notes · .market-scope   the tab's shared bits (18/500 sub-heads, notes, states)
   .chart-unit · .chart-guide        a chart's unit label (« EUR ») and its reading guide
   .sale-glyph[data-ty]              the five sale types' glyphs, in Prism's colours (PL-Q12 Q2 b); the shape says the type too
   .season-key                       In Season (solid) / Classic (dashed) — series 1 green / 2 blue, in ink inside the price history
   .sale-legend · .sale-types · .sale-type · .layer-switch   the history's keys, its sale-type filters (a pressed legend) and its Volume / Scores switches
   .sale-chart (__h __layers __band __bandkey __wrap __plot __svg __hint) · .sale-band · .sale-median · .sale-mark · .sale-marks · .sale-score · .sale-tip
                                     the price history: each sale (colour + shape = type, filled = In Season, outlined = Classic), the 7-day median in ink,
                                     P25–P75 in grey, the scores lane, the inspected sale's black card (CP-12 A)
   .volume-bars · .range-brush       the daily volume (grey; Classic hatched) and the period brush (two thumbs, Reset range)
   .price-pos · .price-ruler         Price positioning folded: floor, last sale and median on a ruler, cards green above / red below the median (PL-Q12 Q1 b)
   .price-plot · .plot-readout       Price vs score: the peers by score and price (log), the quadrant, this player in ink, the readout beside (below ≤ 720)
   .season-compare (--rows) · .liq-bar   In Season or Classic?: liquidity 7 / 30 days in the series colours, activity, the floors' ratio; --rows = two rows
                                     from 600 px when the cockpit's Card market says the prices (PL-23)
   .floor-card · .floor-chart        Follow the floor: the step line, its first and last prices labelled, thresholds (saved / draft), « building » state
   .alert-card · .alert-form · .alert-list   Price alert: the scope, the threshold field with its unit, « notify once », the bell button, saved alerts
   .season-avg-card · .season-avg    Average price by season: one row per edition, the axis, the line to its dot, the count
   .price-around-card · .price-around   Prices around matches: 48 h before / after medians and the change, one row per match when the card is ≥ 540 px
   .sales-card · .sales-table · .sale-cell · .sale-handle · .sale-badge · .sale-bids · .sales-list · .pager · .card-ph · .card-img
                                     Recent transactions: the table (from a 720-px section), the expandable list below, the pages
   Motion (§11): each chart's and list's first drawing plays once in view — the page sets is-first → is-play (_player9.js enter()), then removes both.
   ================================================================================================================================================== */
/* ---------- shared bits ---------- */
.market-h{font-size:18px;font-weight:500;letter-spacing:-.015em}
.market-note{margin-top:12px;font-size:13px;line-height:1.45;color:var(--fg-3)}
.market-status{margin:8px 0;font-size:13px;line-height:1.45;color:var(--fg-2)}
.market-status.is-err{color:var(--state-fail)}
.market-loading{display:flex;align-items:center;justify-content:center;gap:12px;min-height:160px;padding:20px;border-radius:16px;background:var(--tile-soft,#f3f6f4);font-size:14px;color:var(--fg-2);text-align:center}
.market-loading .spinner{width:18px;height:18px;color:var(--fg-3)}
.market-error{display:grid;justify-items:center;gap:12px;padding:30px 16px;border-radius:16px;background:var(--state-fail-tint);text-align:center}
.market-error p{max-width:52ch;font-size:14px;line-height:1.45;color:var(--ink)}
.market-errline{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;margin:8px 0;padding:10px 12px 10px 16px;border-radius:12px;background:var(--state-fail-tint);font-size:13px;line-height:1.4}
.market-errline .btn{margin-left:auto}
.market-skel{display:inline-block;height:.9em;max-width:100%;vertical-align:middle}
.market-empty{display:grid;place-items:center;align-content:center;gap:6px;min-height:180px;padding:24px;border-radius:16px;background:var(--tile-soft,#f3f6f4);text-align:center}
.market-empty b{font-size:16px;font-weight:560}
.market-empty span{max-width:52ch;font-size:14px;line-height:1.45;color:var(--fg-3)}
.market-chips{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}
.sale-glyph{width:14px;height:14px;flex:none;fill:currentColor}
/* the five sale types in Prism's colours (PL-Q12 Q2 b) — the mark's shape says the type too (circle · square · diamond · triangle · plus) */
.sale-glyph[data-ty="auction"]{fill:#2c64b7}.sale-glyph[data-ty="instant_buy"]{fill:#16815d}.sale-glyph[data-ty="offer"]{fill:#a86400}.sale-glyph[data-ty="direct_offer"]{fill:#b33e6a}.sale-glyph[data-ty="primary"]{fill:#5b605d}
.sale-mark[data-ty="auction"]{--ty:#2c64b7}.sale-mark[data-ty="instant_buy"]{--ty:#16815d}.sale-mark[data-ty="offer"]{--ty:#a86400}.sale-mark[data-ty="direct_offer"]{--ty:#b33e6a}.sale-mark[data-ty="primary"]{--ty:#5b605d}
.season-key{flex:none;overflow:visible}
.season-key__l{stroke-width:2.4;stroke-linecap:round}
.season-key__l--is{stroke:var(--green)}
.season-key__l--os{stroke:var(--blue);stroke-dasharray:5 3}
.season-key__m--is{fill:var(--green)}
.season-key__m--os{fill:#fff;stroke:var(--blue);stroke-width:1.4}
.sale-legend{display:flex;flex-wrap:wrap;align-items:center;gap:4px 20px;font-size:12px;color:var(--fg-2)}
.sale-legend__i{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;min-height:32px}
.chart-unit{font-size:12px;fill:var(--fg-3);font-weight:500;letter-spacing:.04em}
.chart-guide{stroke:var(--ink);stroke-dasharray:3 4;opacity:.5;pointer-events:none}
/* ---------- 1 · market overview ---------- */
.sale-chart__h{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 20px;margin-bottom:10px}
.sale-chart__layers{display:flex;flex-wrap:wrap;gap:4px 20px}
.layer-switch{min-height:36px;cursor:pointer;user-select:none}
.sale-legend .sale-chart__band{margin:0}
.sale-legend .sale-chart__band > summary{min-height:32px;font-size:12px;font-weight:400;color:var(--fg-2)}
.sale-chart__bandkey{width:18px;height:10px;border-radius:3px;background:rgba(18,19,19,.12);flex:none}
.sale-types{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.sale-type{display:inline-flex;align-items:center;gap:8px;min-height:32px;padding:0 12px;border:0;border-radius:12px;background:#eff3f0;color:var(--ink);
  font:inherit;font-size:13px;font-weight:500;cursor:pointer;transition:background var(--dur) var(--ease),color var(--dur) var(--ease)}
.sale-type:hover{background:#e4ebe6}
.sale-type[aria-pressed="false"]{background:transparent;color:var(--fg-3)}
.sale-type[aria-pressed="false"] span{text-decoration:line-through}
.sale-type[aria-pressed="false"] .sale-glyph{opacity:.4}
.sale-type--all{background:transparent;text-decoration:underline;text-underline-offset:3px}
.sale-chart__wrap{position:relative;margin-top:12px}
.sale-chart__plot{min-height:120px}
.sale-chart__svg{touch-action:pan-y;cursor:crosshair;border-radius:6px;-webkit-tap-highlight-color:transparent}
.sale-chart__svg:focus:not(:focus-visible){outline:none}
.sale-band--is{fill:var(--ink);fill-opacity:.07}
.sale-band--os{fill:var(--ink);fill-opacity:.05}
.sale-median{fill:none;stroke-width:2.4;stroke-linejoin:round;stroke-linecap:round}
.sale-median--is{stroke:var(--ink)}
.sale-median--os{stroke:var(--ink-muted);stroke-dasharray:6 4}
.sale-chart .season-key__l--is{stroke:var(--ink)}.sale-chart .season-key__l--os{stroke:var(--ink-muted)}
.sale-chart .season-key__m--is{fill:var(--ink)}.sale-chart .season-key__m--os{stroke:var(--ink-muted)}
.sale-mark{pointer-events:none}
.sale-mark--is{fill:var(--ty);fill-opacity:.9;stroke:#fff;stroke-width:1}
.sale-mark--os{fill:#fff;stroke:var(--ty);stroke-width:1.8}
.sale-mark--is.is-act{fill-opacity:1;stroke:var(--ink);stroke-width:1.6}
.sale-mark--os.is-act{fill:var(--blue-tint);stroke-width:2.4}
.sale-score line{stroke-width:1.5;opacity:.75}
.sale-chart__svg .sale-score text{font-size:12px;font-weight:600;fill:var(--fg-2)}
/* the inspected sale: a black card (CP-12 A) top right of the chart; below the chart in narrow sections */
.sale-tip{position:absolute;z-index:5;top:30px;right:24px;display:flex;align-items:flex-start;gap:12px;max-width:310px;padding:12px;border-radius:16px;
  background:var(--black-soft);color:#fff;box-shadow:0 12px 30px rgba(0,0,0,.22);pointer-events:none}
.sale-tip__pic{flex:none;width:64px;height:102px}
.sale-tip__pic .card-ph{width:64px;height:102px;border-radius:8px;background:rgba(255,255,255,.12)}
.sale-tip__d{display:grid;gap:4px;min-width:0;font-size:12px;line-height:1.4;color:var(--on-photo-2)}
.sale-tip__d > b{font-size:22px;font-weight:500;letter-spacing:.01em;color:#fff}
.sale-tip__d span{display:flex;align-items:center;flex-wrap:wrap;gap:4px 6px}
.sale-tip__d span b{font-weight:560;color:#fff}
.sale-chart__hint{display:none;margin-top:8px;font-size:13px;line-height:1.45;color:var(--fg-3)}
/* volume */
.volume-bars{position:relative;margin-top:20px}
.volume-bars__svg{touch-action:pan-y;cursor:crosshair;border-radius:6px;-webkit-tap-highlight-color:transparent}
.volume-bars__svg:focus:not(:focus-visible){outline:none}
.volume-bars__h{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 16px;margin-bottom:4px}
.volume-bars__h h5{font-size:14px;font-weight:560}
.volume-bars__key{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--fg-2)}
.volume-bars__key i{width:10px;height:10px;border-radius:3px;flex:none}
.volume-bars__key i.is-is{background:var(--ink);opacity:.3}
.volume-bars__key i.is-os{margin-left:8px;background:repeating-linear-gradient(45deg,rgba(18,19,19,.4) 0 1.6px,rgba(18,19,19,.08) 1.6px 4px)}
.volume-bars__n{margin-left:auto;font-size:13px;color:var(--fg-3)}
.volume-bars__n b{font-size:16px;font-weight:600;color:var(--ink)}
.volume-bars__svg{display:block;overflow:visible}
.volume-bars__svg text{font-size:12px;fill:var(--fg-3)}
.volume-bars__svg .grid{stroke:var(--grid-line);stroke-width:1}
.volume-bars__b{fill:var(--ink);fill-opacity:.26}
.volume-bars__hb{fill:var(--ink);fill-opacity:.08}
.volume-bars__hf{fill:var(--ink);fill-opacity:.36}
/* range brush: the whole period's medians, the chosen window, two thumbs */
.range-brush{--tw:16px;display:flex;align-items:center;gap:16px;margin-top:16px;padding:8px 10px 8px 12px;border-radius:16px;background:var(--tile-soft,#f3f6f4)}
.range-brush__t{position:relative;flex:1;min-width:0;height:40px}
.range-brush__t svg{position:absolute;top:4px;left:calc(var(--tw) / 2);right:calc(var(--tw) / 2);width:calc(100% - var(--tw));height:32px}
.range-brush__l{fill:none;stroke-width:1.4;opacity:.6}
.range-brush__l--is{stroke:var(--ink)}
.range-brush__l--os{stroke:var(--ink-muted);stroke-dasharray:4 3}
.range-brush__sel{position:absolute;top:0;bottom:0;border-radius:8px;background:rgba(18,19,19,.07);box-shadow:inset 0 0 0 1.5px rgba(18,19,19,.32);
  left:calc(var(--tw) / 2 + (100% - var(--tw)) * var(--a) / 100);right:calc(var(--tw) / 2 + (100% - var(--tw)) * (100 - var(--b)) / 100)}
.range-brush__in{position:absolute;inset:0;width:100%;height:100%;margin:0;padding:0;background:none;-webkit-appearance:none;appearance:none;pointer-events:none}
.range-brush__in:focus{outline:none}
.range-brush__in::-webkit-slider-runnable-track{height:100%;background:none;border:0}
.range-brush__in::-moz-range-track{height:100%;background:none;border:0}
.range-brush__in::-webkit-slider-thumb{-webkit-appearance:none;pointer-events:auto;width:var(--tw);height:40px;border:0;border-radius:8px;background:#fff;cursor:ew-resize;
  box-shadow:0 1px 4px rgba(0,0,0,.22),inset 0 0 0 1.5px var(--ink)}
.range-brush__in::-moz-range-thumb{pointer-events:auto;width:var(--tw);height:40px;border:0;border-radius:8px;background:#fff;cursor:ew-resize;box-shadow:0 1px 4px rgba(0,0,0,.22),inset 0 0 0 1.5px var(--ink)}
.range-brush__in:focus-visible::-webkit-slider-thumb{box-shadow:0 0 0 2px #fff,0 0 0 4px var(--ink)}
.range-brush__in:focus-visible::-moz-range-thumb{box-shadow:0 0 0 2px #fff,0 0 0 4px var(--ink)}
.range-brush__reset{flex:none}
/* price positioning */
.card.price-pos{padding-top:8px;padding-bottom:8px}
.price-pos .price-pos__d{margin:0}
.price-pos .price-pos__d > summary{min-height:52px;font-size:15px;font-weight:500}
.price-pos__b{display:grid;gap:4px;padding:4px 0 16px;color:var(--fg)}
.price-pos__h{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 20px}
.price-pos__key{display:flex;align-items:center;flex-wrap:wrap;gap:6px 16px;font-size:12px;color:var(--fg-2)}
.price-pos__key span{display:inline-flex;align-items:center;gap:6px}
.price-pos__key i{width:12px;height:12px;border-radius:4px}
.price-pos__key [data-dir="above"] i{background:var(--state-won-tint);box-shadow:inset 0 0 0 1.5px var(--state-won)}
.price-pos__key [data-dir="below"] i{background:var(--state-fail-tint);box-shadow:inset 0 0 0 1.5px var(--state-fail)}
.price-pos__b .price-pos__read{margin-top:0}
.price-ruler{position:relative;margin-top:12px}
.price-ruler__svg{position:absolute;left:0;top:0;overflow:visible}
.price-ruler__svg text{font-size:12px;fill:var(--fg-3)}
.price-ruler__track{stroke:var(--ink-muted);stroke-width:1.5}
.price-ruler__tick{stroke:var(--dash-line);stroke-width:1}
.price-ruler__tick.is-major{stroke:var(--ink-muted)}
.price-ruler__conn{fill:none;stroke:var(--ink-faint);stroke-width:1}
.price-ruler__m--floor,.price-ruler__m--median{fill:var(--ink)}
.price-ruler__m--last{fill:#fff;stroke:var(--ink);stroke-width:2}
.price-ruler__br{fill:none;stroke:var(--ink-muted);stroke-width:1.5;stroke-dasharray:2 3}
.price-ruler__br[data-dir="above"]{stroke:var(--state-won)}
.price-ruler__br[data-dir="below"]{stroke:var(--state-fail)}
.price-ruler__card{position:absolute;display:grid;align-content:start;gap:2px;padding:12px 16px;border-radius:16px;background:var(--tile-soft,#f3f6f4);overflow:hidden}
.price-ruler__card > span,.price-ruler__card > small{font-size:12px;color:var(--fg-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.price-ruler__card > strong{margin-top:2px;font-size:22px;font-weight:450;letter-spacing:.01em;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.price-ruler__card > .price-ruler__pct{font-weight:560}
.price-ruler__card[data-dir="above"]{background:var(--state-won-tint)}
.price-ruler__card[data-dir="above"] .price-ruler__pct{color:var(--state-won)}
.price-ruler__card[data-dir="below"]{background:var(--state-fail-tint)}
.price-ruler__card[data-dir="below"] .price-ruler__pct{color:var(--state-fail)}
.price-ruler__gap{position:absolute;display:flex;justify-content:center;align-items:flex-start;margin:0;text-align:center;font-size:13px;line-height:1.3;color:var(--fg-2)}
.price-ruler__gap[data-dir="above"] b{color:var(--state-won)}
.price-ruler__gap[data-dir="below"] b{color:var(--state-fail)}
.price-ruler__empty{padding:20px 0;font-size:14px;color:var(--fg-3)}
.price-ruler__missing{display:flex;flex-wrap:wrap;gap:8px 20px;margin-top:8px;font-size:13px;color:var(--fg-3)}
.price-ruler__missing div{display:flex;align-items:center;gap:8px}
.price-ruler__missing b{color:var(--ink)}
/* ---------- 2 · price vs score ---------- */
.price-plot__hint{margin-left:auto;align-self:center;font-size:12px;line-height:1.5;color:var(--fg-3);text-align:right}
.price-plot__sum{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:4px 16px;margin:2px 0 8px;font-size:13px;color:var(--fg-3)}
.price-plot__sum b{font-size:14px;font-weight:560;color:var(--ink)}
.price-plot__legend{display:flex;flex-wrap:wrap;gap:4px 20px;margin-bottom:6px;font-size:12px;color:var(--fg-2)}
.price-plot__legend span{display:inline-flex;align-items:center;gap:6px;min-height:28px}
.price-plot__key{flex:none;overflow:visible}
.price-plot__key circle,.price-plot__key path,.price-plot__key rect{fill:var(--ink-faint)}
.price-plot__key.is-hollow circle,.price-plot__key.is-hollow path,.price-plot__key.is-hollow rect{fill:#fff;stroke:var(--ink-muted);stroke-width:1.6}
.price-plot__qkey{width:16px;height:12px;border-radius:2px;background:rgba(18,19,19,.06);box-shadow:inset 0 0 0 1px var(--dash-line);flex:none}
.price-plot__grid{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:16px;align-items:start}
.price-plot__plot{min-width:0}
.price-plot__svg{touch-action:manipulation;cursor:crosshair;border-radius:6px;-webkit-tap-highlight-color:transparent}
.price-plot__svg:focus:not(:focus-visible){outline:none}
.price-plot__axis{font-size:12px;font-weight:500;fill:var(--fg-2)}
.price-plot__quad{fill:rgba(18,19,19,.05);stroke:var(--dash-line);stroke-dasharray:4 4}
.price-plot__med{stroke:var(--ink-muted);stroke-dasharray:4 5;opacity:.6}
.price-plot__pt{fill:var(--ink-faint)}
.price-plot__pt.is-opp{fill:var(--ink-muted)}
.price-plot__pt.is-hollow{fill:#fff;stroke:var(--ink-muted);stroke-width:2}
.price-plot__pt.is-me{fill:var(--ink);stroke:#fff;stroke-width:1.5}
.price-plot__ring{fill:none;stroke:var(--ink);stroke-width:1.5;opacity:.4}
.price-plot__ring.is-sel{opacity:1;stroke-width:2}
.price-plot__label{font-size:12px;font-weight:600;fill:var(--ink);paint-order:stroke;stroke:#fff;stroke-width:3px;stroke-linejoin:round}
.plot-readout{display:grid;align-content:start;gap:10px;padding:20px;border-radius:16px;background:var(--tile-soft,#f3f6f4);min-width:0}
.plot-readout__over{font-size:12px;color:var(--fg-3)}
.price-plot .plot-readout h4{margin-top:-6px;font-size:18px;font-weight:560;letter-spacing:-.015em}
.plot-readout__club{margin-top:-8px;font-size:13px;color:var(--fg-3)}
.plot-readout__nums{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:2px 0 0}
.plot-readout__nums dt{font-size:12px;color:var(--fg-3)}
.plot-readout__nums dd{margin:4px 0 0}
.plot-readout__nums .score-ink{font-size:22px;font-weight:420;letter-spacing:.02em}
.plot-readout__nums dd b{font-size:22px;font-weight:450;letter-spacing:.01em;white-space:nowrap}
.plot-readout__note{font-size:13px;line-height:1.45;color:var(--fg-2)}
.plot-readout__signal{display:grid;gap:4px;padding:12px 16px;border-radius:12px;background:#fff;font-size:13px;line-height:1.45;color:var(--fg-2)}
.plot-readout__signal b{font-size:13px;font-weight:560;color:var(--ink)}
.plot-readout__times{display:grid;gap:2px;font-size:12px;line-height:1.45;color:var(--fg-3)}
.plot-readout__act{display:flex;flex-wrap:wrap;align-items:center;gap:6px 16px}
.price-plot__bench{display:flex;flex-wrap:wrap;align-items:center;gap:8px 20px;margin-top:16px;padding:12px 16px;border-radius:16px;background:var(--tile-soft,#f3f6f4);font-size:13px;color:var(--fg-2)}
.price-plot__bench b{font-weight:600;color:var(--ink)}
.price-plot__note{margin-top:8px;font-size:13px;line-height:1.45;color:var(--fg-2)}
.price-plot .price-plot__table{margin-top:10px}
.price-plot__scroll{max-height:370px;overflow:auto}
.price-plot__tbl{min-width:640px}
.price-plot__tbl caption{caption-side:top;padding:2px 10px 8px;text-align:left;font-size:12px;color:var(--fg-3)}
.price-plot__table .price-plot__tbl td{height:auto;padding:6px 10px}
.price-plot__pbtn{min-height:32px;padding:4px 0;border:0;background:none;font:inherit;font-size:14px;font-weight:500;color:var(--ink);text-align:left;cursor:pointer}
.price-plot__pbtn:hover{text-decoration:underline;text-underline-offset:3px}
.price-plot__src{display:block;font-size:12px;color:var(--fg-3)}
/* ---------- 3 · in season or classic? ---------- */
.season-compare__cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.season-compare__col{display:grid;align-content:start;gap:20px;padding:20px;border-radius:16px;background:var(--tile-soft,#f3f6f4);min-width:0}
.season-compare__h{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:8px 12px}
.season-compare__h > div{display:grid;grid-template-columns:auto auto;justify-content:start;align-items:center;column-gap:10px}
.season-compare__h h4{font-size:18px;font-weight:560;letter-spacing:-.015em}
.season-compare__h div > span{grid-column:2;font-size:13px;color:var(--fg-3)}
.season-compare__figs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0}
.season-compare__figs dt{font-size:12px;color:var(--fg-3)}
.season-compare__figs dd{margin:2px 0 0;font-size:22px;font-weight:420;letter-spacing:.02em;line-height:1.15;white-space:nowrap}
.season-compare__liq h5{margin-bottom:8px;font-size:14px;font-weight:560}
.season-compare__liq dl{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:12px 16px;margin:0;align-items:start}
.season-compare__liq dt{font-size:12px;color:var(--fg-3)}
.season-compare__liq dd{display:grid;gap:8px;margin:4px 0 0}
.season-compare__liq dd b{font-size:22px;font-weight:450;letter-spacing:.02em}
.season-compare__liq dd > .market-skel{justify-self:start}
.liq-bar{display:block;height:7px;border-radius:999px;background:#e1e8e3;overflow:hidden}
.liq-bar i{display:block;width:var(--w);height:100%;border-radius:inherit}
.liq-bar--is i{background:var(--green)}
.liq-bar--os i{background:var(--blue)}
.ds-motion .season-compare[data-reveal]:not(.is-shown) .liq-bar i{width:0}
.ds-motion .season-compare[data-reveal] .liq-bar i{transition:width .9s var(--ease-out) .35s}
.season-compare__ratio{display:flex;align-items:center;flex-wrap:wrap;gap:6px 20px;margin-top:10px;padding:16px 20px;border-radius:16px;background:var(--tile-soft,#f3f6f4)}
.season-compare__ratio span{font-size:14px;color:var(--fg-2)}
.season-compare__ratio b{font-size:22px;font-weight:420;letter-spacing:.02em}
/* ---------- 4 · floor & alerts ---------- */
.floor-card [role="group"]{margin-bottom:20px}
.floor-chart__legend:not(:empty){margin-bottom:6px}
.floor-chart__plot{min-height:120px}
.floor-chart__svg{touch-action:pan-y;cursor:crosshair;border-radius:6px;-webkit-tap-highlight-color:transparent}
.floor-chart__svg:focus:not(:focus-visible){outline:none}
.floor-chart__area--is{fill:var(--green);fill-opacity:.07}
.floor-chart__area--os{fill:var(--blue);fill-opacity:.07}
.floor-chart__line{fill:none;stroke-width:2.3;stroke-linejoin:round}
.floor-chart__line--is{stroke:var(--green)}
.floor-chart__line--os{stroke:var(--blue)}
.floor-chart__dots--is circle{fill:var(--green)}
.floor-chart__dots--os circle{fill:var(--blue)}
.floor-chart__end{font-size:12px;font-weight:600;fill:var(--ink);paint-order:stroke;stroke:#fff;stroke-width:3px;stroke-linejoin:round}
.floor-chart__thr{stroke:var(--ink);stroke-width:1.5;stroke-dasharray:6 4}
.floor-chart__thr.is-draft{stroke:var(--ink-muted);stroke-dasharray:3 4}
.floor-chart__thrlab{font-size:12px;font-weight:560;fill:var(--ink-muted);paint-order:stroke;stroke:#fff;stroke-width:3px}
.floor-chart__dot{fill:#fff;stroke:var(--ink);stroke-width:2}
.floor-chart__thrkey{width:20px;height:0;border-top:2px dashed var(--ink);flex:none}
.floor-chart__thrkey.is-draft{border-top:2px dotted var(--ink-muted)}
.floor-chart__empty{display:grid;justify-items:center;gap:8px;padding:30px 16px;border-radius:16px;background:var(--tile-soft,#f3f6f4);text-align:center}
.floor-chart__empty b{font-size:16px;font-weight:560}
.floor-chart__empty p{font-size:14px;color:var(--fg-2)}
.floor-chart__empty > span{max-width:46ch;font-size:13px;line-height:1.45;color:var(--fg-3)}
.floor-chart__empty > .floor-chart__draft{font-weight:560;color:var(--ink)}
.floor-chart__rec{display:flex;gap:6px;margin-bottom:4px}
.floor-chart__rec i{width:8px;height:8px;border-radius:50%;background:var(--ink-faint)}
.ds-motion .floor-chart__rec i{animation:floor-rec 1.2s var(--ease) 4 both}
.ds-motion .floor-chart__rec i:nth-child(2){animation-delay:.2s}
.ds-motion .floor-chart__rec i:nth-child(3){animation-delay:.4s}
@keyframes floor-rec{0%,100%{opacity:.35}50%{opacity:1;background:var(--ink)}}
.card.alert-card .card__head{margin-bottom:10px}
.alert-card__scope{display:flex;flex-wrap:wrap;gap:4px 8px;margin-bottom:16px;font-size:13px;color:var(--fg-3)}
.alert-card__scope b{font-weight:560;color:var(--ink)}
.alert-card__scope span::before{content:"·";margin-right:8px}
.alert-form{display:grid;gap:16px}
.alert-form__floor{display:grid;gap:4px;padding:16px 20px;border-radius:16px;background:var(--tile-soft,#f3f6f4)}
.alert-form__floor span{font-size:12px;color:var(--fg-3)}
.alert-form__floor b{font-size:22px;font-weight:420;letter-spacing:.02em}
.alert-form__label{display:grid;gap:8px;font-size:13px;color:var(--fg-2)}
.alert-form__field{display:flex;align-items:center;height:52px;padding:0 16px;border-radius:16px;background:#eff3f0;cursor:text}
.alert-form__field:focus-within{box-shadow:0 0 0 2px var(--ink)}
.alert-form__field input{flex:1;min-width:0;height:100%;padding:0;border:0;background:none;font:inherit;font-size:18px;font-variant-numeric:tabular-nums;color:var(--ink);outline:none}
.alert-form__field input::placeholder{color:var(--fg-3)}
.alert-form__field input[aria-invalid="true"]{color:var(--state-fail)}
.alert-form__unit{margin-left:8px;font-size:15px;color:var(--fg-3)}
.alert-form__freq{font-size:13px;color:var(--fg-3)}
.alert-form__submit{width:100%;height:44px}
.alert-form .market-note{margin-top:-4px}
.alert-form__fb{margin-top:12px;font-size:13px;line-height:1.45;color:var(--state-won)}
.alert-form__fb.is-err{color:var(--state-fail)}
.alert-list{display:grid;gap:6px;margin-top:16px}
.alert-list > .market-note{margin-top:0}
.alert-list__i{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 10px 10px 16px;border-radius:16px;background:var(--tile-soft,#f3f6f4)}
.alert-list__i > div{display:grid;gap:2px;min-width:0}
.alert-list__i b{font-size:14px;font-weight:560}
.alert-list__i span{font-size:12px;color:var(--fg-3)}
.alert-list__i.is-hit b{color:var(--state-won)}
/* ---------- 5 · price analysis ---------- */
.season-avg-card{container:season-avg / inline-size}
.market-scope{margin:-8px 0 16px;font-size:13px;color:var(--fg-3)}
.season-avg{display:grid;gap:2px}
.season-avg__head,.season-avg__row{display:grid;grid-template-columns:116px minmax(0,1fr) 54px;gap:16px;align-items:center}
.season-avg__head{padding:0 12px 8px;font-size:12px;color:var(--fg-3)}
.season-avg__axis{display:grid;gap:4px;min-width:0}
.season-avg__axis > div{position:relative;height:16px}
.season-avg__axis i{position:absolute;top:0;transform:translateX(-50%);font-style:normal;white-space:nowrap}
.season-avg__axis i:first-child{transform:none}
.season-avg__axis i:last-child{transform:translateX(-100%)}
.season-avg__head > span:last-child{text-align:right}
.season-avg__row{min-height:84px;padding:12px;border-radius:5px;background:var(--tile-soft,#f3f6f4)}
.season-avg__row:first-of-type{border-radius:16px 16px 5px 5px}
.season-avg__row:last-child{border-radius:5px 5px 16px 16px}
.season-avg__s{display:grid;gap:2px;min-width:0}
.season-avg__s b{font-size:16px;font-weight:560}
.season-avg__s span{font-size:12px;line-height:1.4;color:var(--fg-3)}
.season-avg__d{margin-top:2px}
.season-avg__plot{position:relative;height:48px;min-width:0}
.season-avg__grid i{position:absolute;top:0;bottom:0;border-left:1px dashed var(--dash-line)}
.season-avg__line{position:absolute;left:0;top:33px;width:var(--p);height:2px;border-radius:2px;background:var(--ink-faint)}
.season-avg__dot{position:absolute;left:var(--p);top:34px;width:12px;height:12px;margin:-6px 0 0 -6px;border-radius:50%;background:#fff;box-shadow:inset 0 0 0 2.5px var(--ink-faint)}
.season-avg__row.is-now .season-avg__line{background:var(--ink)}
.season-avg__row.is-now .season-avg__dot{box-shadow:inset 0 0 0 2.5px var(--ink)}
.season-avg__v{position:absolute;left:var(--p);top:2px;transform:translateX(-50%);font-size:14px;font-weight:600;white-space:nowrap}
.season-avg__v[data-align="start"]{transform:none}
.season-avg__v[data-align="end"]{transform:translateX(-100%)}
.season-avg__none{position:absolute;left:0;right:0;top:14px;font-size:13px;color:var(--fg-3)}
.season-avg__n{display:grid;justify-items:end;gap:2px;text-align:right}
.season-avg__n b{font-size:16px;font-weight:560}
.season-avg__n small{font-size:12px;color:var(--fg-3)}
.market-notes{display:grid;gap:6px;margin-top:16px;font-size:13px;line-height:1.45;color:var(--fg-3)}
.season-avg__more{margin-top:12px}
@container season-avg (max-width:520px){
  .season-avg__head,.season-avg__row{grid-template-columns:92px minmax(0,1fr) 44px;gap:10px}
  .season-avg__axis i:nth-child(2),.season-avg__axis i:nth-child(4){display:none}
}
@container season-avg (max-width:380px){
  .season-avg__head,.season-avg__row{grid-template-columns:86px minmax(0,1fr) 38px;gap:8px}
  .season-avg__axis i:nth-child(3){display:none}
}
.price-around{display:grid;gap:10px;margin:0;padding:0;list-style:none}
.price-around__i{padding:16px 20px;border-radius:16px;background:var(--tile-soft,#f3f6f4)}
.price-around__h{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.price-around__h h5{font-size:16px;font-weight:560}
.price-around .price-around__h p{display:flex;align-items:center;gap:6px;margin-top:4px;font-size:14px}
.price-around__h small{display:block;margin-top:4px;font-size:12px;color:var(--fg-3)}
.price-around__sc{display:grid;justify-items:end;gap:4px;font-size:12px;color:var(--fg-3)}
.price-around__st{display:inline-grid;place-items:center;min-width:46px;height:30px;padding:0 10px;border-radius:8px;background:#e1e8e3;font-size:13px;font-weight:600;color:var(--ink)}
.price-around__score{font-size:15px}
.price-around__cmp{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:10px;align-items:center;margin-top:12px}
.price-around__win{display:grid;justify-items:center;gap:2px;min-width:0;padding:12px 8px;border-radius:12px;background:#fff;text-align:center}
.price-around__win span{font-size:12px;color:var(--fg-3)}
.price-around__win b{font-size:22px;font-weight:450;letter-spacing:.01em;white-space:nowrap}
.price-around__win small{font-size:12px;color:var(--fg-3)}
.price-around__chg{display:grid;justify-items:center;gap:2px;min-width:84px}
.price-around__chg .i{width:22px;height:22px;color:var(--fg-3)}
.price-around__chg b{font-size:22px;font-weight:450;letter-spacing:.01em;white-space:nowrap}
.price-around__chg span{font-size:12px;color:var(--fg-3)}
.price-around__i[data-trend="up"] .price-around__chg .i{color:var(--state-won)}
.price-around__i[data-trend="down"] .price-around__chg .i{color:var(--state-fail)}
.price-around__empty{padding:30px 12px}
.price-around__empty .empty__icon{background:var(--tile-soft,#f3f6f4)}
.price-around__empty .empty__text{max-width:40ch}
/* ---------- 6 · recent transactions ---------- */
.sales-table{min-width:700px}
/* fits a 790-px column: the bids go under the badge, the nicknames shorten (PL-23) */
.sales-table__wrap .sales-table td{height:auto;padding:8px 10px}
.sales-table td:last-child b{font-weight:600}
.sale-cell{display:flex;align-items:center;gap:12px;min-width:0}
.sale-cell > div{display:grid;gap:2px;min-width:0}
.sale-cell b{font-size:14px;font-weight:560;white-space:nowrap}
.sale-cell span{font-size:12px;color:var(--fg-3)}
.card-img{display:block;flex:none;object-fit:contain;width:auto}
.card-ph{display:block;flex:none;border-radius:6px;background:#e1e8e3}
.sale-handle{display:inline-block;max-width:min(180px,14cqi);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:middle}
.sale-badge{display:inline-flex;align-items:center;gap:6px;height:26px;padding:0 10px;border-radius:999px;background:var(--tile-soft,#f3f6f4);font-size:12.5px;font-weight:560;white-space:nowrap}
.sale-bids{margin-left:8px;font-size:12px;color:var(--fg-3);white-space:nowrap}
.sales-list{display:none;gap:6px;margin:0;padding:0;list-style:none}
.sales-list__i{border-radius:16px;background:var(--tile-soft,#f3f6f4)}
.sales-list__i > summary{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px 12px;padding:12px 16px;cursor:pointer;list-style:none}
.sales-list__i > summary::-webkit-details-marker{display:none}
.sales-list__p{font-size:16px;font-weight:600;text-align:right;white-space:nowrap}
.sales-list__i time{font-size:13px;color:var(--fg-3)}
.sales-list__more{display:inline-flex;align-items:center;justify-content:flex-end;gap:4px;min-height:32px;font-size:13px;font-weight:500}
.sales-list__more .i{width:16px;height:16px;transition:transform .2s var(--ease)}
.sales-list__i[open] .sales-list__more .i{transform:rotate(180deg)}
.sales-list__i dl{display:grid;gap:8px;margin:0;padding:2px 16px 16px}
.sales-list__i dl > div{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:14px}
.sales-list__i dt{color:var(--fg-3)}
.sales-list__i dd{margin:0;text-align:right;min-width:0;overflow-wrap:anywhere}
.pager{display:flex;align-items:center;flex-wrap:wrap;gap:10px 16px;margin-top:16px;font-size:13px;color:var(--fg-2)}
.pager > span:first-child{margin-right:auto}
.pager__rows{display:inline-flex;align-items:center;gap:8px}
/* ---------- motion (DESIGN.md §11): each chart's and list's first drawing plays once, when it comes into view (`is-first` → `is-play`, set by
   _player9.js enter(), then both go and the final state stays); later redraws do not replay; reduced motion = no class, the final state ---------- */
@media (prefers-reduced-motion:no-preference){
  /* Price history: the band and the Classic median fade in, the In Season median draws, the sales land, the scores last */
  .ds-motion .sale-chart__svg.is-first:not(.is-play) :is(.sale-band,.sale-median--os,.sale-marks,.sale-score){opacity:0}
  .ds-motion .sale-chart__svg.is-first .sale-median.is-draw{stroke-dasharray:1;stroke-dashoffset:1}
  .ds-motion .sale-chart__svg.is-play .sale-median.is-draw{animation:sale-draw 1.2s var(--ease-out) .2s forwards}
  .ds-motion .sale-chart__svg.is-play :is(.sale-band,.sale-median--os){animation:ds-in-fade .9s var(--ease-out) .15s backwards}
  .ds-motion .sale-chart__svg.is-play .sale-marks{animation:ds-in-fade .7s var(--ease-out) .5s backwards}
  .ds-motion .sale-chart__svg.is-play .sale-score{animation:ds-in-fade .6s var(--ease-out) .8s backwards}
  /* Daily volume: the bars rise from the base, left to right */
  .ds-motion .volume-bars__svg.is-first:not(.is-play) .volume-bars__g{opacity:0}
  .ds-motion .volume-bars__svg.is-play .volume-bars__g{transform-box:fill-box;transform-origin:50% 100%;animation:dist-grow .55s var(--ease-out) backwards;animation-delay:calc(.25s + min(var(--i), 60) * 14ms)}
  /* Price vs score: the quadrant and the medians, then the players from the lowest score to the highest, this player last */
  .ds-motion .price-plot__svg.is-first:not(.is-play) :is(.price-plot__quad,.price-plot__med,.price-plot__pts > g,.price-plot__top){opacity:0}
  .ds-motion .price-plot__svg.is-play :is(.price-plot__quad,.price-plot__med){animation:ds-in-fade .6s var(--ease-out) backwards}
  .ds-motion .price-plot__svg.is-play .price-plot__pts > g{transform-box:fill-box;transform-origin:center;animation:plot-pop .45s var(--ease-out) backwards;animation-delay:calc(.2s + min(var(--i), 160) * 5ms)}
  .ds-motion .price-plot__svg.is-play .price-plot__top{animation:ds-in-fade .5s var(--ease-out) 1s backwards}
  /* Follow the floor: the observations unroll from left to right, the first and the last price arrive at the end */
  .ds-motion .floor-chart__svg.is-first:not(.is-play) :is(.floor-chart__wipe,.floor-chart__end){opacity:0}
  .ds-motion .floor-chart__svg.is-play .floor-chart__wipe{animation:floor-wipe 1.4s var(--ease-out) .15s backwards}
  .ds-motion .floor-chart__svg.is-play .floor-chart__end{animation:ds-in-fade .5s var(--ease-out) 1.4s backwards}
  /* the season rows and the matches rise one after another; the sales fade in one after another */
  .ds-motion :is(.season-avg,.price-around,.sales-table__wrap,.sales-list).is-first:not(.is-play) :is(.season-avg__row,.price-around__i,tbody tr,.sales-list > li){opacity:0}
  .ds-motion :is(.season-avg.is-play .season-avg__row,.price-around.is-play .price-around__i){animation:fixture-rise .5s var(--ease-out) backwards;animation-delay:calc(.1s + var(--i) * 90ms)}
  .ds-motion :is(.sales-table__wrap.is-play tbody tr,.sales-list.is-play > li){animation:ds-in-fade .45s var(--ease-out) backwards;animation-delay:calc(.05s + var(--i) * 45ms)}
  .sale-tip{animation:ds-in-fade .16s var(--ease-out)}
}
@keyframes sale-draw{to{stroke-dashoffset:0}}
@keyframes ds-in-fade{from{opacity:0}}
@keyframes plot-pop{from{opacity:0;transform:scale(.3)}}
@keyframes floor-wipe{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 0 0 0)}}
/* ---------- touch: 44-px targets (PF-05) ---------- */
@media (pointer:coarse){
  .sale-type,.layer-switch,.price-plot__pbtn,.sales-list__more,.sale-legend__i,.sale-legend .sale-chart__band > summary,.price-plot__legend span{min-height:44px}
  .range-brush{--tw:28px}
  .range-brush__t{height:44px}
  .range-brush__in::-webkit-slider-thumb{height:44px}
  .range-brush__in::-moz-range-thumb{height:44px}
}
/* ---------- compact (iPhone) — one column, sentences ≥ 15 px (MK-I3 B), fields ≥ 16 px ---------- */
@media (max-width:599px){
  .market-note,.market-status,.market-notes,.price-plot__note,.plot-readout__note,.market-scope,.alert-form__fb,.market-loading,.market-error p,.market-errline,.market-empty span,.floor-chart__empty > span,.sale-chart__hint,.plot-readout__signal,.price-around__empty .empty__text,.price-ruler__empty,.alert-form__freq,.price-plot__bench > span:only-child,.season-avg__none,.market-empty span{font-size:15px}
  .market-chips{justify-content:flex-start}
  .price-plot__sum{font-size:13px}
  .alert-form__field input{font-size:18px}
  .alert-list__i{flex-wrap:wrap}
}
.price-around-card{container:price-around-c / inline-size}
@media (min-width:600px){
  /* In Season or Classic? as two rows — the season, then its liquidity — when the cockpit's Card market says the prices (PL-23) */
  .season-compare--rows .season-compare__cols{grid-template-columns:minmax(0,1fr);gap:2px}
  .season-compare--rows .season-compare__col{grid-template-columns:minmax(110px,.7fr) minmax(0,2fr);align-items:center;gap:16px;padding:14px 20px;border-radius:5px}
  .season-compare--rows .season-compare__col:first-child{border-radius:16px 16px 5px 5px}
  .season-compare--rows .season-compare__col:last-child{border-radius:5px 5px 16px 16px}
  .season-compare--rows .season-compare__liqh{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .season-compare--rows .season-compare__liq dl{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto}
  .season-compare--rows .season-compare__liq dl > div:last-child{grid-column:auto}
}
@container price-around-c (min-width:540px){
  /* one row per match when the card is wide (PL-23) */
  .price-around__i{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.6fr);align-items:center;gap:20px}
  .price-around__cmp{margin-top:0}
}

/* ---------- the player page · Advanced Data [V] PL-24 + PL-Q13 (user, 2026-10-17: « Ok pour tes cinq recommandations (sous-onglets, doublons retirés,
   zones en gris, méthodologie sur place, barres couchées sur iPhone). Ensuite inscris Advanced Data dans le design system. »; DECISIONS §C13) — the tab's
   visual pieces; the page's layout (Prism's four sub-tabs and their grids, the shared filters, the states' frame, the engine's section widths, the options
   left as switches, the methodology button and window as pf- / mt-) stays in explorations/_player10.css (ad-). Reference build: explorations/PL-10-advanced.html.
   .aa-chip · .aa-num · .aa-fig · .aa-vu · .pct-fig · .cmp-val · .cmp-diff   signed AA points: a tinted chip (green / red only when non-zero once rounded),
                                     the plain signed figure, the 22-px figure (.kpi's role); a 22-px score is .score-ink, .score-lg only from 24 px
   .data-note(s) · .data-notice · .data-none · .insight-box · .micro-label · .chart-head · .sub-head · .team-tag · .data-readout · .zone-pill · .check-line ·
   .row-link · .turn-chev · .card-tools · .chart-legend + .key-*   shared words (group labels in sentence case), readouts (a tint with the inspected item),
                                     toggles and chart keys
   .chart-svg (+ .chart-tick .chart-ax .chart-grid .chart-axis .chart-med .chart-hit)   an svg sized to its container; grid and axes grey, medians dashed
   .radar-wrap + .radar-*            the fingerprint's radar: rings, spokes, the peer median dashed grey, this player's shape in ink; in Compare .radar-ser
                                     data-s 0 green solid / 1 blue dashed (series 1 / 2, as Market's seasons)
   .fingerprint · .dim-row · .pct-ruler · .read-bar · .csv-bar   the dimension table (a selected row white and lifted on its tint), the percentile ruler,
                                     the inspected dimension's line with « Open detailed stats », the source + CSV line
   .aa-change(-card)                 How his AA profile has changed: previous season grey, current ink, the change chip; beside the identity the rows share
                                     the card's height and the net total sits at the bottom (Prism)
   .id-map · .scatter-* · .zone-key · .zone-ref · .decisive-impact   Current scoring identity: peers grey, named peers darker, this player in ink, the four
                                     zones in neutral greys named in their corners (PL-Q13 Q3 a), the medians; Decisive impact's three figures side by side,
                                     stacked under a 400-px side (container id-side)
   .aa-tiles · .aa-tile · .aa-flow · .aa-net   Where the AA points come from: gains / bonuses / deductions and the running total by action (gain green, loss red)
   .match-data · .match-detail · .match-table · .match-date · .table-scroll · .act-chip · .outcome-line   the matches behind the charts, a match's details
   .stat-browser · .stat-acc · .stat-list · .stat-row · .stat-ruler · .pct-scale · .stat-back · .stat-insp · .insp-sec · .peer-plot-* · .match-bar · .swap-in
                                     Stats: the catalogue's categories (Expand all), a stat's row and percentile, the sticky inspector (below it under 1 000 px
                                     with « Back to stats »), the peers' dot plot, match-by-match bars (green / red / grey by impact)
   .spread-* · .sample-line · .kv-tiles · .rate-block · .hit-rates · .hit-rate · .thr-chip   Consistency: the spread (one dot per match on the score ramp, the
                                     P20–P80 band, the inspected match), target hit rates on the chance ramp (the chosen threshold white and lifted)
   .band-dist · .band-matches · .band-panel   Score distribution: 10-point bands on the score ramp, DNP grey, each count beside its bar (fades in once the bar
                                     has grown); in a narrow section lying bars, one 44-px row per band (PL-Q13 Q5 — the page's container rule); a band opens
                                     its matches, then a match
   .range-map · .range-insp · .range-foot · .range-table   Floor & ceiling: the peers' P20 × P80 map, its zones in neutral greys, the inspected player; the
                                     methodology stays in place under the chart with the linked table and the CSV (PL-Q13 Q4)
   .contrib · .mini-range · .mini-svg · .contrib-table   Reliable contributions: one tile per category with its typical range and median
   .cmp-pick · .cmp-scope · .cmp-empty · .cmp-ids · .cmp-id · .cmp-dim · .series-dot · .series-name · .key-diffs · .sample-warn · .axis-val · .seg-fill ·
   .target-hits · .target-hit · .diff-bars · .range-rows · .stat-table · .target-table   Compare: the picker and its scope line, the two identities, key
                                     differences, the small-sample warning (the « at risk » tint), score targets, where the difference comes from, floor /
                                     median / ceiling
   motion: bars grow from zero (bar-grow-x / -y), the radar's shapes settle (shape-pop), the inspector and the contributions fade in (fade-soft); once, in view
   ---------- */
@keyframes fade-soft{from{opacity:.45}to{opacity:1}}
.card-tools{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px;margin:-4px 0 14px}
.card-tools--start{justify-content:flex-start}
.card-tools--inline{margin:0}
.card-tools__l{margin-right:auto;min-width:0;max-width:100%}
.data-note{font-size:13px;line-height:1.5;color:var(--fg-3)}
.data-note + .data-note{margin-top:4px}
.data-notes{display:grid;gap:4px;margin-top:14px}
.stat-browser__cat .data-notice{margin:6px 0 10px;padding:12px 14px;border-radius:12px;background:var(--tile-soft,#f3f6f4);font-size:14px;line-height:1.45}
.data-none{padding:4px 0}
.insight-box{display:grid;gap:6px;margin-top:12px;padding:12px 14px;border-radius:12px;background:var(--tile-soft,#f3f6f4);font-size:14px;line-height:1.5}
.insight-box__t{font-size:15px;font-weight:600}
.micro-label{font-size:12px;color:var(--fg-3)}
.chart-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:8px}
.chart-head h4{font-size:15px;font-weight:600}
.chart-head span{font-size:12px;color:var(--fg-3)}
.sub-head h3{font-size:18px;font-weight:560;letter-spacing:-.01em}
.card .sub-head p{margin-top:2px;font-size:13px;color:var(--fg-3)}
.sub-head p b{color:var(--ink);font-weight:600}
.team-tag{display:inline-flex;align-items:center;gap:6px;min-width:0;max-width:100%;vertical-align:middle}
.team-tag > span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.data-readout{display:grid;gap:4px;margin-top:12px;padding:14px 16px;border-radius:16px;background:var(--tile-soft,#f3f6f4);font-size:14px;line-height:1.45}
.data-readout__h{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 10px}
.data-readout__h b{font-size:15px;font-weight:600;min-width:0}
.data-readout__h > span{font-size:13px;color:var(--fg-3)}
.zone-pill{display:inline-flex;align-items:center;gap:6px;height:24px;padding:0 10px;border-radius:999px;background:#fff;font-size:12px;font-weight:560;color:var(--ink);white-space:nowrap}
.zone-pill small{font-size:12px;font-weight:500;color:var(--fg-3)}
.zone-pill small::before{content:"·";margin-right:6px}
.check-line{display:inline-flex;align-items:center;gap:10px;min-height:44px;font-size:14px;color:var(--ink);cursor:pointer}
.row-link{min-height:36px;padding:0;border:0;background:none;font:inherit;font-weight:560;color:var(--ink);text-align:left;cursor:pointer;text-decoration:underline;text-decoration-color:#c7cdca;text-underline-offset:3px}
.row-link[aria-pressed="true"]{text-decoration-color:var(--ink)}
.turn-chev{width:16px;height:16px;margin-left:2px;transition:transform .18s var(--ease,ease)}
[aria-expanded="true"] > .turn-chev{transform:rotate(180deg)}
.aa-chip{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:22px;padding:0 7px;border-radius:6px;background:var(--tile-soft,#f3f6f4);color:var(--ink);
  font-size:12.5px;font-weight:600;line-height:1;font-variant-numeric:tabular-nums;white-space:nowrap;vertical-align:middle}
.card--white .data-readout .aa-chip,.dim-row .aa-chip,.stat-row .aa-chip,.aa-tile .aa-chip,.contrib .aa-chip,.decisive-impact .aa-chip{background:#fff}
.aa-chip[data-sign="pos"]{background:var(--state-won-tint);color:var(--state-won)}
.aa-chip[data-sign="neg"]{background:var(--state-fail-tint);color:var(--state-fail)}
.aa-chip[data-sign="na"]{color:var(--fg-3)}
.aa-num{font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}
.aa-num[data-sign="pos"]{color:var(--green-text)}
.aa-num[data-sign="neg"]{color:var(--red-text)}
.aa-fig{font-size:22px;font-weight:420;letter-spacing:.02em;line-height:1.1;font-variant-numeric:tabular-nums;color:var(--ink);white-space:nowrap}
.aa-fig.is-c[data-sign="pos"]{color:var(--green)}
.aa-fig.is-c[data-sign="neg"]{color:var(--state-fail)}
.aa-vu{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.pct-fig{font-weight:600;font-variant-numeric:tabular-nums}
.cmp-val{font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}
.cmp-diff{font-size:15px;font-weight:600;font-variant-numeric:tabular-nums}
/* ---------- charts (svg sized to their container; the svg keeps focus while it redraws) ---------- */
.chart-svg{display:block;max-width:100%;overflow:visible;font-family:var(--font);-webkit-tap-highlight-color:transparent}
.chart-svg[tabindex]:focus-visible{outline:2px solid var(--fg,#121313);outline-offset:4px;border-radius:8px}
.chart-svg text{font-size:12px;fill:var(--fg-3)}
.chart-svg .chart-tick{font-size:12px;fill:var(--fg-3);font-variant-numeric:tabular-nums}
.chart-svg .chart-ax{font-size:12px;fill:var(--fg-3)}
.chart-grid{stroke:var(--grid-line);stroke-width:1}
.chart-grid.is-dash{stroke-dasharray:3 5}
.chart-grid.is-soft{opacity:.75}
.chart-axis{fill:none;stroke:#b9c0bc;stroke-width:1}
.chart-med{stroke:#8a8f8d;stroke-width:1.2;stroke-dasharray:5 4}
.chart-hit{fill:transparent;cursor:pointer}
.scatter-svg,.radar-wrap svg{cursor:crosshair}
.scatter-wrap,.radar-wrap,.spread-wrap,.cmp-radar{min-width:0;width:100%}
.chart-legend{display:flex;flex-wrap:wrap;margin-top:10px;gap:6px 16px;font-size:12px;color:var(--fg-2)}
.chart-legend span{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.chart-legend i{width:10px;height:10px;border-radius:50%;flex:none}
.chart-legend > span{gap:7px}
.chart-legend small{font-size:12px;color:var(--fg-3)}
.chart-legend i{flex:none}
.key-target{width:12px;height:12px;border-radius:50%;background:var(--ink);box-shadow:0 0 0 3px rgba(18,19,19,.14)}
.key-peer{width:8px;height:8px;border-radius:50%;background:#a3aba7}
.key-named{width:9px;height:9px;border-radius:50%;background:#5b605d}
.key-early{width:9px;height:9px;border-radius:50%;background:#fff;box-shadow:inset 0 0 0 1.5px #8a8f8d}
.key-shape{width:14px!important;height:10px!important;border-radius:3px!important;background:rgba(18,19,19,.08)!important;box-shadow:inset 0 0 0 2px var(--ink)}
.key-med{width:16px!important;height:0!important;border-radius:0!important;border-top:1.5px dashed #8a8f8d}
.key-fill{background:#539a7c}
.key-out{background:#fff;box-shadow:inset 0 0 0 1.5px #539a7c}
.key-imp[data-impact="positive"]{background:var(--green)}
.key-imp[data-impact="negative"]{background:var(--state-fail)}
.key-imp[data-impact="neutral"]{background:#a3aba7}
/* ---------- PROFILE · Scoring fingerprint (D5) ---------- */
.fingerprint__grid{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.3fr);gap:24px;align-items:center}
.fingerprint__radar{display:grid;gap:8px;justify-items:center;min-width:0}
.fingerprint__radar > .data-note{justify-self:stretch;text-align:center}
.radar-ring{fill:none;stroke:var(--grid-line)}
.radar-med{fill:none;stroke:#8a8f8d;stroke-width:1.2;stroke-dasharray:4 4}
.radar-spoke{stroke:var(--grid-line)}
.radar-shape{fill:rgba(18,19,19,.07);stroke:var(--ink);stroke-width:2;stroke-linejoin:round}
.radar-dot{fill:var(--ink)}
.radar-sel{fill:none;stroke:var(--ink);stroke-width:1.5}
.chart-svg .radar-lab{font-size:13px;font-weight:560;fill:var(--ink);cursor:pointer}
.chart-svg .radar-lab.is-sel{font-weight:600;text-decoration:underline;text-underline-offset:3px}
.chart-svg .radar-pc{font-size:12px;font-weight:450;fill:var(--fg-3);text-decoration:none}
.fingerprint__dims{display:grid;gap:2px;min-width:0}
.dim-row{display:grid;grid-template-columns:minmax(110px,1.4fr) minmax(90px,1fr) minmax(80px,.9fr) 76px;gap:12px;align-items:center;width:100%;min-height:58px;padding:10px 14px;
  border:0;border-radius:12px;background:var(--tile-soft,#f3f6f4);color:var(--ink);font:inherit;font-size:14px;text-align:left;cursor:pointer;transition:background .12s}
.dim-row[aria-pressed="true"]{background:#fff;box-shadow:0 8px 20px rgba(24,40,32,.08)}
.dim-row--head{min-height:0;padding-block:0 4px;background:none;cursor:default;font-size:12px;color:var(--fg-3)}
.dim-row--head:hover{background:none}
.dim-row__l{display:grid;gap:2px;min-width:0}
.dim-row__l b{font-size:14px;font-weight:600}
.dim-row__l small{font-size:12px;color:var(--fg-3)}
.dim-row__v{display:grid;gap:3px;justify-items:start;min-width:0}
.dim-row__v small{font-size:12px;color:var(--fg-3)}
.dim-row__r{display:grid;gap:6px}
.dim-row__r b{font-size:18px;font-weight:500;font-variant-numeric:tabular-nums;text-align:right}
.pct-ruler{position:relative;display:block;height:6px;border-radius:3px;background:#dfe5e1}
.dim-row[aria-pressed="true"] .pct-ruler{background:#e6ece8}
.pct-ruler__m{position:absolute;left:50%;top:-3px;bottom:-3px;width:1.5px;background:#8a8f8d}
.pct-ruler__d{position:absolute;top:50%;width:10px;height:10px;margin:-5px 0 0 -5px;border-radius:50%;background:var(--ink)}
.read-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:20px;padding:16px 18px;border-radius:16px;background:var(--tile-soft,#f3f6f4)}
.read-bar__t{display:grid;gap:4px;min-width:0;font-size:14px;line-height:1.55}
.read-bar__t > b{font-size:15px;font-weight:600}
.read-bar .btn{flex:none}
.csv-bar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px 16px;padding:12px 14px;border-radius:12px;background:var(--tile-soft,#f3f6f4)}
.csv-bar p{flex:1 1 300px;font-size:12px;line-height:1.45;color:var(--fg-3)}
/* ---------- PROFILE · How his AA profile has changed (D6) ---------- */
.aa-change__lg{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}
.aa-change__lgi{display:flex;align-items:center;gap:10px;padding:10px 14px;border-radius:14px;background:var(--tile-soft,#f3f6f4)}
.aa-change__lgi i{width:12px;height:12px;border-radius:3px;background:#c9d1cc}
.aa-change__lgi.is-cur i{background:var(--ink)}
.aa-change__lgi b{display:block;font-size:14px;font-weight:560}
.aa-change__lgi small{font-size:12px;color:var(--fg-3)}
.aa-change{display:grid;gap:2px}
.aa-change__row{display:grid;grid-template-columns:132px minmax(0,1fr) 76px;gap:16px;align-items:center;min-height:60px;padding:6px 10px;border:0;border-radius:12px;background:none;
  font:inherit;color:var(--ink);text-align:left;cursor:pointer;transition:background .12s}
.aa-change__row[aria-pressed="true"]{background:var(--tile-soft,#f3f6f4)}
.aa-change__row--head{min-height:22px;padding-block:0;cursor:default}
.aa-change__row--head:hover{background:none}
.aa-change__ticks{position:relative;height:16px}
.aa-change__ticks > span{position:absolute;top:0;transform:translateX(-50%);font-size:12px;color:var(--fg-3);font-variant-numeric:tabular-nums}
.aa-change__ch{justify-self:end;display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--fg-3)}
.aa-change__row .aa-change__ch small{display:none;font-size:12px}
.aa-change__lab{font-size:14px;font-weight:560}
.aa-change__track{position:relative;display:grid;gap:8px;padding:5px 0}
.aa-change__track > i{position:absolute;top:-6px;bottom:-6px;width:0;border-left:1px dashed var(--grid-line)}
.aa-change__track > i.is-zero{border-left:1.5px solid #9aa29e}
.aa-change__bar{position:relative;display:block;height:12px}
.aa-change__bar > b{position:absolute;top:0;height:12px;border-radius:2px;background:#c9d1cc}
.aa-change__bar.is-cur > b{background:var(--ink)}
.aa-change__pill{position:absolute;top:50%;transform:translateY(-50%);display:flex}
.aa-change__pill .aa-chip{height:20px;min-width:34px;font-size:12px}
.aa-change-card .aa-change__read{margin-top:10px;font-size:13px;line-height:1.5;color:var(--fg-2)}
.aa-change__total{display:grid;grid-template-columns:1fr auto 76px;align-items:center;gap:12px 20px;margin-top:14px;padding:16px 18px;border-radius:16px;background:var(--tile-soft,#f3f6f4)}
.aa-change__total > b{font-size:14px;font-weight:600}
.aa-change__tv{display:inline-flex;align-items:baseline;gap:12px;color:var(--fg-3)}
.aa-change__delta{justify-self:end}
.aa-change-card{display:flex;flex-direction:column}
.aa-change-card .aa-change{flex:1 0 auto;grid-template-rows:auto;grid-auto-rows:1fr}
.aa-change-card .aa-change__row:not(.aa-change__row--head){align-items:stretch}
.aa-change-card .aa-change__row > .aa-change__lab,.aa-change-card .aa-change__row > .aa-change__ch{align-self:center}
.aa-change-card .aa-change__track{align-content:center}
.aa-change-card .aa-change__track > i{top:-8px;bottom:-8px}
/* ---------- PROFILE · Current scoring identity (D7) + Decisive impact (D8) ---------- */
.id-map__grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(300px,1fr);gap:24px;align-items:start}
.id-map__main{min-width:0}
.id-map__side{display:grid;gap:12px;min-width:0;container-type:inline-size;container-name:id-side}
.scatter-bg{fill:#fff}
.scatter-bg.is-mist{fill:#f4f7f5}
.scatter-zone[data-zone="both"]{fill:#e3ece6}
.scatter-zone[data-zone="decisive"],.scatter-zone[data-zone="aa"],.scatter-zone[data-zone="ceiling"],.scatter-zone[data-zone="floor"]{fill:#f0f4f1}
.scatter-zone[data-zone="below"]{fill:#fbfcfb}
.chart-svg .scatter-zcap{font-size:12px;font-weight:560;fill:var(--fg-2)}
.scatter-dot{fill:#a3aba7;stroke:#a3aba7;stroke-width:1.2;opacity:.85}
.scatter-dot.is-early{fill:#fff}
.scatter-dot.is-named{fill:#5b605d;stroke:#5b605d;stroke-width:2;opacity:1}
.scatter-dot.is-cur,.scatter-dot.is-target{fill:var(--ink);stroke:var(--ink);stroke-width:2;opacity:1}
.scatter-dot.is-early.is-named,.scatter-dot.is-early.is-cur,.scatter-dot.is-early.is-target{fill:#fff}
.scatter-halo{fill:rgba(18,19,19,.10)}
.scatter-ring{fill:#fff;stroke:var(--ink);stroke-width:.8}
.scatter-selring{fill:none;stroke:var(--ink);stroke-width:1.5}
.scatter-guide path{fill:none;stroke:#5b605d;stroke-width:1.1;stroke-dasharray:2 4}
.scatter-guide rect{fill:#5b605d}
.scatter-guide.is-target path{stroke:var(--ink)}
.scatter-guide.is-target rect{fill:var(--ink)}
.chart-svg .scatter-guide text{fill:#fff;font-weight:600;font-variant-numeric:tabular-nums}
.scatter-fguide{fill:none;stroke:var(--ink);stroke-width:1.1;stroke-dasharray:2 4}
.scatter-lbl line{stroke:#8a8f8d;stroke-width:1}
.scatter-lbl rect{fill:#fff;stroke:#c7cdca;stroke-width:1}
.chart-svg .scatter-lbl text{font-size:12px;font-weight:560;fill:var(--ink)}
.scatter-lbl.is-target rect,.scatter-lbl.is-cur rect{stroke:var(--ink);stroke-width:1.5}
.zone-key{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 14px;margin:10px 0 0;font-size:12px;color:var(--fg-2)}
.zone-key span{display:flex;align-items:center;gap:8px}
.zone-key i{width:16px;height:10px;border-radius:3px;flex:none;box-shadow:inset 0 0 0 1px #d5ddd8}
.zone-key [data-zone="both"] i{background:#e3ece6}
.zone-key [data-zone="decisive"] i,.zone-key [data-zone="aa"] i{background:#f0f4f1}
.zone-key [data-zone="below"] i{background:#fbfcfb}
.zone-key + .zone-ref{display:flex;justify-content:space-between;flex-wrap:wrap;gap:4px 12px;margin-top:8px;font-size:12px;color:var(--fg-3)}
.decisive-impact{padding:16px 18px;border-radius:16px;background:var(--tile-soft,#f3f6f4)}
.decisive-impact__h{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 10px}
.decisive-impact__h h4{font-size:15px;font-weight:600}
.decisive-impact__h h4 span{font-weight:450;color:var(--fg-3)}
.decisive-impact__m{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px;margin:12px 0 0}
.decisive-impact__m > div{display:grid;align-content:start;gap:4px;min-width:0;padding:12px;background:#fff}
.decisive-impact__m > div:first-child{border-radius:12px 4px 4px 12px}
.decisive-impact__m > div:last-child{border-radius:4px 12px 12px 4px}
.decisive-impact__m dt{font-size:12px;line-height:1.35;color:var(--fg-3)}
.decisive-impact__m dd{margin:0}
.decisive-impact__v{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px}
.decisive-impact__v .score-ink,.decisive-impact__v .decisive-impact__pc{font-size:22px;font-weight:420;font-variant-numeric:tabular-nums}
.decisive-impact__c{font-size:12px;color:var(--fg-3)}
.decisive-impact > .data-note{margin-top:8px}
.decisive-impact__flag{font-size:12px;color:var(--fg-3);white-space:nowrap}
@container id-side (max-width:400px){
  .decisive-impact__m{grid-template-columns:minmax(0,1fr)}
  .decisive-impact__m > div,.decisive-impact__m > div:first-child,.decisive-impact__m > div:last-child{border-radius:6px}
  .decisive-impact__m > div{grid-template-columns:minmax(0,1fr) auto;align-items:center}
  .decisive-impact__m dt{grid-column:1}
  .decisive-impact__v{grid-column:2;grid-row:1 / span 2}
  .decisive-impact__c{grid-column:1}
}
/* ---------- PROFILE · Where the AA points come from (D9) + match data (D10) ---------- */
.aa-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px;margin-bottom:18px}
.aa-tile{display:grid;align-content:start;gap:6px;min-height:84px;padding:16px 20px;border:0;background:var(--tile-soft,#f3f6f4);font:inherit;color:var(--ink);text-align:left;cursor:pointer;transition:background .12s}
.aa-tile:first-child{border-radius:16px 5px 5px 16px}
.aa-tile:last-child{border-radius:5px 16px 16px 5px}
.aa-tile > span{font-size:13px;color:var(--fg-3)}
.aa-flow{--cat:150px;--lab:220px;--pts:64px;display:grid;min-width:0}
.aa-flow__head,.aa-flow__g{display:grid;grid-template-columns:var(--cat) minmax(0,1fr);column-gap:16px}
.aa-flow__head{align-items:end;padding-bottom:8px;font-size:12px;color:var(--fg-3)}
.aa-flow__hrow{display:grid;grid-template-columns:var(--lab) minmax(0,1fr) var(--pts);column-gap:16px;align-items:end}
.aa-flow__axis{position:relative;min-height:36px;text-align:center}
.aa-flow__axis > small{position:absolute;bottom:0;transform:translateX(-50%);font-size:12px;font-variant-numeric:tabular-nums}
.aa-flow__hpts{text-align:right}
.aa-flow__g{padding:10px 0}
.aa-flow__g + .aa-flow__g{box-shadow:inset 0 1px 0 var(--grid-line)}
.aa-flow__cat{position:relative;display:flex;flex-direction:column;justify-content:center;gap:4px;min-width:0;padding-right:16px}
.aa-flow__cat b{font-size:14px;font-weight:600}
.aa-flow__cat > span{font-size:12px;color:var(--fg-3)}
.aa-flow__cat > i{position:absolute;right:0;top:6px;bottom:6px;width:6px;border:1px solid #b9c0bc;border-right:0;border-radius:3px 0 0 3px}
.aa-flow__rows{display:grid;gap:2px;min-width:0}
.aa-flow__row{display:grid;grid-template-columns:var(--lab) minmax(0,1fr) var(--pts);column-gap:16px;align-items:center;min-height:40px;padding:0 6px;border:0;border-radius:10px;background:none;
  font:inherit;font-size:14px;color:var(--ink);text-align:left;cursor:pointer;transition:background .12s}
.aa-flow__row > .aa-num{justify-self:end}
.aa-flow__lab{display:grid;gap:2px;min-width:0;padding:6px 0;overflow-wrap:anywhere}
.aa-flow__lab em{justify-self:start;margin-top:2px;padding:1px 7px;border-radius:999px;background:var(--state-won-tint);color:var(--state-won);font-size:12.5px;font-style:normal;font-weight:560}
.aa-flow__lab small{font-size:12px;color:var(--fg-3)}
.aa-flow__track{position:relative;display:block;height:26px}
.aa-flow__track > em{position:absolute;top:0;bottom:0;border-left:1px dashed var(--grid-line)}
.aa-flow__track > em.is-zero{border-left:1.5px solid #9aa29e}
.aa-flow__track > i{position:absolute;top:3px;bottom:3px;border-left:1px solid #b9c0bc}
.aa-flow__track > b{position:absolute;top:6px;height:14px;border-radius:3px;background:var(--green)}
.aa-flow__row[data-kind="losses"] .aa-flow__track > b{background:var(--state-fail)}
.aa-flow__row[data-kind="bonuses"] .aa-flow__track > b{background:var(--green);opacity:.55}
.aa-flow__row[data-kind="rounding"] .aa-flow__track > b,.aa-flow__track > b[data-zero]{min-width:2px;background:#a3aba7}
.aa-net{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:16px 0 8px;padding:12px 12px 12px 18px;border-radius:16px;background:var(--tile-soft,#f3f6f4)}
.aa-net > span{display:grid;gap:2px;font-size:14px;font-weight:600}
.aa-net small{font-size:12px;font-weight:400;color:var(--fg-3)}
.aa-net button{min-height:48px;padding:2px 16px;border:0;border-radius:12px;background:#fff;font:inherit;cursor:pointer}
.match-data{scroll-margin-top:110px}
.match-data__ctl{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px 24px}
.table-scroll{max-height:400px;overflow:auto;border-radius:12px;background:#fff}
.table-scroll thead th{position:sticky;top:0;z-index:1;background:#fff}
.match-table{min-width:650px}
.match-table th[scope="row"],.contrib-table th[scope="row"]{font-weight:500;white-space:nowrap}
.match-table td,.contrib-table td{white-space:nowrap}
.match-date{display:block;font-size:14px;font-weight:560}
.match-table .team-tag,.contrib-table .team-tag{font-size:12px;color:var(--fg-3);max-width:220px}
/* ---------- STATS (D12–D16) ---------- */
.stat-browser__cols{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:24px;align-items:start}
.stat-browser__h{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:12px 16px;margin-bottom:14px}
.stat-browser__cat{min-width:0}
.stat-acc + .stat-acc{margin-top:4px}
.stat-acc h4{margin:0}
.stat-acc__h{display:flex;align-items:center;gap:10px;width:100%;min-height:52px;padding:0 16px;border:0;border-radius:12px;background:var(--tile-soft,#f3f6f4);font:inherit;color:var(--ink);text-align:left;cursor:pointer;transition:background .12s}
.stat-acc__l{font-size:15px;font-weight:560}
.stat-acc__h small{margin-left:auto;font-size:12px;color:var(--fg-3)}
.stat-acc__chev{width:16px;height:16px;flex:none;transition:transform .26s var(--ease,ease)}
.stat-acc__h[aria-expanded="true"] .stat-acc__chev{transform:rotate(180deg)}
.stat-acc__b{display:grid;grid-template-rows:0fr;transition:grid-template-rows .26s var(--ease,ease)}
.stat-acc__b[data-open="true"]{grid-template-rows:1fr}
.stat-acc__in{min-height:0;overflow:hidden}
.pct-scale{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:10px 14px 2px;font-size:12px;color:var(--fg-3)}
.pct-scale span:nth-child(2){text-align:center}
.pct-scale span:last-child{text-align:right}
.stat-list{display:grid;gap:2px;margin:0;padding:4px 0 10px;list-style:none}
.stat-row{display:grid;grid-template-columns:minmax(0,1fr) 104px;gap:6px 16px;width:100%;padding:12px 14px;border:0;border-radius:12px;background:none;font:inherit;color:var(--ink);text-align:left;cursor:pointer;transition:background .12s}
.stat-row[aria-pressed="true"]{background:var(--tile-soft,#f3f6f4)}
.stat-row__top{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:4px 14px;min-width:0}
.stat-row__top > b{font-size:14px;font-weight:600}
.stat-row__vals{display:flex;flex-wrap:wrap;gap:4px 14px;font-size:14px;font-variant-numeric:tabular-nums}
.stat-row__vals small{font-size:12px;color:var(--fg-3)}
.stat-row__meta{display:flex;flex-wrap:wrap;gap:2px 12px;font-size:12px;color:var(--fg-3)}
.stat-row__badge{grid-column:2;grid-row:1 / span 3;display:grid;justify-items:end;align-content:center;gap:4px}
.stat-row__badge small{font-size:12px;color:var(--fg-3)}
.stat-ruler{position:relative;display:block;height:6px;margin:6px 0 2px;border-radius:3px;background:#dfe5e1}
.stat-ruler__m{position:absolute;left:50%;top:-3px;bottom:-3px;width:1.5px;background:#8a8f8d}
.stat-ruler__d{position:absolute;left:var(--p);top:50%;width:10px;height:10px;margin:-5px 0 0 -5px;border-radius:50%;background:var(--ink)}
.stat-browser__insp{position:sticky;top:96px;display:grid;gap:14px;min-width:0;padding:20px;border-radius:18px;background:var(--tile-soft,#f3f6f4);scroll-margin-top:110px}
.stat-browser__insp:focus{outline:none}
.stat-browser__insp.swap-in{animation:fade-soft .18s var(--ease-out,ease-out)}
.stat-back{display:none;justify-self:start}
.stat-browser__insp .stat-insp__h h3{margin-top:4px;font-size:22px;font-weight:500;letter-spacing:-.02em}
.stat-browser__insp .stat-insp__h p{margin-top:2px;font-size:13px;color:var(--fg-3)}
.stat-insp__m{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px}
.stat-insp__m > div{display:grid;align-content:start;justify-items:start;gap:6px;min-width:0;padding:12px 14px;background:#fff}
.stat-insp__m > div:first-child{border-radius:14px 4px 4px 14px}
.stat-insp__m > div:last-child{border-radius:4px 14px 14px 4px}
.stat-insp__v{display:flex;align-items:center;min-height:34px}
.stat-insp__m b{font-size:22px;font-weight:420;letter-spacing:.02em;line-height:1.1;font-variant-numeric:tabular-nums}
.stat-insp__l{font-size:12px;color:var(--fg-3)}
.insp-sec{padding:14px 16px;border-radius:14px;background:#fff;min-width:0}
.insp-sec .data-readout{background:var(--tile-soft,#f3f6f4)}
.chart-svg .peer-plot-lab{font-size:12px;fill:var(--fg-3)}
.chart-svg .peer-plot-lab.is-cur{font-weight:600;fill:var(--ink)}
.peer-plot-dot{fill:#a3aba7}
.peer-plot-dot.is-early{fill:#fff;stroke:#a3aba7;stroke-width:1.2}
.peer-plot-dot.is-target{fill:var(--ink)}
.peer-plot-cur{fill:#5b605d;stroke:#fff;stroke-width:2}
.peer-plot-cur.is-target{fill:var(--ink)}
.peer-plot-cur.is-early{fill:#fff;stroke:#5b605d}
.peer-plot-line{stroke:#8a8f8d;stroke-width:1;stroke-dasharray:2 3}
.match-bar__read b{font-weight:560;display:flex;flex-wrap:wrap;align-items:center;gap:4px}
.match-bar__frame{display:grid;grid-template-columns:30px minmax(0,1fr);gap:4px;margin-top:10px}
.match-bar__scale{position:relative}
.match-bar__scale span{position:absolute;right:2px;transform:translateY(-50%);font-size:12px;color:var(--fg-3);font-variant-numeric:tabular-nums}
.match-bar__scroll{overflow-x:auto;padding-bottom:6px}
.match-bar__bars{display:grid;gap:4px;min-width:100%}
.match-bar{display:grid;justify-items:center;align-content:start;gap:3px;min-width:0;padding:0 0 8px;border:0;border-radius:10px;background:none;font:inherit;color:var(--ink);cursor:pointer}
.match-bar[aria-pressed="true"]{background:var(--tile-soft,#f3f6f4)}
.match-bar__plot{position:relative;display:block;width:100%;height:178px}
.match-bar__bar{position:absolute;bottom:0;left:50%;width:22px;margin-left:-11px;border-radius:4px 4px 0 0;background:#a3aba7;transform-origin:bottom}
.match-bar[data-impact="positive"] .match-bar__bar{background:var(--green)}
.match-bar[data-impact="negative"] .match-bar__bar{background:var(--state-fail)}
.match-bar__bar[data-state="zero"]{border-radius:1px}
.match-bar__bar[data-state="missing"]{height:0!important;border-top:2px dashed #b9c0bc;background:none;border-radius:0}
.match-bar__v{position:absolute;left:0;right:0;text-align:center;font-size:12px;font-weight:600;font-variant-numeric:tabular-nums}
.match-bar__crest{display:grid;place-items:center;width:24px;height:24px;margin-top:6px}
.match-bar__crest img{width:24px;height:24px;object-fit:contain}
.match-bar__crest b{font-size:11px;font-weight:600;color:var(--fg-2)}
.match-bar__code{font-size:12px;font-weight:600;color:var(--fg-2)}
.match-bar__ha,.match-bar__d{font-size:12px;color:var(--fg-3);white-space:nowrap}
.stat-browser__foot{display:grid;gap:6px;margin-top:20px}
/* ---------- CONSISTENCY (D17–D20, D23) ---------- */
.sample-line{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin-top:12px;font-size:13px;color:var(--fg-3)}
.spread-cap{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 12px;margin-bottom:6px;font-size:13px;color:var(--fg-3)}
.spread-cap b{display:inline-flex;align-items:center;gap:6px;color:var(--ink)}
.spread-pick{margin-top:12px}
.spread-band{fill:#edf2ee}
.spread-edge{stroke:#c7cdca;stroke-width:1}
.spread-mline{stroke-width:2}
.spread-callout{fill-opacity:.27}
.chart-svg .spread-calltxt{font-size:12px;font-weight:600;fill:var(--ink)}
.spread-tline{stroke:var(--ink);stroke-width:1.2;stroke-dasharray:3 3}
.spread-dot{stroke-width:1.8}
.kv-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2px;margin:6px 0 4px}
.kv-tiles > div{min-width:0;padding:8px 10px;border-radius:10px;background:#fff}
.kv-tiles dt{font-size:12px;color:var(--fg-3)}
.kv-tiles dd{margin:3px 0 0;font-size:14px;font-weight:560}
.outcome-line{font-size:13px;font-weight:560}
.rate-block .sub-head{margin-bottom:10px}
.hit-rates{display:grid;gap:2px}
.hit-rate{display:grid;grid-template-columns:52px minmax(0,1fr) 52px 44px;align-items:center;gap:12px;min-height:46px;padding:6px 12px;border:0;background:var(--tile-soft,#f3f6f4);
  font:inherit;color:var(--ink);text-align:left;cursor:pointer;transition:background .12s}
.hit-rate:first-child{border-radius:14px 14px 4px 4px}
.hit-rate:last-child{border-radius:4px 4px 14px 14px}
.hit-rate[aria-pressed="true"]{background:#fff;box-shadow:0 8px 20px rgba(24,40,32,.08)}
.hit-rate:disabled{opacity:.45;cursor:default}
.hit-rate__bar{position:relative;display:block;height:8px;border-radius:4px;background:#dfe5e1;overflow:hidden}
.hit-rate__bar i{position:absolute;top:0;bottom:0;left:0;border-radius:4px;transition:width .3s var(--ease,ease)}
.hit-rate__v{font-size:15px;font-weight:600;text-align:right;font-variant-numeric:tabular-nums}
.hit-rate small{font-size:12px;color:var(--fg-3);text-align:right;font-variant-numeric:tabular-nums}
.thr-chip{display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:24px;padding:0 7px;border-radius:6px;background:#fff;font-size:12.5px;font-weight:600;font-variant-numeric:tabular-nums}
.rate-block > .data-note{margin-top:10px}
.band-dist{margin-top:26px}
.band-dist__chart{display:grid;grid-template-columns:repeat(11,minmax(0,1fr));gap:4px;align-items:stretch;height:210px;margin-top:12px}
.band-dist__col{display:grid;grid-template-rows:minmax(0,1fr) auto;min-width:0;height:100%;padding:0;border:0;border-radius:8px;background:none;font:inherit;cursor:pointer}
.band-dist__col:disabled{cursor:default}
.band-dist__track{position:relative;display:flex;align-items:flex-end;justify-content:center;min-height:0;padding-top:22px}
.band-dist__bar{position:relative;display:block;width:100%;max-width:30px;min-height:2px;border-radius:5px 5px 0 0;background:var(--c)}
.band-dist__bar.is-dnp{background:#c7cdca}
.band-dist__bar.is-empty{background:#dfe5e1}
.band-dist__n{position:absolute;bottom:calc((100% - 22px) * var(--p, 0));left:50%;transform:translateX(-50%);padding-bottom:4px;font-size:12px;font-weight:600;color:var(--ink);font-variant-numeric:tabular-nums}
.band-dist__lab{display:grid;justify-items:center;padding-top:6px;font-size:12px;line-height:1.2;color:var(--fg-3);font-variant-numeric:tabular-nums}
.band-dist > .data-note{margin-top:8px}
.band-matches{display:grid;gap:2px;margin:0;padding:0;list-style:none}
.band-matches__row{display:flex;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:var(--ink);text-align:left;cursor:pointer}
.band-matches__id{display:grid;gap:2px;flex:1;min-width:0}
.band-matches__id .team-tag{font-size:14px;font-weight:560}
.band-matches__id small,.band-matches__sc small{font-size:12px;color:var(--fg-3)}
.band-matches__sc{display:grid;justify-items:end;gap:2px}
.band-matches__go{width:16px;height:16px;color:var(--fg-3)}
.band-panel__bar{display:flex;justify-content:space-between;gap:10px}
.match-detail{display:grid;gap:12px}
.match-detail__h{display:flex;align-items:center;gap:12px}
.match-detail__h > div:not(.match-detail__end){display:grid;gap:2px;flex:1;min-width:0}
.match-detail__h b{font-size:16px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.match-detail__h small{font-size:12px;color:var(--fg-3)}
.match-detail__end{display:grid;justify-items:end;gap:4px;flex:none}
.match-detail__end small{font-size:12px;color:var(--fg-3)}
.match-detail__tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px}
.match-detail__tiles > div{display:grid;justify-items:center;gap:2px;padding:10px;background:var(--tile-soft,#f3f6f4)}
.match-detail__tiles > div:first-child{border-radius:12px 4px 4px 12px}
.match-detail__tiles > div:last-child{border-radius:4px 12px 12px 4px}
.match-detail__tiles small{font-size:12px;color:var(--fg-3)}
.match-detail__tiles .score-ink,.match-detail__tiles .aa-fig{font-size:22px;font-weight:420}
.match-detail__acts{display:grid;gap:6px}
.match-detail__acts > div{display:flex;flex-wrap:wrap;gap:6px}
.act-chip{display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 10px;border-radius:999px;background:var(--tile-soft,#f3f6f4);font-size:13px;font-weight:560}
.act-chip .i{width:18px;height:18px}
.act-chip small{font-size:12px;color:var(--fg-3);font-weight:500}
.match-detail__cat{display:grid;gap:2px}
.match-detail__cat > .micro-label{margin:6px 0 2px}
.match-detail__row{display:grid;grid-template-columns:minmax(0,1fr) 36px minmax(40px,90px) 48px;align-items:center;gap:10px;min-height:30px;font-size:14px}
.match-detail__row > b{font-weight:560;text-align:right;font-variant-numeric:tabular-nums}
.match-detail__row > .aa-num{text-align:right}
.match-detail__bar{position:relative;display:block;height:6px;border-radius:3px;background:#eef1ee;overflow:hidden}
.match-detail__bar i{position:absolute;left:0;top:0;bottom:0;border-radius:3px}
.match-detail__sum{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px;margin:0}
.match-detail__sum > div{display:flex;justify-content:space-between;padding:10px 12px;border-radius:10px;background:var(--tile-soft,#f3f6f4);font-size:14px}
.match-detail__sum dt{color:var(--fg-3)}
.match-detail__sum dd{margin:0;font-weight:560}
.match-detail__state{display:grid;justify-items:start;gap:8px;padding:8px 0}
/* ---------- CONSISTENCY · Floor & ceiling (D21) ---------- */
.range-map__grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:20px;align-items:start}
.range-insp{display:grid;gap:12px;padding:16px 18px;border-radius:16px;background:var(--tile-soft,#f3f6f4);min-width:0}
.range-insp__n{display:grid;gap:4px}
.range-insp__n > b{font-size:16px;font-weight:600}
.range-insp__n > span{font-size:13px;color:var(--fg-3)}
.range-insp__b{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin-top:4px}
.range-insp__m{display:grid;grid-template-columns:minmax(0,1fr);gap:2px;margin:0}
.range-insp__m > div{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border-radius:10px;background:#fff}
.range-insp__m dt{font-size:12px;color:var(--fg-3)}
.range-insp__m dd{margin:0}
.range-insp__m .score-ink,.range-insp__m .aa-fig{font-size:22px;font-weight:420}
.range-insp__go{justify-self:start}
.range-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 20px;margin-top:10px}
.range-foot .chart-legend{margin-top:0}
.range-table{min-width:420px}
/* ---------- CONSISTENCY · Reliable contributions (D22) ---------- */
.contrib__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:10px}
.contrib{display:grid;align-content:start;gap:10px;min-width:0;padding:16px 18px 14px;border:0;border-radius:16px;background:var(--tile-soft,#f3f6f4);font:inherit;color:var(--ink);text-align:left;cursor:pointer;transition:background .12s}
.contrib[aria-pressed="true"]{background:#fff;box-shadow:0 8px 20px rgba(24,40,32,.08)}
.contrib__top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.contrib__top > b{font-size:15px;font-weight:600;min-width:0}
.contrib__m{display:flex;flex-wrap:wrap;align-items:center;gap:6px 16px;font-size:13px;color:var(--fg-2)}
.contrib__m > span{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.contrib__pos{display:grid;justify-items:end;gap:0;text-align:right;flex:none}
.contrib__pos small{font-size:12px;color:var(--fg-3)}
.contrib__pos b{font-size:18px;font-weight:560;font-variant-numeric:tabular-nums}
.contrib__f{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:18px}
.contrib__hint{margin-left:auto;font-size:12px;font-weight:560;color:var(--ink);text-decoration:underline;text-decoration-color:#c7cdca;text-underline-offset:3px}
.contrib__cov{font-size:12px;color:var(--fg-3)}
.contrib__grid + .data-note{margin-top:10px}
.mini-range{position:relative;display:block;height:46px;margin:0 6px}
.mini-range__line{position:absolute;left:0;right:0;top:12px;height:1px;background:#b9c0bc}
.mini-range > i{position:absolute;top:7px;height:11px;border-left:1px solid #c7cdca}
.mini-range > small{position:absolute;top:26px;transform:translateX(-50%);font-size:12px;color:var(--fg-3);font-variant-numeric:tabular-nums}
.mini-range > b{position:absolute;top:5px;height:14px;border-radius:4px;background:rgba(18,19,19,.13)}
.mini-range > em{position:absolute;top:7px;width:10px;height:10px;margin-left:-5px;border-radius:50%;box-shadow:0 0 0 2px #fff}
.contrib[aria-pressed="true"] .mini-range > em{box-shadow:0 0 0 2px #fff}
.contrib__det{display:grid;gap:12px;margin-top:16px}
.contrib__det:not([hidden]){animation:fade-soft .18s var(--ease-out,ease-out)}
.contrib-table{min-width:520px}
/* ---------- COMPARE (D24–D34) ---------- */
.cmp-pick{display:flex;align-items:flex-end;flex-wrap:wrap;gap:10px}
.cmp-pick + .cmp-scope{margin-top:10px;font-size:13px;line-height:1.45;color:var(--fg-3)}
.cmp-empty{display:grid;justify-items:start;gap:8px;padding:20px 0 4px}
.cmp-empty h3,.cmp-empty > b{font-size:18px;font-weight:560}
.cmp-empty p{max-width:62ch;font-size:14px;line-height:1.5;color:var(--fg-2)}
.series-dot{display:inline-block;width:10px;height:10px;border-radius:50%;flex:none;background:var(--green)}
.series-dot[data-s="1"]{background:var(--blue)}
.series-name{display:inline-flex;align-items:center;gap:8px;min-width:0}
.series-name > span{overflow:hidden;text-overflow:ellipsis}
.cmp-ids{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px;margin-bottom:16px}
.cmp-id{display:flex;align-items:center;gap:14px;min-width:0;padding:14px 16px;background:var(--tile-soft,#f3f6f4)}
.cmp-id:first-child{border-radius:16px 5px 5px 16px}
.cmp-id:last-child{border-radius:5px 16px 16px 5px}
.cmp-id > div{display:grid;gap:3px;min-width:0}
.cmp-id small{font-size:12px;color:var(--fg-3)}
.cmp-id h4{font-size:18px;font-weight:560;letter-spacing:-.01em}
.cmp-id p{font-size:13px;color:var(--fg-2)}
.cmp-id .team-tag{font-size:13px;color:var(--fg-2)}
.key-diffs{min-width:560px}
table.key-diffs td{vertical-align:top}
.key-diffs .score-ink{font-size:22px;font-weight:420}
.sample-warn{display:flex;align-items:center;gap:12px;padding:12px 16px;border-radius:14px;background:var(--state-risk-tint);font-size:13.5px;line-height:1.45}
.cmp-dim{margin-top:12px}
.radar-ser[data-s="0"] polygon,.radar-ser[data-s="0"] line{fill:rgba(43,116,68,.10);stroke:var(--green);stroke-width:2;stroke-linejoin:round}
.radar-ser[data-s="1"] polygon,.radar-ser[data-s="1"] line{fill:rgba(15,139,192,.06);stroke:var(--blue);stroke-width:2;stroke-dasharray:6 4;stroke-linejoin:round}
.radar-ser[data-s="0"] circle{fill:var(--green)}
.radar-ser[data-s="1"] circle{fill:var(--blue)}
.axis-val{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:2px 12px;padding:8px 0}
.axis-val > b{font-size:16px;font-weight:600;text-align:right}
.axis-val > small{grid-column:1 / -1;font-size:12px;color:var(--fg-3)}
.seg-fill{display:flex;width:100%}
.seg-fill .seg__opt{flex:1;justify-content:center}
.target-hits{display:grid;gap:14px;margin:12px 0 14px}
.target-hit{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px 16px}
.target-hit__v .score-ink{font-size:22px;font-weight:420}
.target-hit__bar{grid-column:1 / -1;position:relative;display:block;height:10px;border-radius:5px;background:#dfe5e1;overflow:hidden}
.target-hit__bar i{position:absolute;top:0;bottom:0;left:0;border-radius:5px;transition:width .3s var(--ease,ease),background .3s}
.target-hit > small{grid-column:1 / -1;font-size:12px;color:var(--fg-3)}
.target-hit__scale{position:relative;height:16px;margin:0 8px}
.target-hit__scale span{position:absolute;transform:translateX(-50%);font-size:12px;color:var(--fg-3)}
.target-table td b{font-weight:600}
.diff-bars{display:grid;margin-top:6px}
.diff-bars__scale,.diff-bars__row{display:grid;grid-template-columns:minmax(0,52%) minmax(0,1fr);gap:4px 16px}
.diff-bars__ax{position:relative;height:18px}
.diff-bars__ax small{position:absolute;transform:translateX(-50%);font-size:12px;color:var(--fg-3);font-variant-numeric:tabular-nums}
.diff-bars__row{align-items:center;padding:10px 0}
.diff-bars__row + .diff-bars__row{box-shadow:inset 0 1px 0 var(--grid-line)}
.diff-bars__row > b{grid-column:1;font-size:14px;font-weight:560}
.diff-bars__vals{grid-column:1;display:flex;flex-wrap:wrap;gap:4px 16px;font-size:14px}
.diff-bars__vals > span{display:inline-grid;grid-template-columns:10px auto;align-items:center;gap:1px 6px}
.diff-bars__vals small{grid-column:2;font-size:12px;color:var(--fg-3)}
.diff-bars__bars{grid-column:2;grid-row:1 / span 2;position:relative;height:36px}
.diff-bars__bars > i{position:absolute;top:0;bottom:0;border-left:1px dashed var(--grid-line)}
.diff-bars__bars > i.is-zero{border-left:1.5px solid #9aa29e}
.diff-bars__bars > b{position:absolute;height:11px;border-radius:2px}
.diff-bars__bars > b[data-s="0"]{top:6px;background:var(--green)}
.diff-bars__bars > b[data-s="1"]{top:20px;background:var(--blue)}
.diff-bars__total{display:flex;align-items:center;flex-wrap:wrap;gap:8px 20px;margin:10px 0;padding:12px 14px;border-radius:12px;background:var(--tile-soft,#f3f6f4)}
.diff-bars__total > b{margin-right:auto;font-size:14px;font-weight:600}
.diff-bars__total > span{display:inline-flex;align-items:center;gap:8px;font-size:15px}
.range-rows{display:grid;gap:8px;padding:12px 0}
.range-rows + .range-rows{box-shadow:inset 0 1px 0 var(--grid-line)}
.range-rows__plot{position:relative;height:40px;margin:18px 8px 0}
.range-rows__plot > i{position:absolute;top:6px;bottom:6px;border-left:1px dashed var(--grid-line)}
.range-rows__tgt{position:absolute;top:0;bottom:0;border-left:1.5px dashed var(--ink)}
.range-rows__tgt small{position:absolute;top:-17px;left:4px;font-size:12px;font-weight:560;color:var(--ink);white-space:nowrap}
.range-rows__line{position:absolute;top:18px;height:4px;border-radius:2px;background:var(--green)}
.range-rows[data-s="1"] .range-rows__line{background:var(--blue)}
.range-rows__pt{position:absolute;top:20px;width:10px;height:10px;margin:-5px 0 0 -5px;border-radius:50%;background:#fff;box-shadow:inset 0 0 0 2px var(--green)}
.range-rows__pt.is-med{width:14px;height:14px;margin:-7px 0 0 -7px;background:var(--green);box-shadow:0 0 0 2px #fff}
.range-rows[data-s="1"] .range-rows__pt{box-shadow:inset 0 0 0 2px var(--blue)}
.range-rows[data-s="1"] .range-rows__pt.is-med{background:var(--blue);box-shadow:0 0 0 2px #fff}
.range-rows__m{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px;margin:4px 0 0}
.range-rows__m > div{display:grid;justify-items:start;gap:4px;padding:8px 10px;background:var(--tile-soft,#f3f6f4)}
.range-rows__m > div:first-child{border-radius:10px 4px 4px 10px}
.range-rows__m > div:last-child{border-radius:4px 10px 10px 4px}
.range-rows__m dt{font-size:12px;color:var(--fg-3)}
.range-rows__m dd{margin:0}
.range-rows__scale{position:relative;height:16px;margin:0 8px}
.range-rows__scale span{position:absolute;transform:translateX(-50%);font-size:12px;color:var(--fg-3)}
.stat-table{min-width:440px}
/* ---------- motion (§11): bars grow, shapes settle — once, modestly; nothing under reduced motion ---------- */
@keyframes bar-grow-x{from{transform:scaleX(0)}to{transform:none}}
@keyframes bar-grow-y{from{transform:scaleY(0)}to{transform:none}}
@keyframes shape-pop{from{opacity:0;transform:scale(.92)}to{opacity:1;transform:none}}
.ds-motion [data-reveal]:not(.is-shown) :is(.aa-change__bar > b,.aa-flow__track > b,.diff-bars__bars > b,.hit-rate__bar i,.target-hit__bar i){transform:scaleX(0)}
.ds-motion [data-reveal]:not(.is-shown) :is(.band-dist__bar,.match-bar__bar){transform:scaleY(0)}
.ds-motion [data-reveal]:not(.is-shown) :is(.radar-shape,.radar-ser,.band-dist__n){opacity:0}
.ds-motion [data-reveal].is-shown :is(.aa-change__bar > b,.aa-flow__track > b,.diff-bars__bars > b,.hit-rate__bar i,.target-hit__bar i){transform-origin:left;animation:bar-grow-x .7s var(--ease-out,ease-out) .15s both}
.ds-motion [data-reveal].is-shown :is(.band-dist__bar,.match-bar__bar){transform-origin:bottom;animation:bar-grow-y .7s var(--ease-out,ease-out) .15s both}
.ds-motion [data-reveal].is-shown :is(.radar-shape,.radar-ser){transform-box:fill-box;transform-origin:center;animation:shape-pop .6s var(--ease-out,ease-out) .2s both}
.ds-motion [data-reveal].is-shown .band-dist__n{animation:ds-in-fade .3s var(--ease-out,ease-out) .65s both}
/* ---------- phone (§18): sentences ≥ 15 px, 44-px targets on touch ---------- */
@media (max-width:599px){
  .data-note,.insight-box,.data-notice,.aa-change__read,.cmp-scope,.cmp-empty p,.sample-warn p,.read-bar__t,.data-readout,.csv-bar p{font-size:15px}
  .data-readout__h > span,.sample-line{font-size:13px}
  .card-tools{justify-content:flex-start;margin-top:0}
}
@media (pointer:coarse){
  .dim-row,.stat-row,.aa-flow__row,.aa-change__row,.hit-rate,.aa-tile,.stat-acc__h,.band-matches__row,.match-bar,.contrib,.band-dist__col{min-height:44px}
  .row-link{min-height:44px}
  .aa-tiles .aa-tile{min-height:44px}   /* above a narrow section's reset of the tiles */
}
.read-bar .btn.btn--secondary,.csv-bar .btn.btn--secondary,.stat-browser__insp .btn.btn--ghost{background:#fff}
.read-bar .btn.btn--secondary:hover,.csv-bar .btn.btn--secondary:hover{background:#fafcfb}
table.match-table td,.match-table th[scope="row"],table.contrib-table td,.contrib-table th[scope="row"]{padding-top:8px;padding-bottom:8px}
@media (hover:hover){
  .dim-row:not([aria-pressed="true"]):hover{background:#eaf0ec}
  .aa-change__row:not([aria-pressed="true"]):hover{background:var(--muted-hover)}
  .aa-tile:hover{background:#eaf0ec}
  .aa-flow__row:hover{background:var(--muted-hover)}
  .aa-net button:hover{box-shadow:inset 0 0 0 2px var(--ink)}
  .stat-acc__h:hover{background:#eaf0ec}
  .stat-row:not([aria-pressed="true"]):hover{background:var(--muted-hover)}
  .match-bar:not([aria-pressed="true"]):hover{background:var(--muted-hover)}
  .band-dist__col:not(:disabled):hover{background:var(--muted-hover)}
  .hit-rate:not([aria-pressed="true"]):hover{background:#eaf0ec}
  .band-matches__row:hover{background:#eaf0ec}
  .contrib:not([aria-pressed="true"]):hover{background:#eaf0ec}
}

/* ---------- platforms [V] PF-01 … PF-10 (user, 2026-10-12): desktop + iPhone — DESIGN.md §18 ----------
   Window classes by width, never by device: compact < 600 px (phones) · medium 600–1023 px (rail kept; pages reflow to one or two columns)
   · expanded ≥ 1024 px (as designed). A phone held sideways is ≥ 600 wide, so it keeps the rail on the side. */
:root{--sat:env(safe-area-inset-top,0px);--sab:env(safe-area-inset-bottom,0px);--sal:env(safe-area-inset-left,0px);--sar:env(safe-area-inset-right,0px)}
a,button,summary,label,select,input,[role=button],[role=tab],[role=radio],.seg__opt,.tabbar__tab{touch-action:manipulation}   /* [V] §18 Safari */
.app{padding-left:var(--sal);padding-right:var(--sar)}   /* iPhone sideways: viewport-fit=cover, the shell clears the notch */
.tabbar,.mhead,.sbar,.page-head__tools{display:none}
@media (min-width:600px){.only-compact{display:none!important}}   /* each element keeps its own display where it shows */
/* touch: every target at least 44 × 44 px, the drawing unchanged (PF-05) */
@media (pointer:coarse){
  :is(.btn,.btn-circle,.btn-icon,.link-arrow,.seg__opt,.chip,.modal__close,.price-btn,.tab,.tabbar__tab,.select){position:relative}
  :is(.btn,.btn-circle,.btn-icon,.link-arrow,.seg__opt,.chip,.modal__close,.price-btn,.tab,.tabbar__tab,.select)::before{content:"";position:absolute;left:50%;top:50%;
    width:max(100%,44px);height:max(100%,44px);transform:translate(-50%,-50%)}
}
/* no sticky hover on touch screens: hover never carries information, and lifts don't stay after a tap */
@media (hover:none){
  .btn:hover,.btn-circle:hover,.rail__btn:hover,.lift:hover,.kickoffs__blk:hover{transform:none}
  .reward-claim.is-ready:hover > img{transform:none}
}
@media (max-width:599px){
  .only-expanded{display:none!important}
  html{scroll-padding-top:calc(var(--sat) + 64px);scroll-padding-bottom:calc(var(--sab) + 96px)}   /* focus never hidden under the bars (WCAG 2.4.11) */
  body{background:var(--shell)}
  .app{display:block;min-height:100svh;padding-bottom:calc(var(--sab) + 96px)}
  .rail{display:none}
  .main{padding:0;gap:8px}
  .main > .panel{min-height:0;border-radius:32px}
  .main > .panel:first-child{border-top-left-radius:0;border-top-right-radius:0}
  .page{padding:22px 16px 28px}
  .main > .panel.page:first-child{padding-top:calc(var(--sat) + 14px)}
  .card{padding:20px 18px}
  .t-display{font-size:72px}
  .t-h1,.page-head__title{font-size:34px;line-height:1.1}
  .card__title,.block-head__title{font-size:20px}
  .t-section,.block-head--section .block-head__title{font-size:26px}   /* [V] TY-01 B on phones */
  input,select,textarea,.search input,.field__value input{font-size:16px}                       /* Safari zooms into smaller fields */
  .frost-col{display:none}
  .panel--photo:first-child::after{background:linear-gradient(180deg,rgba(0,0,0,.62) 0,rgba(0,0,0,.3) 30%,rgba(0,0,0,.28) 55%,rgba(0,0,0,.7) 100%)}
  /* page head: title + tools (refresh, bell, profile) on the first row, Set + page numbers on the second */
  .page-head{display:flex;flex-wrap:wrap;align-items:center;gap:0 10px;row-gap:0!important;min-height:0}   /* the rows are spaced by margins below: a page-level row-gap must not stack on the line break */
  .page-head::before{content:"";order:3;flex:0 0 100%;height:0}              /* line break: title + tools above, Set + numbers below */
  .page-head__title{order:1;flex:1 1 0;min-width:0}
  .page-head__title.is-long{min-width:min-content}                                              /* still too long at 24 px (« Préférences » at 320 px, ds.js): the title keeps its size and its row, the tools go under it (C54) */
  .page-head > :not(.page-head__title,.page-head__tools,.select,.page-head__end){order:4}   /* a page-local wrapper of the selects (e.g. .p-sels) lands on the Set row, never before the title */
  .page-head > .select{order:4;margin-top:12px;height:36px;padding:0 34px 0 12px;font-size:13px;gap:8px;justify-self:start}
  .page-head > .select .chev{top:11px;right:12px}
  .page-head__end{order:5;margin:12px 0 0 auto;gap:14px}
  .page-head__end .kpi{font-size:17px;gap:6px}.page-head__end .kpi > img{height:20px}
  /* « Get Gems ↗ » keeps its label on iPhone [V] MK-I2 B (user, 2026-10-14): SOR-07 A + CP-04 A as decided; the balances take their own row when it does not fit */
  /* sentences and notes ≥ 15 px on iPhone [V] MK-I3 B (user, 2026-10-14: Apple's text styles); secondary lines stay 12–13 px, floor 11 px (§18 Reading) */
  :is(.modal__note,.odds-source,.edition-detail__src,.banner,.empty__text,.gate__text){font-size:15px}
  /* C54 (2026-11-20): the same floors for what the pages and Settings had set smaller (12–14 px notes, 10–10.5 px labels, a 13-px field). `:root`
     lifts these over the page's own rule, which comes later in the file. A new page note joins the first list. */
  :root :is(.p-src,.sqa-feed__note,.sqa-m__d,.p-tgnote,.mk-source,.cm-tn__note,.roi-hint,.conn p,.set-row__t small){font-size:15px}
  :root :is(.p-bv,.lz-stats .lz-fig small,.badge){font-size:11px}                                       /* never under 11 px (the strip's « Projected », not the hero's 12-px labels) */
  :root .p-featurepick .select{font-size:16px}                                                          /* fields ≥ 16 px: Safari zooms below */
  .hint{padding:9px 14px;font-size:15px;line-height:1.35}                                              /* a hint is read like a note (§18 « Reading ») */
  .page-head__end > :is(.btn-circle,.btn-icon){display:none}                                       /* page tools move to the first row */
  .page-head__tools{order:2;display:flex;align-items:center;gap:8px}
  .page-head__tools .btn-circle{position:relative;width:44px;height:44px}   /* the badge's anchor on every pointer, not only on touch (narrow mouse window) */
  .page-head__tools .btn-circle .i{width:22px;height:22px}
  .page-head__tools .badge{position:absolute;right:-2px;top:-2px;--ring:#111}
  .page-head__me{width:36px;height:36px;border-radius:50%;object-fit:cover}
  .page-head__me-btn{display:grid;place-items:center;width:44px;height:44px;margin:-4px;padding:0;border:0;border-radius:50%;background:none;cursor:pointer;flex:none}
  .page-head__me-btn:focus-visible{outline:2px solid var(--fg,#fff);outline-offset:0}
  @media (max-width:359px){.page-head__end{margin-left:0}}   /* 320 px: Set and numbers on their own rows (WCAG 1.4.10) */
  /* tab bar [V] PF-02 A: dark glass capsule floating above the home indicator; the active tab keeps the rail's white disc; shrinks to icons while scrolling down */
  .tabbar{position:fixed;z-index:60;left:12px;right:12px;bottom:calc(var(--sab) + 6px);height:66px;display:flex;align-items:center;justify-content:space-around;
    padding:0 6px;border-radius:33px;background:rgba(24,25,26,.72);-webkit-backdrop-filter:blur(24px) saturate(1.5);backdrop-filter:blur(24px) saturate(1.5);
    box-shadow:0 12px 32px rgba(0,0,0,.38),inset 0 0 0 .5px rgba(255,255,255,.14);
    transition:height .35s var(--ease-out),left .35s var(--ease-out),right .35s var(--ease-out)}
  .tabbar__tab{display:flex;flex-direction:column;align-items:center;gap:3px;min-width:min(60px,18.5%);color:#c4c6c6;text-decoration:none}
  .tabbar__ico{position:relative;display:grid;place-items:center;width:46px;height:32px;border-radius:16px}
  .tabbar__ico .i{width:23px;height:23px}
  .tabbar__ico .badge{position:absolute;right:2px;top:-4px;--ring:#18191a}
  .tabbar__lab{font-size:11px;color:var(--on-dark);font-weight:500;letter-spacing:.01em;white-space:nowrap;max-height:14px;overflow:hidden;transition:opacity .2s,max-height .3s}
  .tabbar__tab.is-active{color:#fff}
  .tabbar__tab.is-active .tabbar__ico{background:#fff;color:#1d1f20}
  .tabbar.is-min{height:52px;left:40px;right:40px}
  .tabbar.is-min .tabbar__lab{opacity:0;max-height:0}
  /* compact bar [V] PF-03: once the big title is gone; small, almost opaque; slides away while scrolling down, back on scroll up or during a claim */
  .sbar{display:block;position:fixed;z-index:49;left:0;right:0;top:0;height:var(--sat);background:rgba(16,17,17,.9);
    -webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);opacity:0;transition:opacity .25s}
  .sbar.is-on{opacity:1}
  .mhead{position:fixed;left:0;right:0;top:0;z-index:50;display:flex;align-items:center;gap:12px;padding:calc(var(--sat) + 4px) 16px 10px;
    background:rgba(16,17,17,.9);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);color:#fff;box-shadow:0 .5px 0 rgba(255,255,255,.12);
    transform:translateY(-110%);transition:transform .35s var(--ease-out)}
  .mhead.is-on{transform:none}
  .mhead.is-on.is-away{transform:translateY(-110%)}
  .mhead__title{font-size:17px;font-weight:600}
  .mhead__end{margin-left:auto;display:flex;gap:14px}
  .mhead .kpi{font-size:15px;gap:5px;color:#fff}.mhead .kpi > img{height:17px}
  /* sheets [V] PF-04: an .overlay > .modal rises from the bottom; grabber; swipe down or a real button to close */
  .overlay{place-items:end stretch;padding:0}
  .modal,.modal--wide{width:100%;max-height:calc(100svh - var(--sat) - 24px);overflow:auto;border-radius:32px 32px 0 0;padding:10px 18px calc(var(--sab) + 16px);box-shadow:0 -10px 40px rgba(0,0,0,.25)}
  .modal::before{content:"";display:block;width:40px;height:5px;margin:0 auto 14px;border-radius:3px;background:#d4d8d5}
  .modal__foot{flex-direction:column-reverse;gap:8px}
  .modal__foot .btn{width:100%;height:52px;border-radius:16px;font-size:16px}
  .choice-tiles{gap:8px}.choice-tile{padding:14px 6px 12px}.choice-tile__art{height:70px}.choice-tile__art img{max-height:70px;max-width:56px}
  .drawer{inset:auto 0 0 0;width:auto;border-radius:32px 32px 0 0;padding-bottom:calc(var(--sab) + 24px)}
  .toast--fixed{left:16px;right:16px;translate:none;width:fit-content;margin-inline:auto;bottom:calc(var(--sab) + 92px);max-width:calc(100vw - 32px);height:auto;min-height:48px;padding:10px 18px 10px 14px;white-space:normal}
  /* the road on a phone: all levels visible, rewards move to the detail line */
  .level-road .level-node{width:50px}
  .level-road .level-node__rw{display:none}
  .level-road .level-node__lv{font-size:11px}.level-road .level-node__tg{font-size:11px}
  .level-road .level-link{min-width:4px}
  .boost-track{gap:2px}
  .squad-band{display:block;min-height:0;padding:0;background:#fff;color:var(--ink);--fg:var(--ink);--fg-2:var(--ink-muted);--fg-3:var(--ink-subtle)}
  .squad-band__photo{position:relative;height:150px;display:block}
  .squad-band::after{bottom:auto;height:150px;background:linear-gradient(180deg,rgba(0,0,0,0) 40%,rgba(0,0,0,.35))}
  .squad-band__card{width:auto;padding:16px 18px 6px;background:none;-webkit-backdrop-filter:none;backdrop-filter:none;--fg:var(--ink);--fg-2:var(--ink-muted);--fg-3:var(--ink-subtle)}
  .squad-band__card .card__sub,.squad-band__card p{color:var(--fg-2)}
  .squad-band .seats__bar i{background:var(--muted)}.squad-band .seats__bar i.on{background:var(--ink)}
  .squad-band__end{margin:0;padding:6px 18px 18px;flex-wrap:wrap}.squad-band__end .player-faces{margin-right:auto}.squad-band__end .btn-circle{order:2}.squad-band__names{order:3;flex:1 1 100%}
  .squad-band__end .btn-circle--glass{background:var(--muted);color:var(--ink);-webkit-backdrop-filter:none;backdrop-filter:none}
  .squad-band__end .player-faces .player-pic{--ring:#fff}
  .squad-band__names{color:var(--fg-2)}.squad-band__names b{color:var(--ink)}
  .chance{grid-template-columns:118px minmax(0,1fr);gap:8px 16px}
  .chance__dial{width:118px;height:118px}
  .chance__c b{font-size:30px}
  .chance__facts b{font-size:16px}.chance__facts li{font-size:13px;padding:7px 0}
}
.ds-motion .overlay .modal{animation:ds-modal-in .4s var(--ease-out)}
@media (max-width:599px){
  .ds-motion .overlay .modal{animation:ds-sheet-in .42s var(--ease-out)}
  .overlay.is-leaving .modal{animation:ds-sheet-out .24s var(--ease-in) forwards}
  .modal.is-dragging{transition:none}
}
@keyframes ds-sheet-in{from{transform:translateY(100%)}}
@keyframes ds-sheet-out{to{transform:translateY(100%)}}

/* ---------- presentation-only ---------- */
.cursor-hand{position:absolute;width:24px;height:27px;z-index:40;pointer-events:none}


/* =====================================================================================
   MOTION KIT — free domain (user, 2026-10-09): Claude animates pages freely, no approval needed.
   Vocabulary distilled from market / home / matchday. DESIGN.md §11 explains when to use what.
   <html class="ds-motion"> = motion on (set in <head> by build.py) · "ds-static" = final state, no motion
   (?shot, prefers-reduced-motion). ds.js adds .is-in after fonts load (intro) and .is-shown on reveal.
   ===================================================================================== */
:root{--ease-out:cubic-bezier(.16,1,.3,1);--ease-in:cubic-bezier(.55,0,.8,.2);--ease-arc:cubic-bezier(.5,0,.3,1);
  --spring:cubic-bezier(.34,1.56,.64,1);--t-ui:240ms;--t-reveal:1s;--t-hero:2.8s;--stagger:90ms}
@property --ring-v{syntax:'<number>';inherits:false;initial-value:0}
.ds-static *,.ds-static *::before,.ds-static *::after{animation:none!important;transition:none!important}
.ds-reset,.ds-reset *{animation:none!important;transition:none!important}
.ds-motion:not(.is-in) [data-lines]{visibility:hidden;animation:ds-vis 0s 4s forwards}
.ds-motion:not(.is-in) .rail > *{animation:ds-failsafe .4s 4s forwards}
@keyframes ds-vis{to{visibility:visible}}

/* on-load intro (html.is-in) */
.ds-motion .rail > *{animation:ds-in-left .8s var(--ease-out) backwards;animation-delay:calc(.12s + var(--ri,0) * 50ms)}
.ds-motion:not(.is-in) .rail > *{opacity:0;animation:ds-failsafe .4s 4s forwards}
.panel--photo .panel__media{translate:calc(var(--mx,0) * -10px) calc(var(--my,0) * -7px);transition:translate .8s var(--ease-out)}
.ds-motion .panel--photo .panel__media{transform:scale(1.14);filter:brightness(.4) saturate(.7);
  transition:transform var(--t-hero) var(--ease-out) .2s,filter 2s var(--ease) .2s,translate .8s var(--ease-out)}
.ds-motion.is-in .panel--photo .panel__media{transform:none;filter:none}
.ln{display:block;overflow:hidden;padding:.12em .08em .12em 0;margin:-.12em -.08em -.12em 0}         /* line mask, zero layout shift */
.ln > span{display:inline-block;transition:transform 1.15s var(--ease-out) var(--d,0s)}
.ds-motion:not(.is-in) .ln > span{transform:translateY(112%)}

/* reveal on view: data-reveal="" (up) | fade | scale | left | right | rise | pop | blur — stagger with --i or data-reveal-group */
.ds-motion [data-reveal]:not(.is-shown){opacity:0}
.ds-motion:not(.is-in) [data-reveal]:not(.is-shown){animation:ds-failsafe .4s 4s forwards}   /* only if the kit never started (JS failed) */
.ds-motion [data-reveal].is-shown{animation:ds-in-up var(--t-reveal) var(--ease-out) backwards;animation-delay:calc(var(--d0,0s) + var(--i,0) * var(--stagger))}
.ds-motion [data-reveal="fade"].is-shown{animation-name:ds-in-fade;animation-duration:.8s}
.ds-motion [data-reveal="scale"].is-shown{animation-name:ds-in-scale}
.ds-motion [data-reveal="left"].is-shown{animation-name:ds-in-left}
.ds-motion [data-reveal="right"].is-shown{animation-name:ds-in-right}
.ds-motion [data-reveal="rise"].is-shown{animation-name:ds-in-rise;animation-duration:1.1s}
.ds-motion [data-reveal="pop"].is-shown{animation-name:ds-in-pop;animation-duration:.6s;animation-timing-function:var(--ease)}
.ds-motion [data-reveal="blur"].is-shown{animation-name:ds-in-blur}
@keyframes ds-failsafe{to{opacity:1}}
@keyframes ds-in-up{from{opacity:0;transform:translateY(24px)}}
@keyframes ds-in-fade{from{opacity:0}}
@keyframes ds-in-scale{from{opacity:0;transform:scale(.94)}}
@keyframes ds-in-left{from{opacity:0;transform:translateX(-24px)}}
@keyframes ds-in-right{from{opacity:0;transform:translateX(24px)}}
@keyframes ds-in-rise{from{opacity:0;transform:translateY(90px)}}
@keyframes ds-in-pop{0%{opacity:0;transform:scale(.4)}60%{opacity:1;transform:scale(1.08)}100%{opacity:1;transform:none}}
@keyframes ds-in-blur{from{opacity:0;transform:translateY(12px);filter:blur(6px)}}

/* data that animates in: charts draw, bars grow, progress fills, rings sweep */
.chart [data-draw]{stroke-dasharray:var(--len) var(--len);transition:stroke-dashoffset 1.6s var(--ease-out) .15s}
.ds-motion .chart:not(.is-shown) [data-draw]{stroke-dashoffset:var(--len)}
.chart [data-grow]{transform-box:fill-box;transition:transform .9s var(--ease-out) calc(.1s + var(--i,0) * 60ms)}
.chart [data-grow="up"]{transform-origin:50% 100%}.chart [data-grow="down"]{transform-origin:50% 0}
.ds-motion .chart:not(.is-shown) [data-grow]{transform:scaleY(0)}
.chart > .marker,.chart > .tip{transition:opacity .5s var(--ease) 1.1s}
.ds-motion .chart:not(.is-shown) > :is(.marker,.tip){opacity:0}
.ds-motion .progress:not(.is-shown) > i{transform:scaleX(0)}
.ds-motion .ring:not(.is-shown){--ring-v:0!important}

/* numbers: odometer digits (DS.motion.odo) */
.odo{display:inline-flex;line-height:1;font-variant-numeric:tabular-nums;white-space:nowrap}
.odo .dg{display:inline-block;height:1em;overflow:hidden;clip-path:inset(0 -2px)}
.odo .dg > i{display:flex;flex-direction:column;font-style:normal;transform:translateY(calc(var(--n,0) * -1em));transition:transform 1.25s var(--ease-out) var(--dl,0s)}
.odo .dg > i > span{display:block;height:1em;line-height:1em}

/* hover & pointer */
.btn:hover{transform:translateY(-1px)}.btn:active{transform:translateY(0) scale(.98)}
.btn--wide:hover{transform:none}
.btn-circle,.rail__btn{transition:background var(--dur) var(--ease),color var(--dur) var(--ease),transform var(--t-ui) var(--ease-out)}
.btn-circle:hover,.rail__btn:hover{transform:scale(1.07)}
.nudge{transition:transform var(--t-ui) var(--ease-out)}.btn:hover .nudge,a:hover > .nudge{transform:translateX(3px)}
.lift{transition:transform var(--t-ui) var(--ease-out),box-shadow var(--t-ui) var(--ease-out)}
.lift:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(54,79,64,.12)}
:is(.on-dark,.panel--dark,.on-photo,.panel--photo) .lift:hover{box-shadow:0 14px 30px rgba(0,0,0,.35)}
[data-tilt]{transform:perspective(900px) rotateY(calc(var(--tx,0) * 14deg)) rotateX(calc(var(--ty,0) * -10deg));transform-style:preserve-3d;transition:transform .7s var(--ease-out)}
.shine{position:relative;overflow:hidden;isolation:isolate}
.shine::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(115deg,transparent 30%,rgba(255,255,255,.28) 45%,transparent 58%);transform:translateX(-120%);transition:transform .9s var(--ease-out)}
.shine:hover::after{transform:translateX(120%)}

/* ambient loops (use sparingly: one or two per view) */
.float{animation:ds-float 5s ease-in-out 1}
.breathe{animation:ds-breathe 3.2s ease-in-out 1}
.live-dot{position:relative;display:inline-block;width:8px;height:8px;border-radius:50%;background:currentColor;flex:none}
.live-dot::after{content:"";position:absolute;inset:0;border-radius:50%;background:currentColor;animation:ds-ping 1.8s var(--ease-out) 2}
.attention{position:relative}
.attention::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;animation:ds-attention 2.2s ease-in-out 2}
.sheen-loop{position:relative;overflow:hidden;isolation:isolate}
.sheen-loop::before{content:"";position:absolute;inset:-20% -60%;z-index:1;pointer-events:none;background:linear-gradient(105deg,transparent 40%,rgba(255,255,255,.55) 50%,transparent 60%);mix-blend-mode:overlay;animation:ds-sheen 6.5s var(--ease) 1}
.dust{position:absolute;inset:0;pointer-events:none;overflow:hidden;animation:ds-rest 1.4s ease 5s forwards}   /* motes fade out after 5 s [V] PF-10 */
[data-pause],.player-sheet__pause{display:none!important}   /* « Pause live » removed everywhere (user, 2026-10-19: « ne sert à rien ») — live data always runs; supersedes PF-10's control */
/* the currency beside an amount said in words — buttons, sentences, toasts, rewards, tables [V] 2026-10-19 (user: « ajoute l'icône des gems là où le mot
   "gems" est prononcé … "Buy for 50 gems" », « l'icône cash rewards là où des récompenses monétaires sont mentionnées »): Sorare's own images as delivered
   (Gems: frontend-assets common-gem · cash: Sorare's cash-rewards coin, Prism's copy in assets/sorare/cash.png), embedded here so every page has them.
   <i class="cur-i cur-i--gem" aria-hidden="true"></i>50 Gems · <i class="cur-i cur-i--cash" aria-hidden="true"></i>€5 */
.cur-i{display:inline-block;width:1.2em;height:1.2em;margin:0 .2em 0 .04em;vertical-align:-.25em;background:center/contain no-repeat;flex:none;font-style:normal}
.cur-i--gem{background-image:url("/set/v2/assets/0039e24a2a73fea9aec3.png")}
.cur-i--cash{background-image:url("/set/v2/assets/cff104553bad425880d9.png")}
.dust i{position:absolute;left:var(--x);top:var(--y);width:var(--s);height:var(--s);border-radius:50%;background:#fff;opacity:0;filter:blur(.4px);animation:ds-mote var(--t) linear var(--dl) infinite}
@keyframes ds-float{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-12px) rotate(.6deg)}}
@keyframes ds-breathe{0%,100%{transform:scale(1);opacity:.85}50%{transform:scale(1.08);opacity:1}}
@keyframes ds-ping{0%{transform:scale(1);opacity:.7}80%,100%{transform:scale(2.6);opacity:0}}
@keyframes ds-attention{0%,100%{box-shadow:0 0 0 0 transparent}50%{box-shadow:0 0 0 7px var(--glow,rgba(255,255,255,.24))}}
@keyframes ds-sheen{0%,55%{transform:translateX(-60%)}85%,100%{transform:translateX(60%)}}
@keyframes ds-rest{to{opacity:0}}
.ds-rewind,.ds-rewind *,.ds-rewind::before,.ds-rewind::after,.ds-rewind *::before,.ds-rewind *::after{animation:none!important}   /* DS.motion.wake */
@keyframes ds-mote{0%{transform:translate(0,0);opacity:0}15%{opacity:var(--o,.6)}85%{opacity:var(--o,.6)}100%{transform:translate(var(--dx),-120px);opacity:0}}

/* events (DS.motion.*): delta float, flash, pop, shake, burst, flights */
.delta-float{position:absolute;left:50%;top:-4px;z-index:5;pointer-events:none;font-size:14px;font-weight:600;white-space:nowrap;animation:ds-delta 1.7s var(--ease-out) forwards}
.delta-float.up{color:var(--green-text)}.delta-float.down{color:var(--red-text)}
:is(.on-dark,.panel--dark,.on-photo,.panel--photo) .delta-float.up{color:var(--star-hi)}
.is-flash{animation:ds-flash 1s var(--ease-out)}
.is-pop{animation:ds-pop .5s var(--ease)}
.is-shake{animation:ds-shake .45s var(--ease)}
.burst{position:absolute;width:0;height:0;pointer-events:none;z-index:60}
.burst i{position:absolute;left:-4px;top:-4px;width:8px;height:8px;border-radius:2px;background:var(--c,#fff);animation:ds-burst .95s var(--ease-out) var(--dl,0s) forwards}
.fly{position:fixed;left:0;top:0;z-index:300;pointer-events:none;will-change:transform}
.roll{display:inline-block;overflow:hidden;vertical-align:bottom}.roll > span{display:inline-block}
@keyframes ds-delta{0%{transform:translate(-50%,4px);opacity:0}15%{opacity:1}100%{transform:translate(-50%,-28px);opacity:0}}
@keyframes ds-flash{0%{box-shadow:0 0 0 2px var(--flash,#fff),0 0 34px var(--flash-glow,rgba(255,255,255,.45))}100%{box-shadow:0 0 0 0 transparent}}
@keyframes ds-pop{0%{transform:scale(.4)}60%{transform:scale(1.15)}100%{transform:scale(1)}}
@keyframes ds-shake{0%,100%{transform:none}20%{transform:translate(-6px,3px)}40%{transform:translate(5px,-4px)}60%{transform:translate(-4px,2px)}80%{transform:translate(3px,-1px)}}
@keyframes ds-burst{0%{transform:rotate(var(--a)) translateY(0) scale(1);opacity:1}100%{transform:rotate(var(--a)) translateY(var(--dist)) scale(.2) rotate(180deg);opacity:0}}

/* overlays enter / leave (add .is-leaving, DS.motion.close plays it) */
.ds-motion .overlay{animation:ds-fade-in .28s var(--ease)}
.ds-motion .modal{animation:ds-modal-in .4s var(--ease-out)}
.ds-motion .drawer{animation:ds-drawer-in .5s var(--ease-out)}
.ds-motion .menu{animation:ds-menu-in .22s var(--ease-out);transform-origin:top center}
.ds-motion .toast{animation:ds-toast-in .45s var(--spring)}
.is-leaving.overlay{animation:ds-fade-out .22s var(--ease-in) forwards}
.is-leaving .modal,.is-leaving.modal{animation:ds-modal-out .22s var(--ease-in) forwards}
.is-leaving.drawer{animation:ds-drawer-out .32s var(--ease-in) forwards}
.is-leaving.menu{animation:ds-fade-out .15s var(--ease-in) forwards}
.is-leaving.toast{animation:ds-toast-out .3s var(--ease-in) forwards}
@keyframes ds-fade-in{from{opacity:0}}@keyframes ds-fade-out{to{opacity:0}}
@keyframes ds-modal-in{from{opacity:0;transform:translateY(12px) scale(.97)}}
@keyframes ds-modal-out{to{opacity:0;transform:translateY(8px) scale(.98)}}
@keyframes ds-drawer-in{from{opacity:0;transform:translateX(48px)}}
@keyframes ds-drawer-out{to{opacity:0;transform:translateX(48px)}}
@keyframes ds-menu-in{from{opacity:0;transform:translateY(-6px) scale(.98)}}
@keyframes ds-toast-in{from{opacity:0;transform:translateY(16px) scale(.9)}}
@keyframes ds-toast-out{to{opacity:0;transform:translateY(8px) scale(.96)}}
::view-transition-old(root),::view-transition-new(root){animation-duration:.45s;animation-timing-function:var(--ease-out)}

@keyframes ds-spin{to{transform:rotate(360deg)}}
@keyframes ds-shimmer{to{background-position:-200% 0}}
@keyframes ds-blink{50%{opacity:0}}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* ---------- the sent band [V] C17 CM-5.1 10A « La bande » + CM-5.2 11A · C14 LB-10 A « La rangée » (DESIGN.md §11 « Signature moments + sound ») —
   DS.motion.sent: a short picture instead of a toast for a confirmation that matters. An overlay that never takes clicks (any click or Esc skips it); every
   duration × --sp (the speed). Type on the system's roles; the band and the cards are white objects on the page; Sorare's check and the captain's C in ink
   (a confirmation, not a win). Two decided looks: .sent--card (one card → where it now lives; Collection) · .sent--lineup (1–5 cards → their rows; the
   builder; .sent--cap = the captain large in front). Each look's beat, sizes and shadows are its custom properties. Reduced motion: none (the page's toast).
   .sent__band · __word · __copy / __line / __kick / __title / __stamp / __det · __ring(.is-late) · __spot · __card(.is-cap) · __cap · __pos ---------- */
.sent{position:fixed;inset:0;z-index:150;pointer-events:none;overflow:hidden;--sp:1;color:var(--ink);
  --sent-beat:1180ms;--sent-out:2420ms;--sent-drift:3200ms;--sent-shadow:rgba(0,0,0,.42);--sent-word:170px;--sent-word-line:rgba(18,19,19,.08);
  --sent-word-mask:linear-gradient(90deg,#000 0 40%,transparent 62%);--sent-ring-line:rgba(18,19,19,.2);--sent-ring-to:540px;
  --sent-card-shadow:drop-shadow(0 14px 22px rgba(18,19,19,.32))}
.sent--card{--sent-beat:1080ms;--sent-out:2340ms;--sent-drift:3000ms;--sent-shadow:rgba(0,0,0,.45);--sent-word:150px;--sent-word-line:rgba(18,19,19,.09);
  --sent-word-mask:linear-gradient(90deg,#000 0 46%,transparent 70%);--sent-ring-line:rgba(18,19,19,.22);--sent-ring-to:520px;
  --sent-card-shadow:drop-shadow(0 18px 26px rgba(0,0,0,.45))}
.sent__band{position:absolute;left:0;right:0;z-index:2;overflow:hidden;background:#fff;box-shadow:0 30px 80px var(--sent-shadow);
  animation:sent-in calc(420ms * var(--sp)) cubic-bezier(.16,1,.3,1) both,sent-out calc(440ms * var(--sp)) cubic-bezier(.7,0,.84,0) calc(var(--sent-out) * var(--sp)) forwards}
@keyframes sent-in{from{clip-path:polygon(0 0,0 0,-14% 100%,-14% 100%)}to{clip-path:polygon(0 0,114% 0,100% 100%,-14% 100%)}}
@keyframes sent-out{from{clip-path:polygon(0 0,114% 0,100% 100%,-14% 100%)}to{clip-path:polygon(114% 0,114% 0,100% 100%,100% 100%)}}
.sent__word{position:absolute;top:50%;left:0;display:flex;gap:.4em;white-space:nowrap;font-size:var(--sent-word);font-weight:600;letter-spacing:-.045em;line-height:1;color:transparent;
  -webkit-text-stroke:1.5px var(--sent-word-line);-webkit-mask-image:var(--sent-word-mask);mask-image:var(--sent-word-mask);
  animation:sent-drift calc(var(--sent-drift) * var(--sp)) linear both}
@keyframes sent-drift{0%{opacity:0;transform:translate(-4%,-50%)}14%{opacity:1}70%{opacity:1}100%{opacity:0;transform:translate(3%,-50%)}}
.sent__copy{position:absolute;top:50%;left:max(48px,calc((100vw - 1320px) / 2));z-index:2;display:flex;flex-direction:column;align-items:flex-start;transform:translateY(-50%)}
.sent__line{display:block;overflow:hidden;margin:-.1em 0;padding:.1em 0}
.sent__line > span{display:inline-flex;align-items:center;gap:.22em;animation:sent-line calc(460ms * var(--sp)) cubic-bezier(.16,1,.3,1) both}
.sent__line:nth-child(1) > span{animation-delay:calc(260ms * var(--sp))}
.sent__line:nth-child(2) > span{animation-delay:calc(330ms * var(--sp))}
.sent__line:nth-child(3) > span{animation-delay:calc(400ms * var(--sp))}
@keyframes sent-line{from{transform:translateY(115%)}to{transform:none}}
.sent__kick{font-size:15px;letter-spacing:.02em;color:var(--ink-muted)}
.sent__title{margin-top:6px;font-size:76px;font-weight:500;letter-spacing:-.035em;line-height:1}
.sent--lineup .sent__title{white-space:nowrap}
.sent__det{margin-top:14px;font-size:16px;color:var(--ink-muted)}.sent__det b{color:var(--ink);font-weight:600}
.sent__stamp{display:inline-grid;place-items:center;flex:none;width:.72em;height:.72em;margin-left:.06em;border-radius:50%;background:var(--ink);
  animation:sent-stamp calc(380ms * var(--sp)) cubic-bezier(.34,1.56,.64,1) calc(var(--sent-beat) * var(--sp)) both}
.sent__stamp svg{width:62%;height:62%;overflow:visible}
.sent__stamp path{fill:none;stroke:#fff;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:20;stroke-dashoffset:20;
  animation:sent-draw calc(260ms * var(--sp)) ease-out calc((var(--sent-beat) + 100ms) * var(--sp)) forwards}
@keyframes sent-stamp{from{opacity:0;transform:scale(.3) rotate(-18deg)}45%{opacity:1}to{opacity:1;transform:none}}
@keyframes sent-draw{to{stroke-dashoffset:0}}
.sent__ring{position:absolute;top:var(--ry,50%);left:var(--rx,40%);width:0;aspect-ratio:1;border:2px solid var(--sent-ring-line);border-radius:50%;opacity:0;transform:translate(-50%,-50%);
  animation:sent-ring calc(900ms * var(--sp)) cubic-bezier(.2,.8,.2,1) calc((var(--sent-beat) + 10ms) * var(--sp)) forwards}
.sent__ring.is-late{animation-delay:calc((var(--sent-beat) + 180ms) * var(--sp))}
@keyframes sent-ring{from{width:24px;opacity:1}to{width:var(--sent-ring-to);opacity:0}}
.sent__spot{position:absolute}
/* the cards: official, as delivered; the captain's C snaps on with the check; the positions under a row of five */
.sent__card{position:absolute;will-change:transform}
.sent--card .sent__card{z-index:3}
.sent__card img{display:block;width:100%;height:100%;object-fit:contain;filter:var(--sent-card-shadow)}
.sent__cap{position:absolute;top:-9px;right:-9px;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--ink);color:#fff;font-size:14px;font-weight:600;
  box-shadow:0 0 0 2.5px #fff;animation:sent-cap calc(420ms * var(--sp)) cubic-bezier(.34,1.56,.64,1) calc((var(--sent-beat) + 70ms) * var(--sp)) both}
@keyframes sent-cap{from{opacity:0;transform:scale(2.2) rotate(-20deg)}50%{opacity:1}to{opacity:1;transform:none}}
.sent--cap .sent__card.is-cap .sent__cap{top:-11px;right:-11px;width:34px;height:34px;font-size:17px}
.sent__pos{position:absolute;left:0;right:0;top:calc(100% + 6px);text-align:center;font-size:12px;font-weight:600;letter-spacing:.04em;color:var(--ink-muted);
  animation:sent-pos calc(2300ms * var(--sp)) linear both}
@keyframes sent-pos{0%,30%{opacity:0}42%,92%{opacity:1}100%{opacity:0}}
@media (max-width:1023px){   /* the lineup with the dock (tablet, iPhone): the band stacks — the cards on top, the copy centred under them */
  .sent--lineup .sent__copy{top:auto;bottom:24px;left:24px;right:24px;align-items:center;text-align:center;transform:none}
  .sent--lineup .sent__title{font-size:56px}
  .sent--lineup{--sent-word-mask:linear-gradient(180deg,transparent 0 34%,#000 72%)}
}
@media (max-width:599px){
  .sent .sent__copy{top:auto;bottom:22px;left:16px;right:16px;align-items:center;text-align:center;transform:none}
  .sent .sent__title{font-size:40px}.sent .sent__kick{font-size:13px}.sent .sent__det{margin-top:10px;font-size:15px}
  .sent{--sent-word:120px;--sent-word-mask:linear-gradient(180deg,transparent 0 34%,#000 72%)}
  .sent--card{--sent-word:110px;--sent-word-mask:linear-gradient(180deg,transparent 0 30%,#000 70%)}
  .sent__cap{top:-7px;right:-7px;width:22px;height:22px;font-size:12px;box-shadow:0 0 0 2px #fff}
  .sent__pos{display:none}
}
@media (prefers-reduced-motion:reduce){.sent{display:none}}

/* ---------- before go-live [V] GL-01 … GL-09 · GL-N1 · GL-S1 · GL-Q (user, 2026-10-18; DECISIONS §C20, DESIGN.md §6 « The account and the site's chrome ») ----------
   Signing in (.signin + .form-stack), the account's states on a page (.gate-photo, .page-notice, .is-gated), the notifications panel (.drawer--rail + .notifs / .notif),
   the profile menu (.rail__me-btn, .pop + .profile-menu), the Settings page (.settings, .set-row, .acct, .conn), the Set marker (.select--static, .set-ends), the squad
   invitation (.share-msg, .share-facts). Reference build: explorations/GL-1-home|signin|settings.html (_gl1.py; behaviour still page JS in _gl1.js). */

/* the rail's photo is a button: it opens the profile menu (PC); a rail button whose panel is open stays white */
.rail__me-btn{display:grid;place-items:center;width:44px;height:44px;margin:-2px;padding:0;border:0;border-radius:50%;background:none;cursor:pointer;flex:none}
.rail__me-btn:focus-visible{outline:2px solid #fff;outline-offset:0}
.rail__me-btn.is-open .rail__me{box-shadow:0 0 0 2px #fff}
.rail__btn.is-open{background:#fff;color:#121313}
.rail__btn .badge:empty,.page-head__tools .badge:empty{display:none}

/* a white card anchored to its button (PC) — the profile menu; on compact the same content rises as the system's sheet */
.pop{position:fixed;z-index:120;width:360px;max-height:calc(100vh - 20px);display:flex;flex-direction:column;border-radius:20px;background:#fff;box-shadow:var(--shadow-menu);overflow:hidden;
  --fg:var(--ink);--fg-2:var(--ink-muted);--fg-3:var(--ink-subtle);--fg-4:var(--ink-faint);--line:var(--grid-line);--hover:var(--muted-hover);--field:#eff3f0;--sel-bg:#fff;--sel-fg:var(--ink);
  --ctl-line:#c3c9c5;--ctl-off:#d3d9d5;--ctl-on:var(--ink);--ctl-mark:#fff;--seg-track:#eff3f0;color:var(--fg)}
.pop__scroll{overflow:auto;overscroll-behavior:contain;min-height:0}
.ds-motion .pop{animation:ds-pop-rise .26s var(--ease-out)}
.is-leaving.pop{animation:ds-pop-sink .18s var(--ease-in) forwards}
@keyframes ds-pop-rise{from{opacity:0;transform:translateY(8px) scale(.98)}}
@keyframes ds-pop-sink{to{opacity:0;transform:translateY(6px) scale(.98)}}

/* a side panel beside the rail (PC), non-modal: the page stays usable on its right — the notifications [V] GL-05 B */
.drawer.drawer--rail{left:102px;right:auto;width:460px;padding:0;display:flex;flex-direction:column;overflow:hidden;z-index:115}
.ds-motion .drawer.drawer--rail{animation:ds-drawer-rail-in .42s var(--ease-out)}
.is-leaving.drawer.drawer--rail{animation:ds-drawer-rail-out .24s var(--ease-in) forwards}
@keyframes ds-drawer-rail-in{from{opacity:0;transform:translateX(-24px)}}
@keyframes ds-drawer-rail-out{to{opacity:0;transform:translateX(-18px)}}

/* notifications [V] GL-04 B « À faire, puis nouvelles » + GL-N1: To do (by deadline), then News; a reward is claimed in place (CP-07), an action is a
   .btn--outline (CP-28), a kick-off the ICON-02 pill; the unread dot in the alert orange (Q10); ⊗ dismisses */
.notifs__head{display:flex;align-items:center;gap:10px;padding:30px 22px 16px 30px}
.notifs__head .card__title{margin:0 auto 0 0}
.notifs__n{font-size:14px;font-weight:450;color:var(--fg-3)}
.notifs__body{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:0 16px 24px}
.notifs__list{display:flex;flex-direction:column;gap:2px}
.notifs__foot{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 30px 26px}
.notifs__sec{display:flex;align-items:baseline;gap:8px;padding:16px 14px 8px;font-size:12px;color:var(--fg-3)}
.notifs__sec b{font-weight:560;color:var(--fg)}
.notifs__sec:first-child{padding-top:4px}
.notifs__empty{padding:30px 20px}
.pop .notifs__head{padding:22px 20px 14px 24px}.pop .notifs__body{padding:0 10px 14px}.pop .notifs__foot{padding:12px 20px 16px 24px}
.notif{position:relative;display:grid;grid-template-columns:44px minmax(0,1fr) 32px;gap:8px 12px;align-items:start;padding:12px 6px 14px 12px;border-radius:16px}
.notif:hover{background:var(--muted-hover)}
.drawer--rail .notif:hover{background:rgba(255,255,255,.6)}
.notif__media{position:relative;display:grid;place-items:center;width:44px;min-height:44px}
.notif__media .player-pic{--s:44px}
.notif__media .player-faces{flex-direction:column;align-items:center}
.notif__media .player-faces .player-pic{--s:30px;margin:-10px 0 0}.notif__media .player-faces .player-pic:first-child{margin-top:0}
.notif__media .reward-claim{--s:40px;margin-top:2px}
.notif__icon{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;flex:none;background:#eff3f0;color:var(--ink)}
.notif__icon .i{width:20px;height:20px}
.notif__main{min-width:0;padding-top:1px}
.notif__top{display:flex;align-items:baseline;gap:8px}
.notif__title{min-width:0;font-size:15px;font-weight:560;letter-spacing:-.01em;line-height:1.3}
.notif__time{margin-left:auto;flex:none;font-size:12px;color:var(--fg-3);white-space:nowrap}
.notif__dot{flex:none;width:8px;height:8px;margin-right:-2px;border-radius:50%;background:var(--alert);align-self:center}
.notif__text{margin:3px 0 0;font-size:14px;line-height:1.4;color:var(--fg-2)}
.notif__foot{grid-column:2 / 4;display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:-2px}
.notif__foot .c-claim{font-size:12.5px;font-weight:560;color:var(--state-claim)}
.notif__x{width:32px;height:32px;margin-top:-4px}
.notif__x .i{width:18px;height:18px;color:var(--fg-3)}
.notif.is-read .notif__title{font-weight:500}
.notif.is-done{opacity:.45}

/* the profile menu [V] GL-06 A: the Sorare connection and its date, ROI, Settings, the sound in one switch (GL-07 A), Sign out */
.profile-menu__head{display:flex;align-items:center;gap:14px;padding:22px 20px 6px 24px}
.profile-menu__head img{width:52px;height:52px;border-radius:50%;object-fit:cover;flex:none}
.profile-menu__head b{display:block;font-size:20px;font-weight:500;letter-spacing:-.02em}
.profile-menu__head small{display:block;margin-top:3px;font-size:13px;color:var(--fg-3)}
.profile-menu__conn{margin:12px 20px 4px 24px;font-size:13px;line-height:1.45;color:var(--fg-2)}
.profile-menu__list{padding:8px 10px 10px}
.profile-menu__list .lrow{height:52px;gap:12px;font-size:15px;text-decoration:none;color:var(--ink)}
.profile-menu__list .lrow .btn-circle{width:36px;height:36px}
.profile-menu__list .lrow .btn-circle .i{width:18px;height:18px}
.profile-menu__list .lrow > .i{width:16px;height:16px;color:var(--fg-3)}
.profile-menu__list label.lrow{cursor:pointer}
.profile-menu__list .lrow .switch{margin-left:auto}
.profile-menu__list button.lrow{width:100%;border:0;background:none;font:inherit;cursor:pointer;text-align:left}
.profile-menu__gap{height:8px}
.inline-btn{padding:0;border:0;background:none;font:inherit;font-weight:500;color:var(--fg);text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.modal.notifs,.modal.profile-menu{padding:10px 8px calc(var(--sab) + 16px)}
.modal.notifs .notifs__head{padding:2px 10px 12px 12px}.modal.notifs .notifs__body{padding:0 0 10px}.modal.notifs .notifs__foot{padding:12px 10px 4px}

/* the Settings page [V] GL-06 A + GL-Q: cards of rows — title and explanation left, the control right, the whole row tappable (Q12); no lines between rows */
.settings{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;align-items:start}
.settings__col{display:grid;gap:10px}
.settings .card__head{margin-bottom:12px}
.set-row{display:flex;align-items:center;gap:16px;min-height:52px;padding:10px 0}
.set-row + .set-row{margin-top:2px}
label.set-row{cursor:pointer}
.set-row__t{flex:1;min-width:0}
.set-row__t b{display:block;font-size:15px;font-weight:560;letter-spacing:-.01em}
.set-row__t small{display:block;margin-top:3px;font-size:13px;line-height:1.45;color:var(--fg-3)}
.set-row__c{flex:none;display:flex;align-items:center;gap:8px}
.acct{display:flex;align-items:center;gap:16px;margin-bottom:8px}
.acct img{width:64px;height:64px;border-radius:50%;object-fit:cover;flex:none}
.acct b{display:block;font-size:22px;font-weight:500;letter-spacing:-.025em}
.acct small{display:block;margin-top:4px;font-size:14px;color:var(--fg-2)}
.conn{margin:14px 0 6px;padding:16px 18px;border-radius:16px;background:#eff3f0}   /* the Sorare connection: what is left, its date (Q8, Q15) */
.conn__fig{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.conn__fig b{font-size:30px;font-weight:470;letter-spacing:-.025em;line-height:1.1}
.conn__fig span{font-size:14px;color:var(--fg-2)}
.conn p{margin:10px 0 0;font-size:13px;line-height:1.45;color:var(--fg-2)}
.c-danger{color:var(--red-text)}
.note-text{margin:16px 0 0;font-size:13px;line-height:1.5;color:var(--fg-2)}
.note-text b{font-weight:560;color:var(--fg)}
@media (max-width:1100px){.settings{grid-template-columns:minmax(0,1fr)}}

/* signing in [V] GL-01 A « Le tunnel »: the tunnel photo with the site's words (Q17), the form on the light panel (shot 2's split, the photo in the dark side's place) */
.signin{display:grid;grid-template-columns:minmax(0,1fr) 600px;min-height:calc(100vh - 20px)}
.signin > .panel--light{margin-left:-40px;padding:40px 64px;display:flex;flex-direction:column}
.signin > .panel--photo{padding:32px 80px 48px 40px;display:flex;flex-direction:column}
.signin > .panel--photo .panel__media{object-position:40% 50%}
.signin__id{margin-top:auto}
.signin__id .overline{color:var(--on-photo-2)}
.signin__id .t-display{margin:10px 0 0}
.signin__sub{margin:22px 0 0;max-width:470px;font-size:18px;line-height:1.45;color:var(--on-photo-2)}
.signin__col{margin:auto 0;width:100%;max-width:440px}
.signin__title{margin:0;font-size:30px;font-weight:470;letter-spacing:-.025em;line-height:1.15}
.signin__lead{margin:8px 0 22px;font-size:15px;line-height:1.45;color:var(--fg-2)}
.signin__lead b{color:var(--fg);font-weight:560}
.signin__wait{display:flex;flex-direction:column;align-items:center;text-align:center;gap:14px;padding:40px 10px 30px}
.signin__wait .spinner{width:28px;height:28px}
.signin__wait b{font-size:18px;font-weight:500}
.signin__wait small{font-size:14px;color:var(--fg-2)}
.form-stack{display:grid;gap:12px}   /* fields 78 high, the primary full width (.btn--l), the error banner on top (Q7) */
.form-stack .field{min-height:78px;padding:18px 52px 14px 16px}
.form-stack .field.is-error{box-shadow:0 0 0 1.5px var(--red)}
.form-stack .field__value,.form-stack .field__value input{font-size:18px}
.form-stack .field__help{margin:2px 0 0 16px;font-size:13px}
.form-stack .btn--l{width:100%}
.form-stack .banner b{font-weight:560}
.field:focus-within{box-shadow:0 0 0 2px var(--fg,#121313)}   /* [V] §18 Focus (C54): 2 px --fg — at 16 % ink it read 1.3:1, under the 3:1 a focus sign needs (WCAG 1.4.11) */   /* the field's focus ring ([D] .is-focus, promoted with GL-01) */
.field.is-error:focus-within{box-shadow:0 0 0 1.5px var(--red)}
.field__eye{position:absolute;right:8px;top:calc(50% - 22px);width:44px;height:44px;border:0;border-radius:12px;background:none;color:var(--fg-2);display:grid;place-items:center;cursor:pointer}   /* show / hide (Q3) */
.field__eye .i{width:20px;height:20px}
.field--code input{font-size:26px!important;letter-spacing:.3em;font-variant-numeric:tabular-nums}
.modal .field{background:#eff3f0}   /* a field in a white window (Q11) */
.or-sep{display:flex;justify-content:center;margin:8px 0 2px;font-size:12px;color:var(--fg-3)}
@media (max-width:1100px){.signin{grid-template-columns:minmax(0,1fr) 520px}.signin > .panel--light{padding:40px 44px}}
@media (max-width:899px){.signin{grid-template-columns:minmax(0,1fr)}.signin > .panel--light{margin:10px 0 0}.signin > .panel--photo{min-height:360px}}

/* the account's states on a page [V] GL-02 C · GL-03 A: the gate on the page's own photo (signed out: the official pack dimmed + lock, « Your club starts here. »,
   Sign in with Sorare + Explore a preview; expired: « Reconnect Sorare » + Sign in again); the hero holds the screen (.is-gated); notices under the head (.page-notice) */
.gate-photo{display:flex;flex-direction:column;align-items:flex-start;max-width:560px;margin:70px 0 30px}
.gate-photo .gate__art{margin:0 0 26px}
.gate-photo .t-display,.gate-photo .t-section{margin:0}
.gate-photo p{margin:20px 0 0;max-width:470px;font-size:18px;line-height:1.45;color:var(--on-photo-2)}
.gate-photo .gate__actions{justify-content:flex-start;margin-top:28px}
.panel--photo .gate-photo .empty__icon{background:rgba(255,255,255,.14);color:#fff}
.panel--photo-light .gate-photo p,.panel--light .gate-photo p{color:var(--fg-2)}   /* the gate on a light photo (the player page) or a light panel: ink text */
.ds-gated-hide{display:none!important}   /* DS.chrome: what a signed-out or expired page hides (balances, bell, the page's content) */
.panel.is-gated,.main > .panel.is-gated{min-height:calc(100vh - 20px)}
.page-notice{display:grid;gap:10px;margin:18px 0 0;max-width:820px}
.page-notice .banner{color:var(--ink)}

/* the Set marker [V] GL-08 A « Le repère »: the official Essence + the name, nothing opens; « Ends in … » beside it where the page does not say it already */
.select--static{cursor:default;padding-right:14px}
.select--static .chev{display:none}
.set-ends{margin-left:4px;font-size:14px;font-weight:450;color:var(--fg-2);white-space:nowrap;align-self:center;vertical-align:middle}
.panel--photo .set-ends,.on-photo .set-ends{color:var(--on-photo-2)}

/* the squad invitation [V] GL-09 A « Envoyer le nom »: a window with the message to share (the squad's name to search on Sorare, seats left) */
.share-msg{margin:16px 0 0;padding:16px 18px;border-radius:16px;background:#eff3f0;font-size:15px;line-height:1.45}
.share-facts{display:flex;flex-wrap:wrap;gap:6px 14px;margin-top:14px;font-size:13px;color:var(--fg-2)}
.share-facts b{color:var(--fg);font-weight:560}

@media (max-width:599px){
  .signin{display:flex;flex-direction:column;gap:8px;min-height:0}
  .signin > .panel--photo{min-height:0;height:calc(300px + var(--sat));padding:calc(var(--sat) + 22px) 16px 22px}
  .signin > .panel--photo .panel__media{object-position:46% 50%}
  .signin > .panel--photo::after{background:linear-gradient(180deg,rgba(0,0,0,.42) 0,rgba(0,0,0,.08) 40%,rgba(0,0,0,.62) 100%)}
  .signin__sub{display:none}
  .signin > .panel--light{margin:0;padding:24px 16px calc(var(--sab) + 120px);min-height:0}
  .signin__title{font-size:26px}
  .form-stack .btn--l{height:52px;border-radius:16px}
  .notif__text,.note-text,.profile-menu__conn,.signin__lead{font-size:15px}
  .notif__media .reward-claim{--s:44px}
  .gate-photo{margin:26px 0 8px}
  .gate-photo p{font-size:16px}
  .gate-photo .gate__actions{flex-direction:column;align-items:stretch;width:100%}
  .gate-photo .gate__actions .btn{height:52px;border-radius:16px}
  .panel.is-gated,.main > .panel.is-gated{min-height:calc(100svh - 96px)}
  .page-head > .page-head__back{order:-1}   /* a back circle stays before the title on the first row */
}

/* ---------- Prism V2 · the pending choices [V] C19 PI-2 (user, 2026-10-18: « Tes recommandations ») ----------
   .sorare-card.is-face   a card Sorare / Prism has no picture for (PI-2 1A): the player's official face in the card's place, on the picture disc's
                          colours (.player-pic: #e2e7f1 light, #393c3d dark); no face either → the empty card shape. No card is drawn or faked.
   body.is-loading        a /set/v2 page waiting for Prism (PI-2 2A): the photo and the page head stay (title, Set marker, the account's tools); the rest
                          of the first panel (every branch but the photo and the head: .ds-loading-hide), the panels after it, the head's live figures and the compact
                          head's are hidden; .page-loading holds the
                          skeletons (the shapes of what comes) and, after 3 s, one sentence saying what is read. Nothing of the prototype shows, no button is live. */
.sorare-card.is-face{border-radius:calc(var(--w,168px) * .07);background:#e2e7f1;overflow:hidden}
.sorare-card.is-face > img{object-fit:cover;object-position:50% 18%;filter:none}
:is(.panel--dark,.on-dark,.panel--photo,.on-photo,.card-stage) .sorare-card.is-face{background:#393c3d}
body.is-loading :is(.ds-loading-hide,.page-head__end,.mhead__end,.p-banner,.page-notice){visibility:hidden}   /* .ds-loading-hide: set by the page's loader, as the gate does */
.page-loading{display:grid;gap:14px;margin-top:28px;max-width:720px}
.page-loading .skeleton{height:18px;width:72%}
.page-loading .skeleton.page-loading__big{height:92px;width:46%;border-radius:14px}
.page-loading .skeleton.page-loading__short{width:38%}
.page-loading__row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-top:14px}
.page-loading__row .skeleton{width:auto;height:150px;border-radius:14px}
.page-loading__say{margin:6px 0 0;font-size:14px;color:var(--fg-2);opacity:0;animation:ds-say-in .4s 3s forwards}
@keyframes ds-say-in{to{opacity:1}}
.panel--photo .page-loading__say,.on-photo .page-loading__say{color:var(--on-photo-2)}
:is(.panel--photo,.on-photo) .page-loading{--sk-a:rgba(255,255,255,.08);--sk-b:rgba(255,255,255,.16)}   /* the skeletons on the page's photo: its translucent whites (as .price-btn on photo) */
@media (max-width:599px){.page-loading__row{grid-template-columns:repeat(3,minmax(0,1fr))}.page-loading__row .skeleton:nth-child(n+4){display:none}.page-loading .skeleton.page-loading__big{height:72px;width:60%}}
@media (prefers-reduced-motion:reduce){.page-loading__say{animation:none;opacity:1}}
.set-row__c > .btn--ghost.btn--s:last-child{margin-right:-12px}   /* C19 PI-2: a ghost button's word on the same right edge as the filled and outlined ones */

/* =====================================================================================
   player search [V] SR-01 … SR-05 + SR-Q (user, 2026-10-18; DECISIONS §C21, DESIGN.md §6 « Player search ») — ds.js DS.chrome (cfg.search):
   the rail's magnifier (in its bottom group, just above the bell — SR-01 C; its name says the shortcut) and, on iPhone, the circle beside the bell in the page head's tools
   (SR-03 B) open
   .drawer--rail.psearch beside the rail (the notifications' side panel, GL-05 B), a full-height sheet on compact (PF-04). Rows .psearch-row: the official face,
   name, position · crest + club, the L10 average as the .score chip on the ramp
   ===================================================================================== */
.rail__btn[data-ds-search][data-key]::after{content:attr(aria-label) "  ·  " attr(data-key)}
.page-head__tools [data-ds-search].is-open{background:#fff;color:#121313}
.psearch{color:var(--ink)}
.psearch__head{display:flex;align-items:center;gap:10px;padding:30px 22px 14px 30px}
.psearch__head .card__title{margin:0 auto 0 0}
.psearch__field{padding:0 22px 4px 30px}
.psearch__field .search{padding-right:6px}
.psearch input[type=search]::-webkit-search-cancel-button{-webkit-appearance:none;display:none}
.psearch__clear{display:grid;place-items:center;width:36px;height:36px;flex:none;border:0;border-radius:50%;background:none;color:var(--fg-3);cursor:pointer}
.psearch__clear .i{width:20px;height:20px}
.psearch__status{margin:0;padding:10px 30px 0;font-size:13px;line-height:1.35;color:var(--fg-3)}
.psearch__status:not(.is-shown){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;padding:0}
.psearch__body{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:6px 16px 18px}
.psearch__sec{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:32px;padding:10px 0 4px 14px;font-size:12px;color:var(--fg-3)}
.psearch__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px}
.psearch-row{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:12px;min-height:60px;padding:8px 14px 8px 12px;border-radius:16px;color:var(--ink);text-decoration:none}
a.psearch-row:hover{background:var(--muted-hover)}
.drawer--rail a.psearch-row:hover{background:rgba(255,255,255,.6)}
.psearch-row__id{display:flex;flex-direction:column;min-width:0}
.psearch-row__name{font-size:16px;font-weight:560;letter-spacing:-.01em;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.psearch-row__meta{display:block;margin-top:2px;font-size:13px;line-height:20px;color:var(--fg-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.psearch-row__meta .crest{display:inline-block;vertical-align:-7px;margin-right:6px}
.psearch-row__own{color:var(--ink);font-weight:560}
.psearch-row__l10{display:flex;flex-direction:column;align-items:center;gap:3px}
.psearch-row__l10 .score{min-width:38px}
.psearch-row__l10 small{font-size:11px;line-height:1;color:var(--fg-3)}
.psearch .empty{padding:30px 20px 24px}
.psearch .banner{margin:10px 4px}
.psearch__foot{display:flex;flex-wrap:wrap;align-items:center;gap:6px 16px;padding:12px 30px 22px;font-size:12px;color:var(--fg-3)}
.psearch__foot kbd{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;margin-right:3px;border-radius:6px;background:rgba(255,255,255,.72);color:var(--ink);font:500 11px/1 var(--font)}
@media (max-width:599px){
  .modal.psearch{height:calc(100svh - var(--sat) - 24px);padding:10px 0 0;display:flex;flex-direction:column;overflow:hidden}
  .psearch__head{padding:0 12px 10px 22px}
  .psearch__field{padding:0 16px 2px}
  .psearch__field .search{background:#eff3f0}
  .psearch__field input{font-size:17px}
  .psearch__status{padding:10px 22px 0;font-size:15px}
  .psearch__body{padding:4px 6px calc(var(--sab) + 18px)}
  .psearch__sec{padding-left:16px}
  .psearch-row{min-height:64px}
}

/* =====================================================================================
   The Set Pass [V] C75 (owner, 2026-11-27; DESIGN.md §6 « The Set Pass », DECISIONS C75 SP-1 … SP-17). A window over the page — the system's
   .overlay > .modal.sp-win, 1,000 px on PC, the bottom sheet on iPhone: the stage figure and the member's chat points (.sp-head), the track as a ribbon
   that scrolls sideways (.sp-rib, a tile per stage: button.sp-rt) with its overview of the thirty stages (.sp-map, in place of the browser's scrollbar),
   the challenges (the Daily Boost's .checklist) and the Squad's stages (.sp-mate). A look is pictured as it will be worn, with the chat's own pieces on
   the chat's ground (.sp-pv). Outside the chat a worn badge is the small neutral pill .sp-badge beside a name (SP-17 a).
   --set-tone: the Set's own colour for a name and a highlighted line (SP-Q10), chosen with each Set's art direction; until it is decided, the chat's
   own text colour. ds.js: DS.chrome (config `pass`; [data-ds-pass] opens the window).
   ===================================================================================== */
:root{--set-tone:var(--on-dark)}
.modal.sp-win{--sp-tile:#eff3f0;width:min(1000px,calc(100vw - 40px));max-height:calc(100vh - 40px);display:flex;flex-direction:column;padding:24px 0 0}
.modal.sp-win > .modal__head{flex:none;padding:0 30px}
.sp-win__body{flex:1;min-height:0;overflow-x:hidden;overflow-y:auto;padding:20px 30px 30px;overscroll-behavior:contain}
.sp{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:24px 40px;align-items:start;min-width:0}
.sp > .sp-head,.sp > .sp-trackbox{grid-column:1 / -1;min-width:0}
.sp-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px 40px;flex-wrap:wrap}
.sp-fig{display:flex;flex-direction:column;gap:4px;min-width:0}
.sp-fig__l{font-size:12px;color:var(--fg-3)}
.sp-fig__n{font-size:42px;line-height:1;font-weight:400;letter-spacing:.015em;font-variant-numeric:tabular-nums}
.sp-fig__n small{margin-left:4px;font-size:18px;font-weight:400;color:var(--fg-3)}
.sp-fig__s{font-size:15px;line-height:1.35;color:var(--fg-2)}
.sp-fig__s.is-ready{color:var(--state-claim);font-weight:560}
.sp-pts{display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 14px;border-radius:12px;background:var(--sp-tile);font-size:15px;font-weight:500;letter-spacing:.015em;font-variant-numeric:tabular-nums}
.sp-pts .i{width:18px;height:18px}
.sp-pts small{font-size:12px;font-weight:400;color:var(--fg-3);letter-spacing:0}
/* a stage of points: the system's .reward-claim with the points' icon (tick when claimed, green ring when ready) */
.sp .reward-claim > .i{width:22px;height:22px;color:var(--fg);opacity:.5}
.sp .reward-claim.is-ready > .i{opacity:1}
.sp .reward-claim.is-claimed > .i{opacity:.3}
/* a look, pictured with the chat's pieces on the chat's ground: the name and its badge pill, the name in the Set's tone, the reaction pill, the goal
   cry, the highlight's pill */
.sp-pv{display:inline-flex;align-items:center;justify-content:center;gap:6px;max-width:100%;min-height:40px;padding:8px 12px;border-radius:12px;background:#141516;color:var(--on-dark);font-size:15px;line-height:1.2;white-space:nowrap;overflow:hidden}
.sp-pv b{font-weight:560;overflow:hidden;text-overflow:ellipsis}
.sp-pv__name.is-tone{color:var(--set-tone)}
.sp-pv__badge{flex:none;padding:1px 6px;border-radius:6px;background:rgba(255,255,255,.09);font-size:12px;font-weight:500;letter-spacing:.02em;color:var(--on-dark-2)}
.sp-pv__rx{display:inline-flex;align-items:center;gap:4px;height:26px;padding:0 8px;border-radius:15px;background:rgba(255,255,255,.09);font-size:15px}
.sp-pv__rx small{font-size:12px;font-weight:500;color:var(--on-dark)}
.sp-pv__cry{font-size:15px;font-weight:600;letter-spacing:.01em}
.sp-pv__hi{padding:3px 8px;border-radius:8px;background:rgba(255,255,255,.1);font-size:13px}
.sp-pv__hi i{font-style:normal;color:var(--set-tone)}
/* the ribbon: one line that scrolls sideways, opened on the stage to play; its own scrollbar is hidden, the overview under it does the job */
.sp-ribwrap{position:relative}
.sp-rib{display:flex;gap:8px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;padding:4px 2px;scrollbar-width:none}
.sp-rib::-webkit-scrollbar{display:none}
.sp-rib:focus-visible{outline:2px solid var(--fg);outline-offset:2px;border-radius:16px}
.sp-rt{position:relative;flex:none;width:132px;scroll-snap-align:center;display:flex;flex-direction:column;align-items:center;gap:8px;padding:12px 8px;border:0;border-radius:16px;background:var(--sp-tile);color:inherit;font:inherit;text-align:center;cursor:default}
.sp-rt.is-look{width:168px}
.sp-rt.is-ready,.sp-rt.is-wear,.sp-rt.is-worn{cursor:pointer}
.sp-rt.is-ready{background:var(--green-tint)}
.sp-rt.is-claimed{background:none}
.sp-rt__n{font-size:12px;color:var(--fg-3);font-variant-numeric:tabular-nums}
.sp-rt.is-next .sp-rt__n{color:var(--fg);font-weight:560}
.sp-rt__pv{display:flex;align-items:center;justify-content:center;min-height:52px;width:100%}
.sp-rt.is-locked .sp-pv,.sp-rt.is-next .sp-pv{opacity:.55}
.sp-rt__c{max-width:100%;font-size:13px;line-height:1.25;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sp-rt__s{font-size:12px;line-height:1.25;color:var(--fg-3)}
.sp-rt.is-ready .sp-rt__s{color:var(--state-claim);font-weight:600}
.sp-rt.is-wear .sp-rt__s{color:var(--fg);font-weight:560}
.sp-rt.is-worn .sp-rt__s{color:var(--state-won)}
.sp-rt.is-claimed .sp-rt__c{color:var(--fg-3)}
.sp-rt:focus-visible{outline:2px solid var(--fg);outline-offset:-2px}
.sp-rt[aria-busy="true"]{opacity:.6}
@media (hover:hover){.sp-rt.is-ready:hover{background:#dcf5de}.sp-rt.is-wear:hover,.sp-rt.is-worn:hover{background:var(--sp-tile)}}
.sp-ribnav{position:absolute;top:50%;z-index:2;margin-top:-34px}
.sp-ribnav--l{left:-12px}.sp-ribnav--r{right:-12px}
.sp-ribnav.btn-circle{background:#fff;box-shadow:0 4px 14px rgba(24,40,32,.16)}
.sp-ribnav[hidden]{display:none}
/* the overview [V] SP-10 b « Le repère »: the thirty stages in miniature, a mark per stage at its true place, the ten looks taller, what is claimed in
   ink, a ready stage in the claim green, the part in view as a soft thumb; a press or a drag moves the ribbon. Decorative for a screen reader. */
.sp-map{display:flex;align-items:center;gap:10px;margin-top:6px}
.sp-map__l{flex:none;min-width:14px;font-size:12px;color:var(--fg-3);font-variant-numeric:tabular-nums;text-align:center}
.sp-map__rail{position:relative;flex:1;height:28px;cursor:pointer;touch-action:none}
.sp-map__rail b{position:absolute;top:50%;height:6px;margin-top:-3px;border-radius:3px;background:var(--dash-line)}
.sp-map__rail b.is-look{height:14px;margin-top:-7px;border-radius:4px}
.sp-map__rail b.is-claimed{background:var(--ink)}
.sp-map__rail b.is-ready{background:var(--state-claim)}
.sp-map__win{position:absolute;top:2px;bottom:2px;border-radius:8px;background:rgba(18,19,19,.08);pointer-events:none}
/* the challenges (the Daily Boost's checklist) and the Squad's stages */
.sp-part{min-width:0}
.sp-part > .label{margin:0 0 6px;padding-left:0}
.sp-part > .label ~ .label{margin-top:20px}
.sp-part .checklist{margin-top:0}
.sp-part .checklist li{min-height:48px;font-size:15px}
.sp-part .checklist li > small{flex:none;font-size:13px;color:var(--fg-3);font-variant-numeric:tabular-nums}
.sp-part .checklist li.is-done > small{color:var(--state-won)}
.sp-more{margin-top:8px}   /* « + N more »: the system's small outlined button */
.sp-rule{margin:10px 0 0;font-size:13px;line-height:1.45;color:var(--fg-3)}
.sp-mate{display:grid;grid-template-columns:32px minmax(0,1fr) auto;gap:10px;align-items:center;min-height:44px;font-size:15px}
.sp-mate .player-pic{--s:32px}
.sp-mate__n{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sp-mate b{font-weight:600;font-variant-numeric:tabular-nums}
.sp-mate b small{margin-left:2px;font-size:12px;font-weight:450;color:var(--fg-3)}
.sp-mate.is-me .sp-mate__n{font-weight:600}
.sp > .sp-part--squad:only-of-type{grid-column:1 / -1;columns:2;column-gap:40px}   /* an ended pass has no challenges: the Squad takes the two columns */
.sp > .sp-part--squad:only-of-type > .label{column-span:all}
.sp-mate{break-inside:avoid}
/* a worn badge beside a name, outside the chat [V] SP-17 a: the chat's badge pill in the surface's own neutrals — never a colour */
.sp-badge{display:inline-block;flex:none;vertical-align:1px;margin-left:6px;padding:1px 6px;border-radius:6px;background:var(--muted);font-size:12px;line-height:1.35;font-weight:500;letter-spacing:.02em;color:var(--ink-muted);white-space:nowrap}
.p-mrow__n b > .sp-badge{margin-left:0}   /* the Battle Royale's rows: the name's own flex gap spaces it */
:is(.panel--dark,.on-dark,.panel--photo,.on-photo,.card--glass-dark) .sp-badge{background:rgba(255,255,255,.09);color:var(--on-dark-2);text-shadow:none}
:is(.panel--dark,.on-dark,.panel--photo,.on-photo,.card--glass-dark) :is(.panel--light,.on-light,.card--white,.modal,.menu,.p-mrow.is-me) .sp-badge{background:var(--muted);color:var(--ink-muted)}   /* .p-mrow.is-me: the Battle Royale's own row, white on its dark board */
/* the toast's action (« Challenge done · stage 23 is ready » · « Claim ») */
button.toast__action{min-height:44px;margin-left:6px;padding:0 4px;border:0;background:none;color:#fff;font:inherit;font-weight:560;cursor:pointer;text-decoration:underline;text-underline-offset:3px;pointer-events:auto}
@media (max-width:1023px){
  .sp{grid-template-columns:minmax(0,1fr)}
  .sp > .sp-part--squad:only-of-type{columns:auto}
}
@media (max-width:599px){
  .modal.sp-win{width:100%;max-height:calc(100svh - var(--sat) - 20px);padding:10px 0 0;overflow:hidden}
  .modal.sp-win > .modal__head{padding:0 18px}
  .sp-win__body{padding:16px 18px calc(24px + var(--sab))}
  .sp{gap:20px}
  .sp > .sp-part--todo{order:1}.sp > .sp-trackbox{order:2}.sp > .sp-part--squad{order:3}   /* [V] SP-Q7: what to do first, the map after */
  .sp-fig__n{font-size:36px}
  .sp-rt{width:118px}.sp-rt.is-look{width:150px}
  .sp-ribnav{display:none}
  .sp-map__rail{height:44px}.sp-map__win{top:10px;bottom:10px}
  .sp-part .checklist li{min-height:52px}
  .sp-part .checklist .btn,.sp-more{min-height:44px}
  .sp-rule{font-size:15px}
}
@media (prefers-reduced-motion:reduce){.sp-rib{scroll-behavior:auto}.sp *{animation:none!important;transition:none!important}}
/* ===================================================================================================================================== */
/* The squad's call [V] C82 SVL-1 a « La ligne du capitaine » (2026-12-01) — DS.squadCall.html(): the captain's picture 24 + « Captain: we sit out today »,
   the verdict 560, the rest --fg-2; on the photo heads (Matchday, the builder) the on-photo greys. No colour, no pill: the same weight every day. */
.ds-sqcall{display:inline-flex;align-items:center;gap:8px;min-width:0;margin:0;font-size:15px;line-height:1.3;color:var(--fg-2)}
.ds-sqcall .player-pic{flex:none}
.ds-sqcall__t{min-width:0}
.ds-sqcall b{color:var(--fg);font-weight:560}
.ds-sqcall__sq{color:var(--fg);font-weight:560}
.ds-sqcall__sep{margin:0 6px;opacity:.5}
.page-head__end .ds-sqcall{font-size:14px;margin-right:16px;white-space:nowrap;color:var(--on-photo-2,#d6d7d7)}
.page-head__end .ds-sqcall b,.page-head__end .ds-sqcall__sq{color:#fff}
@media (max-width:599px){ .page-head__end .ds-sqcall{margin-right:12px} }
@media (prefers-reduced-motion:no-preference){ .ds-sqcall.is-new{animation:ds-sqcall-in .32s cubic-bezier(.2,.8,.2,1) both} @keyframes ds-sqcall-in{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}} }
/* where the call sits (C82): the Home's squad band (its window, the iPhone ring's sheet) and its folded line (the verdict alone, in « My Squad »'s place) */
.squad-band__card .squad-band__call{display:flex;margin:10px 0 0}
.squad-band__call[hidden]{display:none}
.squad-band__call .ds-sqcall{font-size:14px;color:var(--fg-2)}
.hf-line__t .ds-sqcall{display:block;max-width:100%;margin-top:1px;font-size:12px;line-height:1.2;color:var(--fg-2);white-space:normal}   /* two short lines where the column is narrow (1,440: « On passe / aujourd'hui »), never cut */
.hf-line__t .ds-sqcall__t{display:inline}
.hf-line__t .ds-sqcall b{display:inline;font-size:inherit;line-height:inherit;letter-spacing:0;font-weight:500;color:var(--fg);white-space:normal;overflow:visible}   /* not the line's name (.hf-line__t b) */
/* ===== [V] C84 — a player's projected score during his match (owner, 2026-12-02: « Cc, Q ok, 4a 5a 6a »; DESIGN.md « A player's projected score
   during his match »): the ring drawn on, in beads, to where Prism expects him to finish (his projection before bonus) — ds.js haloOnSVG, ringSVG. */
/* the busts (dark plates) and the sheet's halo (white): beads in the halo's tone, round caps, an open end point */
.bust__halo .halo-on,.score-halo .halo-on{fill:none;stroke:color-mix(in oklab,var(--halo) 70%,#fff);stroke-opacity:.95;stroke-dasharray:.01 4.6;stroke-linecap:round}
.bust__halo .halo-on__end{fill:#1b1d1d;stroke:color-mix(in oklab,var(--halo) 70%,#fff)}
.score-halo .halo-on{stroke:var(--halo);stroke-opacity:1}
.score-halo .halo-on__end{fill:#fff;stroke:var(--halo)}
/* the sheet: « Projected 77 · likely 70–86 » on its own line, under the match line and the live split */
.player-sheet__now > .player-sheet__proj{flex-basis:100%}
/* a lineup card's score as a small ring (PP-8 c): 36 px, no fill, the figure in ink at the centre (AA on white: the ramp tone alone is ≈ 3:1) */
.score-ring{position:relative;display:inline-grid;place-items:center;flex:none;width:36px;height:36px;vertical-align:middle}
.score-ring > .score{position:relative;z-index:1;min-width:0;min-height:0;padding:0;border-radius:0;background:none!important;box-shadow:none;
  color:var(--ink);font-size:12.5px;font-weight:600;line-height:1;letter-spacing:0}
:is(.panel--dark,.on-dark,.card-stage) .score-ring > .score{color:var(--on-dark)}
.score-ring__svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}
.score-ring__t{fill:none;stroke:var(--ring,#4a9a7c);stroke-linecap:round}
.score-ring__on{fill:none;stroke:var(--ring,#4a9a7c);stroke-dasharray:.01 7;stroke-linecap:round}
.score-ring__end{fill:#fff;stroke:var(--ring,#4a9a7c)}
/* a lineup keeps one height: once one of its cards shows a ring, every card's score sits in a ring-high slot (a chance chip, the XI's word) */
.score-slot{display:inline-flex;align-items:center;justify-content:center;flex:none}
:is(.p-five,.sq-five):has(.score-ring) .score-slot{min-height:36px}
