/* Vœux 2010 dédicacés – Média Animation */
html, body {
  margin: 0;
  height: 100%;
  background: #f1a87d;
  overflow: hidden;
}
.card {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.stage {
  position: absolute;
  left: 0;
  top: 0;
  transform-origin: 0 0;
  overflow: hidden;
}
.inst {
  position: absolute;
  left: 0;
  top: 0;
  transform-origin: 0 0;
}
.inst img,
.inst .rect {
  position: absolute;
  display: block;
  max-width: none;
}
.txt {
  position: absolute;
  left: 0;
  top: 0;
  overflow: visible;
}
.snow {
  position: absolute;
  left: 0;
  top: 0;
  width: 525px;
  height: 900px;
  pointer-events: none;
}
/* white texts drawn on the picture: thin dark halo for contrast (WCAG 1.4.3) */
.halo {
  filter: drop-shadow(0 0 1px #4a2a12) drop-shadow(0 0 1px #4a2a12);
}
/* selected first name: red with a white halo */
.halo.sel {
  filter: drop-shadow(0 0 1px #fff) drop-shadow(0 0 1px #fff);
}
/* real buttons placed over the drawn first names */
.names {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
}
.name-btn {
  position: absolute;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 4px;
  -webkit-appearance: none;
  appearance: none;
}
.name-btn:focus {
  outline: none;
}
.name-btn:focus-visible {
  outline: 3px solid #fff;
  box-shadow: 0 0 0 6px #1a0c03;
}
/* pause / play button (not scaled with the card) */
.pause {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 2;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #4a2a12;
  color: #fff;
  cursor: pointer;
}
.pause:hover {
  background: #2a1608;
}
.pause:focus {
  outline: none;
}
.pause:focus-visible {
  outline: 3px solid #1a0c03;
  outline-offset: 2px;
  box-shadow: 0 0 0 2px #fff;
}
.pause .ico-play,
.pause[aria-pressed="true"] .ico-pause {
  display: none;
}
.pause[aria-pressed="true"] .ico-play {
  display: block;
}
.defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.poster {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
