/* ============================================================
   SQUELETTE DE L'ACCUEIL D'UN MEMBRE (accueilSquelette.js)
   ------------------------------------------------------------
   Visible tant que html.fz-home-pending est posé. Il vit dans
   #fzDashSection, pour en hériter la palette (--fzh-*, accueil-palette.css)
   et le thème clair des panneaux (.fzs-panel, accueil-light.css). Les
   mesures sont celles de l'accueil chargé (bureau avec le rail, téléphone
   à 390 px) : à l'arrivée, chaque panneau prend la place de son squelette.
   Os et reflet : fzSquelette.css.
   ============================================================ */

.fz-home-sk { display: none; }
html.fz-home-pending .fz-home-sk { display: block; }

.ask { color: var(--fzh-ink); }
.ask-panel {
    position: relative;
    min-width: 0;
    padding: 16px;
    overflow: hidden;
    background: var(--fzh-panel);
    border: 1px solid var(--fzh-outline);
    border-radius: 11px;
    opacity: 0;
    animation: fzOsMonte .35s ease-out forwards;
    animation-delay: calc(var(--i, 0) * 60ms);
}

/* ---- Lignes communes ---- */
.ask h2 { margin: 0; font: 500 15px/1.25 'Oswald', sans-serif; letter-spacing: .45px; text-transform: uppercase; }
.ask-row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--fzh-border); }
.ask-row:last-child { border-bottom: 0; }
.ask-row-av { flex: none; width: 40px; height: 40px; }
.ask-row-txt { display: flex; flex: 1; flex-direction: column; gap: 7px; min-width: 0; }
.ask-row-l1 { width: var(--w); height: 13px; }
.ask-row-l2 { width: var(--w); height: 10px; }

/* ==================== SAISON ====================
   La charpente de accueil-season.css : une colonne au téléphone, deux au
   bureau ; la carte de position, des rails de cartes et des listes. */
.ask-s { display: flex; flex-direction: column; gap: 14px; padding: 8px 10px calc(96px + env(safe-area-inset-bottom)); }
.ask-s-col { display: contents; }
.ask-s-hero { order: 1; display: flex; align-items: center; gap: 16px; min-height: 132px; padding: 18px; border-radius: 24px; }
.ask-s-games { order: 2; }
.ask-s-mine { order: 3; }
.ask-s-top { order: 4; }
.ask-s-act { order: 5; }
.ask-s-rank { flex: none; width: 96px; height: 96px; border-radius: 24px; }
.ask-s-big { width: 60%; height: 34px; border-radius: 6px; }
.ask-s-sec { padding: 0; border-radius: 18px; }
.ask-s-head { display: flex; align-items: center; gap: 10px; padding: 18px 16px 8px; }
.ask-s-head h2 { font: 800 18px/20px 'Saira Condensed', 'Barlow Condensed', sans-serif; letter-spacing: .8px; }
.ask-s-ico { flex: none; width: 22px; height: 22px; border-radius: 6px; }
.ask-s .ask-row { padding: 10px 16px; border-color: var(--fzh-border); }
.ask-s .ask-row-av { width: 38px; height: 38px; }
.ask-s-pts { flex: none; width: 26px; height: 16px; }
.ask-s-rail { display: flex; gap: 10px; overflow: hidden; padding: 12px 16px 16px; }
.ask-s-card { flex: none; width: 224px; height: 170px; border-radius: 18px; }
.ask-s-top .ask-s-card { width: 168px; height: 214px; border-radius: 16px; }
@media (min-width: 900px) {
    .ask-s { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; max-width: 1240px; margin: 0 auto; padding: 24px 24px 56px; }
    .ask-s-col { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
}

/* ==================== REPÊCHAGE ====================
   La charpente d'accueil-draft.css : le héros, puis des cartes. */
.ask-d { gap: 12px; padding-top: 12px; }
.ask-d-hero { display: flex; flex-direction: column; gap: 12px; min-height: 254px; padding: 18px 16px 16px; border-radius: 24px; }
.ask-d-puce { width: 120px; height: 24px; border-radius: 999px; }
.ask-d-titre { width: 66%; height: 30px; border-radius: 6px; }
.ask-d-cases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 2px; }
.ask-d-cases > span { height: 50px; border-radius: 11px; }
.ask-d-cta { height: 46px; border-radius: 13px; }
.ask-d-sec { border-radius: 20px; }
.ask-s-titre { width: 150px; height: 18px; border-radius: 5px; }

/* ==================== SANS POOL ====================
   L'accueil sans pool (accueil-nouveau.css). */
.ask-onboard { display: flex; flex-direction: column; gap: 10px; max-width: 1040px; margin: 0 auto; padding: 24px 10px 32px; }
.ask-intro { display: flex; flex-direction: column; gap: 10px; padding: 0 10px 8px; }
.ask-welcome { width: 150px; height: 11px; margin-bottom: 4px; }
.ask-headline { width: 300px; max-width: 100%; height: 32px; border-radius: 6px; }
.ask-headline.is-short { width: 220px; }
.ask-lede { width: 320px; max-width: 100%; height: 13px; margin-top: 4px; }
.ask-start { display: flex; flex-direction: column; gap: 12px; min-height: 290px; padding: 18px 16px 16px; border-radius: 24px; }
.ask-start-title { width: 240px; max-width: 100%; height: 28px; border-radius: 5px; }
.ask-seats { display: flex; gap: 10px; margin-top: 4px; }
.ask-seat { width: 52px; height: 52px; }
.ask-start-btn { height: 48px; border-radius: 13px; margin-top: auto; }
.ask-paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ask-path { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-height: 118px; padding: 14px; border-radius: 18px; }
.ask-path-icon { flex: none; width: 36px; height: 36px; border-radius: 10px; }
.ask-path .ask-row-txt { width: 100%; }
.ask-features { display: flex; gap: 10px; margin-top: 46px; overflow: hidden; }
.ask-feature { flex: none; width: 262px; min-height: 178px; padding: 0; border-radius: 18px; }
.ask-feature-art { display: block; height: 112px; background: var(--fz-bone); }
.ask-feature-copy { display: flex; flex-direction: column; gap: 8px; padding: 14px; }
.ask-feature-copy > span { width: var(--w); }
.ask-paths,
.ask-features { opacity: 0; animation: fzOsMonte .35s ease-out forwards; animation-delay: calc(var(--i, 0) * 60ms); }

@media (min-width: 900px) {
    .ask-d-hero, .ask-d-sec { border-radius: 18px; }
    .ask-onboard { padding: 40px 24px 56px; gap: 12px; }
    .ask-headline { width: 620px; height: 46px; }
    .ask-headline.is-short { display: none; }
    .ask-start { min-height: 170px; }
    .ask-start-btn { width: 260px; align-self: flex-end; }
    .ask-path { flex-direction: row; align-items: center; min-height: 76px; }
    .ask-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
    .ask-feature { width: auto; }
}
@media (min-width: 1100px) {
    .ask-d-cases { grid-template-columns: repeat(8, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
    .ask-panel,
    .ask-paths,
    .ask-features { opacity: 1; animation: none; }
}
