/* Mute Display — démo interactive.
   L'écran 800 × 480 est centré dans la fenêtre (ou le cadre qui l'affiche)
   et mis à l'échelle pour y tenir entièrement, sur fond noir. */
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: block;
  src: url("./fonts/inter-latin-opsz-normal.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono"; font-style: normal; font-weight: 700; font-display: block;
  src: url("./fonts/jetbrains-mono-latin-700-normal.woff2") format("woff2");
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; height: 100%; overflow: hidden; background: #000; }
body { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
.screen {
  position: absolute; left: 0; top: 0; width: 800px; height: 480px; transform-origin: 0 0;
  overflow: hidden; background: #000; user-select: none; -webkit-user-select: none;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
  visibility: hidden;
}
.screen.ready { visibility: visible; }
noscript { position: absolute; inset: 0; display: grid; place-items: center; color: #bbb; font: 15px/1.4 system-ui, sans-serif; text-align: center; padding: 1em; }

/* ── Rendu LVGL ── polices embarquées : taille et hauteur de ligne exactes
   des font_inter_bold_*.c (line_height), Inter 18 pt ou 28 pt selon le
   fichier source de chaque police. */
.d { font-family: Inter, system-ui, sans-serif; font-weight: 700; font-optical-sizing: none; font-variation-settings: "opsz" 18; white-space: pre; }
.f14 { font-size: 14px; line-height: 18px; min-height: 18px; }
.f18 { font-size: 18px; line-height: 22px; min-height: 22px; }
.f22 { font-size: 22px; line-height: 28px; min-height: 28px; }
.f32 { font-size: 32px; line-height: 41px; min-height: 41px; }
.f44 { font-size: 44px; line-height: 56px; min-height: 56px; font-variation-settings: "opsz" 28; }
.f54 { font-size: 54px; line-height: 66px; min-height: 66px; font-variation-settings: "opsz" 28; }
.f64 { font-size: 64px; line-height: 77px; min-height: 77px; }
.f80 { font-size: 80px; line-height: 97px; min-height: 97px; font-variation-settings: "opsz" 28; }
.f160 { font-size: 160px; line-height: 121px; min-height: 121px; }
.f200 { font-size: 200px; line-height: 151px; min-height: 151px; }
.r54 { font-weight: 400; font-size: 54px; line-height: 42px; min-height: 42px; }
.m16 { font-family: Consolas, "JetBrains Mono", ui-monospace, monospace; font-size: 16px; line-height: 15px; min-height: 15px; }
.ls1 { letter-spacing: 1px; } .ls2 { letter-spacing: 2px; } .ls3 { letter-spacing: 3px; } .ls4 { letter-spacing: 4px; }
.ctr { text-align: center; }
.wrap { white-space: pre-line; }
.dot1 { overflow: hidden; text-overflow: ellipsis; white-space: pre; }
.clip { overflow: hidden; white-space: pre; }
.clampbody { white-space: pre-line; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.screen .o { position: absolute; box-sizing: border-box; }
.screen .r { position: relative; box-sizing: border-box; flex: none; }
.screen .fx { display: flex; flex-direction: row; }
.screen .scr { overflow: hidden; }
.screen .staging { visibility: hidden; }
.screen .ic { -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.screen .tap { cursor: pointer; }
.screen .hit { z-index: 5; }
.screen .pressable:active { background: #E3E9EF !important; }
.screen .list { overflow-y: auto; overflow-x: hidden; scrollbar-width: thin; scrollbar-color: rgba(0,0,0,.22) transparent; }
.screen .ext10::before { content: ""; position: absolute; inset: -10px; }
.screen .splash { z-index: 30; }
.screen .touch { border-radius: 50%; background: rgba(41,110,243,.30); pointer-events: none; z-index: 60; animation: touch .45s ease-out forwards; }
.spinner svg { animation: spin 1s cubic-bezier(.45,.05,.55,.95) infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes splashSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes touch { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .screen .touch { animation-duration: .01s; }
  .spinner svg { animation-duration: 3s; }
}
