
/* The Home — page layout only (p-: the page · lz-: the lineup spotlight · hf-: the one-screen fit, pages/_home_fit.css); visuals come from ds.css (the busts: .busts).
   Desktop first, then ≤ 1279, medium (< 1024), compact (< 600); the cockpit's columns and what folds are drawn by the fit [V] C42. */
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.p-logo{display:block;margin-bottom:20px}.p-logo .rail__logo{margin:0}
.p-bell{position:relative}
.p-bell .badge{position:absolute;right:-5px;top:-4px;--ring:#000;min-width:18px;height:18px;font-size:10.5px}
.badge:empty{display:none}
.p-top{padding:32px 40px 40px;color:#fff}
.p-top .page-head__end .link-arrow,.p-top .kpi{color:#fff}
.p-id{grid-area:id;display:flex;flex-direction:column;min-width:0;padding-top:6px}
.p-over{font-size:15px;letter-spacing:.02em;color:var(--on-photo-2);margin-bottom:20px}
.p-title{margin:0;white-space:nowrap}
.p-title.is-won #lv-word{background:linear-gradient(100deg,#fff 30%,#bdf5bb 45%,#fff 60%) 0 0/250% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;animation:p-shim 2.4s var(--ease-out) 2}
@keyframes p-shim{from{background-position:120% 0}to{background-position:-60% 0}}
.p-goal{margin:26px 0 0;font-size:24px;font-weight:450;letter-spacing:-.015em;line-height:1.2}
.p-facts{margin:10px 0 0;font-size:15px;line-height:1.45;color:var(--on-photo-2);letter-spacing:.01em}
.p-nw{white-space:nowrap}   /* « 3 d 5 h » never splits */
.p-prize{display:flex;align-items:center;gap:16px;margin-top:30px}
.p-prize b{display:block;font-size:16px;font-weight:560}
.p-prize div span{display:block;margin-top:3px;font-size:13.5px;color:var(--on-photo-2)}
.p-prize small{display:block;margin-top:4px;font-size:12.5px;color:var(--on-photo-3)}
.p-prize small.c-claim{color:#7fe07c}
.p-acts{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:auto;padding-top:28px}
.p-acts .btn .spinner{width:16px;height:16px}
/* LB-18 Q5 H4 (C14, 31 Oct): the next level under the level's buttons — to plan (dashed, as the builder's frieze) or planned (glass, its five) */
.p-next-slot:empty{display:none}
.p-next{display:flex;align-items:center;gap:12px;width:100%;max-width:400px;min-height:64px;margin-top:16px;padding:12px 16px;border:0;border-radius:16px;font:inherit;color:#fff;text-align:left;
  background:rgba(26,26,26,.6);-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px);cursor:pointer;transition:background .16s cubic-bezier(.2,.8,.2,1),border-color .16s cubic-bezier(.2,.8,.2,1)}
div.p-next{cursor:default}
.p-next.is-plan{background:rgba(26,26,26,.35);border:1px dashed rgba(255,255,255,.55)}
.p-next > .i{flex:none;width:22px;height:22px;color:var(--on-photo-2)}
.p-next__t{display:flex;flex-direction:column;gap:2px;min-width:0}
.p-next__t b{font-size:15px;font-weight:560;line-height:19px}
.p-next__t span{font-size:12px;line-height:15px;color:var(--on-photo-2);text-wrap:pretty}
.p-next.is-warn .p-next__t span{color:#ffa268}
.p-next__faces{display:flex;flex:none;margin-left:auto;padding-left:9px}
.p-next__faces img{width:28px;height:28px;margin-left:-9px;border-radius:50%;object-fit:cover;background:#393c3d;box-shadow:0 0 0 2px #2a2c2d}
.ds-motion .p-next.is-new .p-next__faces img{animation:p-next-face .5s cubic-bezier(.2,.7,.2,1) both;animation-delay:calc(var(--i) * 70ms + 120ms)}
@keyframes p-next-face{from{opacity:0;transform:translateX(12px) scale(.7)}}
@media (hover:hover){button.p-next:hover{background:rgba(26,26,26,.75)} .p-next.is-plan:hover{border-color:#fff}}
.p-next:focus-visible{outline:2px solid #fff;outline-offset:2px}
@media (max-width:599px){.p-next{max-width:none;margin-top:12px}}
.p-roadbox{grid-area:road;padding:20px 30px 16px}
.p-roadbox .level-road{justify-content:space-between}
.p-roadbox .level-node{width:92px}
.p-roadbox .level-link{min-width:24px}
.p-inbox{grid-area:inbox;min-width:0}
.p-inbox .inbox__sep{background:rgba(255,255,255,.14)}
.p-inbox .inbox__label{color:var(--on-photo-3)}
.p-inbox-c{display:none}
.claim-row{transition:opacity .3s,transform .3s}
.claim-row.is-out{opacity:0;transform:translateX(16px)}
@keyframes p-ready{to{visibility:visible}}
.p-grp{margin:2px 0 4px;font-size:12px;color:var(--fg-3)}
.p-grp + .claim-row{margin-top:0}
#squad .player-faces .player-pic{--ring:#fff;margin-left:-4px}#squad .player-faces .player-pic:first-child{margin-left:0}
.p-more .player-pic__initials{font-size:12px}
#squad{cursor:pointer}   /* the whole band opens the Squad page; its photo answers the pointer */
#squad .squad-band__photo{transition:transform .7s var(--ease-out)}
@media (hover:hover){#squad:hover .squad-band__photo{transform:scale(1.03)}}
#squad:active .squad-band__photo{transform:scale(1.015)}
/* the squad's level claimed from here (2026-10-18): the green claim button, the official picture of the pack won in it, alone in the band's top-right
   corner on the photo (user: « pas besoin que ça fasse tout le bandeau … juste dans le coin supérieur droit ») */
.p-squadwin__btn{position:absolute;top:22px;right:22px;z-index:1;box-shadow:0 6px 18px rgba(0,0,0,.35)}
.p-squadwin__btn img{height:26px;width:auto;margin:-6px -2px -6px -4px;filter:drop-shadow(0 2px 3px rgba(0,0,0,.25))}
/* C40 « L'objet attend »: the squad's pack waits in its button (« Claiming… », the system's reward bob); a reward claimed at once keeps its tick while Sorare
   gives it and its ring turns too (the claimed look hides the ring) */
.p-squadwin__btn img.is-waiting{animation:ds-busy-bob 1.5s cubic-bezier(.45,0,.55,1) infinite}
.inbox__all.is-loading{justify-content:center}   /* « Collecting… » centred (the idle button spreads its words and its sum) */
.reward-claim.is-claimed.is-waiting{--rc:var(--state-claim)}
.reward-claim.is-claimed.is-waiting::before{display:block;background:conic-gradient(var(--rc) 0 26%,var(--busy-track,rgba(18,19,19,.1)) 0)}
.modal[tabindex="-1"]:focus{outline:none}   /* C19 PI-2 (the demo too): the choice window holds the focus on open, without a ring that reads as a picked tile */
.x-status,.x-homebar{display:none}
/* ---- the lineup spotlight (PG-09 · CP-09): the level's lineups as tabs, a scorebug, the five busts (ds.css .busts), the projection ---- */
.spot{grid-area:stage;display:flex;flex-direction:column}
.lz-head{display:flex;align-items:center;gap:10px;min-height:40px}
.lz-head .seg{--seg-track:rgba(0,0,0,.45)}
.lz-head .seg__opt{gap:7px;padding:0 12px}
.lz-head .seg__opt .live-dot{width:7px;height:7px;color:var(--state-live)}
.lz-head .seg__opt .i{width:16px;height:16px}
.lz-head__end{display:flex;align-items:center;gap:6px;margin-left:auto}
.lz-lvl{font-size:16px;font-weight:560}
.lz-head .btn--ghost,.lz-stats .btn--ghost{color:#fff}
.lz-stage{position:relative;padding-top:52px}
.spot .busts{margin-top:8px}
/* the scorebug: the lineup's state, its score against the target, its chance */
.lz-bug{position:absolute;z-index:6;left:0;top:0;display:flex;align-items:stretch;border-radius:12px;overflow:hidden;background:rgba(12,14,14,.88);
  -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:0 0 0 1px rgba(255,255,255,.1),0 10px 24px rgba(0,0,0,.4);color:#fff;font-variant-numeric:tabular-nums;white-space:nowrap}
.lz-bug > span{display:flex;align-items:center;gap:6px;min-height:42px;padding:0 13px}
.lz-bug__st{background:rgba(255,255,255,.1);font-size:12.5px;font-weight:560}
.lz-bug__st .live-dot{width:7px;height:7px;color:var(--state-live)}
.lz-bug__st .i{width:16px;height:16px}
.lz-bug__n{font-size:13px;color:var(--on-photo-2)}
.lz-bug__sc{padding-right:6px!important}.lz-bug__sc b{font-size:22px;font-weight:500}.lz-bug__sc small{font-size:12px;color:var(--on-photo-3)}
.lz-bug__ch{font-size:16px;font-weight:600;border-left:1px solid rgba(255,255,255,.12)}
@keyframes lz-wipe{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 0 0 0)}}
.ds-motion .lz-stage .lz-bug{animation:lz-wipe .7s var(--ease-out) .4s backwards}
/* CP-08: the shared Chance to reach component beneath the featured lineup. */
.lz-stats{container:lz-chance / inline-size;margin-top:12px;padding:12px 18px}
/* Raise the glass card's stacking context so its open explanation clears the player plates and scorebug. */
.lz-stats:has(.lz-det[open]){z-index:8}
.lz-stats .block-head{flex-wrap:nowrap;align-items:center;gap:8px;margin-bottom:6px}
.lz-stats .block-head__title{font-size:17px}
/* [V] C42 HF-11 (user, 2026-11-29: « l'écriture dans le cercle … est un peu trop mangée par le cercle » → 1 « Plus grand »): the dial is 120 px at every
   width, so « Chance d'atteindre » sits inside the arc (an 88-px dial left it 65 px for 74 px of words); in a card ≤ 480 px the dial still spans the
   facts and the range, as in a wider card, so from 1366 px wide the block is no taller than with the 88-px dial */
.lz-stats .chance{grid-template-columns:120px minmax(0,1fr);gap:4px 18px}
.lz-stats .chance__dial{grid-row:1 / 3;width:120px;height:120px}
.lz-stats .chance__c b{font-size:30px}
.lz-stats .chance__c span{max-width:80px;margin-top:3px;font-size:12px;line-height:1.1}
.lz-stats .chance__facts{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.lz-stats .chance__facts li{flex-direction:column;align-items:flex-start;gap:3px;padding:0;font-size:12px;line-height:1.3}
.lz-stats .chance__facts b{font-size:20px;line-height:1.2}
.lz-stats .chance__range{grid-column:2;margin:22px 8px 0}
.lz-stats .chance__track{height:10px}
.lz-stats .chance__mean em{top:-27px}
.lz-stats .chance__target em{top:14px}
.lz-stats .chance__scale{margin-top:24px}
.lz-stats__end{display:flex;align-items:center;justify-content:flex-end;gap:4px;margin-left:auto}
.lz-stats .lz-pop .lz-note{margin:8px 0 0;padding-top:8px;border-top:1px solid rgba(0,0,0,.1);color:var(--ink-muted)}
@container lz-chance (max-width:480px){
  .lz-stats .chance{grid-template-columns:120px minmax(0,1fr);gap:4px 14px}
  .lz-stats .chance__dial{width:120px;height:120px}
  .lz-stats .chance__facts{grid-template-columns:minmax(0,1fr);gap:6px}
  .lz-stats .chance__facts li{flex-direction:row;flex-wrap:wrap;align-items:baseline;gap:2px 8px}
  .lz-stats .chance__facts b{font-size:16px}
  .lz-stats .chance__range{grid-column:2;margin:20px 8px 0}
  .lz-stats .lz-det summary{justify-content:center;min-width:44px;min-height:44px}
  .lz-stats .lz-det__label{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
}
/* HF-11, the narrowest card (1280 wide): beside the 120-px dial the facts take two rows, so the range goes back under them, the card's full width;
   the block is ≈ 40 px taller there, and at 1280 × 800 the fit folds it into the scorebug's chance (as at 1366 × 768 before) */
@container lz-chance (max-width:400px){
  .lz-stats .chance__dial{grid-row:auto}
  .lz-stats .chance__range{grid-column:1 / -1}
}
/* [V] C67 MFX-D1 1 (2026-11-23), after the block's own rules and its narrow layout: the expected score leads, on one line with « Still playing » */
.lz-stats .chance > .chance__facts{display:flex;flex-wrap:wrap;align-items:flex-end;gap:8px 24px}
.lz-stats .chance > .chance__facts li{display:grid;grid-template-columns:minmax(0,1fr);gap:3px;padding:0;justify-items:start;align-content:end;font-size:12px;line-height:1.3;min-width:0}
.lz-stats .chance > .chance__facts li.is-head b{font-size:42px;font-weight:450;letter-spacing:.015em;line-height:1;white-space:nowrap}
.lz-stats .chance > .chance__facts li.is-head b small{font-size:12px;font-weight:400;margin-left:5px;color:var(--fg-2)}
.lz-stats .chance > .chance__facts li:not(.is-head) b{font-size:22px;font-weight:420;letter-spacing:.02em;line-height:1.1;white-space:nowrap}
.lz-stats .lz-hint{font-size:12px;color:var(--fg-3)}
.lz-stats .chance .chance__c span{max-width:80px;font-size:12px;line-height:1.1}
/* HF-11 in the projection's window (iPhone sheet, PC folded line): ds.css's 118 / 150-px dial wrote the caption on one 13-px line of 105 px, across the arc */
.hf-proj .chance__c span{max-width:80px;margin-top:3px;font-size:12px;line-height:1.1}
.lz-note{margin:10px 0 0;font-size:12px;line-height:1.4;color:var(--on-photo-3)}
.lz-cta{display:flex;align-items:center;gap:16px;margin-top:18px;font-size:13px;color:var(--on-photo-2)}
/* « How it's projected »: a small popover over the projection */
.lz-det{position:relative}
.lz-det summary{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:0 4px;cursor:pointer;list-style:none;font-size:13px;font-weight:500;color:var(--fg);border-radius:8px}
.lz-det summary::-webkit-details-marker{display:none}
.lz-det summary .i{width:16px;height:16px}
.lz-det summary:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.lz-pop{position:absolute;z-index:8;right:0;bottom:calc(100% + 8px);width:300px;padding:12px 14px;border-radius:14px;background:#fff;color:var(--ink);box-shadow:var(--shadow-menu),0 0 0 1px rgba(0,0,0,.05);
  font-size:12.5px;line-height:1.45;text-align:left}
.lz-pop p{margin:0 0 6px;color:var(--ink-2)}.lz-pop p:last-child{margin:0}.lz-pop b{color:var(--ink);font-weight:600}
.ds-motion .lz-det[open] .lz-pop{animation:ds-in-up .25s var(--ease-out)}
/* narrower desktops (1024–1279): smaller title, narrower identity column */
@media (max-width:1279px){
  .p-title{font-size:92px}
  .p-goal{font-size:21px}
}
/* medium (600–1023): the rail stays; one column — identity, the spotlight, the road; Ready to claim moves to the light panel */
@media (max-width:1023px){
  .p-acts{margin-top:28px;padding-top:0}
}
/* compact (< 600): iPhone — DESIGN.md §18 */
@media (max-width:599px){
  .lz-stats,.p-roadbox{-webkit-backdrop-filter:none;backdrop-filter:none;background:rgba(14,16,16,.92)}   /* PF-09: fewer blur layers at once on phones (was up to 10 stacked) */
  .p-top{border-radius:0 0 32px 32px;padding:calc(var(--sat) + 10px) 16px 22px}
  .panel__media{object-position:68% 50%}
  .p-id{padding-top:0;position:relative;isolation:isolate}
  .p-id::before{content:"";position:absolute;z-index:-1;pointer-events:none;inset:0 -16px -10px;background:linear-gradient(180deg,rgba(0,0,0,0) 0,rgba(0,0,0,.5) 38%,rgba(0,0,0,.58) 78%,rgba(0,0,0,0) 100%)}
  .p-prize small{font-size:13px;color:var(--on-photo-2)}
  .p-over{font-size:14px;margin-bottom:12px}
  .p-title{font-size:72px}
  .p-goal{margin-top:16px;font-size:20px}
  .p-facts{font-size:13.5px}
  .p-acts{flex-direction:column;align-items:stretch;gap:12px;margin-top:20px}
  .p-acts .btn{height:52px;border-radius:16px;font-size:16px}
  .spot{margin-top:24px}
  .lz-stage{padding-top:0}
  .spot .busts{margin:14px -8px 0;padding:0}
  .spot .bust:last-child .bust__card.sorare-card{right:3%}.spot .bust:last-child .sorare-card__cap{right:-3px}
  .lz-head .seg{display:flex;width:100%}
  .lz-head .seg__opt{flex:1;justify-content:center;padding:0 6px;font-size:13px}
  .lz-bug{position:static;margin-top:12px;width:100%}
  .lz-bug > span{min-height:40px;padding:0 10px}.lz-bug__n{display:none!important}
  .lz-bug__ch{margin-left:auto}
  .lz-stats{padding:10px 12px 12px}
  .lz-stats .block-head{margin-bottom:2px}
  .lz-pop{left:auto;right:0;width:min(300px,calc(100vw - 48px))}.lz-det summary{min-height:44px}
  .lz-cta{flex-direction:column;align-items:stretch;text-align:center}.lz-cta .btn{height:50px}
  .p-roadbox{margin-top:22px;padding:16px 12px 14px;border-radius:20px}
  .p-roadbox .level-node{width:50px}
  .p-roadbox .level-link{min-width:4px}
  .p-squadwin__btn{top:12px;right:12px;height:44px}   /* the corner of the photo header */
  .frame{--sat:54px;--sab:34px}
  .frame .x-status{display:flex;position:fixed;z-index:130;left:0;right:0;top:0;height:54px;align-items:center;justify-content:space-between;padding:4px 30px 0 44px;color:#fff;
    font-size:16.5px;font-weight:600;letter-spacing:.01em;pointer-events:none}
  .frame .x-island{position:absolute;left:50%;top:11px;width:124px;height:36px;margin-left:-62px;border-radius:20px;background:#000}
  .frame .x-status__r{display:flex;align-items:center;gap:6px}
  .frame .x-homebar{display:block;position:fixed;z-index:120;left:50%;bottom:8px;width:136px;height:5px;margin-left:-68px;border-radius:3px;background:#fff;pointer-events:none}
  .frame.has-sheet .x-homebar{background:#121313}
}
/* the road keeps its six levels inside its card whatever the width of the card: elastic levels, rewards in the level detail */
.p-roadbox{container-type:inline-size}
.level-node__rw:has(.lv-part){gap:8px}.lv-part{display:inline-flex;align-items:center;gap:3px}   /* a level that pays several kinds */
.lv-part .cur-i{width:18px;height:18px;margin:0}   /* the cash coin at the road's image size (2026-10-19) */
@container (max-width:700px){
  .p-roadbox .level-node{width:auto;flex:1 1 44px;min-width:0;max-width:64px}
  .p-roadbox .level-node__rw{display:none}
  .p-roadbox .level-link{min-width:4px;flex:1 1 4px}
}
