/* Correctif AY : navigation unifiée, statuts et points sans superposition. */
.bely-ay-auth-error{background:#431d30;border:1px solid #fb759e;color:#fff4f7;padding:12px 15px;border-radius:11px;margin:12px 0;font-weight:700}

/* Navigation Énigmes — trois cartes identiques dans l'espace PC et PWA. */
.bely-ay-menu{display:flex;flex-direction:column;gap:15px;width:100%;margin:12px 0 22px}
.bely-ay-menu-title{margin:0 0 3px;color:#eefbff;font-size:clamp(1.35rem,2.4vw,1.75rem);font-weight:850}
.bely-ay-card{min-width:0;border:1.5px solid #35d2ef;border-radius:19px;padding:20px 23px;background:linear-gradient(145deg,#0b2c42,#081a2b);box-shadow:0 7px 23px #0004;display:flex;flex-direction:column;gap:15px}
.bely-ay-card-next{border-color:#d46bcd;background:linear-gradient(135deg,#30172f,#20152e)}
.bely-ay-card-previous{border-color:#9f77dc;background:linear-gradient(135deg,#281d43,#161b33)}
.bely-ay-heading{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;color:white}
.bely-ay-heading>strong{min-width:0;font-size:clamp(1.03rem,2.1vw,1.38rem);font-weight:850;line-height:1.25;color:#fff}
.bely-ay-badge{margin-left:auto;flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;min-height:30px;max-width:48%;padding:5px 12px;border:1px solid #33d4eb;border-radius:999px;background:#0b3542;color:#b7f2ff;font-size:.78rem;font-weight:800;line-height:1.1;text-align:center}
.bely-ay-badge-finished{border-color:#b08be9;background:#392852;color:#ead7ff}
.bely-ay-badge-next{border-color:#d976d4;background:#4d294e;color:#ffcff8}
.bely-ay-button{display:flex;width:fit-content;min-width:210px;max-width:100%;justify-content:center;align-items:center;padding:12px 19px;text-decoration:none;border-radius:11px;border:1px solid #61e5fb;background:linear-gradient(115deg,#1893b6,#46d4ed);font-weight:850;color:#071d30!important;text-align:center;min-height:46px}
.bely-ay-card-previous .bely-ay-button{background:#7050a9;border-color:#b18def;color:#fff!important}
.bely-ay-button:hover,.bely-ay-button:focus-visible{filter:brightness(1.1);box-shadow:0 0 14px #65e4f64c}
.bely-ay-empty{font-size:.92rem;color:#bed0dc;margin:0}
.bely-ay-next-label{margin:3px 0 0!important;text-align:center;color:#fff!important;font-size:clamp(.88rem,1.5vw,1.02rem)!important;line-height:1.5;font-weight:700}
.bely-ay-timer{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:0 auto;max-width:380px;width:100%}
.bely-ay-timer-part{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:0;padding:9px 5px 7px;background:#3a1e46;border:1px solid #ae5bba;border-radius:10px}
.bely-ay-timer-part strong{font-size:clamp(1rem,1.7vw,1.45rem);font-weight:900;line-height:1.2;color:#f3abed;font-variant-numeric:tabular-nums}
.bely-ay-timer-part small{font-size:clamp(.62rem,1vw,.73rem);color:#f9d9f7;line-height:1.25;text-align:center}
.bely-ay-subnav{display:flex;justify-content:space-between;align-items:center;gap:12px;min-width:0;margin:10px 0 16px}
.bely-ay-subnav h2{color:#f5fdff;font-weight:900;font-size:clamp(1.28rem,2.1vw,1.65rem);margin:0}
.bely-ay-subnav:has(+ .bely-ay-archives) h2,.bely-ay-subnav:has(+ .bely-v12510-archives) h2{color:#cb9cff}
.bely-ay-return{margin-left:auto;flex:0 0 auto;min-height:38px;border:1px solid #4cdaf7!important;color:#e4faff!important;background:#0b4261!important;border-radius:10px!important;font-weight:800!important;text-decoration:none;padding:8px 13px!important}
.bely-ay-points{white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;border:1px solid #4acdf3;background:#063249;color:#59e8ff;border-radius:12px;padding:9px 12px;font-size:clamp(.88rem,1.8vw,1.15rem);font-weight:900;font-variant-numeric:tabular-nums;text-shadow:0 0 9px #36c9ff55;line-height:1.2}

/* PC : aucune collision entre titre, points, badge et boutons. */
.team-dashboard .bely44o-home-heading{justify-content:space-between!important;flex-wrap:nowrap!important}
.team-dashboard .bely44o-home-heading>span{margin-left:auto}
.team-dashboard .bely44ad-home-upcoming .bely-ay-heading{margin-bottom:5px}
.team-dashboard .bely44ad-home-upcoming .bely-ay-timer{max-width:360px}
.team-dashboard .current-puzzle .puzzle-card-head.bely-v1258-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:16px!important;grid-template-columns:none!important;min-width:0}
.team-dashboard .current-puzzle .bely-v1258-heading{display:grid!important;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;gap:12px!important;align-items:center!important;width:100%!important;grid-column:auto!important;grid-row:auto!important;flex-wrap:nowrap!important}
.team-dashboard .current-puzzle .bely-v1258-heading h2{min-width:0;margin:0!important;justify-self:start;font-size:clamp(1.2rem,2vw,1.85rem)}
.team-dashboard .current-puzzle .bely-v1258-heading .bely-ay-points{grid-column:2!important;grid-row:1!important;justify-self:center!important;position:static!important;width:max-content!important;min-width:0!important;max-width:none!important;font-size:clamp(.96rem,1.65vw,1.2rem)!important;margin:0!important;padding:9px 12px!important}
.team-dashboard .current-puzzle .bely-v1258-heading .puzzle-state{grid-column:3!important;grid-row:1!important;justify-self:end!important;position:static!important;white-space:normal;text-align:center;font-size:clamp(.69rem,1.2vw,.85rem)!important;max-width:150px;margin:0!important}
.team-dashboard .current-puzzle .bely-v1258-actions{grid-column:auto!important;grid-row:auto!important;justify-self:stretch!important;width:100%!important;max-width:none!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:stretch!important;gap:10px!important;margin:0!important;position:static!important}
.team-dashboard .current-puzzle .bely-v1258-actions .mini-button{display:flex;align-items:center;justify-content:center;min-width:0!important;width:100%!important;white-space:normal!important;text-align:center;margin:0!important;padding:11px 8px!important;font-size:clamp(.77rem,1.18vw,.96rem)!important}
.team-dashboard .current-puzzle .bely-v1258-actions .mini-button:only-child{grid-column:1/-1}
.team-dashboard .current-puzzle .bely-v1258-actions .mini-button:nth-child(2):last-child{grid-column:2/4}
.team-dashboard .bely-v12510-archives{background:none!important;border:0!important;box-shadow:none!important;padding:0!important;margin:4px 0 18px!important}
.team-dashboard .bely-ay-archive-detail{padding:0;max-width:100%;background:none!important;border:0!important;box-shadow:none!important}
.team-dashboard .bely-ay-archive-detail[hidden]{display:none!important}
.team-dashboard .bely-ay-archive-detail .bely-ay-heading{margin:12px 0 18px}
.team-dashboard .bely-ay-subnav h2{color:#f7ffff}
.team-dashboard .bely-ay-subnav:has(+ .bely-v12510-archives) h2{color:#c899fb}

/* PWA / web mobile : statuts et points sur la même ligne, sans chevauchement. */
.app .bely44o-home-heading{justify-content:space-between!important;flex-wrap:nowrap!important}
.app .bely44o-home-heading span{margin-left:auto}
.app .bely-ay-card{padding:16px 15px;gap:13px;border-radius:16px}
.app .bely-ay-menu{gap:12px;margin:8px 0 20px}
.app .bely-ay-button{width:100%;min-width:0;min-height:48px}
.app .bely-ay-timer{max-width:420px;gap:6px}
.app .bely-ay-timer-part{padding:10px 3px 7px}
.app .bely-ay-timer-part strong{font-size:clamp(1rem,4vw,1.35rem)}
.app .bely-ay-timer-part small{font-size:clamp(.59rem,2.2vw,.7rem)}
.app .bely-ay-subnav h2{font-size:clamp(1.2rem,4.4vw,1.48rem)}
.app .bely-ay-subnav:has(+ .bely-ay-archives) h2{color:#ce9bfd}
.app .bely44m-featured-head.bely-ay-puzzle-head{display:grid!important;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;align-items:center!important;gap:6px!important;flex-wrap:nowrap!important;margin:0 0 16px!important}
.app .bely-ay-puzzle-head h2{font-size:clamp(.95rem,4.2vw,1.28rem)!important;line-height:1.2!important;margin:0!important;white-space:nowrap}
.app .bely-ay-puzzle-head .bely-ay-points{font-size:clamp(.73rem,3.05vw,.96rem)!important;white-space:nowrap;padding:7px 8px!important;justify-self:center;position:static!important;min-width:0!important;margin:0!important}
.app .bely-ay-puzzle-head .bely44m-status{justify-self:end;max-width:96px;white-space:normal!important;text-align:center;overflow-wrap:normal;font-size:clamp(.62rem,2.8vw,.76rem)!important;line-height:1.13;min-width:0;padding:6px 8px;margin:0!important}
.app .bely44ad-home-upcoming .bely-ay-heading{margin-bottom:7px}
.app .bely44ad-home-upcoming .bely-ay-next-label{text-align:center!important;margin:6px 0!important;color:#fff!important}
.app .bely-ay-archives{border:none!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;padding:0!important;margin:0 0 18px!important}
.app .bely-ay-archives .bely-archive-details{margin:10px 0;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;padding:0!important}
.app .bely-ay-archives .bely-ay-heading{margin:14px 0}
@media(max-width:375px){
 .app .bely-ay-puzzle-head .bely44m-status{font-size:.65rem!important;max-width:79px;padding:7px 5px}
 .app .bely-ay-puzzle-head .bely-ay-points{font-size:.75rem!important;padding:6px!important}
 .app .bely-ay-puzzle-head h2{font-size:.96rem!important}
 .app .bely-ay-badge{max-width:50%;padding:5px 8px;font-size:.71rem}
}
@media(min-width:1000px){
 .team-dashboard .bely-ay-menu{max-width:860px}
 .team-dashboard .bely-ay-card{padding:17px 22px}
}
