/* app/menus/menus.css — la barre des menus et le bloc du bas (app/menus/menus.js), le départ de l'accueil, la
   Carrière (app/menus/carriere.js), les ordres de la pause, le prochain objectif de l'écran de fin, et les
   noms des persos qui ne se coupent pas. Chargée en dernier. */

/* Un nom de perso ne se coupe jamais en fin de ligne (« Strix », « Hex »). */
.nom-perso{white-space:nowrap;}

/* ---------- Le bloc du bas ----------
   Collé au bas de la fenêtre, sur un fond plein (ce qui défile passe dessous, sans se mélanger aux
   boutons) : les actions de l'écran, puis la barre. Debout : l'une au-dessus de l'autre ; couché
   (et sur ordinateur) : la barre à gauche, toujours de la même largeur, les actions à droite. */
.arena-panel{--menus-pad:28px;}
.arena-panel.wide{--menus-pad:30px;}
html.petit-ecran .arena-panel,html.petit-ecran .arena-panel.wide{--menus-pad:16px;}
.arena-root .arena-panel:has(.menus-bas){padding-bottom:0;}
.arena-root .menus-bas{position:sticky;bottom:0;z-index:3;flex:none;display:flex;flex-direction:column;gap:8px;
 margin:auto calc(-1 * var(--menus-pad)) 0;padding:10px var(--menus-pad) calc(12px + env(safe-area-inset-bottom,0px));
 background:linear-gradient(180deg,rgba(8,7,18,0),#080712 10px);}
/* La rangée d'actions (la classe .arena-actions reste : le moteur y retrouve le bouton Fiche). */
html .arena-root .arena-panel .menus-bas > .arena-actions{position:static;display:flex;gap:8px;margin:0;padding:0;background:none;}
html .arena-root .arena-panel .menus-bas > .arena-actions .arena-btn{flex:1 1 0;min-width:0;height:auto;min-height:50px;padding:4px 10px;line-height:1.2;}
html .arena-root .arena-panel .menus-bas > .arena-actions .arena-btn.primary:not(.atelier-action){flex-grow:1.25;font-size:16px;letter-spacing:.14em;}
.arena-root .menus-bas > .atelier-manque{margin:0;}

/* ---------- La barre des menus ---------- */
.menus-barre,.carriere-onglets{display:flex;gap:6px;}
.menus-onglet,.carriere-onglet{position:relative;flex:1 1 0;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;
 min-height:54px;padding:6px 2px 5px;border-radius:12px;cursor:pointer;white-space:nowrap;
 font:700 11px/1.1 system-ui,sans-serif;color:#cfd5e4;background:rgba(18,16,36,.92);border:1px solid rgba(0,224,255,.2);}
.menus-onglet span,.carriere-onglet span{max-width:100%;overflow:hidden;text-overflow:ellipsis;}
.menus-onglet svg,.carriere-onglet svg{flex:none;width:22px;height:22px;fill:none;stroke:#7ff3ff;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;
 filter:drop-shadow(0 0 3px rgba(0,224,255,.6));}
.menus-onglet svg .plein,.carriere-onglet svg .plein{fill:#ffd23d;stroke:#ffd23d;stroke-width:1;filter:drop-shadow(0 0 2px rgba(255,210,61,.7));}
.menus-onglet svg .trait-plein,.carriere-onglet svg .trait-plein{stroke:#ffd23d;stroke-width:2;}
.menus-onglet[data-act]:focus-visible,.carriere-onglet:not(.on):focus-visible{border-color:rgba(0,224,255,.55);background:linear-gradient(rgba(0,224,255,.1),rgba(0,224,255,.1)),rgba(18,16,36,.92);outline:none;}@media (hover:hover){:where(html:not(.doigt)) .menus-onglet[data-act]:hover,:where(html:not(.doigt)) .carriere-onglet:not(.on):hover{border-color:rgba(0,224,255,.55);background:linear-gradient(rgba(0,224,255,.1),rgba(0,224,255,.1)),rgba(18,16,36,.92);outline:none;}}
.menus-onglet[data-act]:focus-visible svg,.carriere-onglet:not(.on):focus-visible svg{stroke:#fff;}@media (hover:hover){:where(html:not(.doigt)) .menus-onglet[data-act]:hover svg,:where(html:not(.doigt)) .carriere-onglet:not(.on):hover svg{stroke:#fff;}}
/* L'écran ouvert : allumé, un contour cyan de même épaisseur tout autour (pas plus épais en haut). */
.menus-onglet.on,.carriere-onglet.on{color:#7ff3ff;border-color:#00e0ff;background:linear-gradient(rgba(0,224,255,.14),rgba(0,224,255,.14)),rgba(18,16,36,.92);
 box-shadow:inset 0 0 0 1px #00e0ff,0 0 14px rgba(0,224,255,.22);}
.menus-onglet[aria-current]{cursor:default;}
/* Une récompense y attend (Ordres : prime, coffre, boîte noire pas encore vue) : un point jaune qui clignote. */
.menus-onglet.point::after,.carriere-onglet.point::after,.atelier-onglet.point::after{content:"";position:absolute;top:5px;right:7px;width:8px;height:8px;border-radius:50%;
 background:#ffd63d;box-shadow:0 0 8px #ffd63d;animation:accueil-point 1.6s infinite;}
.atelier-onglet.point{position:relative;}
button.carriere-onglet{font-family:inherit;}

/* Les onglets de l'écran (Arsenal / Bâtiments, Grades / Rapports / Records), descendus au-dessus de la
   barre (app/menus/menus.js, choix de Tris, 26/10) : une fine rangée, pour qu'on ne la prenne pas pour une
   seconde barre ; l'onglet ouvert a le même contour cyan tout autour que celui de la barre. */
.menus-nav{display:flex;flex-direction:column;gap:6px;min-width:0;}
.arena-root .menus-bas .carriere-onglets{gap:2px;padding:3px;border-radius:12px;background:rgba(8,7,18,.92);border:1px solid rgba(0,224,255,.28);}
.arena-root .menus-bas .carriere-onglet{flex-direction:row;min-height:34px;padding:0 6px;gap:6px;border:none;border-radius:9px;background:none;box-shadow:none;font-size:13px;color:#aab3c7;}
.arena-root .menus-bas .carriere-onglet svg{width:16px;height:16px;}
.arena-root .menus-bas .carriere-onglet.on{color:#7ff3ff;background:rgba(0,224,255,.16);box-shadow:inset 0 0 0 1px #00e0ff;}
.arena-root .menus-bas .carriere-onglet.point::after{top:4px;right:6px;}

/* Couché (et sur ordinateur) : la barre au milieu, toujours à la même place et de la même largeur (Tris,
   26/10), les onglets de l'écran juste au-dessus ; les actions de part et d'autre : la première à gauche
   (Fiche, Tous les persos, Annuler), la dernière à droite (Déployer, Améliorer), une seule à droite. */
@media (orientation:landscape){
 .arena-root .menus-bas{display:grid;grid-template-columns:minmax(0,1fr) 52% minmax(0,1fr);grid-template-rows:auto auto;column-gap:10px;row-gap:6px;}
 .arena-root .menus-bas:not(.a-onglets):not(:has(> .atelier-manque)){row-gap:0;}
 .arena-root .menus-bas > .menus-nav{display:contents;}
 .arena-root .menus-bas > .menus-nav > .carriere-onglets{grid-column:2;grid-row:1;}
 .arena-root .menus-bas > .menus-nav > .menus-barre{grid-column:2;grid-row:2;}
 html .arena-root .arena-panel .menus-bas.menus-bas > .arena-actions{display:contents;}
 html .arena-root .arena-panel .menus-bas > .arena-actions > .arena-btn{grid-row:2;grid-column:3;width:100%;}
 html .arena-root .arena-panel .menus-bas > .arena-actions > .arena-btn:first-child:not(:only-child){grid-column:1;}
 /* Le manque de cristaux : une étiquette juste au-dessus du bouton d'action, sans ligne pleine largeur
    (demande de Tris) ; le bouton dit déjà quoi, il ne reste que le montant. */
 .arena-root .menus-bas > .atelier-manque{grid-column:3;grid-row:1;align-self:end;display:flex;justify-content:center;min-width:0;}
 .arena-root .menus-bas > .atelier-manque > span{flex:none;padding:0 7px;border-radius:7px;background:#080712;}
 .arena-root .arena-panel .menus-bas > .atelier-manque{font-size:11px;line-height:14px;white-space:nowrap;color:#ffb2a8;}
 .arena-root .menus-bas > .atelier-manque .manque-pour{display:none;}
}
@media (orientation:landscape) and (max-height:560px){
 .arena-root .menus-bas{padding-top:8px;}
 .arena-root .menus-bas{padding-bottom:calc(8px + env(safe-area-inset-bottom,0px));}
 .menus-onglet,.carriere-onglet{min-height:48px;padding:4px 2px 3px;gap:2px;font-size:11px;}
 .menus-onglet svg,.carriere-onglet svg{width:20px;height:20px;}
 html .arena-root .arena-panel .menus-bas > .arena-actions .arena-btn{min-height:48px;}
 html .arena-root .arena-panel .menus-bas > .arena-actions .arena-btn.primary:not(.atelier-action){font-size:15px;}
}

/* ---------- Les boutons à symbole (Fiche, Accueil de la pause) et la roue de la pause ---------- */
.arena-btn.menus-symbole,.arena-btn.menus-roue{display:inline-flex;align-items:center;justify-content:center;gap:7px;}
html .arena-root .arena-panel .arena-actions .arena-btn.menus-roue{flex:0 0 56px;min-width:0;padding:0;}
/* La roue de la pause s'allume en bleu au toucher et tant que les paramètres sont ouverts (Tris, 25/10). */
html .arena-root .arena-panel .arena-actions .arena-btn.menus-roue:active,html .arena-root .arena-panel .arena-actions .arena-btn.menus-roue.on{
 border-color:#00e0ff;background:linear-gradient(rgba(0,224,255,.18),rgba(0,224,255,.18)),rgba(18,16,36,.92);box-shadow:inset 0 0 0 1px #00e0ff,0 0 14px rgba(0,224,255,.3);}
.menus-symbole svg,.menus-roue svg{flex:none;width:22px;height:22px;fill:none;stroke:#7ff3ff;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;
 filter:drop-shadow(0 0 3px rgba(0,224,255,.55));}
.menus-symbole svg .plein,.menus-roue svg .plein{fill:#ffd23d;stroke:#ffd23d;stroke-width:1;}
.menus-symbole svg .trait-plein{stroke:#ffd23d;stroke-width:2;}
.menus-symbole span{min-width:0;white-space:nowrap;}
/* Très étroit : le mot seul (« Fiche de Strix » garde sa place). */
@media (max-width:379px){
 .arena-actions .menus-symbole[data-act="fiche"] svg{display:none;}
}

/* ---------- L'accueil : la barre sous le départ ---------- */
.accueil-col .menus-barre{flex:none;}
@media (orientation:landscape) and (max-height:430px){
 .accueil-col{top:8px;justify-content:safe center;}
 .accueil-col .coffre-txt small{display:none;}
 /* « Changer » devient sa flèche seule : le niveau et les appuis tiennent sur une ligne. */
 .accueil-changer{font-size:0;}
 .accueil-changer::after{content:"›";font-size:22px;line-height:1;}
 .accueil-col .menus-onglet{min-height:44px;padding:3px 2px 2px;}
 .accueil-col .menus-onglet svg{width:19px;height:19px;}
}
/* Couché, très peu de hauteur (barres du navigateur visibles) : le titre reste entier ; la phrase du
   siège laisse sa place (elle est dans les Ordres), le départ se serre. */
@media (orientation:landscape) and (max-height:380px){
 .accueil-col .siege{display:none;}
 .accueil-col .accueil-perso{padding-top:3px;padding-bottom:3px;}
 .accueil-col .accueil-portrait{width:44px;height:44px;}
 .accueil-col .arena-btn.primary.accueil-jouer{min-height:48px;}
 .accueil-col{bottom:8px;}
 .arena-title.accueil-titre{font-size:clamp(24px,4.2vw,34px);}
 .accueil-col .menus-onglet{min-height:40px;gap:1px;font-size:11px;}
 .accueil-col .menus-onglet svg{width:18px;height:18px;}
}
@media (orientation:landscape) and (max-height:400px){
 html.tactile .accueil-col .ordre{padding-top:2px;padding-bottom:2px;}
 .accueil-col .ordres-titre .aerg-compteur{padding-top:1px;padding-bottom:1px;}
}
/* Plus bas encore : le coffre du jour attend dans les Ordres. */
@media (orientation:landscape) and (max-height:345px){
 .accueil-col .coffre{display:none;}
}

/* ---------- La Carrière ---------- */
.arena-panel.carriere-ecran{width:min(760px,100%);}
.carriere{display:flex;flex-direction:column;gap:10px;}
.carriere-bloc{display:flex;flex-direction:column;gap:6px;padding:9px 11px;border-radius:12px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.07);}
.carriere-grade-nom{font-size:14px;color:#c9cfe0;}
.carriere-grade-nom b{color:var(--gc,#fff);font-weight:900;}
.carriere-grade .grade-barre{display:block;height:6px;border-radius:3px;background:#15132a;overflow:hidden;}
.carriere-grade .grade-barre b{display:block;height:100%;background:var(--gc,#9a5cff);box-shadow:0 0 8px var(--gc,#9a5cff);}
.carriere-prochain{display:flex;align-items:center;gap:8px;font-size:12px;color:#9ea6bd;line-height:1.35;}
.carriere-prochain b{color:#e7e9ee;}
.carriere-prochain .appui-ico{flex:none;width:24px;height:24px;fill:none;stroke:#7ff3ff;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}
.carriere-records{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;}
.carriere-records.quatre{grid-template-columns:repeat(auto-fit,minmax(120px,1fr));} /* les records et le gain moyen par partie */
.carriere-records div{display:flex;flex-direction:column;gap:2px;padding:7px 10px;border-radius:10px;background:rgba(255,255,255,.04);font-size:11.5px;color:#9ea6bd;line-height:1.25;}
.carriere-records b{font:900 19px/1.1 system-ui,sans-serif;color:#fff;font-variant-numeric:tabular-nums;white-space:nowrap;}
.carriere-resume b small{font-size:max(11px,.6em);color:#9ea6bd;font-weight:700;}
.carriere-resume .aerg-ico{width:.7em;height:.9em;margin-left:.15em;vertical-align:-.05em;}
.carriere-aide{margin:0 0 2px;font-size:12px;line-height:1.4;color:#9ea6bd;}
.carriere-aide b.x3{color:#ffd23d;}
/* L'échelle des dix titres (<details>, un seul ouvert) : passés cochés, en cours ouvert, à venir éteints. */
.carriere-titre{border-radius:10px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.06);border-left:3px solid var(--gc);}
.carriere-titre.avenir{border-left-color:color-mix(in srgb,var(--gc) 45%,transparent);}
.carriere-titre.encours{background:color-mix(in srgb,var(--gc) 9%,rgba(255,255,255,.03));border-color:color-mix(in srgb,var(--gc) 45%,transparent);border-left-color:var(--gc);}
.carriere-titre summary{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr) auto 10px;align-items:center;gap:6px 8px;padding:7px 10px;cursor:pointer;list-style:none;}
.carriere-titre summary::-webkit-details-marker{display:none;}
.carriere-titre summary::after{grid-row:1;grid-column:4;content:"";width:6px;height:6px;border:solid #8a91a6;border-width:0 2px 2px 0;rotate:45deg;translate:0 -2px;transition:rotate .2s;}
.carriere-titre[open] summary::after{rotate:-135deg;translate:0 2px;}
.ct-tete{display:flex;flex-direction:column;line-height:1.15;min-width:0;}
.ct-tete b{font-size:14px;font-weight:900;color:var(--gc);}
.ct-tete small{font-size:11px;color:#8a91a6;white-space:nowrap;}
.carriere-titre.avenir .ct-tete b{opacity:.75;}
.ct-gain{display:flex;align-items:center;gap:6px;min-width:0;font-size:12px;font-weight:700;color:#e7e9ee;line-height:1.2;}
.carriere-titre.avenir .ct-gain{color:#9ea6bd;}
.ct-gain .appui-ico{flex:none;width:22px;height:22px;fill:none;stroke:#7ff3ff;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}
.carriere-titre.avenir .ct-gain .appui-ico{stroke:#6d7488;}
.carriere-titre.avenir .ct-gain .appui-ico .plein{fill:#6d7488;}
.ct-rien{font-weight:600;color:#8a91a6;}
.ct-etat{font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--gc);white-space:nowrap;}
.ct-pied{grid-column:1 / -1;display:flex;flex-wrap:wrap;align-items:center;gap:4px 6px;margin-top:-2px;font-size:11px;color:#8a91a6;font-variant-numeric:tabular-nums;}
.ct-pied .aerg-ico{width:.75em;height:.95em;margin-left:.15em;vertical-align:-.12em;}
.ct-pied em,.ct-grades em{padding:1px 7px;border-radius:6px;font-style:normal;font-size:11px;font-weight:800;letter-spacing:.04em;color:#ffb43d;background:rgba(255,180,61,.12);}
.ct-corps{display:flex;flex-direction:column;gap:6px;padding:0 10px 9px;}
.ct-corps p{margin:0;font-size:12px;line-height:1.4;color:#9ea6bd;}
.ct-corps p b{color:#e7e9ee;}
.ct-corps .aerg-ico{width:.8em;height:1em;margin-left:.15em;vertical-align:-.15em;}
.ct-grades{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:3px;}
.ct-grades li{display:grid;grid-template-columns:minmax(0,1fr) auto 5.2em;align-items:center;column-gap:10px;padding:5px 8px;border-radius:7px;background:rgba(0,0,0,.18);font-size:12px;color:#c9cfe0;font-variant-numeric:tabular-nums;}
.ct-grades li.fait{color:#8a91a6;}
.ct-grades li.ici{background:color-mix(in srgb,var(--gc) 16%,rgba(0,0,0,.2));color:#fff;outline:1px solid color-mix(in srgb,var(--gc) 60%,transparent);}
.cg-nom{display:flex;align-items:center;gap:7px;min-width:0;white-space:nowrap;}
.cg-nom i{flex:none;display:grid;place-items:center;width:20px;height:20px;border-radius:50%;font-style:normal;font-size:11px;font-weight:800;background:rgba(255,255,255,.06);color:#c9cfe0;}
.ct-grades li.fait .cg-nom i{background:color-mix(in srgb,var(--gc) 25%,transparent);color:var(--gc);}
.ct-grades li.ici .cg-nom i{background:var(--gc);color:#07060f;}
.cg-pts{text-align:right;white-space:nowrap;}
.cg-aerg{text-align:right;white-space:nowrap;color:#7ff3ff;font-weight:700;}
.cg-aerg.x3{color:#ffd23d;}
.ct-grades li.fait .cg-aerg{color:inherit;font-weight:600;}
.ct-grades em{grid-column:1 / -1;justify-self:start;margin-top:3px;}
.ct-grades .grade-barre{grid-column:1 / -1;display:block;height:4px;margin-top:5px;border-radius:2px;background:#15132a;overflow:hidden;}
.ct-grades .grade-barre b{display:block;height:100%;background:var(--gc);box-shadow:0 0 6px var(--gc);}
.carriere .arena-scores{margin:0;}
.carriere .arena-empty{margin:2px 0;font-size:12.5px;}
html.petit-ecran .carriere-records b{font-size:16px;}
@media (orientation:portrait){
 html.petit-ecran .carriere .arena-sdate{display:none;}
}

/* ---------- La pause : les ordres de la partie ---------- */
.ordres-pause{margin:10px 0 2px;}
.ordres-pause .ordres-titre{margin-bottom:1px;}
/* Couché, peu de hauteur : les ordres à côté de la phrase, la pause tient sans défiler. */
@media (orientation:landscape) and (max-height:560px){
 .arena-panel:has(> .ordres-pause){width:min(720px,100%);}
 .ordres-pause{gap:4px;margin-top:6px;}
}

/* ---------- L'écran de fin : le prochain objectif, toute la ligne mène à l'achat ---------- */
button.bilan-objectif{width:100%;font:inherit;font-size:12px;text-align:left;cursor:pointer;}
.bilan-objectif em{flex:none;font-style:normal;font-weight:800;color:#7ff3ff;white-space:nowrap;}
.bilan-objectif:focus-visible{border-color:#00e0ff;outline:none;}@media (hover:hover){:where(html:not(.doigt)) .bilan-objectif:hover{border-color:#00e0ff;outline:none;}}

/* ---------- Les paramètres : l'aide ---------- */
.arena-btn.reglages-lire{flex:none;display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 14px;font-size:13px;font-weight:700;}
.reglages-lire svg{width:20px;height:20px;fill:none;stroke:#7ff3ff;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}
.reglages-lire svg .plein{fill:#ffd23d;stroke:#ffd23d;stroke-width:1;}
.reglages .arena-actions .arena-btn{min-height:46px;font-size:14px;font-weight:700;}
/* Couché, peu de hauteur : lignes plus serrées, tout tient sans défiler. */
@media (min-width:700px) and (max-height:430px){
 .reglages .reglages-p{padding-top:12px;}
 .reglages .reglages-titre{font-size:20px;}
 .reglages .reglages-l{min-height:34px;}
 .reglages .reglages-sec h3{margin-top:6px;}
 .reglages .reglages-titre{margin-bottom:0;}
 .reglages .reglages-credit{margin-top:6px;padding-top:6px;}
 .reglages .arena-actions{margin-top:6px;padding-top:6px;padding-bottom:calc(8px + env(safe-area-inset-bottom,0px));}
 .reglages .arena-actions .arena-btn{min-height:42px;}
}

/* ---------- Le glissé entre les menus (app/menus/glisser.js) ----------
   L'écran quitté glisse dans son calque sans s'effacer ; les deux calques ne bougent qu'en translation.
   Les pages voisines (.arena-double) attendent hors de l'écran, prêtes, leurs animations au départ. */
.arena-root .arena-glisse > .arena-panel{animation:none;}
/* Le voile sombre derrière les menus s'allume et s'éteint en opacité (même teinte que le moteur, qui
   changeait sa couleur) : le téléphone mélange un calque au lieu de repeindre tout l'écran à chaque
   image, pendant qu'une page glisse vers l'accueil ou en part. */
.arena-root::before{background:rgba(7,8,12,.62);opacity:0;transition:opacity .35s ease;}
.arena-root.dim::before{opacity:1;}
.glisse-actif *,.glisse-actif *::before,.glisse-actif *::after{animation-play-state:paused;}
/* Grand écran (ordinateur) : les menus, faits pour le téléphone, grandissent avec l'écran au lieu
   de rester dans un coin (audit du 20/10). Rien ne change sur un téléphone (petit-ecran). */
@media (min-width:1100px) and (min-height:700px){html:not(.petit-ecran) .arena-root{--zm:1.2;}}
@media (min-width:1500px) and (min-height:900px){html:not(.petit-ecran) .arena-root{--zm:1.45;}}
@media (min-width:1100px) and (min-height:700px){
 html:not(.petit-ecran) .arena-root .arena-panel-wrap{zoom:var(--zm);}
 /* Le zoom grossit aussi les hauteurs en vh : on les divise d'autant pour que les pleines pages
    tiennent toujours dans l'écran. */
 html:not(.petit-ecran) .arena-root .arena-panel{max-height:calc(100vh / var(--zm) - 32px);}
 html:not(.petit-ecran) .arena-root .arena-panel.fiche-ecran,html:not(.petit-ecran) .arena-root .arena-panel.atelier-ecran,
 html:not(.petit-ecran) .arena-root .arena-panel.ordres-ecran,html:not(.petit-ecran) .arena-root .arena-panel.carriere-ecran,
 html:not(.petit-ecran) .arena-root .arena-panel:has(> .arena-choix-heros),
 html:not(.petit-ecran) .arena-root .arena-panel:has(> [data-k="board"]):not(:has(.arena-over)){height:calc(100vh / var(--zm) - 32px);}
}

/* Les titres des menus (Persos, Arsenal, Bâtiments, Ordres, Carrière ; app/menus/menus.js) : comme celui des paramètres, le
   symbole de leur bouton devant, centré sur la hauteur du mot, et le mot en dégradé cyan → violet sur sa propre largeur
   (le même, du premier à la dernière lettre, qu'il soit court ou long ; « Paramètres » aussi, app/menus/reglages.js). */
.arena-title.menus-titre,.reglages .reglages-titre{display:flex;align-items:center;gap:10px;background:none;color:inherit;-webkit-text-fill-color:initial;}
.arena-title.menus-titre > span:not(.arena-heros-solde),.reglages .reglages-titre > span{min-width:0;
 background:linear-gradient(90deg,#00e0ff,#9a5cff 78%,#c64cf0);-webkit-background-clip:text;background-clip:text;color:transparent;}
.atelier-tete .arena-title.menus-titre{color:inherit;}
.arena-title.menus-titre > svg{flex:none;width:1.15em;height:1.15em;fill:none;stroke:#7ff3ff;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;
 filter:drop-shadow(0 0 3px rgba(0,224,255,.6));}
.arena-title.menus-titre > svg .plein{fill:#ffd23d;stroke:#ffd23d;stroke-width:1;filter:drop-shadow(0 0 2px rgba(255,210,61,.7));}
.arena-title.menus-titre > svg .trait-plein{stroke:#ffd23d;stroke-width:2;}
.arena-heros-titre.menus-titre{justify-content:flex-start;}
.arena-heros-titre.menus-titre .arena-heros-solde{margin-left:auto;}
/* Une seule taille pour tous ces titres, « Paramètres » compris : celle qu'avait « Arsenal » (Tris, 27/10 ; 18 px sur
   téléphone, 24 px sur grand écran). Elle passe
   devant les tailles propres à chaque menu (petit écran, Atelier couché…), d'où le !important. */
.arena-title.menus-titre,.reglages .reglages-titre{font-size:24px !important;}
html.petit-ecran .arena-title.menus-titre,html.petit-ecran .reglages .reglages-titre{font-size:18px !important;}
