/* ============================================================
   BLAZE — version « conversation »
   Une page jouée au scroll : Blazy descend du titre, devient le
   point qui tape la réponse, la réponse envahit l'écran, puis il
   enregistre la séance, saute de carte en carte et finit géant.
   DA BLAZE alignée sur l'app : « verre de braise » (cartes bleu nuit
   translucides, arête de lumière, sans contour encre), crème = ce
   qu'on touche et la voix de Blazy, orange = agir, lime = état.
   Bagel Fat One (chiffres, titres) + DM Sans (tout le reste).
   ============================================================ */

:root {
  --red: #FF5722;
  --ember: #FF7849;
  --magenta: #9B2FB0;
  --violet: #5B2FD6;
  --blue: #2733E8;
  --cream: #FFF4DD;
  --cream-2: #ECE3CC;
  --ink: #0E0E2E;
  --lime: #C6FF3D;
  --lime-deep: #8DBE14;
  --lip-orange: #C23A0C;
  --lip-lime: #8DBE14;
  --glass: rgba(22, 12, 78, .42);
  --edge: rgba(255, 255, 255, .06);
  --edge-top: rgba(255, 255, 255, .17);
  --well: rgba(255, 255, 255, .09);
  --divider: rgba(255, 244, 221, .12);
  --fire: linear-gradient(180deg, #FF7849, #FF5722 70%);
  --grad: linear-gradient(135deg, #FF8A2C 0%, #FF4E1A 45%, #E0337A 100%);
  --vh: 100svh;
}
:root {
  --text: #FFF4DD;
  --muted: rgba(255, 244, 221, .66);
  --soft: rgba(255, 244, 221, .42);
  --line: rgba(255, 244, 221, .18);
}
/* « dark » = fond thermique chaud (hero), « light » = fond bleu électrique */
:root { --surface: rgba(22, 12, 78, .42); --card-border: rgba(255, 255, 255, .06); }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #2733E8;
  color: var(--text);
  font-family: "DM Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2, h3, p, dl, dd, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

/* ---------------- FOND : DA thermique BLAZE ---------------- */
.bgfx { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.bgfx i { position: absolute; inset: 0; }
.bg-hot { background: url(../assets/hero-bg.webp) center/cover no-repeat; }
.bg-cool { background: url(../assets/bg-blue.webp) center/cover no-repeat; opacity: 0; }
:root[data-theme="light"] .bg-cool { opacity: 1; }
.bg-dots { background: radial-gradient(rgba(255, 255, 255, .16) 1.1px, transparent 1.6px) 0 0 / 13px 13px; mix-blend-mode: overlay; }

/* ---------------- INSCRIPTION ---------------- */
.signup { width: min(500px, calc(100% - 40px)); margin: 30px auto 0; text-align: left; }
.signup-label { display: block; margin: 0 0 8px 6px; font-size: 13px; font-weight: 800; color: var(--muted); letter-spacing: .02em; }
.signup-row { display: flex; gap: 8px; padding: 6px; border-radius: 999px; background: var(--cream); box-shadow: 0 5px 0 rgba(14, 14, 46, .3); }
.signup-row input { flex: 1; min-width: 0; border: 0; background: none; padding: 0 14px; font: 500 17px "DM Sans", sans-serif; color: var(--ink); outline: none; }
.signup-row input::placeholder { color: rgba(14, 14, 46, .42); }
.signup-row .btn { min-height: 46px; padding: 10px 20px; font-size: 16px; box-shadow: 0 3px 0 var(--lip-lime); flex: none; }
.signup-row .btn:hover { transform: none; box-shadow: 0 3px 0 var(--lip-lime); filter: brightness(1.05); }
.signup-row:focus-within { box-shadow: 0 5px 0 rgba(14, 14, 46, .3), 0 0 0 4px rgba(198, 255, 61, .55); }
.btn-spin { display: none; width: 17px; height: 17px; border-radius: 50%; border: 2.5px solid rgba(14, 14, 46, .25); border-top-color: var(--ink); animation: spin .7s linear infinite; }
.btn.is-loading { cursor: progress; }
.btn.is-loading .btn-arrow { display: none; }
.btn.is-loading .btn-spin { display: inline-block; }
.btn:disabled { transform: none; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .btn-spin { animation-duration: 2s; } }
.signup-status { min-height: 20px; margin: 10px 0 0 6px; font-size: 13.5px; font-weight: 700; }
.signup-status.ok { color: var(--lime); }
.signup-status.err { color: #FFD3C2; }
.signup-trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.signup-legal { margin: 2px 0 0 6px; font-size: 12px; line-height: 1.45; font-weight: 500; color: var(--soft); }
.signup-legal a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 480px) {
  .signup-row { flex-direction: column; border-radius: 26px; padding: 8px; }
  .signup-row input { padding: 10px 12px; }
  .signup-row .btn { justify-content: center; border-radius: 18px; }
}

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 14px 26px;
  font-family: "DM Sans", sans-serif; font-weight: 900; font-size: 17px;
  border-radius: 999px; border: 0; cursor: pointer;
  --lip: rgba(14, 14, 46, .38);
  box-shadow: 0 4px 0 var(--lip);
  transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 5px 0 var(--lip); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--lip); }
.btn-lime { background: var(--lime); color: var(--ink); --lip: var(--lip-lime); }
.btn-fire { background: var(--fire); color: var(--cream); --lip: var(--lip-orange); }

/* ---------------- HEADER : la pilule ---------------- */
.hdr { position: fixed; z-index: 40; top: 14px; left: 0; right: 0; display: flex; justify-content: center; pointer-events: none; }
.hdr-pill {
  pointer-events: auto; position: relative;
  display: flex; align-items: center; gap: 6px;
  padding: 6px 8px 6px 14px; border-radius: 999px;
  background: rgba(22, 12, 78, .55);
  border: 1px solid var(--edge); border-top-color: var(--edge-top);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.hdr-logo img { width: 70px; transition: filter .3s; }
.ftr-word img { filter: drop-shadow(0 6px 10px rgba(14, 14, 46, .35)); }
.hdr-links { display: flex; gap: 2px; }
.hdr-links a { padding: 8px 13px; border-radius: 999px; font-size: 13.5px; font-weight: 700; color: var(--muted); transition: color .2s, background .2s; }
.hdr-links a:hover { color: var(--text); background: var(--well); }
.hdr-links a.hdr-plus { color: var(--lime); font-weight: 900; }
.hdr-toggle { display: none; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--line); cursor: pointer; position: relative; }
.hdr-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s; }
.hdr-toggle span:first-child { top: 15px; }
.hdr-toggle span:last-child { top: 21px; }
.hdr-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.hdr-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
@media (max-width: 760px) {
  .hdr { top: 10px; padding: 0 16px; }
  .hdr-pill { width: 100%; justify-content: space-between; }
  .hdr-toggle { display: block; }
  .hdr-links {
    position: absolute; top: calc(100% + 8px); left: 0; right: 0;
    flex-direction: column; padding: 8px; border-radius: 22px;
    background: #1B1468; border: 1px solid var(--edge); border-top-color: var(--edge-top);
    opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity .2s, transform .2s;
  }
  .hdr-pill.open .hdr-links { opacity: 1; transform: none; pointer-events: auto; }
  .hdr-links a { padding: 13px 14px; font-size: 16px; }
}

/* ---------------- HERO ---------------- */
.hero { position: relative; min-height: var(--vh); display: grid; align-items: center; padding: 90px 0 60px; overflow: hidden; }
.hero-content { position: relative; text-align: center; }
.hero h1 {
  margin: 0 18px; font-family: "Bagel Fat One", sans-serif; font-weight: 400;
  font-size: clamp(46px, 6vw, 86px); line-height: 1.05; letter-spacing: -.02em;
  text-shadow: 0 4px 0 rgba(14, 14, 46, .35);
}
.hero-line { display: flex; justify-content: center; align-items: center; gap: .14em; }
.hero-brasier { display: block; width: min(620px, 86vw); margin: -.12em auto 0; filter: drop-shadow(0 10px 18px rgba(14, 14, 46, .35)); }
.hero-word:first-child { text-align: right; }
.hero-word:last-child { text-align: left; }
.hero-blazy { display: block; width: 1.5em; height: 1.5em; margin-top: -.12em; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 30%; }
.hero-blazy img { width: 100%; height: 100%; animation: breathe 3.2s ease-in-out infinite; transform-origin: 50% 90%; }
.is-live .hero-blazy img { visibility: hidden; }
@keyframes breathe { 50% { transform: scale(1.03, .975); } }
.hero-desc { margin: 22px auto 0; max-width: 580px; padding: 0 20px; color: var(--text); font-weight: 600; font-size: 18px; line-height: 1.6; }
.hero-note { margin-top: 16px; font-size: 13.5px; font-weight: 700; color: var(--muted); }
.hero-note b { color: var(--lime); font-weight: 900; }
@media (max-width: 760px) {
  .hero h1 { font-size: clamp(34px, 10vw, 56px); margin: 0 10px; }
  .hero-desc { font-size: 16px; }
  .br-d { display: none; }
}

/* ---------------- CHAT ---------------- */
.chat { position: relative; overflow-anchor: none; }
.chat-stage { position: relative; padding: 40px 20px; }
.chat-canvas { position: relative; width: min(760px, 100%); margin: 0 auto; }
.composer {
  position: relative; background: var(--glass); border: 1px solid var(--edge); border-top-color: var(--edge-top);
  border-radius: 24px 24px 6px 24px; padding: 16px 20px; margin-left: auto; width: min(420px, 100%);
}
.composer-text { font-size: 16px; font-weight: 600; line-height: 1.4; }
.composer-tools { display: none; }
.typing { display: none; }
.answer {
  margin-top: 26px; background: var(--cream); color: var(--ink);
  border-radius: 24px; padding: 22px 24px 20px; box-shadow: 0 5px 0 rgba(14, 14, 46, .25);
}
.answer-who { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-family: "DM Sans", sans-serif; font-weight: 900; font-size: 14px; color: var(--red); }
.answer-who img { width: 30px; height: 30px; }
.answer-who span { padding: 2px 7px; border-radius: 999px; background: var(--lime); color: var(--ink); font-family: "DM Sans", sans-serif; font-size: 11px; font-weight: 900; }
.answer-intro { font-weight: 700; font-size: 15.5px; line-height: 1.45; }
.answer-add { margin-top: 14px; padding: 13px; border-radius: 999px; background: var(--fire); color: var(--cream); text-align: center; font-family: "DM Sans", sans-serif; font-weight: 900; font-size: 15px; box-shadow: 0 4px 0 var(--lip-orange); }
.answer-meta { margin-top: 6px; color: rgba(14, 14, 46, .6); font-size: 13px; font-weight: 700; }
.answer-meta span { color: var(--ember); }
.answer-list { margin-top: 14px; }
.answer-list li { display: grid; grid-template-columns: 32px 1fr auto; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid rgba(14, 14, 46, .1); }
.answer-list .n { font-family: "DM Sans", sans-serif; font-weight: 900; color: var(--ember); font-size: 13px; }
.answer-list strong { display: block; font-size: 15px; }
.answer-list div span { font-size: 12.5px; color: rgba(14, 14, 46, .6); }
.answer-list p { font-family: "Bagel Fat One", sans-serif; font-weight: 400; font-size: 16px; text-align: right; }
.answer-list small { display: block; font-family: "DM Sans", sans-serif; font-weight: 700; font-size: 11px; color: rgba(14, 14, 46, .6); }
.answer-note { margin-top: 12px; font-size: 12.5px; color: rgba(14, 14, 46, .6); }
.surface { display: none; }

/* ---------------- SÉANCE ---------------- */
.log { position: relative; overflow-anchor: none; }
.log-stage { position: relative; padding: 60px 20px; }
.log-canvas { position: relative; width: min(480px, 100%); margin: 0 auto; display: grid; gap: 22px; }
.log-composer, .log-scan, .log-pin, .log-question, .log-track { display: none; }
.log-photo { position: relative; aspect-ratio: 1; border-radius: 28px; overflow: hidden; background: #2733E8; }
.log-photo img { width: 100%; height: 100%; object-fit: cover; }
.log-result {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 22px 20px; color: #fff;
  background: linear-gradient(transparent, rgba(12, 10, 29, .82));
  display: grid; gap: 2px; font-size: 13px; font-weight: 700;
}
.log-result strong { font-family: "Bagel Fat One", sans-serif; font-weight: 400; font-size: 54px; line-height: 1; }
.log-result small { font-size: 20px; }
.log-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.log-metrics dt { font-size: 12px; font-weight: 700; color: var(--muted); }
.log-metrics dd { font-family: "Bagel Fat One", sans-serif; font-weight: 400; font-size: 30px; }
.log-metrics dd span { font-size: 15px; color: var(--muted); }
.log-save { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; font-weight: 800; font-size: 14px; }
.log-receipt {
  background: var(--glass); border: 1px solid var(--edge); border-top-color: var(--edge-top); border-radius: 28px; padding: 22px; color: var(--text);
}
.receipt-head { display: flex; justify-content: space-between; align-items: baseline; }
.receipt-head span { font-family: "Bagel Fat One", sans-serif; font-weight: 400; font-size: 30px; }
.receipt-head p { padding: 4px 10px; border-radius: 999px; background: var(--lime); color: var(--ink); font-size: 12.5px; font-weight: 900; }
.receipt-row { margin-top: 18px; display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--divider); border-bottom: 1px solid var(--divider); }
.receipt-thumb { width: 64px; height: 64px; border-radius: 14px; background: url(../assets/refonte/back_squat.webp) center/cover; }
.is-live .receipt-thumb { background: none; }
.receipt-row strong { display: block; font-size: 15.5px; }
.receipt-row span { font-size: 12.5px; color: var(--muted); }
.receipt-row p { font-family: "Bagel Fat One", sans-serif; font-weight: 400; font-size: 22px; text-align: right; }
.receipt-row small { display: block; font-family: "DM Sans"; font-size: 11px; color: var(--muted); font-weight: 700; }
.receipt-total { margin-top: 18px; display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; font-weight: 700; color: var(--muted); }
.receipt-total strong { font-family: "Bagel Fat One", sans-serif; font-weight: 400; font-size: 36px; color: var(--text); }
.receipt-bar { position: relative; margin-top: 12px; height: 8px; border-radius: 8px; background: var(--well); }
.receipt-bar span { position: absolute; left: 0; top: 0; bottom: 0; width: 64%; border-radius: 8px; background: var(--grad); }
.is-live .receipt-bar { background: none; }
.is-live .receipt-bar span { visibility: hidden; }
.receipt-goal { margin-top: 8px; text-align: right; font-size: 11.5px; font-weight: 700; color: var(--muted); }

/* « Ce mois » : la flamme BLAZE posée sur la carte du mois (tuiles de jours de l'app) */
.log-overview { position: relative; text-align: center; font-family: "DM Sans", sans-serif; color: #FFF4DD; }
.ovb-flame { position: relative; z-index: 2; width: 250px; margin: 0 auto -84px; }
.ovb-flame img { width: 100%; filter: drop-shadow(0 0 22px rgba(255, 87, 34, .55)); }
.ovb-num { position: absolute; left: 0; right: 0; top: 50%; font-family: "Bagel Fat One", sans-serif; font-size: 94px; line-height: .95; text-shadow: 0 5px 0 rgba(14, 14, 46, .35); }
.ovb-sub { position: absolute; left: 0; right: 0; top: calc(50% + 90px); font-weight: 900; letter-spacing: .08em; font-size: 13px; }
.ovb-card { padding: 100px 20px 18px; border-radius: 28px; background: rgba(22, 12, 78, .42); border: 1px solid rgba(255, 255, 255, .06); border-top-color: rgba(255, 255, 255, .17); }
.ovb-weeks { display: grid; gap: 8px; }
.ovb-week { display: grid; grid-template-columns: 50px repeat(7, 1fr) 28px; gap: 7px; align-items: center; }
.ovb-week > span { font-size: 11.5px; font-weight: 700; color: rgba(255, 244, 221, .66); text-align: left; }
.ovb-week b { font-family: "Bagel Fat One", sans-serif; font-weight: 400; font-size: 19px; text-align: right; }
.ovb-week b.full { color: #C6FF3D; }
.ovb-tile { position: relative; justify-self: center; width: 100%; max-width: 50px; aspect-ratio: 1; }
.ovb-tile img { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .25s, transform .3s cubic-bezier(.34, 1.56, .64, 1); }
.ovb-tile .day { opacity: .5; }
.ovb-tile .lit { opacity: 0; transform: scale(.7); }
.ovb-tile.on .lit { opacity: 1; transform: none; }
.ovb-tile.on .day { opacity: 0; }
.ovb-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.ovb-acts { display: flex; gap: 6px; flex-wrap: wrap; }
.ovb-acts span { display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px 4px 5px; border-radius: 999px; background: rgba(255, 255, 255, .09); font-weight: 900; font-size: 12.5px; }
.ovb-acts img { width: 24px; height: 24px; }
.ovb-chip { padding: 4px 11px; border-radius: 999px; background: #C6FF3D; color: #0E0E2E; font-size: 12px; font-weight: 900; }
@media (max-width: 760px) {
  .ovb-flame { width: 200px; margin-bottom: -66px; } .ovb-num { font-size: 74px; } .ovb-sub { top: calc(50% + 70px); font-size: 11px; }
  .ovb-card { padding: 78px 12px 14px; } .ovb-week { grid-template-columns: 38px repeat(7, 1fr) 20px; gap: 4px; } .ovb-week b { font-size: 15px; }
  .ovb-acts span { font-size: 11px; }
}

/* ---------------- BENTO : « verre de braise » (DA de l'app, src/theme) ----------------
   Verre bleu nuit translucide, arête de lumière en haut, sans contour encre ni ombre.
   Crème = ce qu'on touche. Orange = agir (bouton feu à lèvre). Lime = état (lèvre lime).
   Données : échelle thermique de BodyHeatMap. */
.bento {
  --glass: rgba(22, 12, 78, .42); --glass-sheet: #1B1468; --edge: rgba(255, 255, 255, .06); --edge-top: rgba(255, 255, 255, .17);
  --well: rgba(255, 255, 255, .09); --g-text: #FFF4DD; --g-muted: rgba(255, 244, 221, .66); --g-soft: rgba(255, 244, 221, .42);
  --a-orange: #FF5722; --a-orange-soft: #FF7849; --lip-orange: #C23A0C; --a-lime: #C6FF3D; --lip-lime: #8DBE14; --a-ink: #0E0E2E;
  --heat: linear-gradient(90deg, #810899, #B11F8E 22%, #D32A63 40%, #F23B34 58%, #FA5D09 74%, #FC7805 88%, #FF9A2E);
  position: relative; margin: 60px auto 0;
  width: min(1120px, calc(100vw - 48px)); height: clamp(580px, calc(var(--vh) - 140px), 720px);
  display: grid; gap: 14px;
  grid-template-columns: 1.02fr 1fr 1fr 1fr;
  grid-template-rows: 1.12fr 1fr .74fr;
  grid-template-areas:
    "phone live live live"
    "phone cal zone heat"
    "phone tro tro coach";
  font-family: "DM Sans", sans-serif; color: var(--g-text);
}
.tile {
  position: relative; min-width: 0; min-height: 0; overflow: hidden;
  background: var(--glass); border: 1px solid var(--edge); border-top-color: var(--edge-top);
  border-radius: 28px; padding: 16px 18px; display: flex; flex-direction: column;
}
.g-lbl { font-size: 13px; font-weight: 700; color: var(--g-muted); }
.g-title { font-family: "Bagel Fat One", sans-serif; font-weight: 400; font-size: 22px; }
.g-count { font-family: "Bagel Fat One", sans-serif; font-size: 18px; color: var(--a-lime); }

/* téléphone : l'écran d'accueil réel, posé sans décor */
.tile-phone { grid-area: phone; padding: 0; align-items: center; justify-content: center; container-type: size; background: none; border: 0; }
.phone { position: relative; height: min(100cqh, 100cqw * 2.1727); width: auto; aspect-ratio: 1320 / 2868; flex: none; border-radius: 38px; background: #0E0E2E; padding: 7px; box-shadow: 0 4px 0 rgba(14, 14, 46, .22); }
.phone-island { position: absolute; z-index: 2; top: 15px; left: 50%; width: 30%; height: 15px; transform: translateX(-50%); border-radius: 12px; background: #000; }
.phone-screen { position: relative; height: 100%; border-radius: 31px; overflow: hidden; background: #2D2DFF; }
.phone-shot { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone-slot { position: absolute; left: -8%; right: -8%; top: 13%; height: 46%; }
.is-live .phone-slot { background: radial-gradient(ellipse closest-side, rgba(36, 34, 210, .98) 84%, rgba(36, 34, 210, 0)); opacity: var(--mask, 0); }

/* séance en direct : chrono, progression, bouton de repos (Blazy et sa gourde) */
.tile-live { grid-area: live; justify-content: space-between; gap: 14px; padding: 18px 20px; }
.live-top { display: flex; align-items: flex-start; gap: 16px; }
.live-title { flex: 1; min-width: 0; }
.live-title h3 { font-family: "Bagel Fat One", sans-serif; font-weight: 400; font-size: clamp(24px, 2.6vw, 36px); line-height: 1; color: var(--g-text); text-shadow: 0 3px 0 rgba(14, 14, 46, .3); }
.live-title p { margin-top: 8px; display: flex; justify-content: space-between; font-size: 15px; font-weight: 700; color: var(--g-muted); }
.live-pct { font-family: "Bagel Fat One", sans-serif; font-weight: 400; color: var(--a-lime); }
.live-progress { margin-top: 8px; height: 10px; border-radius: 99px; background: var(--well); overflow: hidden; }
.live-progress i { display: block; height: 100%; width: 40%; border-radius: 99px; background: var(--a-lime); }
.live-chrono { flex: none; display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 22px; border-radius: 999px; background: var(--glass); border: 1px solid var(--edge); border-top-color: var(--edge-top); }
.live-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--a-lime); }
.live-time { font-family: "Bagel Fat One", sans-serif; font-size: 24px; font-variant-numeric: tabular-nums; min-width: 66px; }
.live-sets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.live-sets li { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 8px; padding: 9px 12px; border-radius: 16px; background: var(--well); }
.live-sets span { font-size: 11px; font-weight: 700; color: var(--g-muted); }
.live-sets b { grid-row: 2; font-size: 15px; font-weight: 900; }
.live-sets i { grid-row: 1 / 3; grid-column: 2; align-self: center; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; border: 1.5px solid rgba(255, 244, 221, .3); font-style: normal; font-weight: 900; color: var(--a-ink); }
.live-sets li.done { background: rgba(198, 255, 61, .14); }
.live-sets li.done i { background: var(--a-lime); border-color: var(--a-lime); box-shadow: 0 2px 0 var(--lip-lime); }
.live-dock { display: flex; align-items: center; gap: 10px; }
.lime-btn { flex: none; display: grid; place-items: center; width: 64px; height: 56px; border-radius: 999px; background: var(--a-lime); color: var(--a-ink); box-shadow: 0 4px 0 var(--lip-lime); font-family: "Bagel Fat One", sans-serif; font-size: 20px; }
.rest-pill {
  position: relative; flex: 1; min-width: 0; height: 56px; border-radius: 999px; overflow: hidden;
  display: flex; align-items: center; gap: 10px; padding: 0 8px 0 10px;
  background: var(--glass-sheet); border: 1px solid var(--edge); border-top-color: var(--edge-top); box-shadow: 0 4px 0 #0F0A45;
}
.rest-burn {
  position: absolute; left: 0; top: 0; bottom: 0; width: var(--left, 72%);
  background: linear-gradient(180deg, rgba(255, 255, 255, .26), rgba(255, 255, 255, 0) 55%), linear-gradient(180deg, var(--a-orange-soft), var(--a-orange) 70%);
}
.rest-burn::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 18px; background: linear-gradient(90deg, rgba(255, 210, 122, 0), rgba(255, 210, 122, .85)); border-right: 2.5px solid #FFD27A; }
.rest-blazy { position: relative; flex: none; width: 48px; height: 42px; }
.rest-blazy img { position: absolute; right: 0; top: 0; width: 40px; height: 40px; transition: opacity .2s; animation: rb-breathe 3s ease-in-out infinite; transform-origin: 50% 90%; }
.rest-blazy .rb-joy { opacity: 0; }
.rest-blazy.sip .rb-calm { opacity: 0; }
.rest-blazy.sip .rb-joy { opacity: 1; }
.rb-bottle { position: absolute; left: 0; bottom: 0; width: 16px; height: 26px; transform-origin: 50% 90%; transition: transform .3s cubic-bezier(.33, 1, .68, 1); }
.rest-blazy.sip .rb-bottle { transform: translate(4px, -8px) rotate(38deg); }
@keyframes rb-breathe { 50% { transform: scale(1.02, .985); } }
.rest-time { position: relative; flex: 1; font-family: "Bagel Fat One", sans-serif; font-size: 26px; color: var(--g-text); font-variant-numeric: tabular-nums; }
.rest-skip { position: relative; flex: none; display: grid; place-items: center; height: 40px; padding: 0 16px; border-radius: 999px; background: var(--g-text); color: var(--a-ink); font-weight: 900; font-size: 14px; }

/* journal : cases thermiques (carrethermique.webp), comme le composant Heatmap */
.tile-cal { grid-area: cal; gap: 10px; }
.cal-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.cal-stats dd { margin: 0; font-family: "Bagel Fat One", sans-serif; font-size: 22px; line-height: 1; }
.cal-stats dt { order: 2; font-size: 11px; font-weight: 700; color: var(--g-muted); }
.cal-stats div { display: flex; flex-direction: column-reverse; gap: 2px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-top: auto; }
.cal-grid li { aspect-ratio: 1; border-radius: 6px; background: var(--well); }
.cal-grid li.on { background: url(../assets/da/carrethermique.webp) center/cover; box-shadow: 0 2px 0 rgba(14, 14, 46, .3); }
.cal-grid li.today { outline: 2px solid var(--a-lime); outline-offset: -2px; }

/* zone de chaleur : la vraie silhouette de l'app */
.tile-zone { grid-area: zone; align-items: center; gap: 6px; }
.tile-zone .g-lbl { align-self: flex-start; }
.zone-body { flex: 1; min-height: 0; width: 100%; object-fit: contain; }
.zone-sum { font-size: 12.5px; font-weight: 700; color: var(--g-muted); }
.zone-sum strong { font-family: "Bagel Fat One", sans-serif; font-weight: 400; font-size: 20px; color: var(--a-lime); margin-right: 4px; }

/* du plus chaud au plus froid : barres thermiques sur une piste de verre */
.tile-heat { grid-area: heat; gap: 4px; }
.heat-cat { margin-top: 6px; font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--a-orange-soft); }
.heat-bars { display: grid; gap: 6px; }
.heat-bars li { display: grid; grid-template-columns: 74px 1fr 22px; gap: 8px; align-items: center; font-size: 13px; font-weight: 700; }
.heat-bars i { position: relative; height: 12px; border-radius: 99px; background: var(--well); overflow: hidden; }
.heat-bars i::after { content: ""; position: absolute; inset: 0; border-radius: 99px; background: var(--heat); clip-path: inset(0 calc(100% - var(--w) * var(--grow, 1)) 0 0 round 99px); }
.heat-bars b { font-size: 12px; color: var(--g-muted); text-align: right; }

/* trophées */
.tile-tro { grid-area: tro; gap: 10px; }
.tro-head { display: flex; justify-content: space-between; align-items: baseline; }
.tro-list { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; flex: 1; min-height: 0; align-items: center; }
.tro-list img { width: 100%; aspect-ratio: 1; border-radius: 16px; box-shadow: 0 4px 0 rgba(14, 14, 46, .22); }
.tro-track { height: 10px; border-radius: 99px; background: var(--well); overflow: hidden; }
.tro-track i { display: block; height: 100%; width: 40%; background: var(--a-lime); border-radius: 99px; }

/* Blazy, coach IA : la bulle reste crème (ce qu'on touche) */
.tile-coach { grid-area: coach; gap: 9px; }
.coach-head { display: flex; align-items: center; gap: 9px; }
.coach-head img { width: 34px; height: 34px; }
.coach-head strong { display: block; font-family: "Bagel Fat One", sans-serif; font-weight: 400; font-size: 17px; line-height: 1; }
.coach-head span { font-size: 11px; font-weight: 700; color: var(--g-muted); }
.coach-head b { color: var(--a-lime); }
.coach-bubble { padding: 10px 12px; border-radius: 16px 16px 16px 5px; background: var(--g-text); color: var(--a-ink); font-size: 12.5px; font-weight: 700; line-height: 1.35; }
.coach-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.coach-chips li { padding: 6px 10px; border-radius: 999px; background: var(--well); font-size: 11.5px; font-weight: 700; }
.coach-chips span { color: var(--a-orange-soft); }

@media (max-width: 760px) {
  .bento {
    width: calc(100vw - 32px); height: auto; gap: 12px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: min(440px, calc(var(--vh) - 260px)) auto 210px auto auto auto;
    grid-template-areas: "phone phone" "live live" "cal zone" "heat heat" "tro tro" "coach coach";
  }
  .tile-live { padding: 16px; }
  .live-top { flex-direction: column; gap: 10px; }
  .live-chrono { height: 44px; padding: 0 16px; }
  .live-sets { grid-template-columns: 1fr 1fr; }
  .live-sets li:nth-child(3) { display: none; }
  .lime-btn { width: 52px; height: 50px; font-size: 17px; }
  .rest-pill { height: 50px; gap: 7px; padding-left: 8px; }
  .rest-time { font-size: 22px; }
  .rest-skip { height: 34px; padding: 0 11px; }
  .tro-list { grid-template-columns: repeat(6, 1fr); gap: 6px; }
  .tro-list img { border-radius: 10px; }
  .cal-stats dd { font-size: 18px; }
}

/* ---------------- FOYER + GRATUIT OU BLAZE+ (« verre de braise ») ---------------- */
.glass { background: var(--glass); border: 1px solid var(--edge); border-top-color: var(--edge-top); border-radius: 28px; }
.sec { position: relative; width: min(1120px, calc(100vw - 48px)); margin: 0 auto; padding: 120px 0 40px; font-family: "DM Sans", sans-serif; color: var(--text); }
.sec-kick { font-size: 13px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); }
.sec-title { margin-top: 10px; font-family: "Bagel Fat One", sans-serif; font-weight: 400; font-size: clamp(38px, 4.6vw, 60px); line-height: 1.02; text-shadow: 0 4px 0 rgba(14, 14, 46, .35); }
.sec-sub { margin-top: 14px; max-width: 560px; font-size: 18px; line-height: 1.55; color: var(--muted); }
.lime { color: var(--lime); }
.g-lbl { font-size: 13px; font-weight: 700; color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.foyer-grid { margin-top: 34px; display: grid; gap: 14px; grid-template-columns: 300px 1fr 1fr; grid-template-rows: 250px 300px; }
.foyer-grid > .glass { padding: 20px 22px; min-width: 0; }
.foyer-phone { grid-row: span 2; display: flex; align-items: center; justify-content: center; }
.foyer-phone .phone { height: 100%; max-height: 470px; width: auto; aspect-ratio: 1320 / 2868; border-radius: 34px; background: #0E0E2E; padding: 6px; position: relative; }
.foyer-phone .phone-island { position: absolute; z-index: 2; top: 13px; left: 50%; width: 30%; height: 13px; transform: translateX(-50%); border-radius: 12px; background: #000; }
.foyer-phone .phone-screen { height: 100%; border-radius: 28px; overflow: hidden; }
.foyer-phone .phone-shot { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.foyer-goal { grid-column: span 2; display: flex; align-items: center; gap: 28px; }
.foyer-flame { width: 140px; flex: none; filter: drop-shadow(0 0 24px rgba(255, 87, 34, .55)); }
.foyer-goal-body { flex: 1; min-width: 0; }
.foyer-num { margin-top: 2px; font-family: "Bagel Fat One", sans-serif; font-size: clamp(40px, 5vw, 62px); line-height: 1.05; }
.foyer-num span { font-family: "DM Sans", sans-serif; font-size: 20px; font-weight: 900; color: var(--muted); white-space: nowrap; }
.foyer-bar { margin-top: 10px; height: 14px; border-radius: 14px; background: var(--well); overflow: hidden; }
.foyer-bar i { display: block; width: 78%; height: 100%; border-radius: 14px; background: linear-gradient(90deg, #810899, #D32A63 40%, #F23B34 62%, #FC7805); }
.foyer-avs { display: flex; margin-top: 14px; }
.foyer-avs li { width: 46px; height: 46px; margin-right: -10px; border-radius: 50%; border: 3px solid var(--cream); overflow: hidden; }
.foyer-avs img { width: 100%; height: 100%; object-fit: cover; }
.foyer-chat, .foyer-nudge { display: flex; flex-direction: column; gap: 10px; }
.foyer-chat { overflow: hidden; }
/* Joué au scroll : la scène Foyer reste épinglée le temps que Blazy réunit le foyer
   et que les bulles arrivent ; l'espace sous la scène (posé par le script) donne la durée. */
.foyer-pin-space { height: 0; }
.is-live .foyer-stage { position: sticky; top: 84px; z-index: 1; }
.chat-feed { flex: 1; display: flex; padding-top: 16px; flex-direction: column; justify-content: flex-end; gap: 8px; }
.msg { display: flex; align-items: flex-end; gap: 8px; will-change: transform; }
.msg .bubble-cream, .msg .bubble-fire { padding: 9px 13px; font-size: 14px; max-width: 100%; }
.msg-av { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--cream); object-fit: cover; }
.msg-me { justify-content: flex-end; }
.chat-blazy-slot { flex: none; width: 46px; height: 46px; }
.chat-blazy-slot img { width: 100%; height: 100%; filter: drop-shadow(0 2px 0 rgba(14, 14, 46, .85)); }
/* Joué au scroll : Blazy (l'acteur) prend la place, les bulles arrivent une par une. */
.is-live .chat-blazy-slot img { visibility: hidden; }
.is-live .msg { opacity: 0; }
.bubble-cream { align-self: flex-start; max-width: 92%; padding: 11px 14px; border-radius: 18px 18px 18px 5px; background: var(--cream); color: var(--ink); font-weight: 700; font-size: 15px; line-height: 1.35; box-shadow: 0 3px 0 rgba(14, 14, 46, .25); }
.bubble-fire { align-self: flex-end; padding: 11px 16px; border-radius: 18px 18px 5px 18px; background: var(--fire); color: var(--cream); font-weight: 900; font-size: 15px; box-shadow: 0 3px 0 var(--lip-orange); }
.foyer-nudge-txt { font-size: 20px; font-weight: 900; line-height: 1.3; }
.chip-lime { align-self: flex-start; margin-top: auto; padding: 6px 12px; border-radius: 999px; background: var(--lime); color: var(--ink); font-size: 13px; font-weight: 900; }

.plus { padding-bottom: 80px; }
.plus-wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.plus-cta { position: relative; display: inline-flex; align-items: center; margin-top: 26px; }
.plus-cta .btn { white-space: nowrap; }
.foyer-count { font-weight: 400; }
/* Blazy (piste A) : jouées au scroll, les sections s'allument sur son passage.
   Sans animation (mouvement réduit, petit écran), tout reste allumé. */
.plus-say { display: none; }
.is-live .plus-say {
  display: block; position: absolute; left: calc(100% + 110px); bottom: 34px; padding: 10px 14px; border-radius: 16px 16px 16px 5px;
  background: var(--cream); color: var(--ink); font-weight: 900; font-size: 15px; white-space: nowrap;
  box-shadow: 0 3px 0 rgba(14, 14, 46, .25);
  opacity: 0; transform: scale(.6); transform-origin: left bottom; transition: opacity .2s, transform .35s cubic-bezier(.34, 1.56, .64, 1);
}
.is-live .plus-say.on { opacity: 1; transform: none; }
.is-live .foyer-avs li { filter: grayscale(1) brightness(.6); border-color: rgba(255, 244, 221, .35); transition: filter .25s, border-color .25s, box-shadow .25s, transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.is-live .foyer-avs li.lit { filter: none; border-color: var(--cream); box-shadow: 0 0 0 4px rgba(198, 255, 61, .5), 0 0 22px rgba(255, 120, 40, .7); transform: translateY(-3px); }
.is-live .foyer-bar i { transition: width .3s cubic-bezier(.33, 1, .68, 1); }
.is-live .plus-table .pt-row:not(.pt-head) { opacity: .3; transition: opacity .25s, background .25s; }
.is-live .plus-table .pt-row.lit { opacity: 1; background: rgba(198, 255, 61, .07); }
.is-live .plus-table .pt-row .pt-check, .is-live .plus-table .pt-row .pt-pill { transform: scale(.4); transition: transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.is-live .plus-table .pt-row.lit .pt-check, .is-live .plus-table .pt-row.lit .pt-pill { transform: none; }
.plus-note { margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--muted); }
.plus-table { overflow: hidden; }
.pt-row { display: grid; grid-template-columns: 1.7fr 1fr 1fr; align-items: center; padding: 13px 24px; border-top: 1px solid var(--divider); font-size: 16px; font-weight: 900; }
.pt-row > :nth-child(2), .pt-row > :nth-child(3) { text-align: center; }
.pt-head { border-top: 0; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); }
.pt-free { color: var(--muted); }
.pt-none { color: var(--soft); }
.pt-check { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--lime); color: var(--ink); font-size: 13px; }
.pt-pill { display: inline-block; min-width: 34px; padding: 4px 12px; border-radius: 999px; background: var(--lime); color: var(--ink); font-size: 14px; }

@media (max-width: 760px) {
  .sec { width: calc(100vw - 32px); padding-top: 90px; }
  .sec-sub { font-size: 16px; }
  .foyer-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 420px auto auto; }
  .foyer-phone { grid-row: auto; grid-column: span 2; }
  .foyer-goal { grid-column: span 2; gap: 16px; }
  .foyer-flame { width: 84px; }
  .foyer-num span { display: block; font-size: 15px; }
  .foyer-chat, .foyer-nudge { grid-column: span 2; }
  .plus-wrap { grid-template-columns: 1fr; gap: 30px; }
  .pt-row { padding: 12px 16px; font-size: 14.5px; }
}

/* ---------------- FOOTER ---------------- */
.ftr { position: relative; overflow: hidden; }
.ftr-stage {
  --size: min(820px, 62vw);
  position: relative; min-height: max(660px, var(--vh)); width: min(1240px, 100%); margin: 0 auto;
}
.ftr-blazy { position: absolute; width: var(--size); height: var(--size); left: -14vw; bottom: 0; transform: translateY(42%); pointer-events: none; }
.ftr-blazy img { width: 100%; height: 100%; }
.is-live .ftr-blazy img { visibility: hidden; }
.ftr-talk { position: absolute; z-index: 37; left: calc(var(--size) * .5 - 14vw + 20px); bottom: calc(var(--size) * .55 + 24px); display: grid; justify-items: start; gap: 10px; }
.ftr-bubble {
  padding: 20px 26px; border-radius: 26px 26px 26px 6px; background: var(--cream); color: var(--ink); box-shadow: 0 5px 0 rgba(14, 14, 46, .3);
  font-family: "DM Sans", sans-serif; font-weight: 900; font-size: clamp(20px, 2.4vw, 32px); line-height: 1.15;
  transform-origin: bottom left;
}
.ftr-bubble-2 { padding: 14px 22px; font-size: clamp(18px, 1.9vw, 26px); background: var(--lime); color: var(--ink); box-shadow: 0 5px 0 var(--lip-lime); }
.is-live .ftr-bubble { opacity: 0; transform: translateY(20px) scale(.9); transition: opacity .2s, transform .2s; }
.is-live .ftr-talk.on .ftr-bubble { opacity: 1; transform: none; transition: opacity .35s, transform .5s cubic-bezier(.34, 1.56, .64, 1); }
.is-live .ftr-talk.on .ftr-bubble-2 { transition-delay: 1s; }
.ftr-content { position: absolute; z-index: 2; right: clamp(24px, 7vw, 110px); top: 140px; width: min(400px, 40vw); }
.ftr-word img { width: 210px; }
.ftr-content .signup { margin: 0; width: 100%; }
.ftr-store { display: inline-block; margin-top: 18px; font-weight: 900; font-size: 14px; color: var(--muted); }
.ftr-content > p { margin: 18px 0 22px; font-size: 17px; line-height: 1.55; color: var(--text); font-weight: 600; }
.ftr-links { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 18px; font-size: 13px; font-weight: 700; color: var(--muted); }
.ftr-links a:hover { color: var(--text); }
@media (max-width: 760px) {
  .ftr-stage { --size: min(560px, 120vw); min-height: var(--vh); }
  /* Le contenu pousse la scène : Blazy et ses bulles arrivent sous les liens, jamais dessus. */
  .ftr-content { position: relative; right: auto; top: auto; width: auto; padding: 110px 24px calc(var(--size) * .55 + 230px); }
  .ftr-blazy { left: -28vw; transform: translateY(46%); }
  .ftr-talk { left: 34vw; bottom: calc(var(--size) * .5 + 10px); }
  .ftr-bubble { padding: 15px 19px; }
}

/* ---------------- L'ACTEUR (Blazy vivant) ---------------- */
.actor, .split-dot, .hello { display: none; }
.is-live .actor {
  display: block; position: fixed; z-index: 35; left: 0; top: 0; width: 100px; height: 100px;
  pointer-events: none; will-change: transform; transform-origin: 0 0;
}
.actor-body { position: absolute; inset: 0; transform-origin: 50% 88%; will-change: transform; }
.actor-body img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .14s; }
.actor-body img.on { opacity: 1; }
.actor-dot { position: absolute; left: 0; top: 0; border-radius: 999px; background: var(--grad); opacity: 0; }
.actor.idle .actor-body img.on { animation: breathe 3.2s ease-in-out infinite; transform-origin: 50% 90%; }
.is-live .split-dot { display: block; position: fixed; z-index: 34; left: 0; top: 0; width: 8.4px; height: 8.4px; border-radius: 50%; background: var(--ember); opacity: 0; pointer-events: none; }
.is-live .hello {
  display: block; position: fixed; z-index: 36; left: 0; top: 0; padding: 9px 14px; border-radius: 16px 16px 16px 4px;
  background: var(--cream); color: var(--ink); box-shadow: 0 3px 0 rgba(14, 14, 46, .3); font-family: "DM Sans", sans-serif; font-weight: 900; font-size: 15px;
  opacity: 0; transform: scale(.6); transform-origin: bottom left; transition: opacity .2s, transform .3s cubic-bezier(.34, 1.56, .64, 1); pointer-events: none; white-space: nowrap;
}
.is-live .hello.on { opacity: 1; }

/* ================= MODE JOUÉ AU SCROLL ================= */
.is-live .chat { height: calc(var(--vh) * 3.2); }
.is-live .chat-stage { position: sticky; top: 0; height: var(--vh); padding: 0 20px; overflow: clip; z-index: 25; }
.is-live .chat-canvas { position: absolute; left: 50%; top: 0; width: min(760px, calc(100% - 40px)); height: 100%; transform: translateX(-50%); }
.is-live .surface::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: url(../assets/bg-blue.webp) center/cover no-repeat; opacity: var(--heat, 0); }
.is-live .surface { overflow: hidden; display: block; position: fixed; z-index: 0; left: 0; top: 0; width: 0; height: 0; opacity: 0; pointer-events: none; }
.is-live .chat-canvas > * { position: absolute; left: 0; top: 0; z-index: 1; }
.is-live .composer { margin: 0; padding: 0; border-color: transparent; background: var(--surface); transform-origin: 0 0; overflow: hidden; }
.is-live .composer-text { position: absolute; left: 22px; right: 22px; top: 22px; font-size: 25px; white-space: nowrap; overflow: hidden; text-overflow: clip; }
.is-live .composer::before { content: ""; position: absolute; inset: 0; background: var(--grad); opacity: var(--sent, 0); }
.is-live .composer-text { z-index: 1; }
.is-live .composer-tools { display: flex; position: absolute; left: 18px; right: 14px; bottom: 14px; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; font-weight: 700; }
.composer-add { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); }
.composer-send { margin-left: auto; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--lime); color: var(--ink); font-weight: 800; font-size: 17px; }
.is-live .typing { display: flex; align-items: center; gap: 12px; opacity: 0; }
.typing-anchor { display: block; width: 8.4px; height: 8.4px; }
.typing-label { font-size: 13px; font-weight: 700; color: var(--muted); }
.is-live .answer { margin: 0; width: 100%; opacity: 0; clip-path: inset(0 0 100% 0); }

.is-live .log { height: calc(var(--vh) * 5); }
.is-live .log-stage { position: sticky; top: 0; height: var(--vh); padding: 0; overflow: clip; z-index: 25; }
.is-live .log-canvas { z-index: 3; pointer-events: none; display: block; position: absolute; left: 50%; top: 0; width: min(1100px, calc(100% - 32px)); height: 100%; transform: translateX(-50%); margin: 0; }
.is-live .log-canvas > * { position: absolute; left: 0; top: 0; margin: 0; }
.is-live .log-composer { display: block; background: var(--glass); border: 1px solid var(--edge); border-top-color: var(--edge-top); border-radius: 28px; }
.is-live .log-photo { aspect-ratio: auto; transform-origin: 0 0; border: 0; z-index: 2; }
.is-live .log-scan { display: block; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: var(--lime); box-shadow: 0 0 18px 4px rgba(199, 242, 60, .7); opacity: 0; }
.is-live .log-pin {
  display: block; position: absolute; padding: 6px 12px; border-radius: 999px; background: var(--cream); color: var(--ink);
  box-shadow: 0 3px 0 rgba(14, 14, 46, .3); font-family: "DM Sans", sans-serif; font-weight: 900; font-size: 13px; opacity: 0;
}
.log-pin-a { left: 52%; top: 18%; }
.log-pin-b { left: 12%; top: 46%; }
.log-pin-c { left: 58%; top: 62%; }
.is-live .log-result { opacity: 0; }
.is-live .log-question { display: flex; align-items: center; justify-content: space-between; gap: 10px; z-index: 3; font-weight: 700; font-size: 15px; color: var(--text); }
.log-send { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--lime); color: var(--ink); font-weight: 900; }
.is-live .log-analysis { opacity: 0; z-index: 3; }
.is-live .log-receipt { opacity: 0; z-index: 1; }
.is-live .log-track { display: block; overflow: visible; z-index: 1; pointer-events: none; }
.log-track path { fill: none; stroke: rgba(255, 255, 255, .22); stroke-linecap: round; }
.is-live .log-overview { opacity: 0; z-index: 2; transform-origin: 0 0; }
.is-live .bento { position: absolute; left: 0; top: 0; margin: 0; visibility: hidden; }
.is-live .tile { opacity: 0; }
.is-live .cal-grid li, .is-live .live-chrono, .is-live .live-sets, .is-live .live-dock, .is-live .tro-list li img { opacity: 0; }

@media (max-width: 760px) {
  .is-live .composer-text { font-size: 19px; white-space: normal; line-height: 1.3; }
  .is-live .log-canvas { width: calc(100% - 32px); }
}
