/* VVhite Tool Kit 2.2.1 — pages Maintenance et Bientôt de retour (blocs).
   Fond, voile, Visuel : assets/login.css (moteur de scène commun). Variables par bloc : --b-*, --h-*, --p-*. */

body.vvt-mt { margin: 0; min-height: 100vh; overflow-x: hidden; color: var(--vlg-text); font-family: var(--vlg-font, system-ui, sans-serif); -webkit-font-smoothing: antialiased; }
body.vvt-mt *, body.vvt-mt *::before, body.vvt-mt *::after { box-sizing: border-box; }
body.vvt-mt a { color: var(--vlg-link); }

.vmt {
  position: relative; z-index: 2; min-height: 100vh; padding: 2rem;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
}
.vmt > .vmt-b { margin-top: var(--b-gap, 0); }
body.vvt-mt.vvt-lg-art-above .vmt { padding-top: 43vh; }
body.vvt-mt.vvt-lg-art-left .vmt { margin-left: 50%; min-height: 100vh; }
body.vvt-mt.vvt-lg-art-right .vmt { margin-right: 50%; }

/* Apparitions (réglage « Apparitions animées ») */
.vvt-mt-appear .vmt-b { opacity: 0; animation: vmtFadeUp calc(.8s / var(--vmt-speed, 1)) calc((.2s + var(--b-i, 0) * .2s) / var(--vmt-speed, 1)) ease forwards; }
.vvt-mt-appear .vmt-logo--behind { animation: none; opacity: 1; }
@keyframes vmtFadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Logo */
.vmt-logo--flow { margin-bottom: 1.2rem; }
.vmt-logo-img { display: block; width: var(--b-w); max-width: none; height: auto; opacity: var(--b-op, 1); filter: brightness(var(--b-br, 1)) var(--b-glow, ); }
.vmt-logo--flow .vmt-logo-img { max-width: 92vw; margin: 0 auto; }
.vmt-logo--behind { position: fixed; inset: 0; z-index: -1; pointer-events: none; user-select: none; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.vmt-logo--behind .vmt-logo-img { animation: vmtLogoIn 1.6s .05s ease both; }
@keyframes vmtLogoIn { from { opacity: 0; } to { opacity: var(--b-op, .4); } }

/* Surtitre, titre, texte */
.vmt-tag { margin: 0 0 .8rem; font-family: var(--b-font); font-size: var(--b-size, 12px); font-weight: var(--b-fw, 600); letter-spacing: var(--b-ls, 5px); text-transform: var(--b-tt, uppercase); color: var(--b-c); }
.vmt-title { margin: 0 0 2rem; font-family: var(--b-font); font-size: var(--b-size); font-weight: 700; line-height: 1; letter-spacing: var(--b-ls); text-transform: var(--b-tt, uppercase); color: var(--b-c, #fff); text-shadow: var(--b-glow, none); }
.vmt-text { margin: 0 0 1.4rem; max-width: min(var(--b-w, 560px), 92vw); font-family: var(--b-font); font-size: var(--b-size, 17px); line-height: 1.55; color: var(--b-c); text-align: var(--b-align, center); }
.vmt-phrases { margin: 0 0 1.4rem; display: flex; justify-content: center; min-height: 28px; }
.vmt-phrases .typewriter-wrap { margin-bottom: 0; display: inline-flex; align-items: center; }
.vmt-phrases .typewriter-cursor { display: inline-block; width: 2px; margin-left: 3px; vertical-align: middle; }

/* Cadre HUD */
.vmt-hud-frame {
  position: relative; width: min(var(--h-w, 460px), 92vw); padding: 1.4rem 2rem; text-align: left;
  border: .5px solid var(--h-frame); border-radius: 4px; background: var(--h-bg);
  font-family: var(--h-font); font-size: var(--h-size, 15px);
}
.vmt-hud-frame::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--h-acc), transparent); }
.vmt-hud-label { position: absolute; top: -9px; left: 16px; padding: 0 6px; font-family: var(--h-font); font-size: 10px; line-height: 18px; letter-spacing: 2px; color: var(--h-acc); background: var(--h-bg-solid); }

.vmt-msg { display: flex; align-items: center; gap: 12px; padding: 7px 0; border-bottom: .5px solid var(--h-line); text-align: left; }
.vvt-mt-appear .vmt-hud .vmt-msg { opacity: 0; transform: translateX(-8px); animation: vmtMsgIn calc(1.2s / var(--vmt-speed, 1)) calc((1s + (var(--l-i, 1) - 1) * var(--h-step, .3s)) / var(--vmt-speed, 1)) ease forwards; }
@keyframes vmtMsgIn { to { opacity: 1; transform: none; } }
.vmt-msg-icon {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  background: var(--h-acc); color: #fff; font-size: 11px; font-weight: 700; font-family: system-ui, sans-serif;
  box-shadow: 0 0 8px color-mix(in srgb, var(--h-acc) 50%, transparent);
}
.vmt-msg-text { color: var(--h-text); letter-spacing: 1.5px; text-transform: uppercase; }
.vmt-msg-text strong { color: var(--h-strong); font-weight: 600; }
.vmt-msg-tag { margin-left: auto; flex-shrink: 0; font-size: .8em; letter-spacing: 1px; color: color-mix(in srgb, var(--h-acc) 85%, transparent); }

.vmt-msg--warn .vmt-msg-icon { background: var(--h-warn-i); box-shadow: 0 0 8px color-mix(in srgb, var(--h-warn-i) 50%, transparent); }
.vmt-msg--warn .vmt-msg-text, .vmt-msg--warn .vmt-msg-text strong { color: var(--h-warn); }
.vmt-msg--warn .vmt-msg-tag { color: color-mix(in srgb, var(--h-warn) 70%, transparent); }
.vmt-msg--warn :is(.vmt-msg-icon, .vmt-msg-text, .vmt-msg-tag) { animation: vmtSoftBlink 1.8s ease-in-out infinite; }

.vmt-msg--danger {
  position: relative; margin-top: 6px; padding: 10px 8px; border-radius: 3px;
  background: color-mix(in srgb, var(--h-danger-i) 15%, transparent); border: .5px solid color-mix(in srgb, var(--h-danger-i) 35%, transparent) !important;
}
.vmt-msg--danger .vmt-msg-icon { background: var(--h-danger-i); box-shadow: 0 0 10px color-mix(in srgb, var(--h-danger-i) 60%, transparent); animation: vmtBlink 1.2s ease-in-out infinite; }
.vmt-msg--danger .vmt-msg-text, .vmt-msg--danger .vmt-msg-text strong { color: var(--h-danger); font-size: .93em; letter-spacing: .8px; white-space: nowrap; }
.vmt-msg--danger .vmt-msg-text { animation: vmtSoftBlink 2.2s ease-in-out infinite; }
.vmt-msg--danger .vmt-msg-tag { color: var(--h-danger); font-size: .87em; letter-spacing: 1.5px; animation: vmtSoftBlink 2.2s ease-in-out infinite; }
.vmt-msg--danger::before {
  content: ''; position: absolute; inset: -1px; pointer-events: none; border-radius: 3px;
  border: 1px solid #ff3d5a; background: rgba(255, 61, 90, .08);
  box-shadow: -3px 0 0 rgba(94, 231, 255, .55), 3px 0 0 rgba(255, 61, 90, .55), inset 0 0 14px rgba(255, 61, 90, .35);
  clip-path: inset(100% 0 0 0); animation: vmtFrameGlitch 4.7s steps(1) infinite 5.5s;
}
.vmt-msg--danger::after {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 120, 140, .9), transparent); box-shadow: 0 0 8px rgba(255, 61, 90, .8);
  animation: vmtScan 4.7s linear infinite 5.5s;
}
.vmt-glitch { position: relative; display: inline-block; }
.vmt-glitch::before, .vmt-glitch::after { content: attr(data-text); position: absolute; inset: 0; pointer-events: none; clip-path: inset(100% 0 0 0); }
.vmt-glitch::before { color: #ff3d5a; text-shadow: -1px 0 #ff3d5a; animation: vmtGlitchA 3.2s steps(1) infinite; }
.vmt-glitch::after { color: #5ee7ff; text-shadow: 1px 0 #5ee7ff; animation: vmtGlitchB 3.2s steps(1) infinite .05s; }

/* Effets du texte (2.2.1) : ceux du texte déroulant de l'accueil (thème), transposés aux blocs.
   <span.vmt-tx.vmt-tx--{effet}> (plaque, particules, effet d'accent) > <span.vmt-tx-t> (le texte).
   Variables : --t-c, --t-c2, --t-speed, --t-style, --t-ts, --t-stroke, --t-stroke-c, --t-plate, --t-blur, --t-r, --t-pad */
.vmt-tx { position: relative; display: inline-flex; max-width: 100%; vertical-align: middle; isolation: isolate; justify-content: inherit; }
.vmt-tx.has-plate { padding: calc(var(--t-pad, 0px) * .6) var(--t-pad, 0px); border-radius: var(--t-r, 8px); }
.vmt-tx-plate { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--t-plate, transparent); border-radius: var(--t-r, 8px); backdrop-filter: blur(var(--t-blur, 0px)); -webkit-backdrop-filter: blur(var(--t-blur, 0px)); }
.vmt-tx .vmt-tx-t { position: relative; z-index: 1; display: inline-block; color: var(--t-c, inherit); font-style: var(--t-style, inherit); -webkit-text-stroke: var(--t-stroke, 0px) var(--t-stroke-c, transparent); paint-order: stroke fill; }
.vmt-tx .vmt-tx-t strong { color: inherit; }
.vmt-tx.has-ts .vmt-tx-t, .has-ts .vmt-msg-text { text-shadow: var(--t-ts); }
.vmt-tx-canvas { position: absolute; left: -48px; top: -48px; width: calc(100% + 96px); height: calc(100% + 96px); pointer-events: none; z-index: 0; }
.vmt-countdown .vmt-tx { justify-content: center; }
.vmt-cd-box small { -webkit-text-fill-color: currentColor; -webkit-text-stroke: 0; }
.vmt-hud-frame .vmt-msg-text { -webkit-text-stroke: var(--t-stroke, 0px) var(--t-stroke-c, transparent); paint-order: stroke fill; }
/* Lignes du cadre HUD : couleur de l'état (--t-c posé par ligne), gras compris */
.vmt-msg .vmt-tx .vmt-tx-t strong { color: inherit; }

.vmt-tx--glow .vmt-tx-t { text-shadow: 0 0 6px var(--t-c2), 0 0 18px var(--t-c2), var(--t-ts, 0 0 0 transparent); }
.vmt-tx--pulse .vmt-tx-t { animation: vmtTxPulse var(--t-speed, 2.8s) ease-in-out infinite; }
.vmt-tx--breathe .vmt-tx-t { animation: vmtTxBreathe calc(var(--t-speed, 2.8s) * 1.3) ease-in-out infinite; }
.vmt-tx--aurora .vmt-tx-t { animation: vmtTxAurora calc(var(--t-speed, 2.8s) * 2) linear infinite; }
.vmt-tx--float .vmt-tx-t { animation: vmtTxFloat calc(var(--t-speed, 2.8s) * 1.4) ease-in-out infinite; }
.vmt-tx--neon .vmt-tx-t { color: #fff; text-shadow: 0 0 3px #fff, 0 0 8px var(--t-c), 0 0 18px var(--t-c), 0 0 32px var(--t-c2); }
.vmt-tx--flicker .vmt-tx-t { text-shadow: 0 0 6px var(--t-c), 0 0 14px var(--t-c2); animation: vmtTxFlicker calc(var(--t-speed, 2.8s) * 1.6) linear infinite; }
.vmt-tx--glitch .vmt-tx-t { animation: vmtTxGlitch calc(var(--t-speed, 2.8s) * .9) steps(1) infinite; }
.vmt-tx--relief .vmt-tx-t { text-shadow: 1px 1px 0 var(--t-c2), 2px 2px 0 color-mix(in srgb, var(--t-c2) 75%, #000), 3px 3px 0 color-mix(in srgb, var(--t-c2) 50%, #000), 4px 5px 8px rgba(0,0,0,.6); }
.vmt-tx--hollow .vmt-tx-t { color: transparent; -webkit-text-fill-color: transparent; -webkit-text-stroke: max(1px, var(--t-stroke, 1px)) var(--t-c); }
.vmt-tx--gradient .vmt-tx-t, .vmt-tx--rainbow .vmt-tx-t, .vmt-tx--shine .vmt-tx-t, .vmt-tx--chrome .vmt-tx-t, .vmt-tx--hologram .vmt-tx-t {
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.vmt-tx--gradient .vmt-tx-t { background-image: linear-gradient(90deg, var(--t-c), var(--t-c2)); }
.vmt-tx--rainbow .vmt-tx-t { background-image: linear-gradient(90deg, #ff5f6d, #ffc371, #7ef29d, #3a9fd5, #b58cff, #ff5f6d); background-size: 200% 100%; animation: vmtTxSlide calc(var(--t-speed, 2.8s) * 1.5) linear infinite; }
.vmt-tx--shine .vmt-tx-t { background-image: linear-gradient(110deg, var(--t-c) 35%, #fff 50%, var(--t-c) 65%); background-size: 250% 100%; animation: vmtTxSlide var(--t-speed, 2.8s) linear infinite; }
.vmt-tx--chrome .vmt-tx-t { background-image: linear-gradient(180deg, #fff 0%, #cfd6e4 38%, #6b7486 52%, #e8edf5 62%, #9aa3b5 100%); }
.vmt-tx--hologram .vmt-tx-t { background-image: linear-gradient(100deg, var(--t-c) 0%, #ff7ad9 25%, #7efcff 50%, var(--t-c2) 75%, var(--t-c) 100%); background-size: 300% 100%; animation: vmtTxSlide calc(var(--t-speed, 2.8s) * 2) linear infinite; opacity: .92; }
/* Texte en dégradé : l'ombre passerait devant les lettres transparentes → ombre portée par filtre */
:is(.vmt-tx--gradient, .vmt-tx--rainbow, .vmt-tx--shine, .vmt-tx--chrome, .vmt-tx--hologram) .vmt-tx-t { text-shadow: none; filter: var(--t-drop, none); }
@keyframes vmtTxPulse { 0%,100% { opacity: 1; } 50% { opacity: .55; } }
@keyframes vmtTxBreathe { 0%,100% { transform: scale(1); } 50% { transform: scale(1.045); } }
@keyframes vmtTxAurora { 0% { color: var(--t-c); } 33% { color: var(--t-c2); } 66% { color: #b58cff; } 100% { color: var(--t-c); } }
@keyframes vmtTxFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes vmtTxSlide { from { background-position: 0% 50%; } to { background-position: 200% 50%; } }
@keyframes vmtTxFlicker { 0%,19%,22%,62%,64%,70%,100% { opacity: 1; } 20%,21%,63%,69% { opacity: .35; } }
@keyframes vmtTxGlitch { 0%,86%,100% { transform: none; text-shadow: var(--t-ts, none); } 88% { transform: translate(-2px,1px); text-shadow: 2px 0 #ff2a6d, -2px 0 #05d9e8; } 91% { transform: translate(2px,-1px); text-shadow: -2px 0 #ff2a6d, 2px 0 #05d9e8; } 94% { transform: translate(-1px,0); } }

/* Barre de progression */
.vmt-progress { margin-top: 1.2rem; text-align: left; font-family: var(--h-font); font-size: .93em; letter-spacing: 2px; text-transform: uppercase; color: color-mix(in srgb, var(--h-text) 85%, transparent); }
.vvt-mt-appear .vmt-hud .vmt-progress { opacity: 0; animation: vmtFadeUp calc(.8s / var(--vmt-speed, 1)) calc((1s + (var(--p-i, 10) - 1) * var(--h-step, .3s) + .4s) / var(--vmt-speed, 1)) ease forwards; }
.vmt-progress-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.vmt-pct { color: var(--h-strong); }
.vmt-progress-track { height: 5px; border-radius: 3px; overflow: hidden; background: var(--p-track, color-mix(in srgb, var(--h-acc) 15%, transparent)); }
.vmt-progress-fill { height: 100%; width: 0; border-radius: 3px; background: var(--p-fill, linear-gradient(90deg, #1d5fa3, var(--h-acc), var(--h-strong))); box-shadow: 0 0 10px var(--p-glow, color-mix(in srgb, var(--h-acc) 80%, transparent)); transition: width 2.5s cubic-bezier(.2, .7, .2, 1); }
.vmt-b.vmt-progress { width: min(var(--p-w, 460px), 92vw); font-size: 14px; }

/* Compte à rebours */
.vmt-countdown { margin: 0 0 1.4rem; font-family: var(--b-font); color: var(--b-c); }
.vmt-cd-prefix { display: block; margin-bottom: .4rem; font-size: max(13px, calc(var(--b-size, 34px) * .42)); letter-spacing: 2px; text-transform: uppercase; color: var(--b-acc); }
.vmt-cd-prefix:empty { display: none; }
.vmt-countdown--text .vmt-cd-val { font-size: var(--b-size); font-weight: 700; letter-spacing: 1px; font-variant-numeric: tabular-nums; }
.vmt-countdown--boxes .vmt-cd-val { display: inline-flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.vmt-cd-box { min-width: calc(var(--b-size, 34px) * 2.1); padding: .45em .5em .35em; border-radius: 6px; background: var(--b-box); border: .5px solid color-mix(in srgb, var(--b-acc) 45%, transparent); }
.vmt-cd-box b { display: block; font-size: var(--b-size); line-height: 1; font-variant-numeric: tabular-nums; }
.vmt-cd-box small { display: block; margin-top: .35em; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--b-acc); }

/* Réseaux, bouton, séparateur, image */
.vmt-social { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 0 0 1.4rem; }
.vmt-soc { display: inline-flex; align-items: center; justify-content: center; width: calc(var(--s-size, 26px) * 1.75); height: calc(var(--s-size, 26px) * 1.75); border-radius: var(--s-r, 50%); background: var(--s-bg); color: var(--s-c); transition: translate .2s ease, box-shadow .2s ease, filter .2s ease; }
.vmt-soc svg { width: var(--s-size, 26px); height: var(--s-size, 26px); fill: currentColor; }
.vmt-social--lift .vmt-soc:hover { translate: 0 -2px; } /* translate : se cumule avec un effet d'accent qui bouge */
.vmt-social--glow .vmt-soc:hover { box-shadow: 0 0 16px color-mix(in srgb, var(--s-c) 55%, transparent); filter: brightness(1.15); }
.vmt-soc:focus-visible { outline: 2px solid var(--s-c); outline-offset: 3px; }
.vmt-button { margin: 0 0 1.4rem; }
.vmt-btn { display: inline-block; padding: .75em 1.6em; border-radius: var(--k-r, 6px); font-family: var(--b-font); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; transition: translate .2s ease, filter .2s ease; }
.vmt-btn--solid { background: var(--k-bg); color: var(--k-c) !important; }
.vmt-btn--outline { border: 1px solid var(--k-bg); color: var(--k-bg) !important; }
.vmt-btn:hover { translate: 0 -1px; filter: brightness(1.1); }
.vmt-btn:focus-visible { outline: 2px solid var(--k-bg); outline-offset: 3px; }
.vmt-sep--space { height: var(--sep-h, 24px); }
.vmt-sep--line { width: min(var(--sep-w, 120px), 80vw); height: 1px; margin: calc(var(--sep-h, 24px) / 2) auto; background: linear-gradient(90deg, transparent, var(--sep-c), transparent); }
.vmt-image { margin: 0 0 1.4rem; }
.vmt-image img { display: block; width: min(var(--i-w, 320px), 90vw); height: auto; border-radius: var(--i-r, 8px); margin: 0 auto; }

/* Page fermée seule (2.3.0) : retour au site, ouvert */
.vmt-back { margin: 1.6rem 0 0; text-align: center; }
.vmt-back a { display: inline-block; padding: .55em 1.2em; border: 1px solid color-mix(in srgb, var(--vlg-link) 55%, transparent); border-radius: 999px; color: var(--vlg-link); text-decoration: none; font-size: 14px; letter-spacing: .04em; background: color-mix(in srgb, #000 30%, transparent); transition: background-color .2s ease; }
.vmt-back a:hover { background: color-mix(in srgb, var(--vlg-link) 18%, transparent); }
.vmt-back a:focus-visible { outline: 2px solid var(--vlg-link); outline-offset: 3px; }

/* Lien de déconnexion (compte connecté non admis) */
.vmt-logout { position: fixed; z-index: 3; right: 14px; bottom: 10px; margin: 0; font-size: 13px; }
.vmt-logout a { color: var(--vlg-link); opacity: .8; }

@keyframes vmtBlink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes vmtSoftBlink { 0%, 100% { opacity: 1; } 50% { opacity: .6; } }
@keyframes vmtGlitchA { 0% { clip-path: inset(100% 0 0 0); transform: none; } 84% { clip-path: inset(12% 0 62% 0); transform: translate(-3px, -1px); } 87% { clip-path: inset(58% 0 18% 0); transform: translate(3px, 1px); } 90% { clip-path: inset(30% 0 44% 0); transform: translate(-2px, 0); } 93% { clip-path: inset(78% 0 4% 0); transform: translate(2px, -1px); } 96% { clip-path: inset(100% 0 0 0); transform: none; } }
@keyframes vmtGlitchB { 0% { clip-path: inset(100% 0 0 0); transform: none; } 85% { clip-path: inset(66% 0 10% 0); transform: translate(3px, 1px); } 88% { clip-path: inset(5% 0 72% 0); transform: translate(-3px, 0); } 91% { clip-path: inset(40% 0 36% 0); transform: translate(2px, -1px); } 94% { clip-path: inset(20% 0 60% 0); transform: translate(-1px, 1px); } 97% { clip-path: inset(100% 0 0 0); transform: none; } }
@keyframes vmtFrameGlitch { 0% { clip-path: inset(100% 0 0 0); transform: none; } 70% { clip-path: inset(0 0 70% 0); transform: translate(-4px, 0) skewX(-6deg); } 72% { clip-path: inset(55% 0 10% 0); transform: translate(5px, 1px); } 74% { clip-path: inset(100% 0 0 0); transform: none; } 76% { clip-path: inset(20% 0 45% 0); transform: translate(-6px, -1px) skewX(4deg); } 77% { clip-path: inset(0 0 0 0); transform: translate(2px, 0); } 78% { clip-path: inset(100% 0 0 0); transform: none; } }
@keyframes vmtScan { 0%, 69% { opacity: 0; top: 0; } 70% { opacity: 1; top: 0; } 80% { opacity: 1; top: calc(100% - 2px); } 81%, 100% { opacity: 0; top: calc(100% - 2px); } }

/* Date dépassée (réouverture à la main) */
body.vvt-mt.is-late .vmt-count { animation: vmtBlink 1.2s ease-in-out infinite; }

/* Téléphone */
@media (max-width: 767px) {
  body.vvt-mt.vvt-lg-art-left .vmt, body.vvt-mt.vvt-lg-art-right .vmt { margin: 0; }
  body.vvt-mt.vvt-lg-art-above .vmt { padding-top: 2rem; }
  .vmt-m-hide { display: none !important; }
  .vmt-tag { font-size: calc(var(--b-size, 12px) * var(--vmt-m, .85)); }
  .vmt-text { font-size: calc(var(--b-size, 17px) * var(--vmt-m, .85)); }
  .vmt-countdown--text .vmt-cd-val, .vmt-cd-box b { font-size: calc(var(--b-size, 34px) * var(--vmt-m, .85)); }
}
@media (max-width: 480px) {
  .vmt { padding: 1.2rem 1rem; }
  .vmt-hud-frame { padding: 1.2rem .9rem; font-size: calc(var(--h-size, 15px) * .83); }
  .vmt-msg { gap: 9px; padding: 6px 0; }
  .vmt-msg-text { letter-spacing: 1px; }
  .vmt-msg--danger { padding: 9px 6px; gap: 7px; }
  .vmt-msg--danger .vmt-msg-text, .vmt-msg--danger .vmt-msg-text strong { font-size: .88em; letter-spacing: .3px; }
  .vmt-progress { font-size: .8em; letter-spacing: 1.5px; }
}

/* Moins d'animations : tout visible d'emblée, sans clignotement ni glitch */
@media (prefers-reduced-motion: reduce) {
  .vmt-logo--behind .vmt-logo-img { animation: none !important; opacity: var(--b-op, .5) !important; }
  .vvt-mt .vmt-b, .vvt-mt .vmt-msg, .vvt-mt .vmt-progress, .vmt-msg-icon, .vmt-msg-text, .vmt-msg-tag, .vmt-count { animation: none !important; opacity: 1 !important; transform: none !important; }
  .vmt-glitch::before, .vmt-glitch::after, .vmt-msg--danger::before, .vmt-msg--danger::after { display: none; }
  .vmt-progress-fill { transition: none !important; }
  .vmt-tx .vmt-tx-t, .vmt-tx.vv-fx, .vmt-hud-frame.vv-fx, .vmt-btn.vv-fx, .vmt-soc.vv-fx, .vmt-cd-box.vv-fx, .vmt-progress-track.vv-fx, .vmt-image img.vv-fx { animation: none !important; }
  .vmt-tx-canvas { display: none; }
}

/* Aperçu « animations réduites » (écran Page Maintenance) : mêmes règles que la préférence du visiteur */
body.vvt-mt-rm .vmt-logo--behind .vmt-logo-img { animation: none !important; opacity: var(--b-op, .5) !important; }
body.vvt-mt-rm .vmt-b, body.vvt-mt-rm .vmt-msg, body.vvt-mt-rm .vmt-progress, body.vvt-mt-rm .vmt-msg-icon, body.vvt-mt-rm .vmt-msg-text, body.vvt-mt-rm .vmt-msg-tag, body.vvt-mt-rm .vmt-count { animation: none !important; opacity: 1 !important; transform: none !important; }
body.vvt-mt-rm .vmt-glitch::before, body.vvt-mt-rm .vmt-glitch::after, body.vvt-mt-rm .vmt-msg--danger::before, body.vvt-mt-rm .vmt-msg--danger::after { display: none; }
body.vvt-mt-rm .vmt-progress-fill { transition: none !important; }
body.vvt-mt-rm :is(.vmt-tx .vmt-tx-t, .vmt-tx.vv-fx, .vmt-hud-frame.vv-fx, .vmt-btn.vv-fx, .vmt-soc.vv-fx, .vmt-cd-box.vv-fx, .vmt-progress-track.vv-fx, .vmt-image img.vv-fx) { animation: none !important; }
body.vvt-mt-rm .vmt-tx-canvas { display: none; }
body.vvt-mt-rm .vvt-lg-anim *, body.vvt-mt-rm.vvt-lg-grad-anim { animation: none !important; }
