/* ==========================================================================
   DROPZONE — feuille de style unique
   Thème : poste de commandement orbital. Nuit spatiale, cyan pour le vaisseau et la
   technologie, ambre pour la Terre et les matériaux, rouge pour la horde et le stress.
   Animations : transform et opacity uniquement (pas de repeint de page).
   ========================================================================== */

:root {
  --fond: #060a12;
  --fond2: #0a111e;
  --panneau: #0d1626;
  --panneau2: #111c30;
  --ligne: #1c2a44;
  --ligne2: #27395a;
  --texte: #dde6f4;
  --texte2: #93a1b8;
  --texte3: #64718a;
  --accent: #3ad6ff;
  --cyan: #3ad6ff;
  --ambre: #ffb23e;
  --vert: #3fdc8a;
  --rouge: #ff4d5e;
  --orange: #ff8a3d;
  --violet: #a98bff;
  --jaune: #ffe066;
  --or: #f5c451;
  --rayon: 10px;
  --ombre: 0 10px 30px rgba(0, 0, 0, .35);
  --titre: Bahnschrift, "DIN Alternate", "DIN Condensed", "Roboto Condensed", "Arial Narrow", sans-serif-condensed, system-ui, sans-serif;
  --corps: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --haut: 64px;
  --menu: 232px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background-color: var(--fond);
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(255,255,255,.55), transparent 60%),
    radial-gradient(1px 1px at 72% 12%, rgba(255,255,255,.4), transparent 60%),
    radial-gradient(1.5px 1.5px at 38% 64%, rgba(160,220,255,.45), transparent 60%),
    radial-gradient(1px 1px at 88% 58%, rgba(255,255,255,.35), transparent 60%),
    radial-gradient(1px 1px at 55% 88%, rgba(255,255,255,.3), transparent 60%),
    radial-gradient(1200px 600px at 85% -10%, rgba(58,214,255,.08), transparent 70%),
    radial-gradient(900px 500px at -10% 110%, rgba(255,138,61,.06), transparent 70%);
  background-attachment: fixed;
  color: var(--texte);
  font: 15px/1.5 var(--corps);
  font-variant-numeric: tabular-nums;
  min-height: 100vh;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--titre); font-weight: 600; letter-spacing: .02em; margin: 0 0 .5em; line-height: 1.2; }
h1 { font-size: 1.7rem; }
h2 { font-size: 1.25rem; }
h3 { font-size: 1.05rem; }
h4 { font-size: .95rem; }
p { margin: 0 0 .8em; }
small { font-size: .82em; }
hr { border: 0; border-top: 1px solid var(--ligne); margin: 16px 0; }
.muet { color: var(--texte2); }
.discret { color: var(--texte3); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 20px; height: 20px; flex: none; vertical-align: -4px; }
.ic-titre { width: 26px; height: 26px; margin-right: 10px; color: var(--accent); vertical-align: -5px; }
.bien { color: var(--vert); } .mal { color: var(--rouge); } .attention { color: var(--ambre); }
.num { font-family: var(--titre); font-variant-numeric: tabular-nums; }
.cache { display: none !important; }
.embleme { width: 18px; height: 18px; vertical-align: -3px; filter: drop-shadow(0 0 4px currentColor); }
[hidden] { display: none !important; }

/* ------------------------------------------------------------------ barre du haut */
.barre {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 14px;
  height: var(--haut); padding: 0 16px;
  background: rgba(6, 10, 18, .92);
  border-bottom: 1px solid var(--ligne);
  backdrop-filter: blur(8px);
}
.logo { display: flex; align-items: center; gap: 8px; color: var(--texte); font: 700 1.2rem/1 var(--titre); letter-spacing: .18em; white-space: nowrap; }
.logo b { color: var(--accent); font-weight: 700; }
.logo:hover { text-decoration: none; }
.logo-ic { width: 28px; height: 28px; color: var(--accent); }
.barre-vide { flex: 1; color: var(--texte3); font-size: .9rem; }
.ressources { flex: 1; display: flex; gap: 8px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.ressources::-webkit-scrollbar { display: none; }
.res {
  flex: 0 0 auto;
  display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: 8px; align-items: center;
  padding: 6px 12px; min-width: 112px;
  background: var(--panneau); border: 1px solid var(--ligne); border-radius: 9px;
  color: var(--texte); white-space: nowrap;
}
.res:hover { border-color: var(--ligne2); text-decoration: none; }
.res .ic { grid-row: span 2; width: 22px; height: 22px; }
.res-val { font: 600 1.05rem/1.1 var(--titre); }
.res-val small { font-size: .7em; color: var(--violet); margin-left: 2px; }
.res-sous { font-size: .72rem; color: var(--texte2); line-height: 1.1; }
.res-mat .ic { color: var(--ambre); }
.res-energie .ic { color: var(--jaune); }
.res-energie.negatif { border-color: rgba(255,77,94,.6); background: rgba(255,77,94,.08); }
.res-energie.negatif .res-val, .res-energie.negatif .res-sous { color: var(--rouge); }
.res-vague .ic { color: var(--orange); }
.res-pp .ic { color: var(--violet); }
.res-stress { grid-template-columns: auto 1fr; }
.res-stress .ic { grid-row: span 2; }
.res-stress .res-val { grid-column: 2; }
.jauge-mini { grid-column: 2; display: block; height: 6px; width: 90px; background: #1a2336; border-radius: 3px; overflow: hidden; }
.jauge-mini span { display: block; height: 100%; background: linear-gradient(90deg, var(--vert), var(--ambre) 55%, var(--rouge)); background-size: 90px 100%; border-radius: 3px; }
.stress-bas .ic { color: var(--vert); }
.stress-moyen .ic { color: var(--ambre); }
.stress-haut .ic { color: var(--orange); }
.stress-critique { border-color: rgba(255,77,94,.7); }
.stress-critique .ic, .stress-critique .res-val { color: var(--rouge); }
.barre-droite { display: flex; align-items: center; gap: 6px; }
.pastille-lien { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 9px; color: var(--texte2); }
.pastille-lien:hover { background: var(--panneau); color: var(--texte); }
.pastille { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: #041018; font: 700 .7rem/18px var(--corps); text-align: center; }
.pastille.or { background: var(--or); }
.pastille.rouge { background: var(--rouge); color: #fff; }
.menu .pastille { position: static; margin-left: auto; }
.menu-joueur { position: relative; }
.menu-joueur summary { list-style: none; display: flex; align-items: center; gap: 8px; padding: 4px 8px; border-radius: 9px; cursor: pointer; }
.menu-joueur summary::-webkit-details-marker { display: none; }
.menu-joueur summary:hover { background: var(--panneau); }
.avatar { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), #1d6fa3); color: #041018; font: 700 .95rem var(--titre); }
.pseudo { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu-joueur-corps { position: absolute; right: 0; top: calc(100% + 6px); min-width: 210px; padding: 8px; background: var(--panneau2); border: 1px solid var(--ligne2); border-radius: 10px; box-shadow: var(--ombre); }
.menu-joueur-corps a, .menu-joueur-corps .lien { display: block; width: 100%; padding: 8px 10px; border-radius: 7px; color: var(--texte); text-align: left; }
.menu-joueur-corps a:hover, .menu-joueur-corps .lien:hover { background: var(--panneau); text-decoration: none; }
.titre-joueur { padding: 4px 10px 8px; color: var(--or); font-size: .85rem; }

/* ------------------------------------------------------------------ cadre + menu */
.cadre { display: grid; grid-template-columns: var(--menu) minmax(0, 1fr); min-height: calc(100vh - var(--haut)); }
.menu {
  position: sticky; top: var(--haut); align-self: start; height: calc(100vh - var(--haut)); overflow-y: auto;
  padding: 14px 10px 24px; border-right: 1px solid var(--ligne); background: rgba(8, 13, 23, .7);
}
.menu-groupe { margin: 14px 10px 6px; color: var(--texte3); font: 600 .72rem var(--titre); letter-spacing: .14em; text-transform: uppercase; }
.menu-groupe:first-child { margin-top: 0; }
.menu a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; color: var(--texte2); }
.menu a:hover { background: var(--panneau); color: var(--texte); text-decoration: none; }
.menu a.actif { background: linear-gradient(90deg, rgba(58,214,255,.16), rgba(58,214,255,.02)); color: var(--texte); box-shadow: inset 2px 0 0 var(--accent); }
.menu a.actif .ic { color: var(--accent); }
.contenu { padding: 22px clamp(14px, 2.2vw, 34px) 60px; min-width: 0; }
.onglets { display: none; }

/* ------------------------------------------------------------------ en-têtes, grilles, cartes */
.entete { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.entete h1 { margin: 0; }
.sous-titre { margin: 4px 0 0; color: var(--texte2); }
.entete-droite { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.grille { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.grille-2 { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grille-3 { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grille-4 { display: grid; gap: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pile > * + * { margin-top: 14px; }
.rangee { display: flex; flex-wrap: wrap; gap: 14px; }
.rangee > * { flex: 1 1 190px; min-width: 0; }
.carte {
  position: relative; background: linear-gradient(180deg, var(--panneau2), var(--panneau));
  border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 16px;
}
.carte h2, .carte h3 { display: flex; align-items: center; gap: 8px; }
.carte-titre { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.carte-titre h2, .carte-titre h3 { margin: 0; }
.carte.alerte { border-color: rgba(255,77,94,.55); box-shadow: 0 0 0 1px rgba(255,77,94,.15) inset; }
.carte.attention { border-color: rgba(255,178,62,.5); }
.carte.succes { border-color: rgba(63,220,138,.45); }
.carte.verrou { opacity: .62; }
.carte.en-cours { border-color: rgba(58,214,255,.45); }
.section { margin: 26px 0 12px; display: flex; align-items: center; gap: 10px; }
.section h2 { margin: 0; }
.section::after { content: ""; flex: 1; height: 1px; background: var(--ligne); }
.ligne-stat { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-bottom: 1px dashed rgba(39,57,90,.6); }
.ligne-stat:last-child { border-bottom: 0; }
.ligne-stat span:first-child { color: var(--texte2); }
.chiffre { font: 600 1.8rem/1.1 var(--titre); }
.chiffre small { font-size: .5em; color: var(--texte2); font-weight: 400; }
.kpis { display: flex; flex-wrap: wrap; gap: 12px; }
.kpi { flex: 1 1 150px; min-width: 0; padding: 12px 14px; background: var(--panneau); border: 1px solid var(--ligne); border-radius: 10px; }
.kpi-lib { color: var(--texte2); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.kpi-val { font: 600 1.45rem/1.2 var(--titre); }
.kpi-sous { color: var(--texte3); font-size: .8rem; }

/* ------------------------------------------------------------------ boutons, formulaires */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 8px 14px; border-radius: 8px; border: 1px solid var(--ligne2);
  background: var(--panneau2); color: var(--texte); font: 600 .9rem var(--corps); cursor: pointer; white-space: nowrap;
  transition: transform .12s ease, opacity .12s ease;
}
.btn:hover { border-color: var(--accent); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn.desactive { opacity: .45; cursor: not-allowed; border-color: var(--ligne2); }
.btn-primaire { background: linear-gradient(180deg, #3ad6ff, #1fa6d6); border-color: #3ad6ff; color: #03121b; }
.btn-primaire:hover { border-color: #aef0ff; }
.btn-ambre { background: linear-gradient(180deg, #ffc46a, #f39a1c); border-color: #ffb23e; color: #241300; }
.btn-danger { background: rgba(255,77,94,.12); border-color: rgba(255,77,94,.6); color: #ffc2c8; }
.btn-danger:hover { border-color: var(--rouge); }
.btn-petit { padding: 5px 10px; font-size: .82rem; }
.btn-large { width: 100%; }
.lien { background: none; border: 0; padding: 0; color: var(--accent); cursor: pointer; font: inherit; }
.form-bouton { display: inline; margin: 0; }
label { display: block; margin: 0 0 4px; color: var(--texte2); font-size: .85rem; }
input:not([type]), input[type=text], input[type=password], input[type=email], input[type=number], input[type=search], input[type=url],
input[type=date], input[type=time], input[type=datetime-local], select, textarea {
  width: 100%; padding: 9px 11px; border-radius: 8px; border: 1px solid var(--ligne2);
  background: #070d18; color: var(--texte); font: inherit; color-scheme: dark;
}
input:focus, select:focus, textarea:focus, .btn:focus-visible { outline: 2px solid rgba(58,214,255,.55); outline-offset: 1px; }
input[type=number] { font-variant-numeric: tabular-nums; }
textarea { min-height: 80px; resize: vertical; }
.champ { margin-bottom: 12px; }
.champ-ligne { display: flex; gap: 8px; align-items: flex-end; flex-wrap: wrap; }
.champ-ligne > * { flex: 1; min-width: 120px; }
.quantite { display: flex; gap: 6px; align-items: center; }
.quantite input { width: 110px; flex: none; }
.case { display: flex; gap: 8px; align-items: center; color: var(--texte); font-size: .9rem; }

/* ------------------------------------------------------------------ badges, barres, tableaux */
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 20px; font: 600 .72rem/1.6 var(--corps); letter-spacing: .03em; background: #1a2438; color: var(--texte2); border: 1px solid var(--ligne2); white-space: nowrap; }
.q-fac { color: #b9c4d6; }
.q-risque { background: rgba(255,138,61,.12); color: #ffb98a; border-color: rgba(255,138,61,.45); }
.q-oblig { background: rgba(255,77,94,.14); color: #ff9aa4; border-color: rgba(255,77,94,.55); }
.q-maj { background: rgba(169,139,255,.14); color: #cbb9ff; border-color: rgba(169,139,255,.5); }
.q-leg { background: rgba(245,196,81,.14); color: #ffe08e; border-color: rgba(245,196,81,.55); }
.philo-n { background: rgba(255,138,61,.12); color: #ffb98a; border-color: rgba(255,138,61,.45); }
.philo-c { background: rgba(58,214,255,.12); color: #9eeaff; border-color: rgba(58,214,255,.45); }
.philo-f { background: rgba(63,220,138,.12); color: #9ff0c5; border-color: rgba(63,220,138,.45); }
.badge.ok { background: rgba(63,220,138,.12); color: #9ff0c5; border-color: rgba(63,220,138,.45); }
.badge.ko { background: rgba(255,77,94,.12); color: #ff9aa4; border-color: rgba(255,77,94,.45); }
.barre-prog { height: 8px; background: #16203a; border-radius: 5px; overflow: hidden; }
.barre-prog > span { display: block; height: 100%; background: linear-gradient(90deg, #1b8fc0, var(--accent)); border-radius: 5px; transition: width .6s ease; }
.barre-prog.ambre > span { background: linear-gradient(90deg, #c77414, var(--ambre)); }
.barre-prog.violet > span { background: linear-gradient(90deg, #6a4fd6, var(--violet)); }
.barre-prog.vert > span { background: linear-gradient(90deg, #1f9e5c, var(--vert)); }
.barre-prog.rouge > span { background: linear-gradient(90deg, #b3223a, var(--rouge)); }
.barre-prog.epaisse { height: 12px; }
.tableau { width: 100%; border-collapse: collapse; font-size: .9rem; }
.tableau th { text-align: left; color: var(--texte2); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; padding: 8px 10px; border-bottom: 1px solid var(--ligne2); }
.tableau td { padding: 8px 10px; border-bottom: 1px solid var(--ligne); vertical-align: middle; }
.tableau tr:hover td { background: rgba(58,214,255,.03); }
.tableau .droite, .tableau th.droite { text-align: right; }
.defile { overflow-x: auto; }
.u { display: inline-block; margin-right: 8px; white-space: nowrap; }
.u b { color: var(--texte); }
.minuteur { font-family: var(--titre); font-variant-numeric: tabular-nums; color: var(--accent); }
.minuteur.urgent { color: var(--rouge); }

/* ------------------------------------------------------------------ messages */
.flashes { display: grid; gap: 8px; margin-bottom: 16px; }
.flash { padding: 10px 14px; border-radius: 9px; border: 1px solid var(--ligne2); background: var(--panneau); animation: entree .35s ease both; }
.flash.succes { border-color: rgba(63,220,138,.45); background: rgba(63,220,138,.07); }
.flash.erreur { border-color: rgba(255,77,94,.55); background: rgba(255,77,94,.08); }
.flash.alerte { border-color: rgba(255,138,61,.55); background: rgba(255,138,61,.08); }
.bandeau { display: flex; gap: 12px; align-items: center; padding: 12px 16px; border-radius: 10px; margin-bottom: 14px; border: 1px solid var(--ligne2); background: var(--panneau); }
.bandeau.rouge { border-color: rgba(255,77,94,.6); background: linear-gradient(90deg, rgba(255,77,94,.16), rgba(255,77,94,.04)); }
.bandeau.ambre { border-color: rgba(255,178,62,.55); background: linear-gradient(90deg, rgba(255,178,62,.14), rgba(255,178,62,.03)); }
.bandeau.cyan { border-color: rgba(58,214,255,.5); background: linear-gradient(90deg, rgba(58,214,255,.12), rgba(58,214,255,.02)); }
.bandeau .ic { width: 26px; height: 26px; }
.toasts { position: fixed; right: 16px; bottom: 16px; z-index: 50; display: grid; gap: 8px; }
.toast { padding: 10px 14px; background: var(--panneau2); border: 1px solid var(--ligne2); border-radius: 10px; box-shadow: var(--ombre); animation: entree .3s ease both; }
@keyframes entree { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------------ jauge de stress (vue d'ensemble) */
.jauge { position: relative; width: 100%; max-width: 320px; margin: 0 auto; }
.jauge svg { width: 100%; height: auto; display: block; }
.jauge-fond { stroke: #16203a; }
.jauge-arc { transition: stroke-dashoffset 1.2s cubic-bezier(.2,.8,.2,1); }
.jauge-val { font: 700 38px var(--titre); }
.jauge-lib { font: 600 10px var(--corps); letter-spacing: .14em; text-transform: uppercase; }
.pulse { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .45; } }

/* ------------------------------------------------------------------ éléments (bâtiments, recherches, unités) */
.element { display: grid; grid-template-columns: 52px 1fr; gap: 12px; }
.element-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: radial-gradient(circle at 30% 25%, rgba(58,214,255,.22), rgba(58,214,255,.04)); border: 1px solid rgba(58,214,255,.25); color: var(--accent); }
.element-ic .ic { width: 28px; height: 28px; }
.element-ic.ambre { background: radial-gradient(circle at 30% 25%, rgba(255,178,62,.22), rgba(255,178,62,.04)); border-color: rgba(255,178,62,.3); color: var(--ambre); }
.element-ic.rouge { background: radial-gradient(circle at 30% 25%, rgba(255,77,94,.22), rgba(255,77,94,.04)); border-color: rgba(255,77,94,.3); color: var(--rouge); }
.element-ic.violet { background: radial-gradient(circle at 30% 25%, rgba(169,139,255,.22), rgba(169,139,255,.04)); border-color: rgba(169,139,255,.3); color: var(--violet); }
.element-ic.vert { background: radial-gradient(circle at 30% 25%, rgba(63,220,138,.22), rgba(63,220,138,.04)); border-color: rgba(63,220,138,.3); color: var(--vert); }
.element h3 { margin: 0; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.niveau { font: 600 .85rem var(--titre); color: var(--accent); padding: 1px 8px; border-radius: 20px; background: rgba(58,214,255,.1); border: 1px solid rgba(58,214,255,.3); }
.element p { margin: 6px 0 8px; color: var(--texte2); font-size: .88rem; }
.effets { display: grid; gap: 3px; font-size: .86rem; margin-bottom: 10px; }
.effets .fleche { color: var(--vert); }
.cout { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-size: .86rem; color: var(--texte2); margin-bottom: 10px; }
.cout span { display: inline-flex; align-items: center; gap: 5px; }
.cout .manque { color: var(--rouge); }
.cout .ic { width: 16px; height: 16px; vertical-align: -3px; }
.raison { font-size: .82rem; color: var(--ambre); }
.file { display: grid; gap: 10px; }
.file-el { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; padding: 10px 12px; background: var(--panneau); border: 1px solid var(--ligne); border-radius: 9px; }
.file-el .barre-prog { grid-column: 1 / -1; }
.stat-unite { display: flex; gap: 10px; flex-wrap: wrap; font-size: .82rem; color: var(--texte2); }
.stat-unite b { color: var(--texte); }

/* ------------------------------------------------------------------ quêtes */
.quete { display: flex; flex-direction: column; gap: 8px; }
.quete-tete { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.quete h3 { margin: 2px 0 0; }
.quete .texte { color: var(--texte2); font-size: .88rem; font-style: italic; margin: 0; }
.quete-infos { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 6px 12px; font-size: .86rem; }
.quete-infos > div > span:first-child { display: block; color: var(--texte3); font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; }
.quete.q-oblig-carte { border-color: rgba(255,77,94,.6); box-shadow: 0 0 24px rgba(255,77,94,.08); }
.quete.q-risque-carte { border-color: rgba(255,138,61,.5); }
.quete.q-maj-carte { border-color: rgba(169,139,255,.5); }
.quete.q-leg-carte { border-color: rgba(245,196,81,.6); }
.engager { border-top: 1px dashed var(--ligne2); padding-top: 10px; }
.engager-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-bottom: 10px; }
.engager-grille label { display: flex; justify-content: space-between; gap: 6px; margin: 0 0 3px; font-size: .78rem; }
.engager-grille input { padding: 6px 8px; }
.prevision { font-size: .88rem; padding: 8px 10px; border-radius: 8px; background: #0a1322; border: 1px solid var(--ligne); margin-bottom: 10px; min-height: 38px; }
.sponsor { padding: 8px 10px; border-radius: 8px; border: 1px dashed rgba(245,196,81,.5); background: rgba(245,196,81,.05); font-size: .86rem; }

/* ------------------------------------------------------------------ combat */
.combat-camps { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.camp { padding: 10px 12px; border-radius: 9px; background: var(--panneau); border: 1px solid var(--ligne); }
.camp h4 small { color: var(--texte3); font-weight: 400; }
.combat-bilan { display: grid; gap: 4px; margin-top: 10px; font-size: .9rem; }
.tours td { font-size: .86rem; }

/* ------------------------------------------------------------------ arbre de technologie */
.etoile-wrap { display: grid; grid-template-columns: minmax(280px, 420px) minmax(0, 1fr); gap: 18px; align-items: start; }
.etoile svg { width: 100%; height: auto; display: block; }
.etoile a { cursor: pointer; }
.etoile .branche { transition: opacity .2s; }
.etoile .branche:hover { opacity: .85; }
.anneau { margin-bottom: 16px; }
.anneau-tete { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.noeuds { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.noeud { padding: 12px; border-radius: 10px; background: var(--panneau); border: 1px solid var(--ligne); }
.noeud.fini { border-color: rgba(63,220,138,.5); }
.noeud.ultime { border-color: rgba(245,196,81,.55); background: linear-gradient(180deg, rgba(245,196,81,.07), var(--panneau)); }
.noeud.ferme { opacity: .55; }
.etapes { display: flex; gap: 5px; margin: 8px 0; }
.etapes i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--ligne2); }
.etapes i.pris { background: var(--accent); border-color: var(--accent); }
.etapes i.copie { box-shadow: 0 0 0 2px rgba(169,139,255,.6); }
.onglets-famille { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.onglets-famille a { padding: 6px 12px; border-radius: 20px; border: 1px solid var(--ligne2); color: var(--texte2); font-size: .88rem; }
.onglets-famille a.actif { border-color: var(--accent); color: var(--texte); background: rgba(58,214,255,.08); }
.onglets-famille a:hover { text-decoration: none; color: var(--texte); }

/* ------------------------------------------------------------------ accueil public */
.accueil { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); }
.accueil-scene { position: relative; overflow: hidden; padding: 48px clamp(20px, 5vw, 70px); display: flex; flex-direction: column; justify-content: center; }
.accueil-scene h1 { font-size: clamp(2.6rem, 6vw, 5rem); letter-spacing: .2em; margin: 0 0 6px; }
.accueil-scene h1 b { color: var(--accent); }
.accroche { font-size: clamp(1rem, 1.6vw, 1.25rem); color: var(--texte); max-width: 640px; }
.planete { position: absolute; right: -18%; bottom: -30%; width: 78%; max-width: 900px; opacity: .9; pointer-events: none; }
.planete .orbite { transform-origin: 400px 400px; animation: rotation 90s linear infinite; }
.planete .capsule { animation: chute 7s ease-in infinite; }
.planete .capsule:nth-of-type(2) { animation-delay: 2.3s; }
.planete .capsule:nth-of-type(3) { animation-delay: 4.6s; }
@keyframes rotation { to { transform: rotate(360deg); } }
@keyframes chute { 0% { transform: translate(0, 0); opacity: 0; } 10% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translate(-140px, 260px); opacity: 0; } }
.atouts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 26px; max-width: 700px; position: relative; }
.atout { padding: 12px 14px; border-radius: 10px; background: rgba(13,22,38,.75); border: 1px solid var(--ligne); }
.atout h3 { font-size: .98rem; margin-bottom: 4px; display: flex; gap: 8px; align-items: center; }
.atout p { margin: 0; color: var(--texte2); font-size: .88rem; }
.accueil-panneau { padding: 40px clamp(18px, 3vw, 44px); background: rgba(9, 15, 27, .9); border-left: 1px solid var(--ligne); display: flex; flex-direction: column; justify-content: center; }
.onglets-auth { display: flex; gap: 6px; margin-bottom: 16px; }
.onglets-auth button { flex: 1; }
.chiffres-serveur { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
.chiffres-serveur div { text-align: center; padding: 10px; border-radius: 9px; background: var(--panneau); border: 1px solid var(--ligne); }
.chiffres-serveur b { display: block; font: 700 1.3rem var(--titre); color: var(--accent); }
.chiffres-serveur span { font-size: .75rem; color: var(--texte2); }

/* ------------------------------------------------------------------ philosophies (choix de colonie) */
.philos { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.philo-choix { position: relative; display: block; cursor: pointer; }
.philo-choix input { position: absolute; opacity: 0; }
.philo-choix .carte { height: 100%; transition: transform .15s ease; }
.philo-choix input:checked + .carte { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset, 0 0 30px rgba(58,214,255,.12); }
.philo-choix input:disabled + .carte { opacity: .5; cursor: not-allowed; }
.philo-choix:hover .carte { transform: translateY(-2px); }

/* ------------------------------------------------------------------ divers */
.journal { display: grid; gap: 6px; }
.journal-el { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 8px 12px; border-radius: 8px; background: var(--panneau); border: 1px solid var(--ligne); }
.journal-el.non-lu { border-color: rgba(58,214,255,.4); }
.journal-el .quand { color: var(--texte3); font-size: .8rem; white-space: nowrap; }
.point { width: 9px; height: 9px; border-radius: 50%; background: var(--texte3); }
.point.bien { background: var(--vert); } .point.mal { background: var(--rouge); } .point.info { background: var(--accent); }
.drone-rapport { font-style: italic; color: var(--texte2); border-left: 3px solid var(--accent); padding: 6px 12px; background: rgba(58,214,255,.04); border-radius: 0 8px 8px 0; }
.vide { padding: 22px; text-align: center; color: var(--texte2); border: 1px dashed var(--ligne2); border-radius: 10px; }
.message-coalition { padding: 8px 12px; border-radius: 8px; background: var(--panneau); border: 1px solid var(--ligne); }
.message-coalition .qui { font-weight: 600; margin-right: 6px; }
.message-coalition.systeme { color: var(--texte2); font-style: italic; background: transparent; }
.aide h2 { margin-top: 26px; }
.aide .carte > h2:first-child, .aide .carte > h3:first-child { margin-top: 0; }
.aide p, .aide li { color: #c6d0e0; }
.aide table { margin: 10px 0 18px; }
details.pli { border: 1px solid var(--ligne); border-radius: 10px; background: var(--panneau); padding: 0 14px; }
details.pli > summary { cursor: pointer; padding: 12px 0; font-weight: 600; }
details.pli[open] > summary { border-bottom: 1px solid var(--ligne); margin-bottom: 10px; }
.code { font-family: ui-monospace, Consolas, monospace; font-size: .85rem; background: #070d18; border: 1px solid var(--ligne); border-radius: 8px; padding: 10px 12px; overflow-x: auto; white-space: pre; }

/* ------------------------------------------------------------------ vaisseau-monde (pont, profils) */
.vh { position: relative; height: 230px; margin-bottom: 14px; border-radius: var(--rayon); overflow: hidden; border: 1px solid var(--ligne); background: #04070e; isolation: isolate; }
.vh-fond { position: absolute; inset: 0; width: 100%; height: 100%; }
.vh-scene { position: absolute; left: 50%; top: 40%; width: min(560px, 86%); aspect-ratio: 400 / 140; transform: translate(-50%, -50%); }
.vh-vaisseau { position: absolute; inset: 0; width: 100%; height: 100%; animation: vh-derive 9s ease-in-out infinite; }
.vh-reacteur { position: absolute; left: -6%; top: 36%; width: 16%; height: 28%; border-radius: 50%; background: radial-gradient(closest-side, rgba(158,234,255,.95), rgba(58,214,255,.35) 55%, transparent); animation: vh-pulse 2.6s ease-in-out infinite; }
.vh-halo { position: absolute; inset: -30% -8%; border-radius: 50%; background: radial-gradient(closest-side, rgba(58,214,255,.12), transparent 70%); opacity: .8; }
.vh-escorte { position: absolute; left: 50%; top: 50%; width: 112%; aspect-ratio: 1; transform: translate(-50%, -50%); z-index: -1; pointer-events: none; }
.vh-dx, .vh-dy { position: absolute; inset: 0; }
.vh-dx { animation: vh-dx 12s ease-in-out infinite alternate; }
.vh-dy { animation: vh-dy 12s ease-in-out infinite alternate; }
.vh-dy i { position: absolute; left: 50%; top: 50%; width: 11px; height: 11px; margin: -5.5px; border-radius: 50%; background: radial-gradient(circle, #fff 0 16%, #ff4d5e 34%, rgba(255,77,94,.3) 58%, transparent 72%); }
.vh-legende { position: absolute; left: 16px; bottom: 12px; display: flex; flex-direction: column; gap: 2px; text-shadow: 0 1px 8px #000; }
.vh-legende b { display: flex; align-items: center; gap: 6px; font: 600 1.35rem var(--titre); letter-spacing: .03em; }
.vh-legende span { color: var(--texte2); font-size: .86rem; }
.vh.skin-armada .vh-reacteur { background: radial-gradient(closest-side, rgba(255,210,190,.95), rgba(255,77,94,.4) 55%, transparent); }
.vh.skin-armada .vh-halo { background: radial-gradient(closest-side, rgba(255,77,94,.12), transparent 70%); }
.vh.skin-dore .vh-reacteur { background: radial-gradient(closest-side, rgba(255,246,214,.95), rgba(245,196,81,.45) 55%, transparent); }
.vh.skin-dore .vh-halo { background: radial-gradient(closest-side, rgba(245,196,81,.28), transparent 70%); animation: vh-pulse 5s ease-in-out infinite; }
.vh.skin-dore { border-color: rgba(245,196,81,.45); }
.skin-armada .logo-ic { color: var(--rouge); }
.skin-dore .logo-ic { color: var(--or); }
@keyframes vh-derive { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes vh-pulse { 0%, 100% { opacity: .65; } 50% { opacity: 1; } }
@keyframes vh-dx { from { transform: translateX(-50%); } to { transform: translateX(50%); } }
@keyframes vh-dy { from { transform: translateY(-13%); } to { transform: translateY(13%); } }

/* ------------------------------------------------------------------ présence, recherche */
.en-ligne { display: inline-flex; align-items: center; gap: 5px; color: var(--vert); font-size: .8rem; }
.en-ligne i { width: 8px; height: 8px; border-radius: 50%; background: var(--vert); box-shadow: 0 0 0 3px rgba(63,220,138,.18); }
.recherche { margin-bottom: 14px; max-width: 560px; }

/* ------------------------------------------------------------------ graphiques (carrière) */
.graphe { width: 100%; height: auto; display: block; }
.graphe-axe { stroke: var(--ligne2); stroke-width: 1.5; }
.graphe-grille { stroke: var(--ligne); stroke-dasharray: 3 5; }
.graphe-lib { fill: var(--texte3); font: 600 11px var(--corps); }
.graphe-vivante rect { stroke: #fff; stroke-opacity: .55; stroke-width: 1.2; stroke-dasharray: 3 3; }
.pastille-legende { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin: 0 4px 0 2px; vertical-align: 0; }

/* ------------------------------------------------------------------ page introuvable */
.introuvable { display: grid; grid-template-columns: minmax(120px, 220px) 1fr; gap: 26px; align-items: center; max-width: 820px; margin: 30px auto; }
.introuvable-radar { width: 100%; color: var(--accent); }
.introuvable-balayage { transform-origin: 100px 100px; animation: balayage 4s linear infinite; }
@keyframes balayage { to { transform: rotate(360deg); } }
@media (max-width: 600px) { .introuvable { grid-template-columns: minmax(0, 1fr); } .introuvable-radar { max-width: 160px; margin: 0 auto; } }

/* ------------------------------------------------------------------ simulateur de combat */
.sim-options { display: grid; gap: 14px 22px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); align-items: start; }
.sim-options .case { margin-bottom: 4px; }

/* ------------------------------------------------------------------ résumé d'absence, conseils */
.resume-absence { margin-bottom: 14px; border-color: rgba(58,214,255,.4); animation: entree .35s ease both; }
.resume-absence .carte-titre h3 { flex-wrap: wrap; column-gap: 8px; row-gap: 0; }
.resume-absence .carte-titre h3 span { white-space: nowrap; font-weight: 400; font-size: .9rem; }
.resume-chiffres { display: flex; flex-wrap: wrap; gap: 8px; }
.resume-chiffres > div { padding: 6px 12px; border-radius: 20px; background: var(--panneau); border: 1px solid var(--ligne2); color: var(--texte2); font-size: .88rem; }
.resume-chiffres > div b { color: var(--texte); font-family: var(--titre); font-size: 1rem; }
.resume-chiffres > .bien { border-color: rgba(63,220,138,.45); } .resume-chiffres > .mal { border-color: rgba(255,77,94,.55); } .resume-chiffres > .attention { border-color: rgba(255,178,62,.5); }
.resume-faits { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 4px; }
.resume-faits li { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 5px 10px; border-radius: 7px; background: rgba(13,22,38,.7); font-size: .88rem; }
.resume-faits .quand { color: var(--texte3); font-size: .78rem; white-space: nowrap; }
.conseils { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; }
.conseils-titre { font: 600 .74rem var(--corps); text-transform: uppercase; letter-spacing: .12em; color: var(--texte3); margin-right: 2px; }
.conseil { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 20px; border: 1px solid var(--ligne2); background: var(--panneau2); color: var(--texte); font-size: .86rem; transition: transform .12s ease; }
.conseil:hover { text-decoration: none; transform: translateY(-1px); border-color: var(--accent); }
.conseil .ic { width: 16px; height: 16px; color: var(--accent); }
.conseil.attention { border-color: rgba(255,178,62,.5); } .conseil.attention .ic { color: var(--ambre); }
.conseil.mal { border-color: rgba(255,77,94,.6); } .conseil.mal .ic { color: var(--rouge); }
.conseil.violet { border-color: rgba(169,139,255,.5); } .conseil.violet .ic { color: var(--violet); }

/* ------------------------------------------------------------------ vie du serveur : messagerie, discussion, support */
.pastille.discrete { background: var(--ligne2); color: var(--texte); }
.onglets-page { display: flex; flex-wrap: wrap; gap: 8px; }
.onglets-page .pastille { position: static; margin-left: 6px; }
.messagerie { display: grid; grid-template-columns: minmax(240px, 340px) minmax(0, 1fr); gap: 14px; align-items: start; }
.mp-liste { display: flex; flex-direction: column; gap: 6px; max-height: 76vh; overflow-y: auto; }
.mp-conv { display: grid; gap: 2px; padding: 9px 11px; border-radius: 9px; border: 1px solid var(--ligne); background: var(--panneau); color: var(--texte); }
.mp-conv:hover { text-decoration: none; border-color: var(--ligne2); }
.mp-conv.active { border-color: var(--accent); box-shadow: inset 2px 0 0 var(--accent); }
.mp-conv.non-lu { border-color: rgba(58,214,255,.45); }
.mp-conv.non-lu .mp-sujet { font-weight: 700; }
.mp-corr { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9rem; }
.mp-corr .ic { width: 16px; height: 16px; color: var(--accent); }
.mp-corr .pastille { position: static; }
.mp-sujet { color: var(--texte2); font-size: .86rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mp-quand { color: var(--texte3); font-size: .76rem; }
.mp-fil { display: flex; flex-direction: column; gap: 10px; }
.mp-msg { max-width: 86%; padding: 10px 13px; border-radius: 12px 12px 12px 4px; background: var(--panneau); border: 1px solid var(--ligne); }
.mp-msg.mien { align-self: flex-end; border-radius: 12px 12px 4px 12px; background: rgba(58,214,255,.08); border-color: rgba(58,214,255,.3); }
.mp-msg.systeme { max-width: 100%; background: rgba(169,139,255,.08); border-color: rgba(169,139,255,.35); }
.mp-entete { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .84rem; margin-bottom: 4px; }
.mp-corps { overflow-wrap: anywhere; }
.mp-retour { display: none; }
.discussion { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 14px; align-items: start; }
.page-cote { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 360px); gap: 14px; align-items: start; }
.chat { display: flex; flex-direction: column; gap: 10px; }
.chat-fil { height: 62vh; min-height: 320px; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; padding-right: 4px; }
.chat-fil > :first-child { margin-top: auto; } /* peu de messages : ils se tiennent près de la saisie */
.chat-msg { display: grid; grid-template-columns: auto auto 1fr auto; gap: 8px; align-items: baseline; padding: 5px 8px; border-radius: 7px; }
.chat-msg:hover { background: rgba(255,255,255,.03); }
.chat-msg.mien .chat-qui a { color: var(--vert); }
.chat-msg.me-mentionne { background: rgba(255,178,62,.09); box-shadow: inset 2px 0 0 var(--ambre); }
.chat-quand { color: var(--texte3); font-size: .76rem; }
.chat-qui { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: .9rem; white-space: nowrap; }
.chat-texte { overflow-wrap: anywhere; }
.chat-actions { display: inline-flex; gap: 6px; opacity: .35; transition: opacity .15s ease; }
.chat-msg:hover .chat-actions { opacity: 1; }
.chat-actions .ic { width: 14px; height: 14px; }
.chat-actions a, .chat-actions .lien { color: var(--texte3); }
.mention { color: var(--accent); font-weight: 600; }
.mention-moi { color: var(--ambre); }
.chat-saisie { display: flex; gap: 8px; }
.chat-saisie input { flex: 1; }
.chat-presents { display: flex; flex-wrap: wrap; gap: 6px 12px; }
.chat-presents a { display: inline-flex; align-items: center; gap: 5px; }
.citation { margin: 6px 0 0; padding: 8px 12px; border-left: 3px solid var(--ligne2); background: rgba(13,22,38,.7); border-radius: 0 8px 8px 0; color: var(--texte2); overflow-wrap: anywhere; }
.signalement { padding: 10px 0; border-bottom: 1px dashed var(--ligne); }
.signalement:last-child { border-bottom: 0; }
.bandeau.incarnation { border-color: rgba(169,139,255,.6); background: linear-gradient(90deg, rgba(169,139,255,.18), rgba(169,139,255,.04)); }
.bandeau.evenement { border-color: rgba(245,196,81,.55); background: linear-gradient(90deg, rgba(245,196,81,.14), rgba(245,196,81,.03)); }
.annonce-bandeau { color: var(--texte); border-color: rgba(58,214,255,.45); background: linear-gradient(90deg, rgba(58,214,255,.12), rgba(58,214,255,.02)); }
.annonce-bandeau:hover { text-decoration: none; border-color: var(--accent); }
.annonce.nouvelle { border-color: rgba(58,214,255,.5); }
.annonce-corps p, .annonce-corps li { color: #c6d0e0; }
.pied { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: center; margin: 34px 0 6px; padding-top: 14px; border-top: 1px solid var(--ligne); font-size: .82rem; }
.pied a { color: var(--texte3); }
.pied a:hover { color: var(--texte2); }
.pied span { color: var(--texte3); opacity: .7; }
.liens-publics { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 14px; font-size: .86rem; }
.liens-publics a { color: var(--texte2); }

/* ------------------------------------------------------------------ écrans moyens et petits */
@media (max-width: 1280px) {
  .grille-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .res-sous { display: none; }
  .res { min-width: 0; padding: 6px 10px; }
  .jauge-mini { width: 60px; }
}
@media (max-width: 1100px) {
  .grille-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .etoile-wrap { grid-template-columns: 1fr; }
  .etoile { max-width: 420px; margin: 0 auto; }
}
@media (max-width: 900px) {
  :root { --haut: 56px; }
  .messagerie, .discussion, .page-cote { grid-template-columns: minmax(0, 1fr); }
  .mp-liste { max-height: 40vh; }
  /* Sur téléphone, une conversation ouverte prend l'écran ; la liste revient par le lien de retour. */
  .messagerie.vue-ouverte > .mp-liste { display: none; }
  .messagerie.vue-ouverte .mp-retour { display: inline-block; margin-bottom: 10px; font-size: .88rem; }
  .chat-fil { height: 56vh; }
  .chat-msg { grid-template-columns: auto 1fr auto; }
  .chat-msg .chat-quand { display: none; }
  .cadre { grid-template-columns: minmax(0, 1fr); }
  .menu { position: fixed; top: var(--haut); left: 0; bottom: 60px; width: min(290px, 86vw); height: auto; z-index: 40; transform: translateX(-105%); transition: transform .22s ease; background: var(--fond2); box-shadow: var(--ombre); }
  body.menu-ouvert .menu { transform: none; }
  .contenu { padding-bottom: 90px; }
  .onglets { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; height: 60px; background: rgba(6,10,18,.96); border-top: 1px solid var(--ligne); }
  .onglets a, .onglets button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--texte2); font-size: .7rem; background: none; border: 0; }
  .onglets a:hover { text-decoration: none; color: var(--texte); }
  .onglets a.actif { color: var(--accent); }
  .logo span, .pseudo { display: none; }
  .barre { gap: 8px; padding: 0 10px; }
  .grille-2, .grille-3, .grille-4 { grid-template-columns: minmax(0, 1fr); }
  .accueil { grid-template-columns: minmax(0, 1fr); }
  .accueil-panneau { border-left: 0; border-top: 1px solid var(--ligne); }
  .planete { width: 120%; right: -40%; bottom: -12%; opacity: .45; }
  .philos { grid-template-columns: minmax(0, 1fr); }
  .combat-camps { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  :root { --haut: 98px; }
  .vh { height: 190px; }
  .vh-scene { top: 38%; width: 92%; }
  .vh-legende b { font-size: 1.1rem; }
  .barre { flex-wrap: wrap; height: auto; min-height: var(--haut); padding: 6px 10px; row-gap: 6px; align-content: center; }
  .barre-droite { margin-left: auto; }
  .barre-vide { display: none; }
  .ressources { order: 3; flex: 1 1 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; overflow: visible; }
  .res { min-width: 0; padding: 5px 6px; column-gap: 5px; justify-content: center; }
  .res .ic { width: 18px; height: 18px; }
  .res-val { font-size: .92rem; overflow: hidden; text-overflow: ellipsis; }
  .res-pp { display: none; }
  .jauge-mini { display: none; }
  .menu { top: var(--haut); }
  h1 { font-size: 1.4rem; }
  .atouts { grid-template-columns: minmax(0, 1fr); }
  .grille { grid-template-columns: minmax(0, 1fr); }
  .tableau { font-size: .82rem; }
  .tableau th, .tableau td { padding: 6px 6px; }
  .bandeau.evenement, .bandeau.incarnation, .annonce-bandeau { flex-wrap: wrap; gap: 4px 10px; padding: 8px 12px; font-size: .84rem; }
  .bandeau.evenement .ic, .bandeau.incarnation .ic, .annonce-bandeau .ic { width: 20px; height: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
