/* Photogrammes des scènes locales pour le repli sans WebGL. */
html[data-fat-exhibit="home"] {
  --scenic-poster: url("posters/accueil-large.webp?v=20261126-scene2");
}
html[data-fat-exhibit="stand"] {
  --scenic-poster: url("posters/galerie-large.webp?v=20261126-scene2");
}
@media (max-aspect-ratio: 1/1) {
  html[data-fat-exhibit="home"] { --scenic-poster: url("posters/accueil-portrait.webp?v=20261126-scene2"); }
  html[data-fat-exhibit="stand"] { --scenic-poster: url("posters/galerie-portrait.webp?v=20261126-scene2"); }
}

html[data-fat-exhibit="home"][data-fat-scene-still] #dc-root .hero,
html[data-fat-exhibit="stand"][data-fat-scene-still] .sim-canvas {
  background: #090b07 var(--scenic-poster) center / cover no-repeat;
}
.scenic-still-note {
  display: none;
  position: absolute;
  top: 96px;
  left: 50%;
  z-index: 4;
  transform: translateX(-50%);
  margin: 0;
  padding: .5em .9em;
  color: #e9ecdd;
  background: #10130e;
  border: 1px solid #536341;
  font: 500 .75rem "IBM Plex Mono", monospace;
  white-space: nowrap;
}
html[data-fat-scene-still] .sim-stage .scenic-still-note { display: block; }
html[data-fat-scene-still] .sim-stage .sim-hint,
html[data-fat-scene-still] .sim-stage .sim-views button:not(.sim-hide-btn) { display: none; }
@media (scripting: none) {
  html[data-fat-exhibit="home"] #dc-root .hero,
  html[data-fat-exhibit="stand"] .sim-canvas { background: #090b07 var(--scenic-poster) center / cover no-repeat; }
  .scenic-still-note { display: block; }
  .sim-hint, .sim-bar { display: none; }
}

.fat-home-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px clamp(12px, 2vw, 26px);
}
.fat-home-gallery {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  min-height: 44px;
  color: #e9ecdd;
  font: 500 .85rem "IBM Plex Mono", monospace;
  text-decoration: underline;
  text-underline-offset: .35em;
}
.fat-home-gallery:hover, .fat-home-gallery:focus-visible { color: #a8ff3f; }

@media (max-width: 760px) {
  .fat-home-links .fat-home-enter { padding: 0 12px; gap: 12px; font-size: 14px; }
  .fat-home-links .fat-home-gallery { gap: .3em; font-size: .75rem; }
}
