/* Cockpit d'Axel — direction "page de manga" dans l'univers Dragon Ball :
   cases encrees sur un decor peint, titres facon logo, bulles, lignes de vitesse. */
:root {
  --encre: #141414;
  --papier: #FFFFFF;
  --papier-2: #FFF4DE;
  --orange: #F47B20;
  --or: #FFC21A;
  --rouge: #D62828;
  --bleu: #1D3A8A;
  --vert-radar: #1C7A47;
  --doux: #4B4B55;
  --aura: #FFC21A;
  --positif: #1F8A4C;
  /* jetons utilises par les graphes */
  --trait: #D6D6D6;
  --texte: #141414;
  --vert: #1F8A4C;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--encre); min-height: 100vh;
  font: 500 15px/1.5 'Zen Kaku Gothic New', system-ui, sans-serif;
  background: #6FA8DC url('../img/decor-large.jpg') center top / cover fixed;
}
@media (max-width: 860px) { body { background-image: url('../img/decor-haut.jpg'); background-attachment: scroll; background-size: 100% auto; background-repeat: repeat-y; } }
button, input { font: inherit; color: inherit; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
[hidden] { display: none !important; }
.chiffre { font-family: 'Chakra Petch', sans-serif; font-variant-numeric: tabular-nums; font-weight: 700; }
.doux { color: var(--doux); }
.vide { color: var(--doux); padding: 6px 0; }
.titre-dbz { font-family: 'Dela Gothic One', sans-serif; color: var(--or); -webkit-text-stroke: 2px var(--encre); paint-order: stroke fill; text-shadow: 4px 4px 0 var(--rouge); letter-spacing: 0.02em; }
.positif { color: var(--positif); }
.negatif { color: var(--rouge); }

/* ---------- Cases ---------- */
.bloc { background: var(--papier); border: 3px solid var(--encre); box-shadow: 6px 6px 0 var(--encre); padding: 18px; min-width: 0; }
.bloc > h2 { margin: 0 0 12px; font: 400 20px/1.15 'Dela Gothic One', sans-serif; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.bloc > h2 small { font: 700 13px/1.2 'Zen Kaku Gothic New', sans-serif; color: var(--doux); text-align: right; }
.bloc.nuit { background: var(--bleu); color: #fff; }
.bloc.nuit > h2 small, .bloc.nuit .doux { color: #C9D3FF; }
.bouton { min-height: 48px; border: 3px solid var(--encre); background: var(--or); font: 400 16px/1 'Dela Gothic One', sans-serif; padding: 0 18px; cursor: pointer; box-shadow: 4px 4px 0 var(--encre); transition: transform 160ms var(--ease-out), box-shadow 160ms var(--ease-out); }
.bouton:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--encre); }
.bouton[disabled] { opacity: 0.6; cursor: default; }

/* ---------- Connexion ---------- */
.connexion { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; }
.connexion form { width: min(440px, 100%); display: flex; flex-direction: column; gap: 14px; }
.connexion h1 { margin: 0; font-size: 54px; line-height: 1; }
.connexion p { margin: 0; }
.connexion input { background: var(--papier); border: 3px solid var(--encre); padding: 14px 16px; min-height: 52px; }

/* ---------- Coquille ---------- */
.page { max-width: 1440px; margin: 0 auto; padding: 18px 16px 104px; display: flex; flex-direction: column; gap: 18px; }
.barre-haut { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 20px; }
.marque { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.marque h1 { margin: 0; font-size: clamp(34px, 4vw, 48px); line-height: 1; }
.etiquette { background: var(--papier); border: 3px solid var(--encre); padding: 6px 12px; font-weight: 700; box-shadow: 4px 4px 0 var(--encre); }
.compte { background: var(--orange); border: 3px solid var(--encre); box-shadow: 4px 4px 0 var(--encre); padding: 6px 14px; display: flex; align-items: baseline; gap: 8px; }
.compte strong { font: 700 30px/1 'Chakra Petch', sans-serif; }
.compte span { font-weight: 700; font-size: 13px; line-height: 1.2; max-width: 12ch; }

.onglets { display: flex; gap: 6px; flex-wrap: wrap; }
.onglets a { display: flex; align-items: center; gap: 8px; text-decoration: none; padding: 9px 16px; min-height: 44px; border: 3px solid var(--encre); background: var(--papier); font: 400 14px/1 'Dela Gothic One', sans-serif; transform: skewX(-8deg); transition: background 160ms ease; }
.onglets a > * { transform: skewX(8deg); }
.onglets a[aria-current="page"] { background: var(--encre); color: var(--or); }
@media (hover: hover) and (pointer: fine) { .onglets a:not([aria-current]):hover { background: var(--or); } }
.onglets svg { width: 18px; height: 18px; flex: none; }
@media (max-width: 860px) {
  .onglets { position: fixed; left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom)); z-index: 20; justify-content: space-between; flex-wrap: nowrap; background: var(--encre); padding: 6px; border: 3px solid var(--encre); gap: 4px; }
  .onglets a { flex: 1; flex-direction: column; gap: 3px; padding: 7px 2px; font-size: 10px; transform: none; border: 0; justify-content: center; background: transparent; color: #fff; }
  .onglets a > * { transform: none; }
  .onglets a[aria-current="page"] { background: var(--or); color: var(--encre); }
}

.vue { display: flex; flex-direction: column; gap: 18px; }
.ruban { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 900px) { .ruban { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stat { background: var(--papier); border: 3px solid var(--encre); box-shadow: 6px 6px 0 var(--encre); padding: 12px 16px; min-width: 0; }
.stat span { font-weight: 700; font-size: 14px; }
.stat strong { display: block; font: 700 clamp(28px, 3vw, 38px)/1.05 'Chakra Petch', sans-serif; }
.stat small { font-size: 13px; color: var(--doux); }
.stat .mini-boules { display: flex; gap: 4px; margin: 6px 0 2px; }

.grille-3 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.grille-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.grille-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 18px; align-items: start; }
.colonne { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
@media (max-width: 1180px) { .grille-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grille-3 > .heros-col { grid-column: 1 / -1; order: -1; } }
@media (max-width: 720px) { .grille-3, .grille-2 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Heros : le guerrier ---------- */
.heros { position: relative; border: 3px solid var(--encre); box-shadow: 6px 6px 0 var(--encre); overflow: hidden; height: clamp(640px, 82vh, 900px); display: flex; flex-direction: column; background: #0A0B18; }
.heros canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; cursor: grab; }
.heros canvas:active { cursor: grabbing; }
.sfx { position: absolute; right: 12px; top: 104px; z-index: 1; font: 400 54px/1 'Mochiy Pop One', 'Hiragino Sans', sans-serif; writing-mode: vertical-rl; color: var(--orange); -webkit-text-stroke: 2px var(--encre); paint-order: stroke fill; pointer-events: none; opacity: 0.85; transition: opacity 300ms ease; }
.scouter { position: relative; z-index: 1; padding: 16px 20px 0; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; pointer-events: none; color: #fff; }
.puissance span { display: block; font-size: 13px; color: #C9CCF2; }
.puissance strong { font: 700 clamp(42px, 5vw, 60px)/1 'Chakra Petch', sans-serif; color: var(--aura); -webkit-text-stroke: 1.5px var(--encre); paint-order: stroke fill; }
.forme { text-align: right; }
.forme strong { display: block; font: 400 22px/1.15 'Dela Gothic One', sans-serif; color: var(--aura); -webkit-text-stroke: 1px var(--encre); paint-order: stroke fill; transition: color 600ms ease; }
.forme span { color: #C9CCF2; font-size: 13px; }
.pied-heros { position: relative; z-index: 1; margin-top: auto; background: var(--encre); padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 10px; }
.ligne { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.pied-heros .ligne { color: #C9CCF2; }
.barre { height: 10px; background: rgba(255,255,255,0.12); border: 2px solid var(--encre); overflow: hidden; }
.bloc .barre { background: #EEE; }
.barre i { display: block; height: 100%; width: 0; background: var(--aura); transition: width 500ms var(--ease-out); }
.charger { width: 100%; min-height: 54px; border: 3px solid var(--or); background: var(--orange); font: 400 18px/1 'Dela Gothic One', sans-serif; cursor: pointer; user-select: none; -webkit-user-select: none; touch-action: none; transition: transform 160ms var(--ease-out), background 200ms ease; }
.charger[aria-pressed="true"] { transform: scale(0.98); background: var(--or); }
.formes { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.carte-forme { position: relative; aspect-ratio: 3 / 4; border: 2px solid #555; background: #262626; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; overflow: hidden; color: #AAA; padding: 0; cursor: default; }
.carte-forme img { height: 80%; width: 100%; object-fit: contain; object-position: bottom; }
.carte-forme span { font: 700 11px/1.4 'Chakra Petch', sans-serif; }
.carte-forme.ouverte { border-color: var(--or); background: #3A2A10; color: var(--or); cursor: pointer; }
.carte-forme.ouverte[aria-pressed="true"] { background: var(--or); color: var(--encre); }
.carte-forme.mystere b { flex: 1; display: grid; place-items: center; font: 400 28px 'Dela Gothic One', sans-serif; color: #C9CCF2; }

/* ---------- Quetes ---------- */
.quetes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.quete { width: 100%; display: grid; grid-template-columns: 48px 1fr auto 28px; align-items: center; gap: 10px; text-align: left; background: transparent; border: 0; border-top: 2px solid var(--encre); padding: 9px 4px; cursor: pointer; min-height: 50px; transition: background 160ms ease; }
.quetes li:first-child .quete { border-top: 0; }
.quete.principale { background: var(--papier-2); }
@media (hover: hover) and (pointer: fine) { .quete:hover { background: #FFF8EA; } }
.quete:active { transform: scale(0.99); }
.quete .heure { font: 700 15px/1 'Chakra Petch', sans-serif; }
.quete .nom small { display: block; color: var(--doux); font-size: 12px; font-weight: 500; }
.quete.principale .nom { font-weight: 700; }
.quete .xp { font: 700 14px/1 'Chakra Petch', sans-serif; background: var(--encre); color: var(--or); padding: 4px 8px; }
.quete.principale .xp { background: var(--orange); color: var(--encre); border: 2px solid var(--encre); }
.quete .coche { width: 28px; height: 28px; border: 3px solid var(--encre); display: grid; place-items: center; background: var(--papier); transition: background 160ms ease; }
.quete .coche svg { opacity: 0; transform: scale(0.6); transition: opacity 160ms ease, transform 200ms var(--ease-out); }
.quete[aria-pressed="true"] .coche { background: var(--or); }
.quete[aria-pressed="true"] .coche svg { opacity: 1; transform: scale(1); }
.quete[aria-pressed="true"] .nom { text-decoration: line-through; text-decoration-thickness: 2px; color: var(--doux); }

/* ---------- Radar du dragon ---------- */
.radar-bloc { background: #0F2A1E; color: #DFFFEA; }
.radar-bloc > h2 { color: #fff; }
.radar-bloc > h2 small { color: #9FE3B9; }
.radar { position: relative; aspect-ratio: 1; width: min(230px, 100%); margin: 0 auto 12px; border-radius: 50%; border: 4px solid var(--encre); background: radial-gradient(circle, #34C46F 0%, #1C7A47 72%, #145C35 100%); overflow: hidden; }
.radar::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(255,255,255,0.2) 1px, transparent 1px) 0 0 / 100% 20%, linear-gradient(90deg, rgba(255,255,255,0.2) 1px, transparent 1px) 0 0 / 20% 100%; }
.radar::after { content: ""; position: absolute; inset: 0; background: conic-gradient(from 0deg, rgba(255,255,255,0.35), transparent 22%); animation: balayage 3.2s linear infinite; }
@keyframes balayage { to { transform: rotate(1turn); } }
.radar .moi { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px; background: #fff; transform: rotate(45deg); z-index: 1; }
.radar .point { position: absolute; width: 18px; height: 18px; margin: -9px; border-radius: 50%; background: #FFD43B; z-index: 1; animation: ping 1.6s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255,212,59,0.7); } 100% { box-shadow: 0 0 0 18px rgba(255,212,59,0); } }
.radar .boule-attrapee { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px; z-index: 2; }
.radar-bloc p { margin: 0 0 12px; line-height: 1.5; }
.radar-bloc .bouton { width: 100%; }
@media (prefers-reduced-motion: reduce) { .radar::after, .radar .point { animation: none; } }

/* Dragon Balls */
.boule { width: 44px; height: 44px; border-radius: 50%; border: 3px dashed var(--encre); background: var(--papier); flex: none; display: grid; place-items: center; }
.boule.pleine { border: 3px solid var(--encre); background: radial-gradient(circle at 35% 30%, #FFE6A8 0%, #FFB23E 35%, #E07812 100%); }
.boule.en-jeu { border: 3px solid var(--encre); background: radial-gradient(circle at 35% 30%, #FFE6A8 0%, #FFB23E 35%, #E07812 100%); opacity: 0.45; }
.boule svg { width: 60%; height: 60%; }
.mini-boules .boule { width: 20px; height: 20px; border-width: 2px; }
.collection { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.collection .rang { display: flex; gap: 10px; flex-wrap: wrap; }
.collection p { margin: 0; flex: 1 1 240px; }

/* ---------- Bulle de Claude ---------- */
.bulle { position: relative; background: var(--papier); border: 3px solid var(--encre); border-radius: 28px; padding: 18px 22px; box-shadow: 6px 6px 0 var(--encre); margin-bottom: 14px; }
.bulle::after { content: ""; position: absolute; left: 40px; bottom: -22px; width: 30px; height: 22px; background: var(--papier); border-left: 3px solid var(--encre); border-right: 3px solid var(--encre); clip-path: polygon(0 0, 100% 0, 0 100%); }
.bulle .qui { font: 400 15px/1 'Dela Gothic One', sans-serif; margin-bottom: 8px; display: flex; justify-content: space-between; }
.bulle .qui small { font: 700 12px 'Zen Kaku Gothic New', sans-serif; color: var(--doux); }
.bulle p { margin: 0; font-size: 17px; line-height: 1.55; font-weight: 500; }

/* Listes */
.points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.points li { border-left: 6px solid var(--orange); padding: 3px 0 3px 12px; }
.points li.haute { border-color: var(--rouge); }
.points li.fait { border-color: var(--positif); }
.points b { display: block; font-weight: 700; }
.points small { display: block; font-size: 13px; color: var(--doux); }
.bloc.nuit .points small { color: #C9D3FF; }

.carte-actu { background: var(--papier); color: var(--encre); border: 2px solid var(--encre); padding: 10px 12px; display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; align-items: start; text-decoration: none; }
@media (hover: hover) and (pointer: fine) { a.carte-actu:hover { background: var(--papier-2); } }
.carte-actu .tag { font: 700 11px/1.6 'Chakra Petch', sans-serif; padding: 1px 6px; border: 2px solid var(--encre); }
.tag.crypto { background: var(--or); }
.tag.ia { background: #9AD7FF; }
.carte-actu b { font-weight: 700; line-height: 1.35; }
.carte-actu small { grid-column: 2; font-size: 13px; color: var(--doux); line-height: 1.4; }
.cartes { display: flex; flex-direction: column; gap: 8px; }
.grille-actus { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 10px; }

.taches { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.tache { border-left: 6px solid var(--doux); padding: 2px 0 2px 12px; }
.tache.Haute { border-color: var(--rouge); }
.tache.Moyenne { border-color: var(--orange); }
.tache a { text-decoration: none; font-weight: 700; }
@media (hover: hover) and (pointer: fine) { .tache a:hover { text-decoration: underline; } }
.tache small { display: block; color: var(--doux); font-size: 13px; }

.liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.liste li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.liste li small { display: block; color: var(--doux); font-size: 13px; }
.etat { font: 700 12px/1 'Chakra Petch', sans-serif; white-space: nowrap; padding: 4px 8px; border: 2px solid var(--encre); }
.etat.actif { background: #7BE3A4; }
.etat.cours { background: var(--or); }
.etat.pause, .etat.plus-tard { background: #E4E4E4; }
.etat.erreur { background: var(--rouge); color: #fff; }

/* Chiffres et graphes */
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 900px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.kpi span { font-weight: 700; font-size: 14px; }
.kpi strong { display: block; font: 700 clamp(24px, 3vw, 34px)/1.1 'Chakra Petch', sans-serif; margin-top: 4px; }
.kpi small { color: var(--doux); font-size: 13px; }
.mois-nav { display: flex; align-items: center; gap: 8px; }
.mois-nav button { width: 44px; height: 44px; border: 3px solid var(--encre); background: var(--papier); cursor: pointer; font: 700 20px 'Chakra Petch', sans-serif; box-shadow: 3px 3px 0 var(--encre); }
.mois-nav strong { font: 400 18px/1 'Dela Gothic One', sans-serif; min-width: 12ch; text-align: center; background: var(--papier); border: 3px solid var(--encre); padding: 10px 12px; }
.table-box { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font-weight: 700; padding: 0 12px 8px 0; white-space: nowrap; border-bottom: 3px solid var(--encre); }
td { padding: 9px 12px 9px 0; border-bottom: 1px solid #DDD; vertical-align: top; }
td.montant, th.montant { text-align: right; font-family: 'Chakra Petch', sans-serif; white-space: nowrap; padding-right: 0; }
.barres-h { display: flex; flex-direction: column; gap: 12px; }
.barre-h .ligne { margin-bottom: 4px; font-weight: 700; }
.graph svg { width: 100%; height: auto; display: block; overflow: visible; }
.legende { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; margin-top: 10px; font-weight: 700; }
.legende span { display: inline-flex; align-items: center; gap: 6px; }
.legende i { width: 12px; height: 12px; border: 2px solid var(--encre); display: inline-block; }
.anneau { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.anneau svg { width: 100%; max-width: 72px; }
.anneau strong { font: 400 13px/1 'Dela Gothic One', sans-serif; }
.anneau span { font-size: 12px; color: var(--doux); }
.cerveaux { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.fiche-business { display: flex; flex-direction: column; gap: 12px; }
.fiche-business header { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.fiche-business h3 { margin: 0; font: 400 24px/1.1 'Dela Gothic One', sans-serif; }
.fiche-business .sante { display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: center; }
.separe { border-top: 2px solid var(--encre); padding-top: 12px; }
.prix { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.prix div { border: 2px solid var(--encre); padding: 10px; background: var(--papier-2); }
.prix span { font-weight: 700; font-size: 13px; }
.prix strong { display: block; font: 700 20px/1.2 'Chakra Petch', sans-serif; }
.prix small { font: 700 12px/1 'Chakra Petch', sans-serif; }
.filtres { display: flex; gap: 6px; }
.pastille { border: 2px solid var(--encre); background: var(--papier); padding: 6px 12px; min-height: 36px; cursor: pointer; font: 700 13px 'Chakra Petch', sans-serif; }
.pastille[aria-pressed="true"] { background: var(--encre); color: var(--or); }

/* ---------- Cinematiques ---------- */
.ecran-plein { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; text-align: center; padding: 24px; }
.transfo { background: radial-gradient(circle, rgba(255,255,255,0.95) 0%, rgba(255,214,90,0.9) 30%, rgba(20,20,20,0.92) 75%); animation: flash 2.8s ease-out forwards; pointer-events: none; }
.transfo strong { display: block; font-size: clamp(40px, 8vw, 96px); line-height: 1; animation: boum 2.8s var(--ease-out) forwards; }
.transfo span { display: block; margin-top: 14px; font: 400 clamp(20px, 3vw, 32px)/1.2 'Dela Gothic One', sans-serif; color: #fff; -webkit-text-stroke: 1.5px var(--encre); paint-order: stroke fill; }
@keyframes flash { 0% { opacity: 0; } 8% { opacity: 1; } 75% { opacity: 1; } 100% { opacity: 0; } }
@keyframes boum { 0% { transform: scale(0.6) rotate(-6deg); } 12% { transform: scale(1.12) rotate(-3deg); } 22% { transform: scale(1) rotate(-3deg); } 100% { transform: scale(1.04) rotate(-3deg); } }
.secousse { animation: secousse 0.5s linear 3; }
@keyframes secousse { 0%, 100% { transform: translate(0, 0); } 25% { transform: translate(-6px, 3px); } 50% { transform: translate(5px, -4px); } 75% { transform: translate(-3px, -2px); } }
.dragon { background: #050807 center / cover no-repeat; color: #fff; }
.dragon .boite { background: rgba(10,10,10,0.82); border: 3px solid var(--or); padding: 24px; width: min(480px, 100%); display: flex; flex-direction: column; gap: 14px; }
.dragon h2 { margin: 0; font-size: clamp(32px, 5vw, 48px); line-height: 1; }
.dragon input { border: 3px solid var(--encre); padding: 12px 14px; min-height: 50px; background: #fff; color: var(--encre); }
.dragon .fermer { background: transparent; border: 0; color: #fff; text-decoration: underline; cursor: pointer; min-height: 44px; }
@media (prefers-reduced-motion: reduce) { .transfo, .transfo strong, .secousse { animation: none; } }

.toast { position: fixed; left: 50%; bottom: 100px; transform: translate(-50%, 0); background: var(--or); border: 3px solid var(--encre); box-shadow: 4px 4px 0 var(--encre); padding: 12px 18px; font: 400 15px/1.3 'Dela Gothic One', sans-serif; transition: opacity 250ms ease, transform 250ms var(--ease-out); z-index: 60; max-width: calc(100% - 32px); text-align: center; }
.toast.cache { opacity: 0; transform: translate(-50%, 12px); pointer-events: none; }
.pied { text-align: center; font-size: 13px; font-weight: 700; }
.pied span { background: var(--papier); border: 2px solid var(--encre); padding: 4px 10px; }

/* Taches Notion cochables */
.tache-coche { display: grid; grid-template-columns: 30px 1fr 30px; gap: 10px; align-items: start; }
.suppr-tache { width: 30px; height: 30px; border: 0; background: transparent; color: var(--doux); display: grid; place-items: center; cursor: pointer; padding: 0; opacity: 0.55; transition: opacity 160ms ease, color 160ms ease; }
.suppr-tache:focus-visible { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .suppr-tache:hover { opacity: 1; color: var(--rouge); } }
@media (hover: none) { .suppr-tache { opacity: 0.8; } }
.tache-coche.confirme { grid-template-columns: 1fr; background: #FFECEC; padding: 8px 10px; border-left-color: var(--rouge); }
.tache-coche.confirme .question { font-weight: 700; }
.tache-coche.confirme .choix { display: flex; gap: 8px; flex-wrap: wrap; }
.bouton-mini { min-height: 40px; font-size: 14px; padding: 0 14px; box-shadow: 3px 3px 0 var(--encre); }
.bouton-mini:not(.annuler) { background: var(--rouge); color: #fff; }
.bouton-mini.annuler { background: var(--papier); }
.coche-tache { width: 30px; height: 30px; border: 3px solid var(--encre); background: var(--papier); display: grid; place-items: center; cursor: pointer; padding: 0; transition: background 160ms ease, transform 160ms var(--ease-out); }
.coche-tache:active { transform: scale(0.94); }
.coche-tache svg { opacity: 0; transform: scale(0.6); transition: opacity 160ms ease, transform 200ms var(--ease-out); }
.coche-tache[aria-pressed="true"] { background: var(--or); }
.coche-tache[aria-pressed="true"] svg { opacity: 1; transform: scale(1); }
.coche-tache[aria-pressed="true"] + span a { text-decoration: line-through; text-decoration-thickness: 2px; color: var(--doux); }
