/* TVN Investment · accès membre. L'or du blason sur une nuit émeraude.
   Animations en transform et opacity seulement ; aucun backdrop-filter au-dessus de la spirale animée. */
:root {
  --noir: #040706;
  --carte: rgba(8, 13, 11, .9);
  --trait: rgba(233, 199, 123, .14);
  --trait-2: rgba(233, 199, 123, .34);
  --or: #dcb062;
  --or-clair: #f4dca0;
  --or-fonce: #a07633;
  --encre: #f3f1ea;
  --encre-2: rgba(243, 241, 234, .7);
  --encre-3: rgba(243, 241, 234, .46);
  --voile: rgba(243, 241, 234, .045);
  --bord: rgba(243, 241, 234, .11);
  --pos: #0be972;
  --neg: #ff7f70;
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --serif: 'New York', ui-serif, 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --mono: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, monospace;
  --e-out: cubic-bezier(.22, .61, .36, 1);
  --e-ressort: cubic-bezier(.34, 1.4, .64, 1);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  position: relative; min-height: 100dvh; background: var(--noir); color: var(--encre); font: 15px/1.5 var(--font);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  background-image:
    radial-gradient(90% 70% at 22% 42%, rgba(16, 66, 48, .55), transparent 62%),
    radial-gradient(50% 50% at 92% 8%, rgba(220, 176, 98, .08), transparent 70%),
    radial-gradient(70% 60% at 80% 110%, rgba(16, 66, 48, .35), transparent 70%);
}
button, input, select { font: inherit; color: inherit; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--or); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.invisible { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

#spirale { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; }
.grain {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}

/* ---------- marque ---------- */
.blason {
  display: inline-block; width: 34px; height: 34px; flex: none;
  background: linear-gradient(140deg, var(--or-clair), var(--or) 42%, var(--or-fonce) 78%, var(--or-clair));
  -webkit-mask: url(blason.png) center / contain no-repeat; mask: url(blason.png) center / contain no-repeat;
}
.marque { display: inline-flex; gap: 12px; align-items: center; text-decoration: none; font: 600 11.5px/1 var(--mono); letter-spacing: .3em; text-transform: uppercase; }
.marque i { color: var(--or); font-style: normal; margin: 0 .35em; }

/* ---------- page de connexion ---------- */
.hud {
  position: absolute; inset: 0 0 auto; z-index: 3; display: flex; justify-content: space-between; align-items: center;
  padding: max(22px, env(safe-area-inset-top)) clamp(20px, 4vw, 48px) 0;
}
.horloges { display: flex; gap: clamp(14px, 2.2vw, 30px); font: 500 10px/1.25 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--encre-3); }
.horloges b { display: block; margin-top: 4px; font-size: 12.5px; letter-spacing: .04em; color: var(--encre-2); font-weight: 500; font-variant-numeric: tabular-nums; }
.horloges span:first-child b { color: var(--or-clair); }

.scene {
  position: relative; z-index: 2; min-height: 100dvh; display: grid; align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 432px); gap: clamp(24px, 6vw, 110px);
  padding: 104px clamp(20px, 5.5vw, 88px) 84px;
}
.manifeste { align-self: end; max-width: 590px; padding-bottom: 1vh; }
.surtitre { display: flex; align-items: center; gap: 12px; font: 600 10.5px/1 var(--mono); letter-spacing: .34em; text-transform: uppercase; color: var(--or); }
.surtitre::before { content: ''; width: 30px; height: 1px; background: currentColor; }
.manifeste h1 { font: 400 clamp(38px, 4.6vw, 78px)/1.04 var(--serif); letter-spacing: -.022em; margin: 22px 0 20px; }
.manifeste h1 em { white-space: nowrap; padding-right: .08em; }
.manifeste h1 em, .dore {
  font-style: italic; color: transparent;
  background: linear-gradient(100deg, var(--or-clair) 10%, var(--or) 50%, var(--or-fonce) 95%); -webkit-background-clip: text; background-clip: text;
}
.chapo { max-width: 44ch; color: var(--encre-2); font-size: 16px; line-height: 1.6; }

.pied {
  position: absolute; inset: auto 0 0; z-index: 3; pointer-events: none; display: flex; justify-content: space-between; gap: 20px;
  padding: 0 clamp(20px, 4vw, 48px) max(18px, env(safe-area-inset-bottom));
  font: 500 10px/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--encre-3);
}
.point { display: inline-block; width: 6px; height: 6px; margin-right: 10px; border-radius: 50%; background: var(--pos); vertical-align: 1px; box-shadow: 0 0 10px var(--pos); animation: respire 2.4s ease-in-out infinite; }

/* ---------- carte ---------- */
.carte { position: relative; isolation: isolate; border-radius: 26px; padding: 1px; background: linear-gradient(165deg, var(--trait-2), rgba(233, 199, 123, .04) 38%, rgba(233, 199, 123, .05) 70%, var(--trait)); box-shadow: 0 40px 120px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .4); }
.orbite { position: absolute; inset: 0; z-index: -1; border-radius: inherit; overflow: hidden; }
.orbite::before {
  content: ''; position: absolute; left: 50%; top: 50%; width: 220%; aspect-ratio: 1; margin: -110% 0 0 -110%;
  background: conic-gradient(transparent 0 64%, rgba(244, 220, 160, .9) 72%, transparent 78%);
  animation: tourne 8s linear infinite;
}
.fond { position: relative; border-radius: 25px; background: var(--carte); padding: clamp(26px, 3.2vw, 38px); overflow: hidden; }
.fond::before { content: ''; position: absolute; inset: -40% -20% auto; height: 70%; background: radial-gradient(closest-side, rgba(220, 176, 98, .13), transparent); pointer-events: none; }
.carte.secoue { animation: secoue .44s var(--e-out); }

.vue { position: relative; }
.vue.entre > * { animation: monte .62s var(--e-out) both; }
.vue.entre > :nth-child(2) { animation-delay: .04s } .vue.entre > :nth-child(3) { animation-delay: .08s }
.vue.entre > :nth-child(4) { animation-delay: .12s } .vue.entre > :nth-child(5) { animation-delay: .16s }
.vue.entre > :nth-child(6) { animation-delay: .2s } .vue.entre > :nth-child(7) { animation-delay: .24s }
.vue.entre > :nth-child(n+8) { animation-delay: .28s }
.etiquette { font: 600 10.5px/1 var(--mono); letter-spacing: .32em; text-transform: uppercase; color: var(--or); }
.vue h2 { font: 400 34px/1.1 var(--serif); letter-spacing: -.015em; margin: 14px 0 22px; min-height: 1.1em; }
.aide { color: var(--encre-2); font-size: 14px; margin: -8px 0 18px; }

/* ---------- champs ---------- */
.champ { position: relative; margin-top: 12px; }
.champ input {
  width: 100%; height: 58px; padding: 22px 48px 6px 16px; border-radius: 14px; border: 1px solid var(--bord); background: var(--voile);
  font-size: 16px; font-weight: 500; outline: none; transition: border-color .24s, background-color .24s, box-shadow .24s;
}
.champ label { position: absolute; left: 17px; top: 19px; color: var(--encre-3); font-size: 15px; pointer-events: none; transform-origin: 0 0; transition: transform .24s var(--e-out), color .24s; }
.champ input:focus { border-color: var(--trait-2); background-color: rgba(233, 199, 123, .05); box-shadow: 0 0 0 4px rgba(220, 176, 98, .1); }
.champ input:focus + label, .champ input:not(:placeholder-shown) + label, .champ input:-webkit-autofill + label { transform: translateY(-11px) scale(.74); color: var(--or); }
.champ input[readonly] { color: var(--encre-2); border-style: dashed; }
.champ input:-webkit-autofill { -webkit-text-fill-color: var(--encre); -webkit-box-shadow: 0 0 0 60px #141813 inset; caret-color: var(--encre); }
.oeil { position: absolute; right: 8px; top: 9px; width: 40px; height: 40px; border: 0; border-radius: 10px; background: none; color: var(--encre-3); cursor: pointer; display: grid; place-items: center; }
.oeil:hover, .oeil[aria-pressed=true] { color: var(--or-clair); }

.champ-cle { display: flex; align-items: center; height: 66px; border-radius: 16px; border: 1px solid var(--trait-2); background: linear-gradient(135deg, rgba(220, 176, 98, .08), rgba(16, 66, 48, .25)); padding: 0 16px; margin-top: 4px; transition: box-shadow .3s; }
.champ-cle:focus-within { box-shadow: 0 0 0 4px rgba(220, 176, 98, .12); }
.champ-cle span, .champ-cle input { font: 600 clamp(17px, 2vw, 20px)/1 var(--mono); letter-spacing: .16em; }
.champ-cle span { color: var(--or); }
.champ-cle input { flex: 1; min-width: 0; border: 0; background: none; outline: none; padding: 0; text-transform: uppercase; }
.champ-cle input::placeholder { color: rgba(243, 241, 234, .2); }
.champ-cle.valide { border-color: var(--or); animation: deverrouille .7s var(--e-ressort); }

.badge-licence { display: flex; gap: 14px; align-items: center; margin-top: 12px; padding: 14px 16px; border-radius: 14px; background: rgba(11, 233, 114, .06); border: 1px solid rgba(11, 233, 114, .22); animation: monte .5s var(--e-out) both; }
.badge-licence svg { color: var(--pos); flex: none; }
.badge-licence b { display: block; font-weight: 600; }
.badge-licence small { color: var(--encre-2); font-size: 13px; }

.jauge { display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 6px; align-items: center; margin: 10px 2px 0; }
.jauge i { height: 3px; border-radius: 2px; background: var(--bord); transform-origin: left; transition: background-color .3s; }
.jauge span { min-width: 74px; text-align: right; font: 500 11px var(--mono); letter-spacing: .06em; color: var(--encre-3); }
.jauge[data-n="1"] i:nth-child(-n+1) { background: var(--neg); }
.jauge[data-n="2"] i:nth-child(-n+2) { background: var(--or); }
.jauge[data-n="3"] i:nth-child(-n+3) { background: var(--or-clair); }
.jauge[data-n="4"] i { background: var(--pos); }

.accord { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; font-size: 13.5px; color: var(--encre-2); cursor: pointer; }
.accord input { appearance: none; -webkit-appearance: none; flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 6px; border: 1px solid var(--trait-2); display: grid; place-content: center; cursor: pointer; transition: background-color .2s; }
.accord input:checked { background: var(--or); border-color: var(--or); }
.accord input:checked::after { content: ''; width: 10px; height: 5px; border: 2px solid #1a1205; border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg); }
.note { margin-top: 10px; font-size: 12.5px; color: var(--encre-3); }

/* ---------- boutons ---------- */
.bouton {
  position: relative; overflow: hidden; width: 100%; height: 56px; margin-top: 18px; border: 0; border-radius: 14px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 600; font-size: 15px; letter-spacing: .005em;
  transition: transform .2s var(--e-out), box-shadow .3s, opacity .2s;
}
.bouton:active:not(:disabled) { transform: scale(.985); }
.bouton:disabled { cursor: default; opacity: .45; }
.bouton svg { transition: transform .3s var(--e-out); }
.bouton:hover:not(:disabled) svg.fleche { transform: translateX(4px); }
.bouton.or { color: #1b1306; background: linear-gradient(180deg, #f7e1aa, #dcae5b 55%, #b98a3a); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -1px 0 rgba(0, 0, 0, .25), 0 14px 34px -14px rgba(220, 176, 98, .6); }
.bouton.or::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%); transform: translateX(-120%); transition: transform .9s var(--e-out); }
.bouton.or:hover:not(:disabled)::after { transform: translateX(120%); }
.bouton.verre { margin-top: 0; color: var(--encre); background: var(--voile); border: 1px solid var(--bord); }
.bouton.verre:hover:not(:disabled) { border-color: var(--trait-2); background: rgba(233, 199, 123, .06); }
.bouton.nu { margin-top: 8px; height: 46px; background: none; color: var(--encre-2); }
.bouton.nu:hover { color: var(--encre); }
.bouton[aria-busy=true] > * { opacity: 0; }
.bouton[aria-busy=true]::before { content: ''; position: absolute; width: 20px; height: 20px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: tourne .7s linear infinite; }
.ou { display: flex; align-items: center; gap: 14px; margin: 18px 0 2px; color: var(--encre-3); font: 500 10px/1 var(--mono); letter-spacing: .24em; text-transform: uppercase; }
.ou::before, .ou::after { content: ''; flex: 1; height: 1px; background: var(--bord); }
.liens { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; }
.lien { padding: 4px 0; border: 0; background: none; color: var(--encre-2); font-size: 13.5px; cursor: pointer; text-decoration: none; }
.lien:hover { color: var(--or-clair); }
.lien.fort { color: var(--or); font-weight: 600; }
.message { min-height: 0; margin-top: 12px; font-size: 13.5px; color: var(--neg); }
.message:empty { margin: 0; }
.message.ok { color: var(--pos); }
.message .lien { font-size: inherit; padding: 0; margin-left: 4px; }

/* ---------- succès et clé d'accès ---------- */
.sceau { width: 72px; height: 72px; margin-bottom: 22px; border-radius: 22px; display: grid; place-items: center; color: var(--or-clair); background: radial-gradient(circle at 30% 20%, rgba(244, 220, 160, .22), rgba(16, 66, 48, .45)); border: 1px solid var(--trait-2); }
.coche { width: 76px; height: 76px; margin-bottom: 20px; }
.coche circle { fill: none; stroke: var(--trait-2); stroke-width: 1.5; }
.coche path { fill: none; stroke: var(--pos); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: trace .7s .25s var(--e-out) forwards; }
.progression { height: 2px; margin-top: 26px; border-radius: 2px; background: var(--bord); overflow: hidden; }
.progression i { display: block; height: 100%; background: linear-gradient(90deg, var(--or-fonce), var(--or-clair)); transform: scaleX(0); transform-origin: left; animation: remplit 1.6s .15s var(--e-out) forwards; }
.carte.accorde .orbite::before { animation-duration: 1.4s; }

@keyframes monte { from { opacity: 0; transform: translateY(14px); } }
@keyframes tourne { to { transform: rotate(1turn); } }
@keyframes respire { 50% { opacity: .35; } }
@keyframes secoue { 20% { transform: translateX(-9px); } 40% { transform: translateX(7px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(2px); } }
@keyframes deverrouille { 40% { transform: scale(1.02); } }
@keyframes trace { to { stroke-dashoffset: 0; } }
@keyframes remplit { to { transform: scaleX(1); } }
.apparait { animation: monte 1s var(--e-out) both; animation-delay: calc(var(--d, 0) * 1ms); }

@media (max-width: 959px) {
  .scene { grid-template-columns: minmax(0, 1fr); align-content: start; gap: 22px; padding: max(150px, 27vh) 16px 120px; max-width: 520px; margin: 0 auto; }
  .manifeste { align-self: auto; }
  .manifeste h1 { font-size: clamp(32px, 8.6vw, 44px); margin: 14px 0 0; }
  .chapo { display: none; }
  .horloges span:nth-child(n+3) { display: none; }
  .pied { position: static; flex-direction: column; gap: 6px; padding-top: 0; text-align: center; align-items: center; }
}
@media (max-width: 380px) { .horloges { display: none; } }

/* ---------- espace compte et console ---------- */
.page-compte { background-attachment: fixed; }
.barre {
  position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: max(16px, env(safe-area-inset-top)) clamp(18px, 4vw, 48px) 16px; background: rgba(4, 7, 6, .82); border-bottom: 1px solid var(--trait);
}
.barre nav { display: flex; gap: 10px; flex-direction: row; }
.pastille { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--bord); background: var(--voile); font-size: 13.5px; font-weight: 600; cursor: pointer; text-decoration: none; white-space: nowrap; }
.pastille:hover { border-color: var(--trait-2); }
.pastille.or { color: #1b1306; border: 0; background: linear-gradient(180deg, #f7e1aa, #dcae5b 55%, #b98a3a); }
.contenu { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: clamp(28px, 5vw, 64px) clamp(18px, 4vw, 48px) 96px; }
.salut { font: 400 clamp(34px, 4.6vw, 60px)/1.05 var(--serif); letter-spacing: -.02em; margin: 14px 0 34px; }
.grille { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.panneau { grid-column: span 6; position: relative; border-radius: 22px; padding: clamp(20px, 2.4vw, 28px); background: linear-gradient(180deg, rgba(14, 22, 18, .92), rgba(8, 13, 11, .92)); border: 1px solid var(--trait); }
.panneau.large { grid-column: 1 / -1; }
.panneau h3 { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; font: 600 10.5px/1 var(--mono); letter-spacing: .3em; text-transform: uppercase; color: var(--or); }
.licence { display: flex; gap: 22px; align-items: center; }
.anneau { width: 108px; height: 108px; flex: none; position: relative; }
.anneau svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.anneau circle { fill: none; stroke-width: 6; }
.anneau .piste { stroke: var(--bord); }
.anneau .jauge-c { stroke: url(#degrade-or); stroke-linecap: round; transition: stroke-dashoffset 1.2s var(--e-out); }
.anneau b { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; font: 400 28px/1 var(--serif); }
.anneau b small { display: block; margin-top: 4px; font: 500 9.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--encre-3); }
.licence h4 { font: 400 24px/1.15 var(--serif); margin-bottom: 6px; }
.licence p { color: var(--encre-2); font-size: 14px; }
.etat { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 4px 10px; border-radius: 999px; font: 600 10.5px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; background: rgba(11, 233, 114, .1); color: var(--pos); }
.etat.alerte { background: rgba(245, 166, 35, .12); color: #f5b54a; }
.etat.off { background: rgba(255, 127, 112, .12); color: var(--neg); }
.liste { display: grid; gap: 2px; }
.ligne { display: flex; align-items: center; gap: 14px; padding: 13px 4px; border-top: 1px solid var(--bord); }
.ligne:first-child { border-top: 0; }
.ligne .ic { width: 38px; height: 38px; flex: none; border-radius: 11px; display: grid; place-items: center; background: var(--voile); color: var(--encre-2); }
.ligne .tx { flex: 1; min-width: 0; }
.ligne .tx b { display: block; font-weight: 600; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ligne .tx small { color: var(--encre-3); font-size: 12.5px; }
.marqueur { margin-left: 8px; padding: 2px 8px; border-radius: 999px; font: 600 9.5px/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; background: rgba(220, 176, 98, .14); color: var(--or-clair); vertical-align: 2px; }
.mini { height: 32px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--bord); background: none; font-size: 12.5px; font-weight: 600; color: var(--encre-2); cursor: pointer; white-space: nowrap; }
.mini:hover { color: var(--encre); border-color: var(--trait-2); }
.mini.danger:hover { color: var(--neg); border-color: rgba(255, 127, 112, .5); }
.vide { padding: 14px 4px; color: var(--encre-3); font-size: 14px; }
.panneau form .bouton { width: auto; padding: 0 22px; height: 48px; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }

/* console */
.console-titre { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin: 64px 0 18px; }
.console-titre h2 { font: 400 clamp(28px, 3.4vw, 42px)/1.05 var(--serif); }
.tuiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.tuile { padding: 18px; border-radius: 18px; border: 1px solid var(--trait); background: rgba(10, 16, 13, .9); }
.tuile b { display: block; font: 400 34px/1 var(--serif); font-variant-numeric: tabular-nums; }
.tuile small { display: block; margin-top: 8px; font: 500 10px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--encre-3); }
.tuile.or b { color: var(--or-clair); }
.champs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0 12px; }
.champs .champ { grid-column: span 2; }
.champs .champ.x3 { grid-column: span 3; }
.champ select { width: 100%; height: 58px; padding: 22px 36px 6px 16px; border-radius: 14px; border: 1px solid var(--bord); background: var(--voile); font-size: 15px; font-weight: 500; appearance: none; -webkit-appearance: none; outline: none; cursor: pointer; }
.champ select + label { transform: translateY(-11px) scale(.74); color: var(--or); }
.champ select option { background: #0c120f; }
.champ.fleche::after { content: ''; position: absolute; right: 18px; top: 26px; width: 7px; height: 7px; border: solid var(--encre-3); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); pointer-events: none; }
.resultat { margin-top: 18px; padding: 16px; border-radius: 16px; border: 1px solid rgba(11, 233, 114, .25); background: rgba(11, 233, 114, .05); }
.resultat .code { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid var(--bord); }
.resultat .code:first-of-type { border-top: 0; }
.resultat .code b { font: 600 15px var(--mono); letter-spacing: .12em; color: var(--or-clair); }
.resultat .code span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 12px var(--mono); color: var(--encre-3); }
.tableau { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tableau th { text-align: left; padding: 0 10px 10px; font: 600 9.5px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--encre-3); white-space: nowrap; }
.tableau td { padding: 12px 10px; border-top: 1px solid var(--bord); vertical-align: middle; }
.tableau td b { font-weight: 600; }
.tableau td small { display: block; color: var(--encre-3); font-size: 12px; }
.tableau tr.off td:not(:last-child) { opacity: .5; }
.defile { overflow-x: auto; margin: 0 -10px; }
.actions { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }
.filtre { width: min(280px, 100%); height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--bord); background: var(--voile); font-size: 13.5px; outline: none; }
.filtre:focus { border-color: var(--trait-2); }
.toast { position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); z-index: 20; transform: translate(-50%, 20px); opacity: 0; padding: 12px 18px; border-radius: 14px; background: #121a16; border: 1px solid var(--trait-2); font-size: 14px; box-shadow: 0 20px 60px -20px #000; transition: transform .35s var(--e-out), opacity .35s; pointer-events: none; }
.toast.vu { transform: translate(-50%, 0); opacity: 1; }
.toast.erreur { border-color: rgba(255, 127, 112, .5); color: var(--neg); }

@media (max-width: 900px) {
  .panneau { grid-column: 1 / -1; }
  .tuiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .champs .champ, .champs .champ.x3 { grid-column: span 3; }
  .barre .marque span:last-child { display: none; }
}
@media (max-width: 520px) {
  .champs .champ, .champs .champ.x3 { grid-column: 1 / -1; }
  .duo { grid-template-columns: 1fr; }
  .licence { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
