/* A25 — v6 : un seul axe par zone qui défile, écran d'accueil, amis, parcelles, filtres. */

/* ---------- un seul axe par zone qui défile ----------
   Une page défile de haut en bas, un carrousel de gauche à droite, jamais les deux : l'autre axe est fermé (plus de glissement
   de côté sur une page, plus de petit jeu vertical sur un carrousel) et le geste ne se transmet pas à ce qui est derrière. */
.view,#v-home,.sheet-scroll,.cp-body,.fd-body,.ag-page,.ag-detail,.is-recap .stage,.syn-t{overflow-x:hidden;overscroll-behavior:contain;touch-action:pan-y}
.chips,.packs,.copies,.hscroll,.lot-films,.cl-films,.tu-row,.gal-track,.fd-vers{overflow-y:hidden;overscroll-behavior-x:contain}
/* sur un carrousel, glisser vers le haut ou le bas fait défiler la page ; glisser de côté fait défiler le carrousel */
.chips,.copies,.hscroll,.lot-films,.cl-films,.tu-row,.gal-track,.fd-vers{touch-action:pan-x pan-y}
/* la fiche d'une carte garde son inclinaison au doigt, mais ne déborde plus de la feuille */
.sheet-scroll .detail-card,.sheet-scroll .gal{max-width:100%}

/* ---------- lancé depuis l'écran d'accueil ----------
   Sur iPhone, dans ce mode, la page peut s'arrêter avant le bas de l'écran (il manque la hauteur de l'encoche) : garde.js mesure
   ce manque (--sag) et tout ce qui occupe l'écran est rallongé d'autant. Sans manque mesuré, rien ne change. */
html.sa-gap,html.sa-gap body{height:var(--sah)}
html.sa-gap #app{height:var(--sah)}
html.sa-gap .overlay,html.sa-gap #find,html.sa-gap #cinePage,html.sa-gap #tuto,html.sa-gap #spDemo{bottom:auto;height:var(--sah)}
/* barre d'onglets : un peu moins de vide sous les icônes quand le jeu est lancé comme une application */
html.standalone .tabs{padding-bottom:max(6px,calc(var(--sab) - 16px))}
/* en mode application : aucune sélection de texte ni menu au toucher long, aucun rebond de la page entière */
html.standalone,html.standalone body{overscroll-behavior:none;-webkit-touch-callout:none}
.tech p{margin:0 0 8px;word-break:break-word}.tech .row{margin-top:10px}.tech .ghost{width:auto;padding:0 16px}

/* ---------- amis : lignes de joueurs, invitation ---------- */
.fr-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 0;border-top:1px solid rgba(255,255,255,.12)}
.fr-who{display:flex;align-items:center;gap:12px;min-width:0;text-align:left;color:#f2f1ec;flex:1}
.fr-who .uav{width:44px;height:44px}
.fr-who>span:not(.uav){display:flex;flex-direction:column;gap:3px;min-width:0}.fr-who>span:not(.uav) b{font-size:15px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fr-who small{font-size:11.500px;color:#a3a29c}
.fr-act{flex:none;height:40px;padding:0 16px;border-radius:10px;font-family:var(--an);font-size:15px;letter-spacing:.04em;text-transform:uppercase;background:var(--g);color:#0b0b0b}
.fr-act.accept{background:var(--p);color:#4B1528}.fr-act.sent,.fr-act.ok{background:none;color:#a3a29c;border:1.500px solid rgba(255,255,255,.22);font-family:var(--sans);font-size:12px;letter-spacing:0;text-transform:none;font-weight:600}
.fr-invite{margin-top:26px}.fr-invite .fd-note{margin-top:12px}
#frMyCode{font-family:var(--an);font-size:17px;letter-spacing:.1em;color:#f2f1ec;border-bottom:1.500px dashed rgba(255,255,255,.4)}
/* une demande d'ami attend : un point sur l'onglet Profil */
.tabs button.ask::before{content:'';position:absolute;top:4px;left:calc(50% - 16px);width:7px;height:7px;border-radius:50%;background:var(--g)}
/* ---------- profil : la parcelle à Cinéville ---------- */
.pl-list{display:flex;flex-direction:column;gap:10px}
.pl{display:grid;grid-template-columns:104px 1fr;gap:14px;align-items:center;text-align:left;padding:10px;border-radius:14px;background:#17122d;color:#f2f1ec;transition:transform .1s}
.pl:active{transform:scale(.985)}
.pl-cv{display:block;width:104px;height:104px;border-radius:10px;overflow:hidden}.pl-cv canvas{display:block}
.pl-t{display:flex;flex-direction:column;gap:3px;min-width:0}
.pl-t small{font-size:10px;letter-spacing:.12em;text-transform:uppercase;font-weight:600}
.pl-t b{font-size:20px;font-weight:400;line-height:1.05;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.pl-t em{font-style:normal;font-size:11.500px;color:#b9b8b2}
.pl-f{display:flex;gap:5px;margin-top:5px;min-height:39px}.pl-f img{width:26px;aspect-ratio:2/3;object-fit:cover;border-radius:3px;background:#2a2350}
