/* Le bivouac à distance. La personne est seule devant son écran : elle lit,
   elle signe, elle choisit, elle parle. Rien ne part sur un réseau — le son est
   écrit dans son ordinateur et c'est elle qui l'apporte (D213).
   Fabriqué par docs/outils/bivouac-a-distance.py. Ne pas modifier ici. */
/* Lato, servie par le site comme partout ailleurs (D182). Ouverte depuis un
   fichier local, elle ne se charge pas et la police système prend le relais :
   c'est voulu, une seule source pour les deux versions. */
@font-face{font-family:Lato;font-style:normal;font-weight:300;font-display:swap;
  src:url("/polices/lato-300.woff2") format("woff2")}
@font-face{font-family:Lato;font-style:normal;font-weight:400;font-display:swap;
  src:url("/polices/lato-400.woff2") format("woff2")}
@font-face{font-family:Lato;font-style:normal;font-weight:700;font-display:swap;
  src:url("/polices/lato-700.woff2") format("woff2")}
:root{--nuit:#0B0306;--nuit-douce:#150A0D;--ivoire:#F3EFE9;--gris:#8C8279;--terre:#C8412F;
  --trait:rgba(243,239,233,.28)}
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{background:var(--nuit);color:var(--ivoire);
  font-family:Lato,-apple-system,BlinkMacSystemFont,"Segoe UI","Helvetica Neue",Arial,sans-serif;
  font-weight:300;overflow:hidden}
.braise{position:fixed;inset:0;pointer-events:none;z-index:0;
  background:radial-gradient(60% 46% at 50% 108%,rgba(200,65,47,.28),transparent 70%)}
.ecran{display:none;position:relative;z-index:1;height:100%;flex-direction:column;
  padding:clamp(18px,3vw,40px) clamp(16px,5vw,64px)}
.ecran.la{display:flex}
.entete{flex:0 0 auto;display:flex;justify-content:space-between;align-items:center;gap:16px}
.etiquette{text-transform:uppercase;letter-spacing:.22em;font-size:12px;color:var(--gris)}
.etiquette.chaud{color:var(--terre)}
.centre{flex:1 1 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:clamp(14px,2vw,26px);text-align:center;overflow-y:auto;padding:12px 0}
.bas{flex:0 0 auto;display:flex;justify-content:center;align-items:center;gap:12px;flex-wrap:wrap;padding-top:18px}
.gros{font-size:clamp(26px,3.6vw,46px);line-height:1.15;text-wrap:balance;max-width:22ch}
.moyen{font-size:clamp(16px,1.9vw,20px);line-height:1.6;color:rgba(243,239,233,.86);max-width:52ch}
.petit{font-size:14px;line-height:1.6;color:var(--gris);max-width:56ch}
.lire{text-align:left;max-width:68ch;font-size:15px;line-height:1.7;color:rgba(243,239,233,.86);
  white-space:pre-wrap;background:var(--nuit-douce);border:1px solid var(--trait);border-radius:16px;padding:22px 26px}
button{font:inherit;cursor:pointer}
.bouton{font-size:16px;text-transform:uppercase;letter-spacing:.14em;color:var(--nuit);
  background:var(--ivoire);border:0;border-radius:24px;padding:15px 30px;transition:transform .12s}
.bouton:active{transform:scale(.97)}
.bouton[disabled]{background:rgba(243,239,233,.2);color:rgba(243,239,233,.55);cursor:not-allowed}
.lien{font-size:13px;text-transform:uppercase;letter-spacing:.18em;color:var(--gris);background:none;border:0;padding:14px 16px}
.lien:hover{color:var(--ivoire)}
/* Les cartes : grandes, immobiles, faites pour une souris (D220-bis). */
.nuage{display:flex;flex-direction:column;gap:18px;width:100%;max-width:860px;align-items:stretch}
.carte{font-size:clamp(18px,2.1vw,26px);line-height:1.35;text-align:left;color:var(--ivoire);
  background:var(--nuit-douce);border:1px solid var(--trait);border-left:2px solid var(--terre);
  border-radius:18px;padding:20px 26px;transition:background .18s,border-color .18s,transform .1s}
.carte:hover{background:#1E0E11;border-color:var(--terre)}
.carte:active{transform:scale(.995)}
.temoin{display:flex;flex-direction:column;align-items:center;gap:14px}
.bobines{display:flex;gap:26px}
.bobine{width:58px;height:58px;fill:var(--terre);animation:tourne 2.6s linear infinite}
.bobine:last-child{animation-duration:3.4s}
.bobine .jante{fill:none;stroke:var(--terre);stroke-width:3}
@keyframes tourne{to{transform:rotate(360deg)}}
.vu{display:flex;gap:3px;align-items:flex-end;height:30px}
.vu span{width:4px;height:4px;background:rgba(243,239,233,.18);transition:height .07s,background .07s}
.vu span.vif{background:var(--terre)}
.vu span.fort{background:#FF4030}
.chrono{font-size:16px;letter-spacing:.18em;color:var(--gris);font-variant-numeric:tabular-nums}
.cases{display:flex;flex-direction:column;gap:12px;max-width:62ch;width:100%;text-align:left}
.cas{display:flex;gap:14px;align-items:flex-start;background:var(--nuit-douce);border:1px solid var(--trait);
  border-radius:14px;padding:14px 18px;font-size:15px;line-height:1.5}
.cas.repondu{border-color:rgba(243,239,233,.12);color:var(--gris)}
.cas .oui-non{display:flex;gap:8px;flex:0 0 auto}
.cas button{font-size:13px;text-transform:uppercase;letter-spacing:.12em;border:1px solid var(--trait);
  background:none;color:var(--ivoire);border-radius:16px;padding:7px 16px}
.cas button.pris{background:var(--ivoire);color:var(--nuit);border-color:var(--ivoire)}
.cas button.refus.pris{background:var(--terre);border-color:var(--terre);color:#fff}
#signature{background:var(--nuit-douce);border:1px solid var(--trait);border-radius:14px;cursor:crosshair;touch-action:none}
.jeton{border:1px solid var(--trait);border-top:2px solid var(--terre);background:var(--nuit-douce);
  border-radius:18px;padding:22px 30px;text-align:center}
.jeton .num{font-size:clamp(28px,4vw,44px);font-weight:600;letter-spacing:.02em;margin-top:8px}
select{font:inherit;font-size:15px;background:var(--nuit-douce);color:var(--ivoire);
  border:1px solid var(--trait);border-radius:16px;padding:11px 14px;max-width:min(92vw,560px)}
.alerte{color:var(--terre);font-size:14px;max-width:52ch}
/* Dit à la fin, pas avant : on ne prévient pas d'un risque qu'on n'a pas encore
   pris, mais on ne laisse pas partir quelqu’un sans le lui avoir dit (D266). */
.envoi{border-top:1px solid var(--trait);padding-top:18px;margin-top:6px;max-width:62ch;
  display:flex;flex-direction:column;align-items:center;gap:10px}
.adresse{font-size:clamp(17px,2vw,22px);color:var(--terre);letter-spacing:.02em;
  -webkit-user-select:all;user-select:all}
#transfert{max-width:60ch}
#transfert strong{color:var(--ivoire);font-weight:400}
a.telecharger{display:inline-block;text-decoration:none}
/* Le casque : sous la tente, la personne s'entend et une ambiance l'accompagne.
   Sans casque, le micro réentendrait le haut-parleur (D267). */
.casque{border-top:1px solid var(--trait);padding-top:18px;margin-top:4px;max-width:58ch;
  display:flex;flex-direction:column;align-items:center;gap:12px}
.casque .oui-non{display:flex;gap:12px;align-items:center}
.casque strong{color:var(--ivoire);font-weight:400}
#reglages-casque{display:flex;flex-direction:column;gap:12px;align-items:center;width:100%}
#reglages-casque label{display:flex;gap:12px;align-items:center}
input[type=range]{accent-color:var(--terre);width:220px}
.ambiances{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;max-width:56ch}
.ambiance{font-size:15px;letter-spacing:.04em;color:var(--ivoire);background:var(--nuit-douce);
  border:1px solid rgba(243,239,233,.35);border-radius:18px;padding:11px 20px;
  transition:background .18s,border-color .18s,transform .1s}
.ambiance:hover{border-color:var(--ivoire)}
.ambiance:active{transform:scale(.97)}
.ambiance[aria-pressed=true]{border:1.5px solid var(--ivoire);background:rgba(243,239,233,.1)}
