/* Esprit Dog — interface de discussion */

:root {
  --bg: #faf5ec;
  --bg-2: #f3ecdf;
  --surface: #fffdf8;
  --surface-2: #f6efe3;
  --ink: #2a2420;
  --ink-2: #554a42;
  --muted: #8a7d72;
  --line: #e7ddce;
  --line-2: #d9ccb9;
  --accent: #e2702f;
  --accent-ink: #ffffff;
  --accent-soft: #fbe4d3;
  --green: #2f6b57;
  --green-soft: #dcebe3;
  --danger: #c43d3d;
  --danger-soft: #fbe2e0;
  --user-bg: #2f6b57;
  --user-ink: #f6fbf8;
  --shadow-sm: 0 1px 2px rgb(60 40 20 / .06), 0 1px 1px rgb(60 40 20 / .04);
  --shadow: 0 10px 30px -12px rgb(80 50 20 / .18), 0 2px 6px rgb(80 50 20 / .06);
  --shadow-lg: 0 24px 60px -20px rgb(80 50 20 / .30);
  --radius: 18px;
  --radius-sm: 12px;
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Fraunces", ui-serif, Georgia, serif;
  --ease: cubic-bezier(.22, .9, .32, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #171310; --bg-2: #1e1915; --surface: #221c18; --surface-2: #2a231e;
    --ink: #f4ede4; --ink-2: #d6cabd; --muted: #a39586; --line: #352c25; --line-2: #463a31;
    --accent: #f2884a; --accent-ink: #1d130c; --accent-soft: #3e2618;
    --green: #6dbb9b; --green-soft: #1f3129; --danger: #f07a72; --danger-soft: #3b1d1b;
    --user-bg: #2c5747; --user-ink: #f1faf6;
    --shadow-sm: 0 1px 2px rgb(0 0 0 / .3);
    --shadow: 0 10px 30px -12px rgb(0 0 0 / .6), 0 2px 6px rgb(0 0 0 / .3);
    --shadow-lg: 0 24px 60px -20px rgb(0 0 0 / .7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #171310; --bg-2: #1e1915; --surface: #221c18; --surface-2: #2a231e;
  --ink: #f4ede4; --ink-2: #d6cabd; --muted: #a39586; --line: #352c25; --line-2: #463a31;
  --accent: #f2884a; --accent-ink: #1d130c; --accent-soft: #3e2618;
  --green: #6dbb9b; --green-soft: #1f3129; --danger: #f07a72; --danger-soft: #3b1d1b;
  --user-bg: #2c5747; --user-ink: #f1faf6;
  --shadow-sm: 0 1px 2px rgb(0 0 0 / .3);
  --shadow: 0 10px 30px -12px rgb(0 0 0 / .6), 0 2px 6px rgb(0 0 0 / .3);
  --shadow-lg: 0 24px 60px -20px rgb(0 0 0 / .7);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
button, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
svg { display: block; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 2px; border-radius: 10px; }

/* ---------- Mise en page ---------- */
.app {
  height: 100dvh;
  display: grid;
  grid-template-columns: minmax(300px, 360px) 1fr;
}

/* ---------- Scène ---------- */
.stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 28px 28px 24px;
  background:
    radial-gradient(120% 60% at 50% 30%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 70%),
    var(--bg-2);
  border-right: 1px solid var(--line);
  overflow: hidden;
}
.brand { align-self: stretch; display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center;
  background: var(--accent); box-shadow: var(--shadow-sm);
}
.brand-mark svg { width: 20px; height: 20px; fill: var(--accent-ink); }
.brand-name { font: 600 19px/1 var(--font-display); letter-spacing: -.01em; }
.brand-tag {
  margin-left: auto; font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--line-2); padding: 3px 8px; border-radius: 99px;
}

.character {
  --size: min(250px, 26vh);
  position: relative;
  width: var(--size); height: var(--size);
  margin-top: auto;
}
.halo {
  position: absolute; inset: -14px; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--accent), #f2b33d, var(--green), var(--accent));
  opacity: 0; filter: blur(14px);
  transition: opacity .5s var(--ease);
}
.portrait {
  position: absolute; inset: 0; border-radius: 50%;
  background: var(--surface);
  box-shadow: var(--shadow-lg), 0 0 0 6px var(--surface);
  animation: breathe 5s ease-in-out infinite;
}
.photo { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }

.thought {
  position: absolute; right: -6px; top: 4%;
  display: flex; gap: 4px; padding: 9px 12px;
  background: var(--surface); border-radius: 18px 18px 18px 6px;
  box-shadow: var(--shadow);
  opacity: 0; transform: translateY(6px) scale(.8); transform-origin: bottom left;
  transition: opacity .3s var(--ease), transform .4s var(--spring);
}
.thought span, .typing span {
  width: 7px; height: 7px; border-radius: 50%; background: var(--muted);
  animation: dot 1.2s ease-in-out infinite;
}
.thought span:nth-child(2), .typing span:nth-child(2) { animation-delay: .15s; }
.thought span:nth-child(3), .typing span:nth-child(3) { animation-delay: .3s; }

.character[data-state="thinking"] .thought { opacity: 1; transform: none; }
.character[data-state="thinking"] .halo,
.character[data-state="speaking"] .halo { opacity: .35; animation: spin 6s linear infinite; }
.character[data-state="thinking"] .portrait { animation: bob 1.6s ease-in-out infinite; }
.character[data-state="speaking"] .portrait { animation: talk .9s ease-in-out infinite; }

.identity { display: flex; flex-direction: column; align-items: center; text-align: center; }
.name {
  margin: 0; font: 600 30px/1.1 var(--font-display); letter-spacing: -.02em;
  display: inline-flex; align-items: center; gap: 10px;
}
.ia-badge {
  font: 700 10.5px/1 var(--font); letter-spacing: .06em;
  color: var(--green); background: var(--green-soft);
  padding: 4px 6px; border-radius: 6px; vertical-align: middle;
}
.mood {
  margin: 10px 0 0; display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; color: var(--ink-2);
  background: var(--surface); border: 1px solid var(--line);
  padding: 6px 12px 6px 10px; border-radius: 99px; box-shadow: var(--shadow-sm);
}
.mood-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.character[data-state="thinking"] ~ .identity .mood-dot { background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); animation: pulse 1.2s ease-in-out infinite; }
#moodText { display: inline-block; transition: opacity .25s, transform .25s var(--ease); }
#moodText.fade { opacity: 0; transform: translateY(4px); }

.stage-actions { display: flex; gap: 8px; margin-top: 4px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-2);
  background: var(--surface); border-radius: 12px; padding: 9px 14px; font-size: 14px; font-weight: 600;
  box-shadow: var(--shadow-sm); transition: background .2s, transform .15s, border-color .2s;
}
.btn:hover { background: var(--surface-2); border-color: var(--muted); }
.btn:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-icon { padding: 9px; }
.i-moon { display: none; }
:root[data-theme="dark"] .i-sun { display: none; }
:root[data-theme="dark"] .i-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .i-sun { display: none; }
  :root:not([data-theme="light"]) .i-moon { display: block; }
}

.disclaimer { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--muted); text-align: center; text-wrap: pretty; }
.stage-disclaimer { margin-top: auto; max-width: 290px; }
.stage-disclaimer strong { color: var(--ink-2); font-weight: 600; }

/* ---------- Discussion ---------- */
.chat { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.scroller {
  flex: 1; overflow-y: auto; overscroll-behavior: contain;
  padding: 48px 24px 24px;
}
.welcome, .messages { max-width: 760px; margin: 0 auto; }

.welcome { padding: 6vh 0 24px; animation: rise .6s var(--ease) both; }
.welcome[hidden] { display: none; }
.eyebrow {
  margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent);
}
.welcome h2 {
  margin: 0; font: 600 clamp(32px, 4.6vw, 48px)/1.08 var(--font-display); letter-spacing: -.025em; text-wrap: balance;
}
.lede { margin: 16px 0 32px; max-width: 560px; font-size: 17px; color: var(--ink-2); text-wrap: pretty; }
.suggestions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.suggestion {
  display: flex; align-items: flex-start; gap: 12px; text-align: left;
  padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 500; line-height: 1.45; color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s, border-color .2s;
  animation: rise .5s var(--ease) both;
}
.suggestion:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--line-2); }
.suggestion .emoji {
  flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: var(--surface-2); font-size: 18px;
}

.messages { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 26px; }
.msg { display: flex; gap: 14px; animation: rise .4s var(--ease) both; }
.msg.user { justify-content: flex-end; }
.msg.user .bubble {
  max-width: min(78%, 560px); padding: 12px 17px; border-radius: 20px 20px 6px 20px;
  background: var(--user-bg); color: var(--user-ink); white-space: pre-wrap; overflow-wrap: anywhere;
  box-shadow: var(--shadow-sm);
}
.msg.bot .mini {
  flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--surface);
  box-shadow: 0 0 0 2px var(--surface), var(--shadow-sm);
  transition: opacity .3s;
}
.msg.bot .body { flex: 1; min-width: 0; overflow-wrap: anywhere; padding-top: 2px; }
.meta { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; font-size: 13.5px; }
.who { font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }

.typing { display: none; gap: 5px; padding: 10px 0 4px; }
.msg.bot.waiting .typing { display: flex; }

/* Markdown */
.md { color: var(--ink); overflow-wrap: anywhere; display: flow-root; } /* contient les illustrations flottantes */
.md > :first-child { margin-top: 0; }
.md > :last-child { margin-bottom: 0; }
.md p { margin: 0 0 .85em; }
.md ul, .md ol { margin: 0 0 .9em; padding-left: 1.3em; }
.md li { margin: .25em 0; }
.md li::marker { color: var(--accent); }
.md strong { font-weight: 700; }
.md a { color: var(--green); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 2px; }
.md h1, .md h2, .md h3, .md h4 { font: 600 1.1em/1.3 var(--font-display); margin: 1em 0 .4em; }
.md blockquote { margin: 0 0 .9em; padding: 2px 0 2px 14px; border-left: 3px solid var(--accent); color: var(--ink-2); font-style: italic; }
.md code { font-size: .9em; background: var(--surface-2); padding: 1px 5px; border-radius: 5px; }
.md hr { border: 0; border-top: 1px solid var(--line); margin: 1.2em 0; }
.msg.bot.streaming .md > :last-child::after {
  content: ""; display: inline-block; width: 8px; height: 1em; margin-left: 3px; vertical-align: -2px;
  background: var(--accent); border-radius: 2px; animation: blink 1s steps(2) infinite;
}

/* Sources */
.sources:empty { display: none; }
.sources { margin-top: 16px; }
.sources-label {
  margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted);
}
.sources-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.source {
  display: flex; gap: 11px; align-items: center; padding: 8px; padding-right: 12px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  color: inherit; text-decoration: none; box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s, border-color .2s;
  animation: rise .4s var(--ease) both;
}
.source:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--line-2); }
.thumb {
  position: relative; flex: none; width: 84px; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden;
  background: var(--surface-2);
}
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb .play {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: linear-gradient(to top, rgb(0 0 0 / .35), transparent 60%);
}
.thumb .play svg { width: 22px; height: 22px; fill: #fff; filter: drop-shadow(0 1px 2px rgb(0 0 0 / .5)); }
.thumb .time {
  position: absolute; right: 4px; bottom: 4px; font-size: 10.5px; font-weight: 700; color: #fff;
  background: rgb(0 0 0 / .72); padding: 1px 5px; border-radius: 4px; font-variant-numeric: tabular-nums;
}
.source-text { flex: 1; min-width: 0; }
.source-title {
  font-size: 13.5px; font-weight: 600; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.source-sub { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Passages vidéo intégrés à la réponse */
/* Illustrations de Tony glissées dans la réponse (dessins détourés, sans cadre) */
.md .illu { float: left; clear: left; margin: 2px 18px 8px 0; animation: illu-in .55s var(--spring) both; }
.md .illu img { display: block; height: 220px; width: auto; max-width: 160px; object-fit: contain; filter: drop-shadow(0 8px 14px rgb(80 50 20 / .16)); }
.md .clip { clear: both; } /* un lecteur vidéo passe sous l'illustration plutôt que d'être écrasé à côté */
@keyframes illu-in { from { opacity: 0; transform: translateY(10px) scale(.92); } }
.md .clip { margin: 4px 0 16px; max-width: 520px; animation: rise .45s var(--ease) both; }
.clip-play {
  width: 100%; display: flex; gap: 14px; align-items: center; text-align: left; padding: 8px; padding-right: 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s, border-color .2s;
}
.clip-play:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--line-2); }
.clip-thumb { position: relative; flex: none; width: 168px; aspect-ratio: 16 / 9; border-radius: 11px; overflow: hidden; background: var(--surface-2); }
.clip-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s var(--ease); }
.clip-play:hover .clip-thumb img { transform: scale(1.05); }
.clip-thumb .play {
  position: absolute; inset: 0; margin: auto; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: rgb(255 255 255 / .92); box-shadow: 0 4px 14px rgb(0 0 0 / .3); transition: transform .2s var(--spring);
}
.clip-play:hover .play { transform: scale(1.1); }
.clip-thumb .play svg { width: 18px; height: 18px; fill: #e2702f; margin-left: 2px; }
.clip-time {
  position: absolute; right: 6px; bottom: 6px; padding: 2px 6px; border-radius: 6px; font-size: 11px; font-weight: 700;
  background: rgb(20 14 10 / .8); color: #fff; font-variant-numeric: tabular-nums;
}
.clip-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.clip-kind { font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--accent); }
.clip-title { font-size: 14.5px; font-weight: 700; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.clip-sub { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.clip-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; box-shadow: var(--shadow); }
.clip-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.clip figcaption { margin-top: 7px; font-size: 12.5px; color: var(--muted); }
.clip figcaption a { color: var(--green); font-weight: 600; }
@media (max-width: 520px) {
  .clip-play { flex-direction: column; align-items: stretch; padding: 8px; }
  .clip-thumb { width: 100%; }
  .clip-text { padding: 2px 4px 4px; }
}

/* Erreur */
.error-card {
  display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; margin-top: 4px;
  background: var(--danger-soft); color: var(--ink); border: 1px solid color-mix(in srgb, var(--danger) 35%, transparent);
  border-radius: var(--radius-sm); font-size: 14.5px;
}
.error-card svg { flex: none; width: 20px; height: 20px; margin-top: 1px; fill: none; stroke: var(--danger); stroke-width: 2; stroke-linecap: round; }
.error-card .retry {
  margin-left: auto; flex: none; border: 0; background: var(--danger); color: #fff; font-size: 13px; font-weight: 700;
  padding: 6px 12px; border-radius: 9px;
}
.stopped-note { margin-top: 8px; font-size: 12.5px; color: var(--muted); font-style: italic; }

/* ---------- Saisie ---------- */
.composer {
  padding: 8px 24px calc(14px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, var(--bg) 70%, transparent);
}
.composer-box {
  max-width: 760px; margin: 0 auto; display: flex; align-items: flex-end; gap: 8px;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 22px;
  padding: 8px 8px 8px 18px; box-shadow: var(--shadow);
  transition: border-color .2s, box-shadow .2s;
}
.composer-box:focus-within { border-color: var(--accent); box-shadow: var(--shadow), 0 0 0 4px var(--accent-soft); }
#input {
  flex: 1; resize: none; border: 0; outline: 0; background: transparent;
  padding: 9px 0; max-height: 200px; line-height: 1.5; font-size: 16px;
}
#input::placeholder { color: var(--muted); }
.send {
  flex: none; width: 42px; height: 42px; border-radius: 14px; border: 0; display: grid; place-items: center;
  background: var(--accent); color: var(--accent-ink);
  transition: transform .15s, opacity .2s, background .2s;
}
.send:hover { transform: scale(1.05); }
.send:active { transform: scale(.95); }
.send:disabled { opacity: .4; cursor: not-allowed; transform: none; }
.send svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.send .i-stop { display: none; fill: currentColor; stroke: none; }
.composer.busy .send { background: var(--ink); color: var(--bg); }
.composer.busy .send .i-send { display: none; }
.composer.busy .send .i-stop { display: block; }
.composer-disclaimer { max-width: 760px; margin: 9px auto 0; font-size: 11.5px; display: none; }

/* ---------- Mobile ---------- */
@media (max-width: 880px) {
  .app { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .stage {
    flex-direction: row; gap: 12px; padding: 10px 16px; padding-top: calc(10px + env(safe-area-inset-top));
    border-right: 0; border-bottom: 1px solid var(--line);
    background: color-mix(in srgb, var(--bg-2) 88%, transparent);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    z-index: 2;
  }
  .brand, .stage-disclaimer { display: none; }
  .character { --size: 52px; margin: 0; order: 0; }
  .halo { inset: -5px; filter: blur(6px); }
  .portrait { box-shadow: var(--shadow-sm), 0 0 0 3px var(--surface); }
  .thought { right: -14px; top: -6px; padding: 5px 7px; gap: 3px; border-radius: 10px 10px 10px 3px; }
  .thought span { width: 4px; height: 4px; }
  .identity { text-align: left; min-width: 0; }
  .name { font-size: 20px; gap: 7px; }
  .mood { margin: 2px 0 0; padding: 0; border: 0; background: none; box-shadow: none; font-size: 13px; }
  .mood-dot { width: 7px; height: 7px; }
  .stage-actions { margin: 0 0 0 auto; }
  .btn span { display: none; }
  .btn { padding: 9px; }
  .scroller { padding: 24px 16px 16px; }
  .welcome { padding-top: 2vh; }
  .lede { font-size: 16px; margin-bottom: 24px; }
  .suggestions { grid-template-columns: 1fr; gap: 10px; }
  .suggestion { padding: 13px 14px; font-size: 14.5px; }
  .messages { gap: 22px; }
  .msg { gap: 10px; }
  .msg.bot .mini { width: 34px; height: 34px; }
  .md .illu { margin-right: 12px; }
  .md .illu img { height: 150px; max-width: 105px; }
  .msg.user .bubble { max-width: 86%; }
  .sources-list { grid-template-columns: minmax(0, 1fr); }
  .composer { padding: 6px 12px calc(10px + env(safe-area-inset-bottom)); }
  .composer-disclaimer { display: block; }
}

/* ---------- Animations ---------- */
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.015); } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-5px) rotate(-1.5deg); } }
@keyframes talk { 0%, 100% { transform: scale(1) rotate(0); } 30% { transform: scale(1.012) rotate(.8deg); } 65% { transform: scale(.995) rotate(-.6deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes dot { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-5px); opacity: 1; } }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px transparent; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

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