/*
  (Repris tel quel de l'ancien site, validé le 2026-11-20 ; couleurs et polices viennent de css/projet.css.)
  Meishinji : partie « Real-Time Version (Unreal Engine 5) » (#temps-reel), version 2.
  S'appuie sur environnement.css (couleurs, typo, .sec-head, .compare).
  Principes : presque pas de traits dorés, pas de sous-titres, des icônes plutôt que du texte,
  et tout ce qui bouge s'arrête avec prefers-reduced-motion.
*/
body { overflow-x: clip; }
#temps-reel {
  scroll-margin-top: 1.5rem;
  --tr-doux: cubic-bezier(.22, .61, .36, 1);
  --tr-net: cubic-bezier(.65, 0, .25, 1);
  --tr-ecart: clamp(56px, 8vw, 112px);
  --tr-or: rgba(209, 170, 94, .55);
}
@media (prefers-reduced-motion: no-preference) { html:focus-within { scroll-behavior: smooth; } }

/* lien en haut de la page : un simple lien, sans boîte */
.vers-tr {
  justify-self: start; display: inline-flex; align-items: center; gap: 10px; margin-top: 4px; padding: 10px 0;
  color: var(--lantern); text-decoration: none; font-family: var(--f-body); font-weight: 600; font-size: 1rem; letter-spacing: .08em;
}
.vers-tr .fl { display: inline-block; transition: transform .45s var(--tr-doux, ease); }
.vers-tr:hover .fl { transform: translateY(4px); }

/* titre + logo Unreal */
.tr-titre { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.tr-ue { display: inline-grid; place-items: center; width: clamp(34px, 4.2vw, 46px); aspect-ratio: 1; color: var(--lantern); flex: none; }
.tr-ue svg { width: 100%; height: 100%; fill: currentColor; }
#temps-reel .sec-head { margin-bottom: clamp(20px, 3vw, 36px); }
#temps-reel .sec-head p { font-size: 1.2rem; color: var(--mist); opacity: .82; }

.tr-bloc { margin-top: var(--tr-ecart); }
.sec-head + .tr-bloc, .sec-head + .apercu-choix + .tr-bloc { margin-top: 0; }

/* ---------- le cadre des vidéos et des images : trois façons, choisies par data-cadre sur la section ---------- */
.tr-cadre { position: relative; }
#temps-reel[data-cadre="fin"] .tr-cadre { padding: clamp(6px, .9vw, 11px); border: 1px solid var(--tr-or); }
#temps-reel[data-cadre="bord"] .tr-cadre { width: 100vw; margin-left: calc(50% - 50vw); }

/* ---------- lecteurs ---------- */
.tr-lecteur { position: relative; aspect-ratio: 16 / 9; overflow: hidden; isolation: isolate; background: #000 center / cover no-repeat; }
.tr-lecteur :is(video, img) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: transparent; }
.tr-lecteur video.cache { visibility: hidden; }
.tr-lecteur video.dessus { z-index: 1; }
.tr-lecteur:fullscreen { aspect-ratio: auto; width: 100vw; height: 100vh; background: #000 none !important; }
.tr-lecteur:-webkit-full-screen { width: 100vw; height: 100vh; background: #000 none !important; }
/* plein écran : le film garde ses proportions, donc des bandes noires ; l'affiche posée en fond (style en ligne)
   ne doit pas s'y voir, sinon on aperçoit une autre image au-dessus et en dessous du film (bug vu le 2026-12-05) */
.tr-lecteur:fullscreen :is(video, img) { object-fit: contain; }

/* voile en bas, pour que les icônes restent lisibles sur une image claire */
.tr-lecteur::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 34%; z-index: 2; pointer-events: none;
  background: linear-gradient(to top, rgba(8, 14, 10, .62), transparent); opacity: 0; transition: opacity .45s ease;
}
.tr-hud { position: absolute; right: 6px; bottom: 12px; z-index: 3; display: flex; gap: 0; opacity: 0; transition: opacity .45s ease; }
.tr-lecteur:hover::after, .tr-lecteur:focus-within::after, .tr-lecteur.pause::after,
.tr-lecteur:hover .tr-hud, .tr-lecteur:focus-within .tr-hud, .tr-lecteur.pause .tr-hud { opacity: 1; }
@media (hover: none) { .tr-lecteur::after, .tr-hud { opacity: 1; } }

/* boutons : une icône, rien d'autre */
.tr-ico {
  width: 44px; height: 44px; padding: 0; display: grid; place-items: center; border: 0; border-radius: 50%; background: none;
  color: var(--mist); cursor: pointer; filter: drop-shadow(0 1px 5px rgba(0, 0, 0, .7));
  transition: color .25s ease, transform .35s var(--tr-doux);
}
.tr-ico:hover { color: var(--lantern); transform: scale(1.12); }
.tr-ico:active { transform: scale(.94); }
.tr-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.tr-ico svg .plein { fill: currentColor; stroke: none; }

/* fil de progression : on peut cliquer dessus pour se déplacer dans le film */
.tr-fil { position: absolute; inset: auto 0 0 0; height: 14px; z-index: 4; cursor: pointer; touch-action: none; }
.tr-fil::before, .tr-fil i { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; transition: height .25s ease; }
.tr-fil::before { background: rgba(240, 233, 220, .16); }
.tr-fil i { background: var(--lantern); transform-origin: left center; transform: scaleX(var(--p, 0)); }
.tr-fil:hover::before, .tr-fil:hover i { height: 4px; }

/* ---------- aube / nuit : deux astres, pas de texte ---------- */
.tr-astre {
  position: absolute; left: 12px; bottom: 16px; z-index: 3; display: flex; padding: 3px; border-radius: 999px;
  background: rgba(14, 24, 18, .5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.tr-astre::before {
  content: ""; position: absolute; top: 3px; left: 3px; width: 42px; height: 42px; border-radius: 50%; background: var(--lantern);
  box-shadow: 0 0 18px rgba(209, 170, 94, .45); transition: transform .6s cubic-bezier(.6, 0, .15, 1.25), background .6s ease, box-shadow .6s ease;
}
.tr-astre[data-mode="nuit"]::before { transform: translateX(42px); background: #cfd6e6; box-shadow: 0 0 18px rgba(170, 190, 235, .5); }
.tr-astre button {
  position: relative; width: 42px; height: 42px; padding: 0; display: grid; place-items: center; border: 0; border-radius: 50%;
  background: none; color: var(--mist); cursor: pointer; transition: color .4s ease;
}
.tr-astre button[aria-pressed="true"] { color: var(--cedar); }
.tr-astre svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .8s var(--tr-doux); }
.tr-astre [data-mode="jour"][aria-pressed="false"] svg { transform: rotate(-90deg) scale(.82); }
.tr-astre [data-mode="nuit"][aria-pressed="false"] svg { transform: rotate(40deg) scale(.82); }

/* aube / nuit, variante « partagé » : les deux films côte à côte, séparés par un trait qu'on déplace */
.tr-split { cursor: ew-resize; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.tr-split .haut { z-index: 1; clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.tr-split img { pointer-events: none; -webkit-user-drag: none; }
.tr-trait { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 1px; z-index: 2; background: var(--mist); pointer-events: none; }
.tr-trait::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 12px; border-radius: 50%; transform: translate(-50%, -50%);
  background: var(--mist); box-shadow: 0 0 0 6px rgba(240, 233, 220, .18);
}
.tr-coin { position: absolute; top: 14px; z-index: 2; width: 22px; height: 22px; color: var(--mist); pointer-events: none; filter: drop-shadow(0 1px 5px rgba(0, 0, 0, .7)); }
.tr-coin svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tr-coin.g { left: 16px; } .tr-coin.d { right: 16px; }
.tr-split input, .tr-compare input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }

/* ---------- images : le bouton qui ouvre la visionneuse ---------- */
.tr-vig { display: block; width: 100%; padding: 0; border: 0; background: var(--cedar-2); cursor: zoom-in; overflow: hidden; }
.tr-vig img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tr-legende { font-family: var(--f-body); font-weight: 600; font-size: .95rem; letter-spacing: .08em; color: var(--ash); }
.tr-legende b { color: var(--lantern); font-weight: 600; margin-right: .9em; font-variant-numeric: tabular-nums lining-nums; }

/* galerie A : la bande qu'on fait glisser, chaque image dérive un peu dans son cadre */
.tr-reel {
  display: flex; gap: clamp(10px, 1.6vw, 22px); margin-right: calc(50% - 50vw); padding-right: max(16px, calc(50vw - 620px));
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; cursor: grab;
}
.tr-reel::-webkit-scrollbar { display: none; }
.tr-reel.glisse { scroll-snap-type: none; cursor: grabbing; }
.tr-reel.glisse .tr-vig { pointer-events: none; }
.tr-reel figure { flex: none; width: min(80vw, 940px); scroll-snap-align: start; }
.tr-reel .tr-vig { aspect-ratio: 16 / 9; cursor: inherit; }
.tr-reel .tr-vig img { width: 116%; max-width: none; margin-left: -8%; transform: translate3d(calc(var(--par, 0) * 1px), 0, 0); will-change: transform; }
.tr-bas { display: flex; align-items: center; gap: 18px; margin-top: 14px; }
.tr-bas .tr-legende { flex: none; min-width: 0; }
.tr-bas .tr-ligne { flex: 1; height: 1px; background: rgba(240, 233, 220, .16); position: relative; }
.tr-bas .tr-ligne i { position: absolute; inset: 0; background: var(--lantern); transform-origin: left center; transform: scaleX(var(--p, 0)); }
.tr-bas .tr-ico { filter: none; margin: -8px -6px; }

/* galerie B : le diaporama, zoom lent et fondu */
.tr-diapo { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--cedar-2); }
.tr-diapo .tr-vig { position: absolute; inset: 0; opacity: 0; transition: opacity 1.3s ease; }
.tr-diapo .tr-vig.actif { opacity: 1; z-index: 1; }
.tr-diapo .tr-vig img { transform: scale(1.09); }
.tr-diapo .tr-vig.actif img { animation: tr-zoom 8s linear forwards; }
.tr-pause .tr-vig.actif img, .tr-pause .tr-crans i, .tr-pause .tr-pas i { animation-play-state: paused; }
@keyframes tr-zoom { from { transform: scale(1.09); } to { transform: scale(1); } }
.tr-crans { display: flex; gap: 6px; flex: 1; }
.tr-crans button { flex: 1; height: 26px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.tr-crans button::before, .tr-crans i { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; }
.tr-crans button::before { background: rgba(240, 233, 220, .16); }
.tr-crans i { background: var(--lantern); transform-origin: left center; transform: scaleX(0); }
.tr-crans .fait i { transform: scaleX(1); }
.tr-crans .actif i { animation: tr-plein var(--duree, 5s) linear forwards; }
@keyframes tr-plein { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* galerie C : la mosaïque, chaque image se dévoile quand elle arrive à l'écran */
.tr-mosaique { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(8px, 1.1vw, 14px); }
.tr-mosaique .tr-vig { position: relative; min-height: 0; aspect-ratio: 16 / 9; background: none; }
.tr-mosaique .tr-vig img { clip-path: inset(0 0 100% 0); transform: scale(1.16); transition: clip-path 1.1s var(--tr-net), transform 1.6s var(--tr-doux); transition-delay: var(--retard, 0s); }
.tr-mosaique .tr-vig.vu img { clip-path: inset(0 0 0 0); transform: scale(1); }
.tr-mosaique .tr-vig.vu:hover img { transform: scale(1.04); transition-delay: 0s; transition-duration: .9s; }
.tr-mosaique .m1 { grid-column: 1 / 9; grid-row: 1 / 3; }
.tr-mosaique .m2 { grid-column: 9 / 13; grid-row: 1; } .tr-mosaique .m3 { grid-column: 9 / 13; grid-row: 2; }
.tr-mosaique .m4 { grid-column: 1 / 5; grid-row: 3; } .tr-mosaique .m5 { grid-column: 5 / 13; grid-row: 3 / 5; }
.tr-mosaique .m6 { grid-column: 1 / 5; grid-row: 4; }
.tr-mosaique .m7 { grid-column: 1 / 7; grid-row: 5; } .tr-mosaique .m8 { grid-column: 7 / 13; grid-row: 5; }
.tr-mosaique .m2, .tr-mosaique .m3, .tr-mosaique .m4, .tr-mosaique .m6 { aspect-ratio: auto; }
/* un plan de plus sous le bloc du haut : une bande sur toute la largeur (Sacred Tree a quatre plans, pas huit) */
.tr-mosaique .bande { grid-column: 1 / -1; grid-row: 3; aspect-ratio: 21 / 9; }

/* ---------- comparaison Blender / Unreal : on reprend .compare, sans son cadre ---------- */
.tr-compare { border: 0; background: var(--cedar-2); }
.tr-compare img { pointer-events: none; -webkit-user-drag: none; }
.tr-compare .handle { width: 1px; }
.tr-compare .handle::after { width: 12px; height: 12px; border: 0; background: var(--mist); box-shadow: 0 0 0 6px rgba(240, 233, 220, .18); }
.tr-compare .tag { border: 0; background: none; bottom: 14px; padding: 0; font-size: .85rem; text-shadow: 0 1px 6px rgba(0, 0, 0, .8); }
.tr-compare .tag.l { left: 16px; } .tr-compare .tag.r { right: 16px; }

/* ---------- étapes A : la séquence, une passe balaie la précédente ---------- */
.tr-seq { position: relative; aspect-ratio: 1920 / 950; overflow: hidden; background: var(--cedar-2); }
.tr-seq img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(0 100% 0 0); }
.tr-seq img.dessous { clip-path: none; z-index: 1; }
.tr-seq img.actif { z-index: 2; clip-path: inset(0 0 0 0); transition: clip-path 1.3s var(--tr-net); }
.tr-seq .tr-lueur { position: absolute; top: 0; bottom: 0; left: 0; width: 2px; z-index: 3; background: var(--lantern); box-shadow: 0 0 22px 3px rgba(209, 170, 94, .55); opacity: 0; pointer-events: none; }
.tr-pas { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(8px, 1.4vw, 18px); margin-top: 6px; }
.tr-pas button { position: relative; padding: 16px 0 6px; border: 0; background: none; text-align: left; cursor: pointer; color: var(--ash); transition: color .4s ease; }
.tr-pas button::before, .tr-pas i { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; }
.tr-pas button::before { background: rgba(240, 233, 220, .16); }
.tr-pas i { background: var(--lantern); transform-origin: left center; transform: scaleX(0); }
.tr-pas .fait i { transform: scaleX(1); }
.tr-pas .actif i { animation: tr-plein var(--duree, 4.5s) linear forwards; }
.tr-pas .actif, .tr-pas button:hover { color: var(--mist); }

/* étapes B : la même image en trois tranches, on survole une tranche pour l'ouvrir */
@property --tr-a { syntax: "<percentage>"; inherits: true; initial-value: 33.3%; }
@property --tr-b { syntax: "<percentage>"; inherits: true; initial-value: 66.6%; }
.tr-tranches { position: relative; aspect-ratio: 1920 / 950; overflow: hidden; background: var(--cedar-2); --tr-a: 0%; --tr-b: 0%; --tr-p: 2.2%; transition: --tr-a 1.1s var(--tr-net), --tr-b 1.1s var(--tr-net); }
.tr-tranches.vu { --tr-a: 33.3%; --tr-b: 66.6%; }
.tr-tranches.vu[data-actif="1"] { --tr-a: 86%; --tr-b: 93%; }
.tr-tranches.vu[data-actif="2"] { --tr-a: 7%; --tr-b: 93%; }
.tr-tranches.vu[data-actif="3"] { --tr-a: 7%; --tr-b: 14%; }
.tr-tranches button { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.tr-agrandir { display: inline-grid; vertical-align: -.28em; margin-left: .7em; color: var(--mist); opacity: .75; transition: opacity .3s ease, transform .45s var(--tr-doux), color .3s ease; }
.tr-agrandir svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.tr-tranches button:is(:hover, :focus-visible) .tr-agrandir { opacity: 1; color: var(--lantern); transform: scale(1.18); }
.tr-tranches img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.tr-tranches .t1 { clip-path: polygon(0 0, calc(var(--tr-a) + var(--tr-p)) 0, calc(var(--tr-a) - var(--tr-p)) 100%, 0 100%); z-index: 3; }
.tr-tranches .t2 { clip-path: polygon(0 0, calc(var(--tr-b) + var(--tr-p)) 0, calc(var(--tr-b) - var(--tr-p)) 100%, 0 100%); z-index: 2; }
.tr-tranches .t3 { z-index: 1; }
.tr-tranches span { position: absolute; bottom: 14px; white-space: nowrap; text-shadow: 0 1px 6px rgba(0, 0, 0, .85); color: var(--mist); transition: opacity .4s ease; }
.tr-tranches .t1 span { left: 16px; }
.tr-tranches .t2 span { left: calc(var(--tr-a) + 16px); }
.tr-tranches .t3 span { left: calc(var(--tr-b) + 16px); }
.tr-tranches[data-actif="1"] :is(.t2, .t3) span, .tr-tranches[data-actif="2"] :is(.t1, .t3) span, .tr-tranches[data-actif="3"] :is(.t1, .t2) span { opacity: 0; }

/* ---------- texte ---------- */
.tr-lire { font-size: 1.28rem; line-height: 1.6; color: var(--mist); max-width: 58ch; }
.tr-lire p + p { margin-top: .9em; }
.tr-lire b { font-weight: 600; color: var(--lantern); }

/* texte A : un bouton qui déplie le texte */
.tr-deplier {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 30px; padding: 6px 0; border: 0; background: none; cursor: pointer;
  color: var(--mist); font-family: var(--f-body); font-weight: 600; font-size: 1.05rem; letter-spacing: .08em;
}
.tr-deplier .plus { position: relative; width: 34px; height: 34px; border-radius: 50%; background: var(--lantern); flex: none; transition: transform .6s var(--tr-doux); }
.tr-deplier .plus::before, .tr-deplier .plus::after { content: ""; position: absolute; top: 50%; left: 50%; width: 13px; height: 1.5px; margin: -.75px 0 0 -6.5px; background: var(--cedar); transition: transform .6s var(--tr-doux); }
.tr-deplier .plus::after { transform: rotate(90deg); }
.tr-deplier[aria-expanded="true"] .plus { transform: rotate(180deg); }
.tr-deplier[aria-expanded="true"] .plus::after { transform: rotate(0deg); }
.tr-deplier:hover { color: var(--lantern); }
.tr-pli { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .8s var(--tr-net); }
.tr-pli > div { overflow: hidden; min-height: 0; }
.tr-pli .tr-lire { padding-top: 22px; opacity: 0; transform: translateY(10px); transition: opacity .6s ease, transform .8s var(--tr-doux); }
.tr-pli.ouvert { grid-template-rows: 1fr; }
.tr-pli.ouvert .tr-lire { opacity: 1; transform: none; transition-delay: .2s; }

/* texte B : des onglets, un sujet à la fois */
.tr-onglets { display: flex; flex-wrap: wrap; gap: 4px clamp(18px, 3.4vw, 40px); margin-top: 30px; }
.tr-onglets button { position: relative; padding: 10px 0; border: 0; background: none; cursor: pointer; color: var(--ash); font-family: var(--f-title); font-size: clamp(1.15rem, 2.2vw, 1.5rem); transition: color .35s ease; }
.tr-onglets button::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1.5px; background: var(--lantern); transform: scaleX(0); transform-origin: left center; transition: transform .5s var(--tr-net); }
.tr-onglets button[aria-selected="true"] { color: var(--mist); }
.tr-onglets button[aria-selected="true"]::after { transform: scaleX(1); }
.tr-onglets button:hover { color: var(--mist); }
.tr-panneaux { margin-top: 18px; min-height: 7.5em; }
.tr-panneaux .tr-lire { animation: tr-monte .6s var(--tr-doux); }
@keyframes tr-monte { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- visionneuse ---------- */
.tr-boite { position: fixed; inset: 0; height: 100vh; height: 100dvh; z-index: 60; display: grid; grid-template-rows: auto 1fr auto; background: rgba(8, 14, 10, .97); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.tr-boite[hidden] { display: none; }
.tr-boite .haut, .tr-boite .bas { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; padding: 8px max(12px, env(safe-area-inset-left, 0px)); }
.tr-boite .tr-ico { filter: none; }
.tr-boite .scene { position: relative; display: grid; place-items: center; min-height: 0; touch-action: pan-y pinch-zoom; }
.tr-boite .scene img { position: absolute; inset: 0 8px; width: calc(100% - 16px); height: 100%; max-width: none; object-fit: contain; }
.tr-boite .prec, .tr-boite .suiv { position: absolute; top: 50%; margin-top: -22px; }
.tr-boite .prec { left: 10px; } .tr-boite .suiv { right: 10px; }
@media (max-width: 640px) { .tr-boite .prec, .tr-boite .suiv { display: none; } }
@media (min-width: 641px) { .tr-boite .scene img { inset: 0 68px; width: calc(100% - 136px); } }
.tr-boite.plein .scene { display: block; place-items: normal; overflow: auto; cursor: grab; touch-action: pan-x pan-y pinch-zoom; overscroll-behavior: contain; }
.tr-boite.plein .scene:active { cursor: grabbing; }
.tr-boite.plein .scene img { position: static; inset: auto; justify-self: start; align-self: start; margin: 0; height: auto; max-width: none; max-height: none; }
.tr-boite.plein .prec, .tr-boite.plein .suiv { display: none; }

@media (max-width: 860px) {
  /* dense : une petite vignette seule sur sa rangée (avant une grande) est rejointe par la suivante, plus de trou */
  .tr-mosaique { grid-template-columns: 1fr 1fr; grid-auto-flow: dense; }
  .tr-mosaique .tr-vig { grid-column: auto; grid-row: auto; aspect-ratio: 16 / 9; }
  .tr-mosaique .m1, .tr-mosaique .m5, .tr-mosaique .bande { grid-column: 1 / -1; }
  .tr-reel figure { width: 86vw; }
}
@media (max-width: 560px) {
  .tr-pas button { font-size: .85rem; }
  .tr-tranches span { font-size: .8rem; bottom: 8px; }
  .tr-tranches:not([data-actif]) :is(.t2, .t3) span { display: none; }
  .tr-astre { left: 8px; bottom: 12px; }
  .tr-hud { right: 2px; bottom: 8px; }
  .tr-compare .tag { font-size: .75rem; bottom: 8px; }
  .tr-lire { font-size: 1.18rem; }
}
@media (prefers-reduced-motion: reduce) {
  .tr-vig img, .tr-seq img.actif, .tr-tranches, .tr-pli, .tr-pli .tr-lire, .tr-astre::before, .tr-astre svg, .vers-tr .fl { transition: none !important; animation: none !important; }
  .tr-mosaique .tr-vig img { clip-path: none; transform: none; } .tr-diapo .tr-vig img { transform: none; }
  .tr-reel .tr-vig img { transform: none; width: 100%; margin-left: 0; }
  .tr-panneaux .tr-lire { animation: none; }
}
.tr-tranches .tr-legende { color: var(--mist); text-shadow: 0 1px 8px rgba(0, 0, 0, .95), 0 0 2px rgba(0, 0, 0, .6); }
.tr-tranches .tr-agrandir { opacity: .95; filter: drop-shadow(0 1px 4px rgba(0, 0, 0, .9)); }
