/* ==========================================================================
   Boite a outils des visuels animes (pages outils Suite Charity)
   Composants prefixes tv- ; pilotes par js/tool-visuals.js
   Animations limitees a transform / opacity (+ stroke-dashoffset)
   ========================================================================== */

:root {
  --tv-orange: #F07030;
  --tv-orange-dark: #d85a1e;
  --tv-ink: #1a1a1a;
  --tv-text: #404040;
  --tv-muted: #767370;
  --tv-line: #E2DED8;
  --tv-bg: #F6F3EF;
  --tv-card-bg: #ffffff;
  --tv-shadow: 0 4px 16px rgba(17, 17, 17, 0.06);
  --tv-ok-bg: #ddeadd;
  --tv-ok-ink: #2f5d3a;
  --tv-warn-bg: #fbe9dd;
  --tv-warn-ink: #a8430f;
  --tv-info-bg: #e3edf7;
  --tv-info-ink: #1d4f7f;
  --tv-neutral-bg: #efebe5;
  --tv-neutral-ink: #404040;
  --tv-ease: cubic-bezier(0.3, 0.7, 0.2, 1);
}

/* ---------- Panneau ---------- */
.tv-panel {
  --tv-accent: var(--tv-orange);
  position: relative;
  width: 100%;
  max-width: 100%;
  min-height: clamp(380px, 44vw, 460px);
  box-sizing: border-box;
  border-radius: 20px;
  background: var(--tv-bg);
  padding: 32px clamp(16px, 4vw, 32px) 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-family: 'Instrument Sans', sans-serif;
  color: var(--tv-text);
  text-align: left;
}
.tv-panel *, .tv-panel *::before, .tv-panel *::after { box-sizing: border-box; }
.tv-panel--flat { padding-bottom: 32px; }
.tv-panel.tv-panel--bare { background: transparent; }
.tv-panel--sage { --tv-accent: #5E8C6A; background: #EAF0EC; }
.tv-panel--blue { --tv-accent: #1F6FB2; background: #E8F0F8; }
.tv-panel--violet { --tv-accent: #6B4FBB; background: #EEEBF7; }
.tv-panel--navy { --tv-accent: #1E2A4A; background: #FBF3D6; }
.tv-panel--earth { --tv-accent: #6B7B3A; background: #EEF0E6; }
.tv-panel--teal { --tv-accent: #1F7A8C; background: #E6F0F2; }
.tv-panel--ochre { --tv-accent: #C08A2E; background: #F6EFE2; }

.tv-inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  opacity: 1;
  transition: opacity 0.4s ease;
}
.tv-inner.is-out { opacity: 0; transition-duration: 0.6s; }
.tv-notrans, .tv-notrans *, .tv-notrans *::before, .tv-notrans *::after,
.tv-static, .tv-static *, .tv-static *::before, .tv-static *::after {
  transition: none !important;
  animation: none !important;
}

/* ---------- Carte ---------- */
.tv-card {
  position: relative;
  width: 100%;
  max-width: 360px;
  background: var(--tv-card-bg);
  border: 1px solid var(--tv-line);
  border-radius: 12px;
  box-shadow: var(--tv-shadow);
  padding: 18px;
}
.tv-card--wide { max-width: 400px; }

/* Carte ou badge flottant (absolu sur desktop, dans le flux sous 768 px) */
.tv-card--float {
  position: absolute;
  left: 50%;
  bottom: 24px;
  width: calc(100% - 48px);
  max-width: 340px;
  opacity: 0;
  transform: translate(-50%, 18px);
  transition: opacity 0.4s ease, transform 0.55s var(--tv-ease);
}
.tv-card--float.is-on { opacity: 1; transform: translate(-50%, 0); }
.tv-badge.tv-card--float { width: auto; padding: 8px 14px; font-size: 13px; box-shadow: var(--tv-shadow); }

/* ---------- Badge ---------- */
.tv-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 600;
  font-size: 12px;
  line-height: 1;
  padding: 6px 10px;
  border-radius: 999px;
  white-space: nowrap;
  background: var(--tv-neutral-bg);
  color: var(--tv-neutral-ink);
}
.tv-badge--ok { background: var(--tv-ok-bg); color: var(--tv-ok-ink); }
.tv-badge--warn { background: var(--tv-warn-bg); color: var(--tv-warn-ink); }
.tv-badge--info { background: var(--tv-info-bg); color: var(--tv-info-ink); }
.tv-badge.tv-pop { animation: tv-pop 0.5s var(--tv-ease); }
@keyframes tv-pop {
  0% { transform: scale(0.85); opacity: 0.4; }
  60% { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

/* ---------- Avatar et pastille logo ---------- */
.tv-avatar {
  --c: #dfe9e2;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--c);
  color: var(--tv-ink);
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 700;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.02em;
}
.tv-avatar { overflow: hidden; }
.tv-avatar img { width: 100%; height: 100%; display: block; object-fit: cover; border-radius: 50%; }
.tv-avatar--warn { --c: var(--tv-warn-bg); }
.tv-avatar--info { --c: var(--tv-info-bg); }
.tv-avatar--ok { --c: var(--tv-ok-bg); }

.tv-logo {
  --c: var(--tv-accent, var(--tv-orange));
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Geist', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--tv-ink);
  min-width: 0;
}
.tv-logo::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--c);
}

/* ---------- Puce / chip ---------- */
.tv-chip {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--tv-line);
  background: #fff;
  font-size: 13px;
  line-height: 1.2;
  color: var(--tv-text);
}
.tv-chip::before {
  content: '';
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  border: 1px solid var(--tv-accent, var(--tv-orange));
  background: color-mix(in srgb, var(--tv-accent, var(--tv-orange)) 14%, #fff);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.tv-chip--active { color: var(--tv-ink); font-weight: 600; }
.tv-chip--active::before { opacity: 1; }
.tv-chip--static { background: var(--tv-neutral-bg); border-color: transparent; font-size: 12px; padding: 5px 10px; }

/* ---------- Barre de progression / barre ---------- */
.tv-progress {
  height: 6px;
  border-radius: 999px;
  background: #ece8e2;
  overflow: hidden;
}
.tv-progress > i, .tv-bar {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: 999px;
  background: var(--tv-accent, var(--tv-orange));
  transform-origin: left center;
  transform: scaleX(var(--p, 0));
  transition: transform 0.7s var(--tv-ease);
}
.tv-bar { height: 8px; }

/* ---------- Indicateur de saisie (trois points) ---------- */
.tv-typing {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--tv-neutral-bg);
}
.tv-typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tv-muted);
  animation: tv-dot 1s ease-in-out infinite;
}
.tv-typing i:nth-child(2) { animation-delay: 0.15s; }
.tv-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes tv-dot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-3px); opacity: 1; }
}

/* ---------- Connecteur pointille (SVG genere par le JS) ---------- */
.tv-connector {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}
.tv-connector__line { fill: none; stroke: var(--tv-orange); stroke-width: 2; stroke-dasharray: 2 6; stroke-linecap: round; }
.tv-connector__mask { fill: none; stroke: #fff; stroke-width: 8; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 0.9s ease; }
.tv-connector__dot { fill: var(--tv-orange); opacity: 0; transition: opacity 0.3s ease; }
.tv-connector.is-drawn .tv-connector__mask { stroke-dashoffset: 0; }
.tv-connector.is-drawn .tv-connector__dot { opacity: 1; }
.tv-panel > .tv-connector { transition: opacity 0.4s ease; }
.tv-panel.tv-out > .tv-connector { opacity: 0; transition-duration: 0.6s; }
@media (max-width: 767px) { .tv-connector { display: none; } }

/* ---------- Libelle de carte ---------- */
.tv-eyebrow {
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tv-orange);
}
.tv-title { font-family: 'Geist', sans-serif; font-weight: 600; color: var(--tv-ink); letter-spacing: -0.01em; }
.tv-line { font-size: 14px; color: var(--tv-muted); line-height: 1.4; }

/* ==========================================================================
   Scenes (visuels de la page Engagement benevole)
   ========================================================================== */

/* ---------- V1 : le questionnaire qui se remplit ---------- */
.tv-q { max-width: 380px; display: flex; flex-direction: column; gap: 14px; }
.tv-q__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tv-q__screens { display: grid; min-height: 196px; }
.tv-q__screen {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 0.45s ease, transform 0.55s var(--tv-ease);
}
.tv-q__screen.is-on { opacity: 1; transform: translateX(0); }
.tv-q__screen.is-past { opacity: 0; transform: translateX(-28px); }
.tv-q__ask { font-family: 'Geist', sans-serif; font-weight: 600; font-size: 16px; line-height: 1.3; color: var(--tv-ink); margin: 0; }
.tv-opts { display: flex; flex-direction: column; gap: 7px; }
.tv-opt {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border: 1px solid var(--tv-line);
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.2;
  color: var(--tv-text);
  background: #fff;
}
.tv-opt::before {
  content: '';
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid #c9c4bc;
  background: #fff;
}
.tv-opt::after {
  content: '';
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  border: 1px solid var(--tv-accent);
  background: color-mix(in srgb, var(--tv-accent) 14%, #fff);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.tv-opt.is-sel { color: var(--tv-ink); font-weight: 600; }
.tv-opt.is-sel::after { opacity: 1; }
.tv-opt.is-sel::before { border-color: var(--tv-accent); background: radial-gradient(circle, var(--tv-accent) 0 38%, #fff 42%); }
.tv-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tv-field {
  position: relative;
  isolation: isolate;
  min-height: 46px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--tv-line);
  border-radius: 10px;
  font-size: 15px;
  color: var(--tv-ink);
  background: #fff;
}
.tv-field::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1.5px solid var(--tv-accent);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.tv-field.is-focus::after { opacity: 1; }
.tv-field__text { white-space: nowrap; }
.tv-field__text::after { content: ''; display: inline-block; width: 1.5px; height: 1.1em; margin-left: 2px; vertical-align: text-bottom; background: var(--tv-accent); opacity: 0; }
.tv-field.is-focus .tv-field__text::after { opacity: 1; animation: tv-caret 0.9s steps(1) infinite; }
@keyframes tv-caret { 50% { opacity: 0; } }

/* ---------- V2 : la mission choisie ---------- */
.tv-stack { position: relative; width: min(320px, 100%); height: 196px; }
.tv-mission {
  position: absolute;
  inset: 0;
  max-width: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
  transition: transform 0.7s var(--tv-ease), opacity 0.5s ease;
}
.tv-mission__title { font-size: 20px; line-height: 1.2; }
.tv-mission--back { transform: translateY(14px) scale(0.94); z-index: 1; }
.tv-mission--back.is-front { transform: translateY(0) scale(1); }
.tv-mission--front { z-index: 2; }
.tv-mission--front.is-gone { transform: translateX(-125%) rotate(-14deg); opacity: 0; }
.tv-mission .tv-badge--like {
  position: absolute;
  top: 12px;
  right: 12px;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.3s ease, transform 0.45s var(--tv-ease);
}
.tv-mission .tv-badge--like.is-on { opacity: 1; transform: scale(1); }
.tv-actions { display: flex; gap: 22px; justify-content: center; }
.tv-round {
  position: relative;
  isolation: isolate;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--tv-line);
  box-shadow: var(--tv-shadow);
  transition: transform 0.35s var(--tv-ease);
}
.tv-round::before {
  content: '';
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.tv-round--no { color: var(--tv-warn-ink); }
.tv-round--no::before { background: var(--tv-warn-bg); }
.tv-round--yes { color: var(--tv-ok-ink); }
.tv-round--yes::before { background: var(--tv-ok-bg); }
.tv-round.is-on { transform: scale(1.12); }
.tv-round.is-on::before { opacity: 1; }
.tv-round svg { display: block; }
.tv-notif { display: flex; align-items: center; gap: 12px; padding: 12px 14px; font-size: 14px; line-height: 1.35; color: var(--tv-ink); }

/* ---------- V3 : le suivi d'antenne ---------- */
.tv-board { max-width: 400px; padding: 18px 18px 8px; }
.tv-board__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding-bottom: 14px; }
.tv-board__name { font-size: 15px; line-height: 1.3; }
.tv-counter { text-align: right; flex-shrink: 0; }
.tv-counter__label { display: block; font-size: 12px; color: var(--tv-muted); line-height: 1.2; }
.tv-counter__value { display: block; font-family: 'Geist', sans-serif; font-weight: 600; font-size: 34px; line-height: 1.1; color: var(--tv-ink); letter-spacing: -0.02em; }
.tv-row { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px solid var(--tv-line); }
.tv-row__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.tv-row__name { font-family: 'Geist', sans-serif; font-weight: 600; font-size: 14px; color: var(--tv-ink); line-height: 1.25; }
.tv-row__sub { font-size: 12px; color: var(--tv-muted); line-height: 1.3; }
.tv-row .tv-badge { flex-shrink: 0; }

/* ---------- V4 : le rapprochement ---------- */
.tv-v4 { width: 100%; display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 48px; align-items: center; }
.tv-v4 .tv-card { max-width: none; }
.tv-profile { display: flex; flex-direction: column; gap: 12px; padding: 16px; }
.tv-profile__head { display: flex; align-items: center; gap: 10px; }
.tv-picks { display: flex; flex-direction: column; gap: 16px; }
.tv-pick { display: flex; align-items: center; gap: 10px; padding: 12px 14px; transition: opacity 0.5s ease; }
.tv-pick::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 2px solid #5E8C6A;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.tv-pick.is-best::after { opacity: 1; }
.tv-pick.is-dim { opacity: 0.4; }
.tv-pick__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.tv-match { flex-shrink: 0; opacity: 0; transform: scale(0.8); transition: opacity 0.3s ease, transform 0.45s var(--tv-ease); }
.tv-match.is-on { opacity: 1; transform: scale(1); }
.tv-pick__flag { position: absolute; z-index: 2; top: -11px; right: 12px; opacity: 0; transform: translateY(6px); transition: opacity 0.3s ease, transform 0.45s var(--tv-ease); box-shadow: var(--tv-shadow); }
.tv-pick__flag.is-on { opacity: 1; transform: translateY(0); }

/*@@SCENES-CSS@@*/
/* ---------- Elements communs aux visuels suivants ---------- */
.tv-label-dark {
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
}
.tv-ico {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: inline-grid;
  place-items: center;
  color: var(--tv-accent, var(--tv-orange));
  background: color-mix(in srgb, var(--tv-accent, var(--tv-orange)) 14%, #fff);
}
.tv-ico svg { width: 18px; height: 18px; display: block; }
.tv-ico--warn { color: var(--tv-warn-ink); background: var(--tv-warn-bg); }
.tv-ico--ok { color: var(--tv-ok-ink); background: var(--tv-ok-bg); }

/* Texte tape : un fantome invisible reserve la place, la couche vive affiche la saisie */
.tv-typed { position: relative; display: block; }
.tv-typed__ghost { display: block; visibility: hidden; }
.tv-typed__live { position: absolute; inset: 0; display: block; }

.tv-bubble { display: block; padding: 10px 12px; border-radius: 12px; font-size: 14px; line-height: 1.45; color: var(--tv-ink); background: var(--tv-neutral-bg); }
.tv-bubble--user { background: color-mix(in srgb, var(--tv-accent, var(--tv-orange)) 13%, #fff); }
.tv-bubble--fade, .tv-fade { opacity: 0; transform: translateY(8px); transition: opacity 0.4s ease, transform 0.5s var(--tv-ease); }
.tv-bubble--fade.is-on, .tv-fade.is-on { opacity: 1; transform: translateY(0); }
.tv-hide { opacity: 0; transition: opacity 0.4s ease; }
.tv-hide.is-on { opacity: 1; }
.tv-line-bold b, .tv-bubble b { font-weight: 700; color: var(--tv-ink); }

/* Bouton d'interface avec onde de toucher */
.tv-btn {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  border: 1px solid var(--tv-line);
  border-radius: 10px;
  background: #fff;
  font-size: 14px;
  line-height: 1.2;
  color: var(--tv-text);
}
.tv-btn::after {
  content: '';
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  border: 1px solid var(--tv-accent);
  background: color-mix(in srgb, var(--tv-accent) 14%, #fff);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.tv-btn.is-on { color: var(--tv-ink); font-weight: 600; }
.tv-btn.is-on::after { opacity: 1; }
.tv-btn--solid { justify-content: center; background: var(--tv-accent); border-color: var(--tv-accent); color: #fff; font-weight: 600; }
.tv-btn--solid::after { display: none; }
.tv-btn--yellow { background: #F2C94C; border-color: #F2C94C; color: #1E2A4A; }
.tv-ripple {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border-radius: 50%;
  border: 2px solid var(--tv-orange);
  background: rgba(240, 112, 48, 0.3);
  opacity: 0;
  pointer-events: none;
  z-index: 3;
}
.tv-ripple.is-on { animation: tv-ripple 0.9s ease-out forwards; }
@keyframes tv-ripple {
  0% { transform: scale(0.3); opacity: 0.95; }
  100% { transform: scale(2.2); opacity: 0; }
}
.tv-bounce.is-on { animation: tv-bounce 0.6s var(--tv-ease); }
@keyframes tv-bounce {
  0% { transform: translateY(10px) scale(0.92); opacity: 0; }
  60% { transform: translateY(-3px) scale(1.03); opacity: 1; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

/* Barres horizontales avec libelle */
.tv-bars { display: flex; flex-direction: column; gap: 14px; }
.tv-bars__row { display: flex; flex-direction: column; gap: 6px; }
.tv-bars__label { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; line-height: 1.3; color: var(--tv-ink); }
.tv-bars__label span:last-child { color: var(--tv-muted); }
.tv-bars .tv-progress { height: 8px; }

/* Case a cocher */
.tv-check { display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 1.35; color: var(--tv-text); }
.tv-check__box { position: relative; isolation: isolate; flex-shrink: 0; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid #c9c4bc; display: grid; place-items: center; background: #fff; }
.tv-check__box::before { content: ''; position: absolute; inset: -1.5px; z-index: -1; border-radius: 7px; background: var(--tv-accent, var(--tv-orange)); opacity: 0; transition: opacity 0.3s ease; }
.tv-check__box svg { width: 14px; height: 14px; color: #fff; opacity: 0; transform: scale(0.5); transition: opacity 0.25s ease, transform 0.35s var(--tv-ease); }
.tv-check.is-on .tv-check__box::before { opacity: 1; }
.tv-check.is-on .tv-check__box svg { opacity: 1; transform: scale(1); }
.tv-check.is-on { color: var(--tv-ink); }

/* Frise verticale a etapes */
.tv-steps { display: flex; flex-direction: column; }
.tv-steps__item { position: relative; display: flex; align-items: flex-start; gap: 12px; padding-bottom: 18px; }
.tv-steps__item:last-child { padding-bottom: 0; }
.tv-steps__item::after { content: ''; position: absolute; left: 10px; top: 24px; bottom: 2px; border-left: 1.5px dashed #d6d0c7; }
.tv-steps__item:last-child::after { display: none; }
.tv-steps__dot { position: relative; isolation: isolate; flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid #c9c4bc; background: #fff; display: grid; place-items: center; }
.tv-steps__dot::before { content: ''; position: absolute; inset: -1.5px; z-index: -1; border-radius: 50%; background: var(--tv-accent, var(--tv-orange)); opacity: 0; transition: opacity 0.3s ease; }
.tv-steps__dot svg { width: 13px; height: 13px; color: #fff; opacity: 0; transform: scale(0.5); transition: opacity 0.25s ease, transform 0.35s var(--tv-ease); }
.tv-steps__item.is-on .tv-steps__dot::before { opacity: 1; }
.tv-steps__item.is-on .tv-steps__dot svg { opacity: 1; transform: scale(1); }
.tv-steps__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 14px; line-height: 1.35; color: var(--tv-ink); }
.tv-steps__text small { font-size: 12px; color: var(--tv-muted); }

/* Anneau de progression */
.tv-ring { position: relative; flex-shrink: 0; width: 46px; height: 46px; }
.tv-ring svg { width: 100%; height: 100%; display: block; transform: rotate(-90deg); }
.tv-ring circle { fill: none; stroke-width: 4; }
.tv-ring__track { stroke: #ece8e2; }
.tv-ring__value { stroke: var(--tv-accent, var(--tv-orange)); stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--p, 0)); transition: stroke-dashoffset 0.8s var(--tv-ease); }
.tv-ring__num { position: absolute; inset: 0; display: grid; place-items: center; font-family: 'Geist', sans-serif; font-weight: 600; font-size: 12px; color: var(--tv-ink); }

/* ---------- Accueil et orientation ---------- */
.tv-bounce { opacity: 0; }
.tv-bounce.is-on { opacity: 1; }
.tv-btn--ghost { justify-content: center; border-color: var(--tv-accent); color: var(--tv-accent); font-weight: 600; background: #fff; }
.tv-btn--ghost::after { display: none; }

/* V1 : la borne */
.tv-kiosk { width: min(340px, 100%); display: flex; flex-direction: column; align-items: center; }
.tv-kiosk__body { width: 100%; padding: 12px; border: 2px solid rgba(255, 255, 255, 0.4); border-radius: 26px; }
.tv-kiosk__screen { max-width: none; padding: 14px; border-radius: 14px; }
.tv-kiosk__top { margin-bottom: 12px; }
.tv-kiosk .tv-q__screens { min-height: 236px; }
.tv-kiosk__stand { width: 10px; height: 40px; background: rgba(255, 255, 255, 0.35); }
.tv-kiosk__base { width: 130px; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.35); }

/* V2 : la conversation */
.tv-chat { max-width: 400px; padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.tv-chat__head { display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; background: var(--tv-accent); color: #fff; }
.tv-chat__title { font-family: 'Geist', sans-serif; font-weight: 600; font-size: 15px; }
.tv-chat__url { font-size: 12px; opacity: 0.9; }
.tv-chat__body { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.tv-chat__msg { display: flex; align-items: flex-start; gap: 10px; }
.tv-chat__msg .tv-bubble { flex: 1; min-width: 0; }
.tv-chat__reply { position: relative; }
.tv-chat__reply .tv-typing { position: absolute; left: 0; top: 0; z-index: 2; }
.tv-chat__reply > .tv-bubble { display: flex; flex-direction: column; gap: 8px; }
.tv-chat__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.tv-chat__actions .tv-btn { padding: 9px 12px; font-size: 13px; }
.tv-chat__input { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 16px 16px; padding: 10px 12px; border: 1px solid var(--tv-line); border-radius: 999px; color: var(--tv-accent); min-height: 42px; }
.tv-chat__input svg { display: block; }

/* V4 : comprendre puis orienter */
.tv-ac4 { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 22px; align-items: stretch; }
.tv-slots { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.tv-slot { position: relative; isolation: isolate; display: inline-flex; align-items: center; padding: 7px 12px; border-radius: 999px; border: 1.5px dashed #bcb6ac; font-size: 13px; line-height: 1.2; color: var(--tv-ink); background: rgba(255, 255, 255, 0.5); }
.tv-slot > span { opacity: 0; transition: opacity 0.35s ease; }
.tv-slot::after { content: ''; position: absolute; inset: -1.5px; z-index: -1; border-radius: inherit; border: 1.5px solid var(--tv-accent); background: color-mix(in srgb, var(--tv-accent) 13%, #fff); opacity: 0; transition: opacity 0.35s ease; }
.tv-slot.is-on > span, .tv-slot.is-on::after { opacity: 1; }
.tv-routes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tv-route { max-width: none; display: flex; align-items: center; gap: 10px; padding: 12px; transition: opacity 0.5s ease; }
.tv-route::after { content: ''; position: absolute; inset: -1px; border-radius: inherit; border: 2px solid var(--tv-accent); opacity: 0; transition: opacity 0.35s ease; pointer-events: none; }
.tv-route.is-on::after { opacity: 1; }
.tv-route.is-dim { opacity: 0.4; }
.tv-route__label { font-family: 'Geist', sans-serif; font-weight: 600; font-size: 13px; line-height: 1.25; color: var(--tv-ink); min-width: 0; }
@media (max-width: 767px) {
  .tv-chat__actions .tv-btn { flex: 1 1 100%; }
}

/* ---------- Visibilite en ligne ---------- */
.tv-popin { opacity: 0; transform: scale(0.8); transition: opacity 0.3s ease, transform 0.45s var(--tv-ease); }
.tv-popin.is-on { opacity: 1; transform: scale(1); }

/* V1 : remonter dans les resultats */
.tv-serp-card { max-width: 420px; padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 14px; }
.tv-search { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; border: 1px solid var(--tv-line); border-radius: 999px; font-size: 14px; color: var(--tv-ink); background: #fff; box-shadow: var(--tv-shadow); }
.tv-search svg { flex-shrink: 0; color: var(--tv-muted); }
.tv-search .tv-typed { flex: 1; min-width: 0; white-space: nowrap; }
.tv-search .tv-typed__ghost { overflow: hidden; text-overflow: clip; }
.tv-serp { --rh: 84px; position: relative; height: calc(var(--rh) * 3); }
.tv-res {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: var(--rh);
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-radius: 10px;
  opacity: 0;
  transform: translateY(calc(var(--i, 0) * var(--rh)));
  transition: opacity 0.45s ease, transform 0.9s var(--tv-ease);
}
.tv-res::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: #e3edf7; opacity: 0; transition: opacity 0.5s ease; }
.tv-res.is-on { opacity: 1; }
.tv-res.is-hl::before { opacity: 1; }
.tv-res > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tv-res__title { font-family: 'Geist', sans-serif; font-weight: 600; font-size: 15px; line-height: 1.3; color: #1F6FB2; }
.tv-res__url { font-size: 12px; line-height: 1.4; color: var(--tv-muted); }
.tv-res__url .tv-logo { font-size: 12px; font-weight: 400; color: var(--tv-muted); }
.tv-res__url .tv-logo::before { width: 12px; height: 12px; }
.tv-res__desc { font-size: 13px; line-height: 1.4; color: var(--tv-text); }

/* V2 : de la fiche aux supports */
.tv-vo2 { width: 100%; max-width: 440px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 44px; align-items: center; }
.tv-vo2__left { display: flex; flex-direction: column; gap: 40px; align-items: stretch; }
.tv-vo2__right { display: flex; flex-direction: column; gap: 10px; }
.tv-vo2 .tv-card { max-width: none; }
.tv-src { display: flex; flex-direction: column; gap: 8px; padding: 14px; }
.tv-src__title { font-size: 16px; line-height: 1.25; }
.tv-src__who { display: flex; align-items: center; gap: 8px; padding-top: 8px; border-top: 1px solid var(--tv-line); font-size: 12px; line-height: 1.3; color: var(--tv-muted); }
.tv-src__who .tv-avatar { width: 32px; height: 32px; font-size: 12px; }
.tv-pill { padding: 9px 12px; border-radius: 14px; border: 1px solid var(--tv-accent); background: color-mix(in srgb, var(--tv-accent) 12%, #fff); font-size: 12px; line-height: 1.35; color: var(--tv-ink); text-align: center; }
.tv-mini { display: flex; align-items: center; gap: 9px; padding: 8px 10px; }
.tv-mini .tv-ico { width: 28px; height: 28px; }
.tv-mini .tv-ico svg { width: 16px; height: 16px; }
.tv-mini__label { flex: 1; min-width: 0; font-family: 'Geist', sans-serif; font-weight: 600; font-size: 13px; line-height: 1.2; color: var(--tv-ink); }
.tv-mini .tv-badge { flex-shrink: 0; }

/* V3 : un contenu, trois declinaisons */
.tv-fan { width: 100%; max-width: 520px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-items: center; }
.tv-fancard { max-width: none; padding: 12px; min-height: 190px; display: flex; flex-direction: column; justify-content: center; z-index: 1; transform: translateX(var(--px, 0)) rotate(var(--pr, 0deg)); transition: transform 0.8s var(--tv-ease); }
.tv-fancard--1 { --px: calc(100% + 10px); --pr: -3deg; --fr: -4deg; }
.tv-fancard--2 { --px: 0px; --pr: 0deg; --fr: 0deg; z-index: 3; }
.tv-fancard--3 { --px: calc(-100% - 10px); --pr: 3deg; --fr: 4deg; }
.tv-fancard.is-fan { transform: translateX(0) rotate(var(--fr)); }
.tv-fancard__in { display: flex; flex-direction: column; gap: 8px; }
.tv-fancard__head { display: flex; align-items: center; }
.tv-fancard__head .tv-logo { font-size: 13px; }
.tv-fancard__text { margin: 0; font-size: 12px; line-height: 1.4; color: var(--tv-text); }
.tv-fancard__text b { color: var(--tv-ink); }
.tv-thumb { height: 52px; border-radius: 8px; background: linear-gradient(135deg, #cfe0f1 0%, #7fa8cf 55%, #1F6FB2 100%); }
.tv-insta { aspect-ratio: 1 / 1; border-radius: 8px; background: #1F6FB2; justify-content: center; padding: 10px; }
.tv-insta__title { font-family: 'Geist', sans-serif; font-weight: 600; font-size: 14px; line-height: 1.25; color: #fff; }

/* V4 : remettre de l'ordre */
.tv-pages { width: 100%; max-width: 400px; display: flex; flex-direction: column; gap: 12px; }
.tv-pg { max-width: none; display: flex; align-items: center; gap: 12px; padding: 12px 14px; transform: translateX(var(--dx, 0)) translateY(var(--dy, 0)) rotate(var(--r, 0deg)); transition: transform 0.8s var(--tv-ease); }
.tv-pg.is-aligned { transform: none; }
.tv-pg__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.tv-pg__t { display: grid; }
.tv-pg__t > span { grid-area: 1 / 1; transition: opacity 0.45s ease; line-height: 1.2; color: var(--tv-ink); }
.tv-pg__t1 { opacity: 0; font-family: 'Geist', sans-serif; font-weight: 600; font-size: 15px; }
.tv-pg.is-uniform .tv-pg__t1 { opacity: 1; }
.tv-pg.is-uniform .tv-pg__t0 { opacity: 0; }
.tv-pg__t--a { font-family: 'Bodoni Moda', serif; font-weight: 900; font-size: 20px; }
.tv-pg__t--b { font-family: 'Space Mono', monospace; font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; }
.tv-pg__t--c { font-family: 'Instrument Sans', sans-serif; font-style: italic; font-weight: 400; font-size: 17px; }
.tv-pg__lines { display: flex; flex-direction: column; gap: 5px; }
.tv-pg__lines i { display: block; height: 5px; border-radius: 3px; background: #ece8e2; }
.tv-pg__lines i:last-child { width: 62%; }
.tv-pg__b { display: grid; justify-items: end; flex-shrink: 0; }
.tv-pg__b > .tv-badge { grid-area: 1 / 1; }
.tv-pg__old { transition: opacity 0.3s ease; }
.tv-pg.is-fixed .tv-pg__old { opacity: 0; }
.tv-pg__new { opacity: 0; transform: scale(0.85); transition: opacity 0.3s ease, transform 0.45s var(--tv-ease); }
.tv-pg.is-fixed .tv-pg__new { opacity: 1; transform: scale(1); }

@media (max-width: 767px) {
  .tv-vo2 { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .tv-vo2__left { gap: 14px; }
  .tv-fan { grid-template-columns: minmax(0, 1fr); max-width: 300px; }
  .tv-fancard { min-height: 150px; --px: 0px; --py-off: 0px; transform: translateY(var(--py, 0)) rotate(var(--pr, 0deg)); }
  .tv-fancard--1 { --py: calc(100% + 14px); }
  .tv-fancard--3 { --py: calc(-100% - 14px); }
  .tv-fancard--2 { --py: 0px; }
  .tv-fancard.is-fan { transform: translateY(0) rotate(0deg); }
  .tv-pg__b { align-self: flex-start; }
}

/* ---------- Prospection multicanale ---------- */
.tv-panel--tall { padding-bottom: 140px; }

/* V1 : le cycle */
.tv-cycle { width: 100%; max-width: 520px; }
.tv-cycle__stage { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; row-gap: 164px; }
.tv-cstep { position: relative; z-index: 1; max-width: none; display: flex; align-items: flex-start; gap: 10px; padding: 12px; transition: opacity 0.4s ease; }
.tv-cstep[data-step="3"] { grid-row: 2; grid-column: 2; }
.tv-cstep[data-step="4"] { grid-row: 2; grid-column: 1; }
.tv-cstep::after { content: ''; position: absolute; inset: -1px; border-radius: inherit; border: 2px solid var(--tv-orange); opacity: 0; transition: opacity 0.35s ease; pointer-events: none; }
.tv-cstep.is-on::after { opacity: 1; }
.tv-cstep__num { position: relative; isolation: isolate; flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--tv-orange); display: grid; place-items: center; font-family: 'Space Mono', monospace; font-weight: 700; font-size: 12px; color: var(--tv-orange); transition: color 0.3s ease; }
.tv-cstep__num::before { content: ''; position: absolute; inset: -1.5px; z-index: -1; border-radius: 50%; background: var(--tv-orange); opacity: 0; transition: opacity 0.3s ease; }
.tv-cstep.is-on .tv-cstep__num { color: #fff; }
.tv-cstep.is-on .tv-cstep__num::before { opacity: 1; }
.tv-cstep__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tv-cstep__title { font-family: 'Geist', sans-serif; font-weight: 600; font-size: 14px; color: var(--tv-ink); }
.tv-cstep__text { font-size: 12px; line-height: 1.35; color: var(--tv-muted); }
.tv-cstep__badge { margin-top: 4px; width: fit-content; max-width: 100%; white-space: normal; line-height: 1.2; }
.tv-cycle__chips { position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 5px; }
.tv-cycle__chips .tv-chip { padding: 5px 11px; font-size: 12px; --tv-accent: var(--tv-orange); }
.tv-orbit { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.tv-orbit__line { fill: none; stroke: var(--tv-orange); stroke-width: 2; stroke-dasharray: 2 7; stroke-linecap: round; }
.tv-orbit__dot { fill: var(--tv-orange); opacity: 0; transition: opacity 0.3s ease; }
.tv-orbit__dot.is-on { opacity: 1; }

/* V2 : la porte s'ouvre */
.tv-msgr { padding: 0; display: flex; flex-direction: column; overflow: visible; }
.tv-msgr__head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--tv-line); }
.tv-msgr__who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tv-msgr__org { display: flex; align-items: flex-start; gap: 7px; font-family: 'Geist', sans-serif; font-weight: 600; font-size: 13px; line-height: 1.25; color: var(--tv-ink); }
.tv-msgr__dot { flex-shrink: 0; margin-top: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--tv-accent); }
.tv-msgr__who small { font-size: 12px; color: var(--tv-muted); }
.tv-msgr__body { padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.tv-event { display: flex; gap: 10px; padding: 10px; border: 1px solid var(--tv-line); border-radius: 10px; background: #faf8f5; }
.tv-event__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; font-size: 12px; line-height: 1.35; color: var(--tv-muted); }
.tv-event__text b { font-family: 'Geist', sans-serif; font-weight: 600; font-size: 13px; color: var(--tv-ink); }
.tv-event__text .tv-badge { width: fit-content; }
.tv-msgr__reply { position: relative; }
.tv-msgr__reply .tv-typing { position: absolute; left: 50px; top: 4px; z-index: 2; }
.tv-msgr__row { display: flex; align-items: flex-start; gap: 10px; }
.tv-msgr__row .tv-bubble { flex: 0 1 auto; }
.tv-crm { max-width: 320px; display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
.tv-crm__text { display: flex; flex-direction: column; gap: 5px; min-width: 0; font-size: 13px; line-height: 1.3; color: var(--tv-ink); }
.tv-crm__text b { font-family: 'Geist', sans-serif; font-weight: 600; }
.tv-crm__text .tv-badge { width: fit-content; }

/* V4 : une sequence personnalisee */
.tv-pm4 { width: 100%; max-width: 440px; display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 24px; align-items: center; }
.tv-pm4 .tv-steps__text span { font-family: 'Geist', sans-serif; font-weight: 600; }
.tv-pm4 .tv-steps__text svg { vertical-align: -2px; color: var(--tv-accent); }
.tv-pm4__card { max-width: none; display: flex; flex-direction: column; gap: 12px; }
.tv-pm4__text { margin: 0; font-size: 14px; line-height: 1.55; color: var(--tv-ink); }
.tv-var { position: relative; isolation: isolate; display: inline-grid; vertical-align: baseline; padding: 0 3px; }
.tv-var > span { grid-area: 1 / 1; transition: opacity 0.4s ease; }
.tv-var__b { opacity: 0; font-weight: 600; }
.tv-var::before { content: ''; position: absolute; inset: -1px 0; z-index: -1; border-radius: 4px; background: #e6dff6; opacity: 0.6; transition: opacity 0.4s ease; }
.tv-var.is-on .tv-var__a { opacity: 0; position: absolute; }
.tv-var.is-on .tv-var__b { opacity: 1; }
.tv-var.is-on::before { opacity: 1; }
.tv-pm4__card .tv-badge { white-space: normal; line-height: 1.25; }

@media (max-width: 767px) {
  .tv-cycle__stage { display: flex; flex-direction: column; gap: 12px; padding-left: 0; }
  .tv-cycle__stage::before { content: ''; position: absolute; left: 24px; top: 24px; bottom: 24px; border-left: 2px dashed var(--tv-orange); }
  .tv-cstep[data-step="3"], .tv-cstep[data-step="4"] { grid-row: auto; grid-column: auto; }
  .tv-cstep[data-step="4"] { order: 4; }
  .tv-cycle__chips { position: static; transform: none; flex-direction: row; flex-wrap: wrap; justify-content: center; order: 5; margin-top: 4px; }
  .tv-orbit { display: none; }
  .tv-panel--tall { padding-bottom: 24px; }
  .tv-pm4 { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}

/* ---------- Collecte de fonds ---------- */

/* V1 : une ligne creative */
.tv-cf1 { width: 100%; max-width: 380px; display: flex; flex-direction: column; gap: 14px; }
.tv-cf1__top { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; border-radius: 12px; background: #1E2A4A; border: 1px solid rgba(255, 255, 255, 0.22); box-shadow: var(--tv-shadow); color: #fff; }
.tv-cf1__brand { display: inline-flex; align-items: center; gap: 8px; font-family: 'Geist', sans-serif; font-weight: 600; font-size: 13px; }
.tv-cf1__brand i { width: 16px; height: 16px; border-radius: 50%; background: #F2C94C; }
.tv-cf1__title { font-family: 'Geist', sans-serif; font-weight: 600; font-size: 16px; line-height: 1.25; }
.tv-cf1__dots { display: flex; gap: 6px; }
.tv-cf1__dots i { width: 14px; height: 14px; border-radius: 50%; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.6); }
.tv-cf1__list { position: relative; display: flex; flex-direction: column; gap: 8px; padding-left: 34px; }
.tv-cf1__list::before { content: ''; position: absolute; left: 11px; top: -14px; bottom: 6px; border-left: 2px solid var(--tv-orange); transform-origin: top center; transform: scaleY(0); transition: transform 1s ease; }
.tv-cf1__list.is-line::before { transform: scaleY(1); }
.tv-sup { position: relative; max-width: none; display: flex; align-items: center; gap: 10px; padding: 8px 12px; }
.tv-sup::before { content: ''; position: absolute; left: -27px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--tv-orange); }
.tv-sup .tv-ico { width: 28px; height: 28px; --tv-accent: #1E2A4A; }
.tv-sup__label { font-family: 'Geist', sans-serif; font-weight: 600; font-size: 14px; color: var(--tv-ink); }
.tv-auto { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border-radius: 12px; border: 2px solid var(--tv-orange); background: #fff; }
.tv-auto__title { font-family: 'Space Mono', monospace; font-weight: 700; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--tv-orange); }
.tv-auto__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tv-auto .tv-chip { --tv-accent: var(--tv-orange); padding: 5px 11px; font-size: 12px; }

/* V2 : un message par donateur */
.tv-mail { display: flex; flex-direction: column; gap: 14px; }
.tv-sw { position: relative; isolation: isolate; align-self: center; display: grid; grid-template-columns: 1fr 1fr; padding: 3px; border-radius: 999px; border: 1px solid var(--tv-line); background: #f6f3ef; }
.tv-sw__opt { position: relative; z-index: 1; padding: 7px 14px; font-size: 13px; line-height: 1.2; text-align: center; white-space: nowrap; color: var(--tv-ink); font-weight: 600; }
.tv-sw__thumb { position: absolute; z-index: 0; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 999px; background: #fff; box-shadow: 0 1px 4px rgba(17, 17, 17, 0.15); transform: translateX(0); transition: transform 0.5s var(--tv-ease); }
.tv-mail.is-b .tv-sw__thumb { transform: translateX(100%); }
.tv-mail__vers { display: grid; }
.tv-mail__v { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 10px; padding: 14px; border: 1px solid var(--tv-line); border-radius: 10px; transition: opacity 0.6s ease; }
.tv-mail__v--b { opacity: 0; }
.tv-mail.is-b .tv-mail__v--a { opacity: 0; }
.tv-mail.is-b .tv-mail__v--b { opacity: 1; }
.tv-mail__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tv-mail__subject { margin: 0; font-family: 'Geist', sans-serif; font-weight: 600; font-size: 16px; line-height: 1.25; color: var(--tv-ink); }
.tv-mail__body { margin: 0; font-size: 14px; line-height: 1.5; color: var(--tv-text); }
.tv-mail .tv-btn--solid { align-self: flex-start; padding: 10px 16px; }

/* V3 : apres le don */
.tv-cf3 { width: 100%; max-width: 380px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.tv-don { max-width: none; display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.tv-don__who { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; font-size: 12px; color: var(--tv-muted); }
.tv-don__who b { font-family: 'Geist', sans-serif; font-weight: 600; font-size: 14px; color: var(--tv-ink); }
.tv-don__amount { font-family: 'Geist', sans-serif; font-weight: 600; font-size: 20px; color: var(--tv-ink); white-space: nowrap; }
.tv-cf3__steps { padding: 4px 6px 0; }

/* V4 : un message par segment */
.tv-cf4 { width: 100%; max-width: 440px; display: flex; flex-direction: column; align-items: center; gap: 44px; }
.tv-seg-top { width: auto; max-width: none; display: flex; align-items: center; gap: 10px; padding: 10px 16px; }
.tv-seg-top__label { font-family: 'Geist', sans-serif; font-weight: 600; font-size: 14px; color: var(--tv-ink); }
.tv-segs { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tv-seg { max-width: none; display: flex; flex-direction: column; gap: 6px; padding: 12px; }
.tv-seg__name { font-size: 12px; line-height: 1.25; color: var(--tv-muted); min-height: 30px; }
.tv-seg__count { font-family: 'Geist', sans-serif; font-weight: 600; font-size: 22px; line-height: 1.1; color: var(--tv-ink); letter-spacing: -0.02em; white-space: nowrap; }
.tv-env { position: relative; display: flex; flex-direction: column; gap: 6px; padding-top: 8px; border-top: 1px solid var(--tv-line); }
.tv-env .tv-ico { width: 26px; height: 26px; }
.tv-env .tv-ico svg { width: 15px; height: 15px; }
.tv-env__subject { font-size: 12px; line-height: 1.3; font-weight: 600; color: var(--tv-ink); min-height: 32px; }

@media (max-width: 767px) {
  .tv-segs { grid-template-columns: minmax(0, 1fr); }
  .tv-seg { flex-direction: row; align-items: center; flex-wrap: wrap; }
  .tv-seg__name { min-height: 0; flex: 1 1 100px; }
  .tv-env { flex: 1 1 100%; flex-direction: row; align-items: center; border-top: 1px solid var(--tv-line); }
  .tv-env__subject { min-height: 0; }
  .tv-cf4 { gap: 16px; }
  .tv-sw__opt { padding: 7px 10px; font-size: 12px; }
}

/* Icones en jaune Phare Enfance avec trait bleu nuit */
.tv-cf4 .tv-ico, .tv-sup .tv-ico, .tv-env .tv-ico { background: #F2C94C; color: #1E2A4A; }

/* ---------- Appels a projets ---------- */

/* V1 : la veille */
.tv-watch { max-width: 420px; padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 12px; }
.tv-watch__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tv-watch__bell { color: var(--tv-ink); display: inline-flex; transform-origin: 50% 10%; }
.tv-watch__bell.is-ring { animation: tv-ring 0.9s ease-in-out; }
@keyframes tv-ring {
  0%, 100% { transform: rotate(0deg); }
  15% { transform: rotate(18deg); }
  35% { transform: rotate(-16deg); }
  55% { transform: rotate(10deg); }
  75% { transform: rotate(-6deg); }
}
.tv-vlist { --rh: 100px; position: relative; height: calc(var(--rh) * 4); }
.tv-vrow {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: calc(var(--rh) - 8px);
  max-width: none;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: none;
  transform: translateY(calc(var(--i, 0) * var(--rh)));
  transition: transform 0.9s var(--tv-ease), opacity 0.5s ease;
}
.tv-vrow[data-row="a"] { opacity: 0; }
.tv-vrow[data-row="a"].is-on { opacity: 1; border-color: var(--tv-accent); }
.tv-vrow__name { font-family: 'Geist', sans-serif; font-weight: 600; font-size: 14px; line-height: 1.25; color: var(--tv-ink); }
.tv-vrow__meta { font-size: 12px; line-height: 1.35; color: var(--tv-muted); }
.tv-vrow__badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }

/* V2 : le premier jet source */
.tv-ap2 { width: 100%; max-width: 460px; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.tv-editor { max-width: none; min-height: 250px; display: flex; flex-direction: column; gap: 10px; padding: 14px; }
.tv-editor__text { margin: 0; font-size: 14px; line-height: 1.6; color: var(--tv-text); }
.tv-editor__text .tv-num { position: relative; isolation: isolate; font-weight: 700; color: var(--tv-ink); padding: 0 2px; }
.tv-editor__text .tv-num::before { content: ''; position: absolute; inset: 1px 0; z-index: -1; border-radius: 3px; background: #fbeea8; opacity: 0; transition: opacity 0.4s ease; }
.tv-editor__text .tv-num.is-on::before { opacity: 1; }
.tv-editor__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--tv-line); font-size: 12px; color: var(--tv-muted); }
.tv-editor__foot .tv-avatar { width: 32px; height: 32px; font-size: 12px; }
.tv-ap2__src { display: flex; flex-direction: column; gap: 14px; }
.tv-source { max-width: none; display: flex; align-items: center; gap: 8px; padding: 8px 10px; font-size: 12px; line-height: 1.3; color: var(--tv-ink); }
.tv-source .tv-ico { width: 28px; height: 28px; }
.tv-source .tv-ico svg { width: 16px; height: 16px; }

/* V3 : les echeances */
.tv-kanban { --ch: 96px; --kg: 8px; width: 100%; max-width: 400px; }
.tv-kanban__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--kg); margin-bottom: 10px; }
.tv-kanban__cols span { font-family: 'Space Mono', monospace; font-weight: 700; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--tv-muted); }
.tv-kanban__board { position: relative; height: calc(var(--ch) * 2 + var(--kg)); }
.tv-kcard {
  position: absolute;
  top: 0;
  left: 0;
  width: calc((100% - 2 * var(--kg)) / 3);
  height: var(--ch);
  max-width: none;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  transform: translate(calc(var(--col, 0) * (100% + var(--kg))), calc(var(--row, 0) * (var(--ch) + var(--kg))));
  transition: transform 0.9s var(--tv-ease), opacity 0.5s ease;
}
.tv-kcard--ghost { opacity: 0; }
.tv-kcard--ghost.is-on { opacity: 1; }
.tv-kcard__name { font-family: 'Geist', sans-serif; font-weight: 600; font-size: 12px; line-height: 1.25; color: var(--tv-ink); overflow-wrap: anywhere; }
.tv-kcard__due { font-size: 12px; line-height: 1.3; color: var(--tv-muted); }
.tv-kcard__done { position: absolute; left: 8px; bottom: 8px; padding: 5px 8px; }

/* V4 : la base de reference */
.tv-ap4 { width: 100%; max-width: 380px; display: flex; flex-direction: column; align-items: stretch; gap: 18px; }
.tv-ap4__docs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tv-doc { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid var(--tv-line); border-radius: 10px; background: #fff; box-shadow: var(--tv-shadow); font-size: 12px; line-height: 1.25; color: var(--tv-ink); transform: translate(var(--tx, 0), var(--ty, 0)) scale(var(--sc, 1)); transition: transform 0.9s var(--tv-ease), opacity 0.4s ease; }
.tv-doc .tv-ico { width: 28px; height: 28px; }
.tv-doc.is-in { opacity: 0; }
.tv-base { max-width: none; align-self: center; width: min(260px, 100%); display: flex; align-items: center; gap: 10px; padding: 10px 14px; }
.tv-base__label { font-family: 'Geist', sans-serif; font-weight: 600; font-size: 14px; color: var(--tv-ink); }
.tv-base.is-pulse { animation: tv-pulse 0.7s ease; }
@keyframes tv-pulse { 0%, 100% { transform: scale(1); } 45% { transform: scale(1.06); } }
.tv-struct { max-width: none; display: flex; flex-direction: column; gap: 10px; }
.tv-struct__list { display: flex; flex-direction: column; gap: 9px; }
.tv-struct__list .tv-check { justify-content: flex-start; }
.tv-struct__name { flex: 1; font-weight: 600; color: var(--tv-ink); }

@media (max-width: 767px) {
  .tv-ap2 { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .tv-ap2__src { gap: 10px; }
  .tv-editor { min-height: 0; }
  .tv-vlist { --rh: 108px; }
}

/* ---------- Connaissance interne ---------- */

/* V1 : un socle, deux usages */
.tv-ci1 { width: 100%; max-width: 520px; display: flex; flex-direction: column; align-items: stretch; gap: 16px; }
.tv-kb { max-width: none; align-self: center; display: flex; align-items: center; gap: 10px; padding: 10px 14px; }
.tv-kb__label { font-size: 13px; line-height: 1.3; color: var(--tv-text); }
.tv-kb__label b { font-family: 'Geist', sans-serif; font-weight: 600; color: var(--tv-ink); }
.tv-ci1__branches { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.7fr); gap: 20px; align-items: start; }
.tv-branch { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.tv-anchor { display: block; height: 6px; margin-bottom: -4px; }
.tv-branch > .tv-label-dark { text-align: center; }
.tv-branch__chips { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.tv-branch__chips .tv-chip { --tv-accent: var(--tv-orange); }
.tv-ci1__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tv-prof { position: relative; max-width: none; display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; }
.tv-prof__title { font-family: 'Geist', sans-serif; font-weight: 600; font-size: 13px; line-height: 1.25; color: var(--tv-ink); padding-right: 20px; }
.tv-prof__line { font-size: 12px; line-height: 1.35; color: var(--tv-muted); transition: opacity 0.5s ease; }
.tv-prof.is-partial .tv-prof__line[data-l2] { opacity: 0.3; }
.tv-prof.is-partial { background: #faf8f5; }
.tv-lock { position: absolute; top: 9px; right: 10px; width: 16px; height: 16px; color: var(--tv-ink); }
.tv-lock svg { position: absolute; inset: 0; display: block; }
.tv-lock__shut { opacity: 0; transform: scale(0.6); transition: opacity 0.3s ease, transform 0.45s var(--tv-ease); }
.tv-lock__open { transition: opacity 0.2s ease; }
.tv-lock.is-shut .tv-lock__shut { opacity: 1; transform: scale(1); }
.tv-lock.is-shut .tv-lock__open { opacity: 0; }
.tv-prof { display: flex; }
.tv-rights { align-self: center; gap: 7px; }
.tv-rights svg { flex-shrink: 0; }

/* V2 : la reponse sourcee */
.tv-phone { width: min(290px, 100%); padding: 10px; border: 2px solid #cdc7bc; border-radius: 34px; background: #fff; box-shadow: var(--tv-shadow); }
.tv-phone__screen { border-radius: 24px; background: #faf8f5; overflow: hidden; display: flex; flex-direction: column; min-height: 440px; }
.tv-phone__head { display: flex; flex-direction: column; gap: 2px; padding: 16px 16px 12px; background: var(--tv-accent); color: #fff; }
.tv-phone__head b { font-family: 'Geist', sans-serif; font-weight: 600; font-size: 14px; }
.tv-phone__head span { font-size: 12px; opacity: 0.92; }
.tv-phone__body { padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.tv-ci2__answer { display: flex; flex-direction: column; gap: 9px; background: #fff; border: 1px solid var(--tv-line); }
.tv-ci2__answer .tv-check { font-size: 13px; align-items: flex-start; }
.tv-srcpill { margin-left: 22px; display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; background: #fff; border: 1px solid var(--tv-line); font-size: 12px; line-height: 1.3; color: var(--tv-ink); }
.tv-srcpill .tv-ico { width: 26px; height: 26px; }
.tv-srcpill .tv-ico svg { width: 15px; height: 15px; }

/* V3 : l'integration */
.tv-welcome { display: flex; flex-direction: column; gap: 14px; }
.tv-welcome__head { display: flex; align-items: center; gap: 10px; }
.tv-welcome__title { font-size: 16px; }
.tv-welcome__list { display: flex; flex-direction: column; gap: 12px; padding-bottom: 4px; }
.tv-welcome .tv-check { font-size: 14px; }

/* V4 : selon les droits de chacun */
.tv-ci4 { width: 100%; max-width: 460px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
.tv-ci4__col { max-width: none; display: flex; flex-direction: column; gap: 10px; padding: 12px; }
.tv-ci4__who { display: flex; align-items: center; gap: 8px; font-family: 'Geist', sans-serif; font-size: 13px; color: var(--tv-ink); }
.tv-ci4__who .tv-avatar { width: 36px; height: 36px; font-size: 12px; }
.tv-ci4 .tv-bubble { font-size: 13px; }
.tv-ci4__a { display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid var(--tv-line); }
.tv-lockico { display: inline-flex; width: 28px; height: 28px; border-radius: 8px; align-items: center; justify-content: center; background: var(--tv-warn-bg); color: var(--tv-warn-ink); }
.tv-ci4__big { font-family: 'Geist', sans-serif; font-size: 16px; }
.tv-ci4__src { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 8px; background: var(--tv-neutral-bg); font-size: 12px; color: var(--tv-text); width: fit-content; }
.tv-ci4__src .tv-ico { width: 18px; height: 18px; background: none; }
.tv-ci4__src .tv-ico svg { width: 14px; height: 14px; }

@media (max-width: 767px) {
  .tv-ci1__branches { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 8px; }
  .tv-branch__chips { flex-direction: row; flex-wrap: wrap; }
  .tv-ci1__grid { grid-template-columns: minmax(0, 1fr); }
  .tv-ci4 { grid-template-columns: minmax(0, 1fr); }
  .tv-phone__screen { min-height: 440px; }
}

/* ---------- Conformite AI Act ---------- */
.tv-badge--bad { background: #f8dcd9; color: #8a2a22; }

/* V1 : le tri des usages */
.tv-ai1 { width: 100%; max-width: 520px; display: flex; flex-direction: column; gap: 12px; }
.tv-ai1__head { display: inline-flex; align-items: center; gap: 8px; font-family: 'Geist', sans-serif; font-weight: 600; font-size: 14px; line-height: 1.3; color: #fff; }
.tv-ai1__head i { flex-shrink: 0; width: 16px; height: 16px; border-radius: 50%; background: #C08A2E; }
.tv-pile { position: relative; width: calc((100% - 20px) / 3); height: 58px; margin: 0 auto; }
.tv-tool {
  position: absolute;
  inset: 0 0 auto 0;
  height: 50px;
  display: flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid var(--tv-line);
  background: #fff;
  box-shadow: var(--tv-shadow);
  z-index: calc(10 - var(--k, 0));
  transform: translate(var(--tx, 0), var(--ty, calc(var(--k, 0) * 2px)));
  transition: transform 0.9s var(--tv-ease), background-color 0.4s ease, border-color 0.4s ease;
}
.tv-tool span { font-size: 12px; line-height: 1.25; font-weight: 600; color: var(--tv-ink); }
.tv-tool.is-auto { background: #e4f1e7; border-color: #8fcf9d; }
.tv-tool.is-warn { background: #fbeadb; border-color: #f0b27f; }
.tv-tool.is-bad { background: #f9e1df; border-color: #e7a09b; }
.tv-aicols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tv-aicol { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.tv-aicol__head { display: inline-flex; align-items: center; gap: 7px; font-family: 'Geist', sans-serif; font-weight: 600; font-size: 13px; color: #fff; }
.tv-aicol__head i { width: 12px; height: 12px; border-radius: 50%; }
.tv-aicol__slots { display: flex; flex-direction: column; gap: 8px; }
.tv-slotbox { display: block; height: 50px; border-radius: 10px; border: 1.5px dashed rgba(255, 255, 255, 0.35); }

/* V2 : la charte */
.tv-docpage { position: relative; width: min(300px, 100%); min-height: 400px; padding: 22px; display: flex; flex-direction: column; gap: 14px; background: #fff; border: 1px solid var(--tv-line); border-radius: 6px; box-shadow: var(--tv-shadow); }
.tv-docpage__title { font-family: 'Geist', sans-serif; font-weight: 600; font-size: 16px; line-height: 1.25; color: var(--tv-ink); padding-bottom: 10px; border-bottom: 1px solid var(--tv-line); }
.tv-docpage__skel { display: flex; flex-direction: column; gap: 6px; }
.tv-docpage__skel i { display: block; height: 6px; border-radius: 3px; background: #e9e5de; }
.tv-docpage__skel i:last-child { width: 58%; }
.tv-docpage__art { margin: 0; font-size: 14px; line-height: 1.5; color: var(--tv-ink); }
.tv-hl { position: relative; isolation: isolate; display: block; padding: 2px 4px; }
.tv-hl::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: 3px; background: #fbeea8; transform-origin: left center; transform: scaleX(0); transition: transform 0.9s ease; }
.tv-hl.is-on::before { transform: scaleX(1); }
.tv-docpage__foot { margin-top: auto; padding-top: 12px; }
.tv-sign { display: flex; align-items: center; gap: 8px; padding-top: 8px; border-top: 1px solid var(--tv-ink); font-size: 12px; line-height: 1.3; color: var(--tv-text); max-width: 62%; }
.tv-sign .tv-avatar { width: 32px; height: 32px; font-size: 12px; }
.tv-stamp { position: absolute; right: 12px; bottom: 48px; width: 134px; height: 134px; border-radius: 50%; border: 3px double #C08A2E; display: grid; place-items: center; padding: 10px; text-align: center; color: #9a6c1c; background: rgba(255, 255, 255, 0.6); opacity: 0; transform: scale(1.2) rotate(-8deg); transition: opacity 0.35s ease, transform 0.5s var(--tv-ease); }
.tv-stamp span { font-family: 'Instrument Sans', sans-serif; font-weight: 700; font-size: 12px; line-height: 1.25; }
.tv-stamp.is-on { opacity: 1; transform: scale(1) rotate(-8deg); }

/* V3 : la preuve */
.tv-regs { display: flex; flex-direction: column; gap: 12px; padding-bottom: 6px; }
.tv-reg { display: flex; align-items: center; gap: 14px; padding-top: 10px; border-top: 1px solid var(--tv-line); }
.tv-reg:first-child { border-top: 0; padding-top: 0; }
.tv-reg__main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tv-reg__name { font-family: 'Geist', sans-serif; font-weight: 600; font-size: 14px; color: var(--tv-ink); }
.tv-reg__mod { font-size: 12px; color: var(--tv-muted); }
.tv-reg .tv-ring { width: 50px; height: 50px; }

/* V4 : l'audit des usages */
.tv-audit { display: flex; flex-direction: column; gap: 14px; }
.tv-audit__qs { display: flex; flex-direction: column; gap: 10px; }
.tv-q3 { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tv-q3__label { font-size: 13px; line-height: 1.3; color: var(--tv-ink); min-width: 0; }
.tv-yn { position: relative; isolation: isolate; flex-shrink: 0; display: grid; grid-template-columns: 1fr 1fr; padding: 2px; border-radius: 999px; border: 1px solid var(--tv-line); background: #f6f3ef; }
.tv-yn__opt { position: relative; z-index: 1; min-width: 46px; padding: 5px 10px; text-align: center; font-size: 12px; line-height: 1.2; color: var(--tv-ink); font-weight: 600; }
.tv-yn__thumb { position: absolute; z-index: 0; top: 2px; bottom: 2px; left: 2px; width: calc(50% - 2px); border-radius: 999px; background: #f3e6c9; border: 1px solid var(--tv-accent); opacity: 0; transform: translateX(calc(var(--s, 0) * 100%)); transition: opacity 0.3s ease, transform 0.4s var(--tv-ease); }
.tv-q3.is-on .tv-yn__thumb { opacity: 1; }
.tv-gauge { display: flex; flex-direction: column; gap: 6px; padding-top: 4px; }
.tv-gauge__track { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); height: 12px; border-radius: 999px; }
.tv-gauge__track i { display: block; }
.tv-gauge__track .g1 { background: #cfe3d2; border-radius: 999px 0 0 999px; }
.tv-gauge__track .g2 { background: #f7dfb9; }
.tv-gauge__track .g3 { background: #f1c5c0; border-radius: 0 999px 999px 0; }
.tv-gauge__cursor { position: absolute; left: 0; top: -4px; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 3px solid var(--tv-ink); box-shadow: var(--tv-shadow); transform: translateX(var(--x, 0px)); transition: transform 1s var(--tv-ease); }
.tv-gauge__labels { display: grid; grid-template-columns: repeat(3, 1fr); font-size: 12px; color: var(--tv-muted); text-align: center; }
.tv-audit .tv-badge { align-self: flex-start; }

@media (max-width: 767px) {
  .tv-ai1__head { font-size: 13px; }
  .tv-pile { width: 100%; }
  .tv-aicols { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .tv-aicol { flex-direction: column; }
  .tv-docpage { min-height: 380px; }
}
/*@@SCENES-CSS-END@@*/

/* ---------- Responsive ---------- */
@media (max-width: 767px) {
  .tv-v4 { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .tv-picks { gap: 14px; }
  .tv-panel { min-height: 0; padding: 24px 16px; }
  .tv-card--float,
  .tv-badge.tv-card--float {
    position: static;
    width: 100%;
    max-width: 360px;
    transform: translateY(14px);
  }
  .tv-badge.tv-card--float { width: auto; }
  .tv-card--float.is-on { transform: translateY(0); }
  .tv-card { padding: 16px; }
  .tv-board { padding: 16px 16px 6px; }
}
@media (max-width: 380px) {
  .tv-stack { height: 206px; }
  .tv-mission__title { font-size: 18px; }
}
