/* Les jeux de rôle (template/espace/histoires.php, docs/JEUX_DE_ROLE.md), the second formula, as its validated mockup
   draws it (« L'auto-stop, à jouer de bout en bout », 2026-11-13): the shelf of the stories, « Qui fait quoi », the step
   (the decor on top with the thermometer over it, what to do on a cream sheet under it, one thing at a time), the end
   (a tall thermometer that fills, then the level reached, the photo-story and the rating). In the look of the space:
   framboise, magenta and plum, cream, coral, Nunito, Caveat for what is written by hand. The sheet never changes size:
   what a step shows comes in softly, its buttons stay at the foot. The decor of a step comes over the one before, and
   what bears a class « st-fx-… » in its drawing (template/espace/partials/histoire-art.php) moves a little: small
   things only. static/js/espace/histoires.js writes the steps. */

.st {
  --st-ink: #4a0e2e;
  --st-coral: #fe5759;
  --st-neon: #f460b7;
  --st-soft: #fff1f6;
  --st-line: #f3d3e1;
  --st-mist: #f6e4ec;
  /* Where the sheet starts under the decor: lower on a tall phone, higher on a small one. */
  --st-top: clamp(150px, 26.8vh, 226px);
  --st-hand: "Caveat", "Bradley Hand", "Segoe Print", cursive;
}

@supports (height: 1svh) {
  .st { --st-top: clamp(150px, 26.8svh, 226px); }
}

@media (max-height: 700px) {
  .st { --st-top: clamp(150px, 25vh, 226px); }

  @supports (height: 1svh) {
    .st { --st-top: clamp(150px, 25svh, 226px); }
  }
}

.st-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.st :where(button) {
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}

.st :where(button, .st-poster, .st-bar, .st-foot, .st-stepbar) {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

/* ---- The shelf ---- */
.st-shelf {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
  width: min(430px, 100%);
  margin: 0 auto;
  padding: calc(20px + env(safe-area-inset-top, 0px)) 0 18px;
}

.st[data-story-view]:not([data-story-view="shelf"]) .st-shelf,
.st[data-story-view]:not([data-story-view="shelf"]) .esp-tabs {
  display: none;
}

.st-pill {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 6px;
  height: 44px;
  padding: 0 16px 0 10px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  background: rgba(74, 14, 46, .28);
  color: #ffffff;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.st-shelf > .st-pill {
  margin-left: 18px;
}

/* The end is not left while its photos are on their way to the album. */
.st-pill:disabled {
  opacity: .45;
  cursor: default;
}

.st-shelf__title {
  margin: 14px 24px 0;
  color: #fff3f8;
  font-family: var(--st-hand);
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 0 4px #ffffff, 0 0 12px var(--st-neon), 0 0 28px var(--st-neon);
}

.st-shelf__tagline {
  margin: 8px 24px 0;
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
}

/* The photos of a story on their way to Souvenirs, once the door of an account brought the couple back. */
.st-shelf__kept {
  margin: 12px 24px 0;
  padding: 9px 14px;
  border-radius: 14px;
  background: rgba(74, 14, 46, .28);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
}

.st-shelf__kept a,
.st-shelf__kept button,
.st-end__kept a {
  padding: 0;
  border: 0;
  background: none;
  color: #ffffff;
  font: inherit;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.st .st-shelf__kept a:focus-visible,
.st .st-shelf__kept button:focus-visible,
.st .st-end__kept a:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 2px;
}

.st-shelf .esp-loading {
  margin: 28px 24px;
}

/* What the shelf has to say once the page is there (no story yet, a story that does not answer) stays shown. */
.st[data-state] .st-shelf .esp-loading:not(:empty) {
  display: block;
}

.st-row {
  display: flex;
  flex: 1 0 auto;
  gap: 14px;
  margin-top: 18px;
  padding: 0 24px 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.st[data-state="loading"] .st-row,
.st[data-state="loading"] .st-shelf__note {
  visibility: hidden;
}

.st[data-state="ready"] .st-row {
  animation: st-in .4s cubic-bezier(.2, .8, .2, 1) both;
}

.st-poster {
  position: relative;
  display: flex;
  flex: 0 0 min(300px, calc(100% - 42px));
  flex-direction: column;
  min-height: min(470px, 58vh);
  overflow: hidden;
  border-radius: 28px;
  background: #5a2160;
  box-shadow: 0 22px 44px rgba(51, 11, 134, .4);
  color: var(--st-ink);
  scroll-snap-align: center;
}

@supports (height: 1svh) {
  .st-poster { min-height: min(470px, 58svh); }
}

/* A shelf of one story: its poster in the middle, a little wider. */
.st-row[data-count="1"] {
  justify-content: center;
}

.st-row[data-count="1"] .st-poster {
  flex-basis: min(342px, 100%);
}

/* The poster of a story, as a film's: its decor large, a veil that turns to plum under its title by hand in neon, its
   trailer in a bubble over the decor; the cream sheet under it, which comes over the foot of the decor. */
.st-poster__art {
  position: relative;
  flex: 1 1 auto;
  min-height: 236px;
  max-height: 440px;
  overflow: hidden;
  background: #702a71;
}

.st-poster__decor {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.st-poster__veil {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 56%;
  background: linear-gradient(180deg, rgba(112, 42, 113, .94) 0%, rgba(176, 18, 138, .6) 48%, rgba(176, 18, 138, 0) 100%);
}

.st-poster__head {
  position: absolute;
  top: 18px;
  right: 16px;
  left: 20px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  pointer-events: none;
}

.st-poster__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex: none;
  flex-direction: column;
  gap: 10px;
  margin-top: -28px;
  padding: 16px 18px 18px;
  border-radius: 26px 26px 0 0;
  background: var(--lc-cream);
}

.st-poster__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.st-chip {
  padding: 2px 9px;
  border-radius: 999px;
  background: #ffe3ec;
  color: var(--lc-raspberry);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: none;
}

/* A story of the Pass: a band of gold across the top corner of its poster (2026-11-14, the owner's wish), and its title
   kept clear of it. */
.st-poster__pass {
  position: absolute;
  top: 22px;
  right: -40px;
  z-index: 3;
  width: 150px;
  padding: 5px 0 6px;
  background: linear-gradient(180deg, #ffe7b0 0%, #f2c86a 100%);
  box-shadow: 0 6px 14px rgba(42, 15, 51, .35);
  color: #3f1745;
  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: .16em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(38deg);
  pointer-events: none;
}

.st-poster--pass .st-poster__head {
  padding-right: 52px;
}

/* A story of the series « Frissons » (the hottest, the longest; his choice of 2026-11-15, the mockup A): its poster in
   the gold frame of the legendary cards of the Collection, their light that crosses it now and then, and its own band
   in gold. The Pass is said by a chip beside its length, to whoever does not have it. */
.st-poster--frissons {
  border: 5px solid transparent;
  background: linear-gradient(#5a2160, #5a2160) padding-box,
    linear-gradient(135deg, #fff3cf 0%, #e5b75c 28%, #fff6db 50%, #c9963f 74%, #ffe9ad 100%) border-box;
  box-shadow: 0 0 26px 4px rgba(242, 196, 107, .5), 0 22px 44px rgba(51, 11, 134, .4);
}

.st-poster__pass--frissons {
  right: -46px;
  width: 170px;
  background: linear-gradient(90deg, #c9963f 0%, #fff3cf 42%, #e5b75c 62%, #fff6db 100%);
  color: #4a0e2e;
  font-size: 11px;
  letter-spacing: .14em;
}

.st-poster--frissons .st-poster__art::after {
  position: absolute;
  top: -10%;
  bottom: -10%;
  left: 0;
  z-index: 2;
  width: 55%;
  background: linear-gradient(100deg, rgba(255, 233, 173, 0) 20%, rgba(255, 244, 214, .5) 50%, rgba(255, 233, 173, 0) 80%);
  transform: translateX(-160%) skewX(-16deg);
  content: "";
  pointer-events: none;
}

.st-poster--frissons.is-playing .st-poster__art::after {
  animation: st-foil 4.2s ease-out infinite;
}

@keyframes st-foil {
  0% { transform: translateX(-160%) skewX(-16deg); }
  45%, 100% { transform: translateX(260%) skewX(-16deg); }
}

.st-poster__title {
  position: relative;
  max-width: 100%;
  color: #fff3f8;
  font-family: var(--st-hand);
  font-size: clamp(46px, 7.3vh, 60px);
  font-weight: 700;
  line-height: .95;
  text-shadow: 0 0 4px #ffffff, 0 0 12px var(--st-neon), 0 0 28px var(--st-neon);
  transform: rotate(-4deg);
  transform-origin: 0 100%;
}

.st-poster__title.is-long {
  font-size: clamp(34px, 5.2vh, 42px);
}

/* Its glow breathes: a second writing of the title, laid over it, whose light comes and goes. */
.st-poster__title::after {
  content: attr(data-glow);
  content: attr(data-glow) / "";
  position: absolute;
  inset: 0;
  color: transparent;
  text-shadow: 0 0 10px #ffffff, 0 0 26px var(--st-neon), 0 0 50px var(--st-neon);
  opacity: 0;
}

.st-poster.is-playing .st-poster__title::after {
  animation: st-glow 3.2s ease-in-out infinite;
}

/* The trailer: three lines of the story, by hand in a bubble over the decor, one after the other. */
.st-poster__line {
  position: absolute;
  bottom: calc(30% + 10px);
  left: 18px;
  /* The sign of the hitchhiker stays in sight: it stands past three fifths of the poster. */
  max-width: calc(61% - 26px);
  margin: 0;
  padding: 8px 16px 10px;
  border-radius: 18px 18px 18px 4px;
  background: var(--lc-cream);
  box-shadow: 0 8px 18px rgba(74, 14, 46, .3);
  color: var(--lc-raspberry);
  font-family: var(--st-hand);
  font-size: 25px;
  font-weight: 700;
  line-height: 1.05;
  opacity: 0;
}

.st-poster__line.is-first {
  opacity: 1;
}

/* A long line on a small screen (static/js/espace/histoires.js, fitTrailers): a smaller hand in a wider bubble, so that
   the trailer never covers the title of its poster. */
.st-poster__line.is-snug {
  max-width: calc(70% - 26px);
  padding: 6px 13px 8px;
  font-size: 21px;
}

.st-poster__line.is-tight {
  max-width: calc(78% - 26px);
  padding: 6px 12px 7px;
  font-size: 18px;
  line-height: 1.04;
}

.st-poster.is-playing .st-poster__line {
  animation: st-trailer 12s ease infinite both;
}

@keyframes st-trailer {
  0% { opacity: 0; transform: translateY(8px) scale(.92); }
  3%, 29% { opacity: 1; transform: none; }
  33%, 100% { opacity: 0; transform: translateY(-6px); }
}

.st-poster__hook {
  color: var(--lc-plum);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.st-poster__at {
  min-height: 20px;
  color: var(--lc-plum);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}

.st-poster__actions {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: auto;
  padding-top: 8px;
}

.st-link {
  align-self: center;
  min-height: 40px;
  padding: 0 10px;
  border: 0;
  background: none;
  color: var(--lc-rose);
  font-size: 14px;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.st-row__dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  min-height: 7px;
}

.st-row__dots span {
  width: 7px;
  height: 7px;
  border-radius: 4px;
  background: rgba(251, 248, 239, .45);
  transition: width .3s ease, background-color .3s ease;
}

.st-row__dots span.is-on {
  width: 20px;
  background: var(--lc-cream);
}

.st-shelf__note {
  margin: 14px 24px 0;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
}

/* What a poster says of its story beside its title: how long it lasts, that it is offered. */
.st-poster__meta {
  letter-spacing: 0;
  text-transform: none;
}

.st-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  font-size: 12.5px;
  line-height: 1.25;
}

.st-chip--time {
  background: #ffffff;
  box-shadow: inset 0 0 0 1.5px var(--st-line);
}

.st-poster .st-chip {
  padding: 5px 12px;
  font-size: 13px;
}

.st-poster .st-chip--time {
  background: var(--lc-cream);
  box-shadow: none;
}

/* The highest temperature the couple reached in a story, as the end shows it: its bulb, its mercury, its degrees. */
.st-poster__record {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
}

.st-poster__bulb {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #d4276f;
  color: #ffffff;
}

.st-poster__gauge {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.st-poster__label {
  color: var(--lc-raspberry);
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: .1em;
  line-height: 1.2;
  text-transform: uppercase;
}

.st-poster__tube {
  position: relative;
  height: 12px;
  overflow: hidden;
  border-radius: 6px;
  background: var(--st-line);
}

.st-poster__mercury {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  border-radius: 6px;
  background: linear-gradient(90deg, #f460b7 0%, #fe5759 70%, #ffb08a 100%);
}

.st-poster__best {
  flex: none;
  color: var(--st-ink);
  font-size: 24px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.st-poster__actions .st-link {
  min-height: 40px;
}

/* ---- The buttons ---- */
.st-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 54px;
  padding: 6px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--lc-rose);
  box-shadow: 0 10px 22px rgba(165, 12, 58, .3);
  color: #ffffff;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.st-btn:active {
  transform: scale(.98);
}

.st-btn:disabled,
.st-btn[aria-disabled="true"] {
  background: #efdce6;
  box-shadow: none;
  color: var(--lc-plum);
  cursor: default;
}

.st-btn--line {
  min-height: 48px;
  border: 2px solid var(--lc-rose);
  background: transparent;
  box-shadow: none;
  color: var(--lc-rose);
  font-size: 15px;
}

.st-btn--plum {
  background: var(--lc-plum);
  box-shadow: none;
}

.st-btn--glass {
  min-height: 50px;
  border: 2px solid rgba(255, 255, 255, .7);
  background: transparent;
  box-shadow: none;
  font-size: 15px;
}

.st-poster .st-btn {
  position: relative;
  overflow: hidden;
  min-height: 52px;
  font-size: 17px;
}

/* A light that crosses the button of the poster, now and then. */
.st-btn__sheen {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 22%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .38) 50%, rgba(255, 255, 255, 0) 100%);
  transform: translateX(-160%) skewX(-20deg);
  pointer-events: none;
}

.st-poster.is-playing .st-btn__sheen {
  animation: st-sheen 4.6s ease-in-out infinite;
}

@keyframes st-sheen {
  0% { transform: translateX(-160%) skewX(-20deg); }
  22%, 100% { transform: translateX(520%) skewX(-20deg); }
}

.st-btn--cream {
  min-height: 50px;
  background: var(--lc-cream);
  box-shadow: 0 10px 22px rgba(74, 14, 46, .25);
  color: var(--lc-raspberry);
  font-size: 16px;
}

.st .st-btn:focus-visible,
.st .st-opt:focus-visible,
.st .st-gender:focus-visible,
.st .st-swap:focus-visible,
.st .st-link:focus-visible,
.st .st-joker:focus-visible,
.st .st-tp__half:focus-visible {
  outline: 3px solid var(--lc-rose);
  outline-offset: 2px;
}

.st-end .st-btn:focus-visible,
.st .st-rate:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 2px;
}

/* ---- The stage: « Qui fait quoi », the step, the end, over the whole screen ---- */
.st-stage {
  position: fixed;
  inset: 0;
  z-index: 8;
  background: linear-gradient(168deg, #d70298 0%, #b0128a 30%, #8d346a 66%, #702a71 100%);
}

.st-stage__in {
  position: relative;
  width: min(430px, 100%);
  height: 100%;
  margin: 0 auto;
  overflow: hidden;
  background: #702a71;
}

.st-decor {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: calc(var(--st-top) + 26px);
  overflow: hidden;
  background: #702a71;
}

/* The drawing of the step: a copy of it on the stage, the next one coming over it. */
.st-decor__layers,
.st-decor__layer {
  position: absolute;
  inset: 0;
}

.st-decor__layer {
  display: block;
  width: 100%;
  height: 100%;
}

.st-decor__layer.is-coming {
  animation: st-fade .8s ease both;
}

.st[data-story-view="end"] .st-decor {
  display: none;
}

/* What moves in a decor, small things only (what is large, or carries the blur of a neon, stays still: a phone would
   draw it again at every frame): the lights of the juke-box, the steam of the coffee, the flame of the candle, the storm
   far behind the window, the beam of the torch, the road that runs, the phone that buzzes. The same moves on the poster
   of a story while it is on screen (« is-playing »). */
.st-decor__layer .st-fx-blink,
.st-poster.is-playing .st-fx-blink {
  animation: st-blink 2.4s steps(4, jump-none) infinite alternate;
}

.st-decor__layer .st-fx-blink--2,
.st-poster.is-playing .st-fx-blink--2 {
  animation-delay: -1.2s;
}

@keyframes st-blink {
  from { opacity: 1; }
  to { opacity: .3; }
}

.st-decor__layer .st-fx-steam,
.st-poster.is-playing .st-fx-steam {
  animation: st-steam 3.6s ease-in-out infinite;
}

.st-decor__layer .st-fx-steam--2,
.st-poster.is-playing .st-fx-steam--2 {
  animation-delay: 1.4s;
}

@keyframes st-steam {
  0% { opacity: 0; transform: translateY(6px); }
  35% { opacity: .9; }
  100% { opacity: 0; transform: translateY(-9px); }
}

.st-decor__layer .st-fx-flame,
.st-poster.is-playing .st-fx-flame {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: st-flame 1.9s ease-in-out infinite;
}

@keyframes st-flame {
  0%, 100% { transform: scale(1, 1) rotate(0deg); }
  30% { transform: scale(.94, 1.06) rotate(-2deg); }
  62% { transform: scale(1.05, .95) rotate(2deg); }
}

.st-decor__layer .st-fx-beam,
.st-poster.is-playing .st-fx-beam {
  animation: st-beam 3.2s steps(5, jump-none) infinite alternate;
}

@keyframes st-beam {
  from { opacity: 1; }
  to { opacity: .72; }
}

.st-decor__layer .st-fx-storm,
.st-poster.is-playing .st-fx-storm {
  animation: st-storm 11s ease-in-out infinite;
}

@keyframes st-storm {
  0%, 58%, 76%, 100% { opacity: 0; }
  62% { opacity: .5; }
  66% { opacity: .12; }
  69% { opacity: .36; }
}

.st-decor__layer .st-fx-dash,
.st-poster.is-playing .st-fx-dash {
  animation: st-dash .85s linear infinite;
}

@keyframes st-dash {
  to { stroke-dashoffset: -26; }
}

.st-decor__layer .st-fx-buzz,
.st-poster.is-playing .st-fx-buzz {
  transform-box: fill-box;
  transform-origin: 50% 50%;
  animation: st-buzz 2.8s ease-in-out infinite;
}

@keyframes st-buzz {
  0%, 34%, 100% { transform: rotate(0deg); }
  4%, 12%, 20%, 28% { transform: rotate(-5deg); }
  8%, 16%, 24%, 32% { transform: rotate(5deg); }
}

.st-decor__layer .st-fx-ring,
.st-poster.is-playing .st-fx-ring {
  animation: st-ring 2.8s ease-in-out infinite;
}

@keyframes st-ring {
  0%, 36%, 100% { opacity: 0; }
  6%, 28% { opacity: .9; }
}

/* The day of « L'auto-stop ». The halo of the sun breathes; the road runs faster from inside the car; the wheel is held
   with a light hand; the bonnet smokes; the warning triangle beats. */
.st-decor__layer .st-fx-sun,
.st-poster.is-playing .st-fx-sun {
  transform-box: fill-box;
  transform-origin: 50% 50%;
  animation: st-sun 4s ease-in-out infinite;
}

@keyframes st-sun {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.2); }
}

.st-decor__layer .st-fx-dash--fast,
.st-poster.is-playing .st-fx-dash--fast {
  animation-duration: .45s;
}

.st-decor__layer .st-fx-wheel,
.st-poster.is-playing .st-fx-wheel {
  transform-box: fill-box;
  transform-origin: 50% 50%;
  animation: st-sway 2.4s ease-in-out infinite;
}

@keyframes st-sway {
  0%, 100% { transform: rotate(-3deg); }
  50% { transform: rotate(3deg); }
}

.st-decor__layer .st-fx-smoke,
.st-poster.is-playing .st-fx-smoke {
  transform-box: fill-box;
  transform-origin: 50% 50%;
  opacity: 0;
  animation: st-smoke 2.8s ease-out infinite;
}

.st-decor__layer .st-fx-smoke--2,
.st-poster.is-playing .st-fx-smoke--2 {
  animation-delay: .9s;
}

.st-decor__layer .st-fx-smoke--3,
.st-poster.is-playing .st-fx-smoke--3 {
  animation-delay: 1.8s;
}

@keyframes st-smoke {
  0% { opacity: 0; transform: translateY(10px) scale(.85); }
  30% { opacity: .9; }
  100% { opacity: 0; transform: translateY(-26px) scale(1.2); }
}

.st-decor__layer .st-fx-throb,
.st-poster.is-playing .st-fx-throb {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: st-throb 1.4s ease-in-out infinite;
}

@keyframes st-throb {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.07); }
}

/* The roadside. In the story, the convertible waits with its engine running and the sign sways. */
.st-decor__layer .st-fx-car,
.st-poster.is-playing .st-fx-car {
  animation: st-idle 1.3s ease-in-out infinite;
}

@keyframes st-idle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-1.8px); }
}

.st-decor__layer .st-fx-thumb,
.st-poster.is-playing .st-fx-thumb {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: st-sway 3.2s ease-in-out infinite;
}

/* On « Qui fait quoi », the whole trip in nine seconds: the car comes, brakes at the sign that waves at it, and leaves
   with the hitchhiker on board. */
.st[data-story-view="cast"] .st-decor__layer .st-fx-car {
  animation: st-trip 9s ease-in-out infinite;
}

@keyframes st-trip {
  0% { transform: translateX(-290px); }
  22% { transform: translateX(8px); }
  27%, 72% { transform: translateX(0); }
  100% { transform: translateX(420px); }
}

.st[data-story-view="cast"] .st-decor__layer .st-fx-thumb {
  animation: st-thumb 9s ease-in-out infinite;
}

@keyframes st-thumb {
  0%, 27% { transform: rotate(0deg); }
  33% { transform: rotate(-8deg); }
  41% { transform: rotate(7deg); }
  49% { transform: rotate(-5deg); }
  57% { transform: rotate(4deg); }
  65%, 100% { transform: rotate(0deg); }
}

.st[data-story-view="cast"] .st-decor__layer .st-fx-aboard {
  animation: st-aboard 9s linear infinite;
}

@keyframes st-aboard {
  0%, 68% { opacity: 1; }
  74%, 96% { opacity: 0; }
  100% { opacity: 1; }
}

/* Two clouds that pass, slowly; poppies that sway on the hill. */
.st-decor__layer .st-fx-cloud,
.st-poster.is-playing .st-fx-cloud {
  animation: st-cloud 46s linear -14s infinite;
}

.st-decor__layer .st-fx-cloud--2,
.st-poster.is-playing .st-fx-cloud--2 {
  animation-duration: 64s;
  animation-delay: -40s;
}

@keyframes st-cloud {
  from { transform: translateX(-360px); }
  to { transform: translateX(720px); }
}

.st-decor__layer .st-fx-poppy,
.st-poster.is-playing .st-fx-poppy {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: st-poppy 2.8s ease-in-out infinite;
}

.st-decor__layer .st-fx-poppy--2,
.st-poster.is-playing .st-fx-poppy--2 {
  animation-duration: 3.3s;
  animation-delay: -1s;
}

.st-decor__layer .st-fx-poppy--3,
.st-poster.is-playing .st-fx-poppy--3 {
  animation-duration: 3s;
  animation-delay: -2s;
}

.st-decor__layer .st-fx-poppy--4,
.st-poster.is-playing .st-fx-poppy--4 {
  animation-duration: 2.6s;
  animation-delay: -.6s;
}

@keyframes st-poppy {
  0%, 100% { transform: rotate(-7deg); }
  50% { transform: rotate(7deg); }
}

/* The plane and the snail are for the poster of « L'auto-stop » alone: in time with its trailer (twelve seconds, a
   line every four), the plane crosses the sky with the second line, the snail overtakes the car by the third. */
.st-decor__layer .st-fx-plane,
.st-decor__layer .st-fx-snail {
  display: none;
}

.st-poster.is-playing .st-fx-plane {
  animation: st-plane 12s linear infinite;
}

@keyframes st-plane {
  0%, 30% { transform: translate(-300px, 8px); }
  68%, 100% { transform: translate(340px, -12px); }
}

.st-poster.is-playing .st-fx-snail {
  animation: st-snail 12s linear infinite;
}

@keyframes st-snail {
  from { transform: translate(-297px, 22px); }
  to { transform: translate(153px, -12px); }
}

/* The mountain (« Le chalet en double », 2026-11-14): the windows lit by the fire breathe, the lantern flickers, the
   pendulum of the cuckoo clock swings and its bird comes out now and then, flakes fall behind the frosted window,
   bubbles burst on the hot tub, the snowplough passes at dawn under its beacon. */
.st-decor__layer .st-fx-glow,
.st-poster.is-playing .st-fx-glow {
  animation: st-hearth 2.6s ease-in-out infinite;
}

@keyframes st-hearth {
  0%, 100% { opacity: 1; }
  50% { opacity: .78; }
}

.st-decor__layer .st-fx-lantern,
.st-poster.is-playing .st-fx-lantern {
  animation: st-lantern 1.7s steps(3, jump-none) infinite alternate;
}

@keyframes st-lantern {
  from { opacity: 1; }
  to { opacity: .74; }
}

.st-decor__layer .st-fx-pendulum {
  transform-box: view-box;
  transform-origin: 184px 136px;
  animation: st-pendulum 1.6s ease-in-out infinite;
}

@keyframes st-pendulum {
  0%, 100% { transform: rotate(-10deg); }
  50% { transform: rotate(10deg); }
}

.st-decor__layer .st-fx-cuckoo {
  transform-box: fill-box;
  transform-origin: 80% 50%;
  animation: st-cuckoo 14s ease-in-out infinite;
}

@keyframes st-cuckoo {
  0%, 86%, 100% { transform: scale(0); }
  89%, 95% { transform: translateX(-5px) scale(1); }
}

.st-decor__layer .st-fx-flake {
  animation: st-flake 3.2s linear infinite;
}

.st-decor__layer .st-fx-flake--2 {
  animation-delay: -1.1s;
}

.st-decor__layer .st-fx-flake--3 {
  animation-delay: -2.2s;
}

@keyframes st-flake {
  0% { opacity: 0; transform: translate(0, -8px); }
  15%, 80% { opacity: .9; }
  100% { opacity: 0; transform: translate(-4px, 24px); }
}

.st-decor__layer .st-fx-bubble {
  transform-box: fill-box;
  transform-origin: 50% 50%;
  animation: st-fizz 2.2s ease-out infinite;
}

.st-decor__layer .st-fx-bubble--2 {
  animation-delay: -.7s;
}

.st-decor__layer .st-fx-bubble--3 {
  animation-delay: -1.5s;
}

@keyframes st-fizz {
  0% { opacity: 0; transform: scale(.3); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-4px) scale(1.3); }
}

.st-decor__layer .st-fx-plough {
  animation: st-plough 16s linear infinite;
}

@keyframes st-plough {
  from { transform: translateX(-260px); }
  to { transform: translateX(420px); }
}

.st-decor__layer .st-fx-beacon {
  animation: st-blink .8s steps(2, jump-none) infinite alternate;
}

/* On the poster of « Le chalet en double » alone, in time with its trailer (twelve seconds, a line every four): the
   suitcase jumps with the yeti, the snowman turns its head away with the third line. */
.st-poster.is-playing .st-fx-valise {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: st-valise 12s ease-in-out infinite;
}

@keyframes st-valise {
  0%, 4%, 12%, 100% { transform: none; }
  6% { transform: translateY(-7px) rotate(-6deg); }
  8% { transform: none; }
  10% { transform: translateY(-4px) rotate(4deg); }
}

.st-poster.is-playing .st-fx-snowhead {
  transform-box: view-box;
  transform-origin: 150px 0;
  animation: st-snowhead 12s ease-in-out infinite;
}

@keyframes st-snowhead {
  0%, 68%, 100% { transform: scaleX(1); }
  71%, 97% { transform: scaleX(-1); }
}

/* The house (« Le plombier », 2026-11-14): the rain runs down the window, drops fall from the machine and spread rings in
   the puddle, the duck bobs; with the foam, the drum turns and bubbles rise; the doorbell rings, ding then dong; in the
   bathroom the mirror fogs up and clears a little, the wet clothes drip. */
.st-decor__layer .st-fx-pour,
.st-poster.is-playing .st-fx-pour {
  animation: st-pour .9s linear infinite;
}

.st-decor__layer .st-fx-pour--2,
.st-poster.is-playing .st-fx-pour--2 {
  animation-delay: -.3s;
}

.st-decor__layer .st-fx-pour--3,
.st-poster.is-playing .st-fx-pour--3 {
  animation-delay: -.6s;
}

@keyframes st-pour {
  0% { opacity: 0; transform: translate(1px, -8px); }
  20%, 70% { opacity: 1; }
  100% { opacity: 0; transform: translate(-3px, 14px); }
}

.st-decor__layer .st-fx-drip,
.st-poster.is-playing .st-fx-drip {
  animation: st-drip 1.9s ease-in infinite;
}

/* The ring of a drop, where it lands, at the same pace. */
.st-decor__layer .st-fx-ripple,
.st-poster.is-playing .st-fx-ripple {
  transform-box: fill-box;
  transform-origin: 50% 50%;
  animation: st-ripple 1.9s ease-out infinite;
}

.st-decor__layer :is(.st-fx-drip--2, .st-fx-ripple--2),
.st-poster.is-playing :is(.st-fx-drip--2, .st-fx-ripple--2) {
  animation-delay: -.95s;
}

@keyframes st-drip {
  0% { opacity: 0; transform: translateY(-3px); }
  14% { opacity: 1; transform: none; }
  62% { opacity: 1; transform: none; }
  74% { opacity: 1; transform: translateY(12px); }
  78%, 100% { opacity: 0; transform: translateY(14px); }
}

@keyframes st-ripple {
  0%, 73% { opacity: 0; transform: scale(.2); }
  76% { opacity: .9; transform: scale(.35); }
  100% { opacity: 0; transform: scale(1.5); }
}

.st-decor__layer .st-fx-bob,
.st-poster.is-playing .st-fx-bob {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: st-bob 2.8s ease-in-out infinite;
}

@keyframes st-bob {
  0%, 100% { transform: rotate(-4deg); }
  50% { transform: translateY(1.5px) rotate(4deg); }
}

.st-decor__layer .st-fx-drum {
  transform-box: view-box;
  transform-origin: 257px 186px;
  animation: st-drum 2.6s linear infinite;
}

@keyframes st-drum {
  to { transform: rotate(360deg); }
}

.st-decor__layer .st-fx-rise {
  animation: st-rise 6s ease-in-out infinite;
}

.st-decor__layer .st-fx-rise--2 {
  animation-delay: -2s;
}

.st-decor__layer .st-fx-rise--3 {
  animation-delay: -4s;
}

@keyframes st-rise {
  0% { opacity: 0; transform: translate(0, 10px); }
  20%, 72% { opacity: 1; }
  100% { opacity: 0; transform: translate(6px, -46px); }
}

.st-decor__layer .st-fx-dingdong {
  animation: st-dingdong 4.6s ease-out infinite;
}

.st-decor__layer .st-fx-dingdong--2 {
  animation-delay: .4s;
}

@keyframes st-dingdong {
  0%, 15%, 100% { opacity: 0; }
  2%, 9% { opacity: .95; }
}

.st-decor__layer .st-fx-fog {
  animation: st-fog 7s ease-in-out infinite;
}

@keyframes st-fog {
  0%, 100% { opacity: .55; }
  50% { opacity: .85; }
}

/* On the poster of « Le plombier » alone, in time with its trailer (twelve seconds, a line every four): with the first
   line the machine leaks twice as hard (three drops more), with the second it spins by itself (its drum whirls, it
   shakes), with the third the nut of the pipe gives a little squirt. */
.st-poster.is-playing .st-fx-gush {
  animation: st-gush 12s linear infinite;
}

.st-poster.is-playing .st-fx-gush--2 {
  animation-delay: .3s;
}

.st-poster.is-playing .st-fx-gush--3 {
  animation-delay: .6s;
}

@keyframes st-gush {
  0%, 2% { opacity: 0; transform: none; }
  3% { opacity: 1; transform: none; }
  7% { opacity: 1; transform: translateY(12px); }
  7.5% { opacity: 0; transform: translateY(13px); }
  8% { opacity: 0; transform: none; }
  9% { opacity: 1; transform: none; }
  13% { opacity: 1; transform: translateY(12px); }
  13.5% { opacity: 0; transform: translateY(13px); }
  14% { opacity: 0; transform: none; }
  15% { opacity: 1; transform: none; }
  19% { opacity: 1; transform: translateY(12px); }
  19.5% { opacity: 0; transform: translateY(13px); }
  20% { opacity: 0; transform: none; }
  21% { opacity: 1; transform: none; }
  25% { opacity: 1; transform: translateY(12px); }
  25.5% { opacity: 0; transform: translateY(13px); }
  26% { opacity: 0; transform: none; }
  27% { opacity: 1; transform: none; }
  31% { opacity: 1; transform: translateY(12px); }
  31.5% { opacity: 0; transform: translateY(13px); }
  32%, 100% { opacity: 0; transform: none; }
}

.st-poster.is-playing .st-fx-spin {
  transform-box: view-box;
  transform-origin: 257px 186px;
  animation: st-spin 12s ease-in-out infinite;
}

@keyframes st-spin {
  0%, 34% { transform: none; }
  64%, 100% { transform: rotate(1440deg); }
}

.st-poster.is-playing .st-fx-shake {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: st-shake 12s linear infinite;
}

@keyframes st-shake {
  0%, 36%, 62%, 100% { transform: none; }
  37%, 39%, 41%, 43%, 45%, 47%, 49%, 51%, 53%, 55%, 57%, 59%, 61% { transform: translate(-1.4px, .4px) rotate(-.5deg); }
  38%, 40%, 42%, 44%, 46%, 48%, 50%, 52%, 54%, 56%, 58%, 60% { transform: translate(1.4px, -.4px) rotate(.5deg); }
}

.st-poster.is-playing .st-fx-jet {
  transform-box: view-box;
  transform-origin: 334px 120px;
  animation: st-jet 12s ease-out infinite;
}

@keyframes st-jet {
  0%, 69% { opacity: 0; transform: scale(.2); }
  71% { opacity: 1; transform: scale(1.08); }
  74% { transform: scale(.94); }
  77% { transform: scale(1.04); }
  80% { transform: scale(.97); }
  91% { opacity: 1; transform: scale(1); }
  96%, 100% { opacity: 0; transform: scale(.6); }
}

/* The lift (« Entre deux étages », 2026-11-14): the display hesitates between 13 and 14, the notes of the music float up
   from the speaker, the night light of the power cut breathes like a candle (st-fx-glow), the garland of the landing
   sways. */
.st-decor__layer .st-fx-floor {
  animation: st-floor 3.2s linear infinite;
}

.st-decor__layer .st-fx-floor--14 {
  animation-name: st-floor-14;
}

@keyframes st-floor {
  0%, 49.99% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@keyframes st-floor-14 {
  0%, 49.99% { opacity: 0; }
  50%, 100% { opacity: 1; }
}

.st-decor__layer .st-fx-note,
.st-poster.is-playing .st-fx-note {
  animation: st-note 4.2s ease-out infinite;
}

.st-decor__layer .st-fx-note--2,
.st-poster.is-playing .st-fx-note--2 {
  animation-delay: -1.4s;
}

.st-decor__layer .st-fx-note--3,
.st-poster.is-playing .st-fx-note--3 {
  animation-delay: -2.8s;
}

@keyframes st-note {
  0% { opacity: 0; transform: translate(0, 6px); }
  22% { opacity: .9; }
  100% { opacity: 0; transform: translate(-10px, -24px); }
}

.st-decor__layer .st-fx-bunting {
  animation: st-bunting 3.4s ease-in-out infinite alternate;
}

@keyframes st-bunting {
  from { transform: none; }
  to { transform: translateY(1.6px); }
}

/* On the poster of « Entre deux étages » alone, in time with its trailer (twelve seconds, a line every four): with the
   first line the cabin jolts and its display blinks between 13 and 14, then takes turns; with the second the light of the
   intercom flickers and its voice comes out in waves; with the third the light goes out, only the coral night light
   stays, and the notes float on. */
.st-poster.is-playing .st-fx-jolt {
  animation: st-jolt 12s linear infinite;
}

@keyframes st-jolt {
  0%, 1.5%, 4.6%, 100% { transform: none; }
  2.2% { transform: translateY(3px); }
  3% { transform: translateY(-1.5px); }
  3.8% { transform: translateY(1px); }
}

.st-poster.is-playing .st-fx-floor {
  animation: st-floor-poster 12s linear infinite;
}

.st-poster.is-playing .st-fx-floor--14 {
  animation-name: st-floor-poster-14;
}

@keyframes st-floor-poster {
  0%, 2.49% { opacity: 1; }
  2.5%, 4.99% { opacity: 0; }
  5%, 7.49% { opacity: 1; }
  7.5%, 9.99% { opacity: 0; }
  10%, 12.49% { opacity: 1; }
  12.5%, 14.99% { opacity: 0; }
  15%, 17.49% { opacity: 1; }
  17.5%, 19.99% { opacity: 0; }
  20%, 22.49% { opacity: 1; }
  22.5%, 24.99% { opacity: 0; }
  25%, 27.49% { opacity: 1; }
  27.5%, 29.99% { opacity: 0; }
  30%, 42.99% { opacity: 1; }
  43%, 55.99% { opacity: 0; }
  56%, 68.99% { opacity: 1; }
  69%, 81.99% { opacity: 0; }
  82%, 94.99% { opacity: 1; }
  95%, 100% { opacity: 0; }
}

@keyframes st-floor-poster-14 {
  0%, 2.49% { opacity: 0; }
  2.5%, 4.99% { opacity: 1; }
  5%, 7.49% { opacity: 0; }
  7.5%, 9.99% { opacity: 1; }
  10%, 12.49% { opacity: 0; }
  12.5%, 14.99% { opacity: 1; }
  15%, 17.49% { opacity: 0; }
  17.5%, 19.99% { opacity: 1; }
  20%, 22.49% { opacity: 0; }
  22.5%, 24.99% { opacity: 1; }
  25%, 27.49% { opacity: 0; }
  27.5%, 29.99% { opacity: 1; }
  30%, 42.99% { opacity: 0; }
  43%, 55.99% { opacity: 1; }
  56%, 68.99% { opacity: 0; }
  69%, 81.99% { opacity: 1; }
  82%, 94.99% { opacity: 0; }
  95%, 100% { opacity: 1; }
}

.st-poster.is-playing .st-fx-talk {
  animation: st-talk 12s linear infinite;
}

@keyframes st-talk {
  0%, 34.99% { opacity: 1; }
  35%, 35.99% { opacity: .25; }
  36%, 36.99% { opacity: 1; }
  37%, 37.99% { opacity: .25; }
  38%, 38.99% { opacity: 1; }
  39%, 39.99% { opacity: .25; }
  40%, 40.99% { opacity: 1; }
  41%, 41.99% { opacity: .25; }
  42%, 42.99% { opacity: 1; }
  43%, 43.99% { opacity: .25; }
  44%, 44.99% { opacity: 1; }
  45%, 45.99% { opacity: .25; }
  46%, 46.99% { opacity: 1; }
  47%, 47.99% { opacity: .25; }
  48%, 48.99% { opacity: 1; }
  49%, 49.99% { opacity: .25; }
  50%, 50.99% { opacity: 1; }
  51%, 51.99% { opacity: .25; }
  52%, 52.99% { opacity: 1; }
  53%, 53.99% { opacity: .25; }
  54%, 54.99% { opacity: 1; }
  55%, 55.99% { opacity: .25; }
  56%, 56.99% { opacity: 1; }
  57%, 57.99% { opacity: .25; }
  58%, 58.99% { opacity: 1; }
  59%, 59.99% { opacity: .25; }
  60%, 60.99% { opacity: 1; }
  61%, 61.99% { opacity: .25; }
  62%, 62.99% { opacity: 1; }
  63%, 100% { opacity: 1; }
}

.st-poster.is-playing .st-fx-waves {
  animation: st-waves 12s ease-out infinite;
}

@keyframes st-waves {
  0%, 35%, 40%, 45%, 50%, 55%, 60%, 100% { opacity: 0; }
  36%, 41%, 46%, 51%, 56% { opacity: .9; }
}

.st-poster.is-playing .st-fx-blackout {
  animation: st-blackout 12s ease-in-out infinite;
}

@keyframes st-blackout {
  0%, 68%, 93%, 100% { opacity: 0; }
  70.5%, 89% { opacity: 1; }
}

.st-poster.is-playing .st-fx-safety {
  animation: st-safety 12s ease-in-out infinite;
}

@keyframes st-safety {
  0%, 69%, 92%, 100% { opacity: 0; }
  72%, 89% { opacity: 1; }
}

/* The night train (« Couchettes séparées », 2026-11-15): the lights of the night pass behind the windows, near ones quick,
   far ones slow; the coral lamp of the compartment sways with the rails; the glasses of the dining car tremble; the
   lagoon glints at dawn. The blind of the poster stays up everywhere else. */
.st-decor__layer .st-fx-pass,
.st-poster.is-playing .st-fx-pass {
  animation: st-pass 1.1s linear infinite;
}

.st-decor__layer .st-fx-pass--far,
.st-poster.is-playing .st-fx-pass--far {
  animation-duration: 3.4s;
}

@keyframes st-pass {
  from { transform: none; }
  to { transform: translateX(-60px); }
}

.st-decor__layer .st-fx-rock {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: st-rock 1.6s ease-in-out infinite alternate;
}

@keyframes st-rock {
  from { transform: rotate(-3deg); }
  to { transform: rotate(3deg); }
}

.st-decor__layer .st-fx-tremble {
  animation: st-tremble .26s steps(2, jump-none) infinite alternate;
}

.st-decor__layer .st-fx-tremble--2 {
  animation-delay: -.13s;
}

@keyframes st-tremble {
  from { transform: none; }
  to { transform: translate(.6px, -.5px); }
}

.st-decor__layer .st-fx-shimmer {
  animation: st-shimmer 2.6s ease-in-out infinite alternate;
}

.st-decor__layer .st-fx-shimmer--2 {
  animation-delay: -1.3s;
}

@keyframes st-shimmer {
  from { opacity: .35; }
  to { opacity: .95; }
}

.st-fx-blind {
  transform-box: fill-box;
  transform-origin: 50% 0;
  transform: scaleY(0);
}

/* On the poster of « Couchettes séparées » alone, in time with its trailer (twelve seconds, a line every four): with the
   first line the blind of a lit window drops at once; with the second the engine lets out an outraged puff and two
   whistles; with the third the flame of the lamp post rises, and its light with it. */
.st-poster.is-playing .st-fx-blind {
  animation: st-blind 12s linear infinite;
}

@keyframes st-blind {
  0%, 2% { transform: scaleY(0); }
  3.2% { transform: scaleY(1.06); }
  4% { transform: scaleY(.94); }
  4.8%, 96% { transform: scaleY(1); }
  99%, 100% { transform: scaleY(0); }
}

.st-poster.is-playing .st-fx-puff {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: st-puff 12s ease-out infinite;
}

@keyframes st-puff {
  0%, 34% { opacity: 0; transform: scale(.4); }
  36% { opacity: 1; transform: scale(.85); }
  44% { opacity: 1; transform: scale(1.15); }
  58%, 100% { opacity: 0; transform: translateY(-12px) scale(1.3); }
}

.st-poster.is-playing .st-fx-whistle {
  animation: st-whistle 12s linear infinite;
}

@keyframes st-whistle {
  0%, 35.9%, 38%, 39.4%, 41.5%, 100% { opacity: 0; }
  36%, 37.9%, 39.5%, 41.4% { opacity: .95; }
}

.st-poster.is-playing .st-fx-blaze {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: st-blaze 12s ease-in-out infinite;
}

@keyframes st-blaze {
  0%, 66% { transform: none; }
  70% { transform: scale(1.7); }
  74% { transform: scale(1.5); }
  78% { transform: scale(1.75); }
  90% { transform: scale(1.6); }
  96%, 100% { transform: none; }
}

.st-poster.is-playing .st-fx-halo {
  transform-box: fill-box;
  transform-origin: 50% 50%;
  animation: st-halo 12s ease-in-out infinite;
}

@keyframes st-halo {
  0%, 66%, 96%, 100% { transform: none; }
  72%, 90% { transform: scale(1.7); }
}

/* The cabaret (« L'hypnotiseur », 2026-11-15): on the stage, the pocket watch of the hypnotist swings slowly on its
   chain, the feather boa of the dressing room sways on its hook, the cat on the bin sways its tail; the lamps of the
   tables breathe (st-fx-glow) and the coupes fizz (st-fx-bubble). Small things only; the bulbs never blink. */
.st-decor__layer .st-fx-watch {
  transform-box: fill-box;
  transform-origin: 50% 0;
  animation: st-watch 3.4s ease-in-out infinite alternate;
}

@keyframes st-watch {
  from { transform: rotate(-6deg); }
  to { transform: rotate(6deg); }
}

.st-decor__layer .st-fx-boa {
  transform-box: fill-box;
  transform-origin: 50% 0;
  animation: st-boa 3s ease-in-out infinite alternate;
}

@keyframes st-boa {
  from { transform: rotate(-2deg); }
  to { transform: rotate(2.5deg); }
}

.st-decor__layer .st-fx-tail {
  transform-box: fill-box;
  transform-origin: 0 100%;
  animation: st-tail 2.4s ease-in-out infinite alternate;
}

@keyframes st-tail {
  from { transform: rotate(-8deg); }
  to { transform: rotate(10deg); }
}

.st-fx-lid {
  transform-box: fill-box;
  transform-origin: 50% 0;
  transform: scaleY(0);
}

/* On the poster of « Sous hypnose » alone, in time with its trailer (twelve seconds, a line every four): with the first
   line the pocket watch sniggers (two small quick swings, then a wide one); with the second the curtain comes down slowly
   to half the stage, like a heavy eyelid that fights, and goes up again; with the third the bulbs of the frame light up
   one by one, as for a bow. Nothing blinks. */
.st-poster.is-playing .st-fx-watch {
  transform-box: fill-box;
  transform-origin: 50% 0;
  animation: st-snigger 12s ease-in-out infinite;
}

@keyframes st-snigger {
  0%, 3% { transform: none; }
  5% { transform: rotate(5deg); }
  7% { transform: rotate(-5deg); }
  9% { transform: rotate(5deg); }
  11% { transform: rotate(-4deg); }
  16% { transform: rotate(20deg); }
  22% { transform: rotate(-18deg); }
  27% { transform: rotate(9deg); }
  31% { transform: rotate(-3deg); }
  34%, 100% { transform: none; }
}

.st-poster.is-playing .st-fx-lid {
  animation: st-lid 12s ease-in-out infinite;
}

@keyframes st-lid {
  0%, 36% { transform: scaleY(0); }
  46% { transform: scaleY(.56); }
  50% { transform: scaleY(.46); }
  55%, 59% { transform: scaleY(.68); }
  65%, 100% { transform: scaleY(0); }
}

.st-poster.is-playing .st-fx-marquee {
  transform-box: fill-box;
  transform-origin: 50% 50%;
  animation: st-marquee 12s ease-out infinite;
  animation-delay: calc(var(--n) * 45ms);
}

@keyframes st-marquee {
  0%, 68% { fill-opacity: .3; transform: none; }
  70%, 94% { fill-opacity: .85; transform: scale(1.5); }
  99%, 100% { fill-opacity: .3; transform: none; }
}

/* The rain: fine strokes that fall over the decor, where it rains; lighter for a drizzle. */
.st-rain {
  position: absolute;
  inset: -34px 0 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='34'%3E%3Cpath d='M15 0 L9 14' stroke='%23FFD6E4' stroke-opacity='.38' stroke-width='1.2' stroke-linecap='round'/%3E%3C/svg%3E");
  opacity: 0;
  animation: st-rain .9s linear infinite paused;
  pointer-events: none;
  transition: opacity .8s ease;
}

.st-rain.is-on {
  opacity: 1;
  animation-play-state: running;
}

.st-rain.is-on.is-light {
  opacity: .5;
}

@keyframes st-rain {
  to { transform: translateY(34px); }
}

/* The snow (the mountain, 2026-11-14): soft flakes that fall slowly, aslant, in the same layer as the rain; heavy in the
   storm, fine over the hot tub (is-light), a few at dawn (is-rare). A tile of 40 × 120 that slides by its own size, so that
   the fall never jumps. */
.st-rain.is-snow {
  inset: -120px -40px 0 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='120'%3E%3Cg fill='%23FFF3F8'%3E%3Ccircle cx='8' cy='14' r='1.9' fill-opacity='.85'/%3E%3Ccircle cx='29' cy='41' r='1.4' fill-opacity='.7'/%3E%3Ccircle cx='17' cy='73' r='2.3' fill-opacity='.8'/%3E%3Ccircle cx='35' cy='98' r='1.5' fill-opacity='.6'/%3E%3C/g%3E%3C/svg%3E");
  animation: st-snow 6.5s linear infinite paused;
}

.st-rain.is-snow.is-on {
  animation-play-state: running;
}

.st-rain.is-snow.is-on.is-rare {
  opacity: .28;
}

@keyframes st-snow {
  to { transform: translate(-40px, 120px); }
}

/* Under the title of « Qui fait quoi », the decor fades into the night. */
.st-decor__fade {
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(180deg, rgba(63, 23, 69, 0) 0%, rgba(63, 23, 69, .9) 100%);
  opacity: 0;
  transition: opacity .3s ease;
}

.st[data-story-view="cast"] .st-decor__fade {
  opacity: 1;
}

.st-cast,
.st-play,
.st-end {
  position: absolute;
  inset: 0;
}

/* The heat over the decor: a coral veil that thickens as the temperature rises. */
.st-heat {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #fe5759 0%, rgba(254, 87, 89, .25) 70%, rgba(254, 87, 89, 0) 100%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.2s ease;
}

.st:not([data-story-view="play"]) .st-heat {
  visibility: hidden;
}

/* The bar on top: glass buttons over the decor, the thermometer between them. */
.st-bar {
  position: absolute;
  top: calc(12px + env(safe-area-inset-top, 0px));
  right: 16px;
  left: 16px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.st-bar .st-pill,
.st-round {
  background: rgba(74, 14, 46, .55);
}

.st-round {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 50%;
  color: #ffffff;
  cursor: pointer;
}

.st .st-pill:focus-visible,
.st .st-round:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 2px;
}

.st-sound[aria-pressed="true"] .st-sound__off,
.st-sound[aria-pressed="false"] .st-sound__on {
  display: none;
}

/* The thermometer: its bulb, its mercury and its degrees. What it just won bursts out of it: a ring, and the degrees. */
.st-thermo {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  gap: 10px;
  min-width: 0;
  height: 44px;
  padding: 0 14px 0 6px;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 22px;
  background: rgba(74, 14, 46, .6);
}

.st-thermo__bulb {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--lc-rose);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .35);
  color: #ffffff;
  transition: background-color .8s ease;
}

.st-thermo[data-level="ca-chauffe"] .st-thermo__bulb,
.st-thermo[data-level="coup-de-chaud"] .st-thermo__bulb {
  background: #d4276f;
}

.st-thermo[data-level="canicule"] .st-thermo__bulb,
.st-thermo[data-level="ebullition"] .st-thermo__bulb {
  background: var(--st-coral);
}

.st-thermo__tube {
  position: relative;
  flex: 1 1 auto;
  height: 14px;
  overflow: hidden;
  border-radius: 7px;
  background: rgba(255, 255, 255, .28);
}

.st-thermo__mercury {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 7%;
  overflow: hidden;
  border-radius: 7px;
  background: linear-gradient(90deg, #f460b7 0%, #fe5759 70%, #ffb08a 100%);
  transition: width .9s cubic-bezier(.3, 1.5, .5, 1);
}

.st-thermo__shine {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 30%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .65) 50%, rgba(255, 255, 255, 0) 100%);
  animation: st-shine 2.4s ease-in-out infinite;
}

@keyframes st-shine {
  from { transform: translateX(-120%); }
  to { transform: translateX(420%); }
}

.st-thermo__n {
  flex: none;
  min-width: 46px;
  color: #ffffff;
  font-size: 20px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  text-align: right;
}

.st-thermo__ring {
  position: absolute;
  inset: -1px;
  border: 3px solid #ffe3ec;
  border-radius: 22px;
  opacity: 0;
  pointer-events: none;
}

.st-thermo__ring.is-on {
  animation: st-ringout .9s ease-out both;
}

@keyframes st-ringout {
  from { opacity: .9; transform: scale(1); }
  to { opacity: 0; transform: scale(1.22, 1.9); }
}

.st-thermo__gain {
  position: absolute;
  top: 50px;
  right: 0;
  padding: 4px 16px;
  border-radius: 999px;
  background: var(--lc-cream);
  box-shadow: 0 8px 18px rgba(74, 14, 46, .3);
  color: var(--lc-raspberry);
  font-size: 26px;
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
}

.st-thermo__gain.is-on {
  animation: st-gain 1.6s ease both;
}

@keyframes st-gain {
  0% { opacity: 0; transform: translateY(10px) scale(.6); }
  25% { opacity: 1; transform: translateY(0) scale(1.3); }
  45% { transform: scale(1); }
  80% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-10px); }
}

/* A level of the temperature just reached, stamped over the decor for a moment. */
.st-stamp {
  position: absolute;
  top: calc(var(--st-top) * .5 + env(safe-area-inset-top, 0px) * .5);
  right: 0;
  left: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  margin: 0;
  pointer-events: none;
}

.st-stamp span {
  padding: 6px 20px 8px;
  border: 4px solid var(--lc-cream);
  border-radius: 16px;
  background: var(--lc-rose);
  box-shadow: 0 12px 26px rgba(74, 14, 46, .35);
  color: #ffffff;
  font-family: var(--st-hand);
  font-size: clamp(34px, 5.2vh, 44px);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  transform: rotate(-7deg);
}

.st-stamp.is-on span {
  animation: st-stamp 1.8s ease both;
}

@keyframes st-stamp {
  0% { opacity: 0; transform: rotate(-7deg) scale(2.1); }
  18% { opacity: 1; transform: rotate(-7deg) scale(.92); }
  28% { transform: rotate(-7deg) scale(1.04); }
  36%, 78% { opacity: 1; transform: rotate(-7deg) scale(1); }
  100% { opacity: 0; transform: rotate(-7deg) scale(1.06); }
}

/* The cream sheet under the decor: its top, what it shows (which scrolls on a very small screen, never the page), its
   buttons at the foot. */
.st-sheet {
  position: absolute;
  top: var(--st-top);
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  padding: 16px 20px calc(18px + env(safe-area-inset-bottom, 0px));
  border-radius: 26px 26px 0 0;
  background: var(--lc-cream);
  color: var(--st-ink);
}

.st-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

.st-foot {
  display: flex;
  flex: none;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 12px;
}

.st-foot .st-btn {
  min-height: 56px;
  font-size: 18px;
}

/* A step with a second line under its button (« Je passe mon tour », « La refaire ») keeps its room when the line goes:
   the button never moves. */
.st-foot[data-rows="2"] {
  justify-content: flex-start;
  min-height: 120px;
}

.st-foot.is-waiting {
  pointer-events: none;
}

.st-joker {
  align-self: center;
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  background: none;
  color: var(--lc-raspberry);
  font-size: 15px;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.st-joker.is-away {
  visibility: hidden;
}

/* The top of the sheet: the title of the step, how far the story is. */
.st-stepbar {
  display: flex;
  align-items: center;
  flex: none;
  justify-content: space-between;
  gap: 12px;
  min-height: 16px;
}

.st-stepbar__title {
  overflow: hidden;
  color: var(--lc-raspberry);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  line-height: 1.3;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.st-stepbar__count {
  flex: none;
  color: var(--lc-mauve);
  font-size: 12px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
}

.st-progress {
  flex: none;
  height: 5px;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 3px;
  background: var(--st-line);
}

.st-progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 3px;
  background: var(--lc-rose);
  transition: width .4s ease;
}

/* ---- A step ---- */
.st-moment {
  display: flex;
  flex-direction: column;
  padding-top: 14px;
}

.st-moment:focus {
  outline: none;
}

.st-moment.is-more {
  -webkit-mask-image: linear-gradient(180deg, #000000 calc(100% - 34px), transparent 100%);
  mask-image: linear-gradient(180deg, #000000 calc(100% - 34px), transparent 100%);
}

.st-moment > * {
  flex: none;
}

.st-moment.is-in > * {
  animation: st-in .36s cubic-bezier(.2, .8, .2, 1) both;
}

.st-moment.is-in > :nth-child(2) { animation-delay: .04s; }
.st-moment.is-in > :nth-child(3) { animation-delay: .08s; }
.st-moment.is-in > :nth-child(n + 4) { animation-delay: .12s; }

@keyframes st-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.st-foot.is-in > * {
  animation: st-fade .3s ease .12s both;
}

@keyframes st-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* A player: the initial, by hand, on their colour. */
.st-av {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--lc-rose);
  color: #ffffff;
  font-family: var(--st-hand);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.st-av--0 {
  background: var(--st-coral);
}

.st-name {
  color: var(--lc-rose);
  font-weight: 900;
}

.st-av--both {
  background: #b0128a;
}

/* Who plays the step: their initial, their first name and their role; a dare says so. */
.st-who {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
}

.st-who .st-av {
  width: 34px;
  height: 34px;
  font-size: 22px;
}

.st-who__words {
  min-width: 0;
  color: var(--lc-mauve);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .06em;
  line-height: 1.25;
  text-transform: uppercase;
}

.st-who__dare {
  flex: none;
  margin-left: auto;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--lc-rose);
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1.4;
  text-transform: uppercase;
}

/* A photo played without the photos says so, next to « Défi ». */
.st-who__dare--also {
  margin-left: -4px;
  background: var(--st-coral);
}

/* A line of the story, then what to do. */
.st-told {
  margin-top: 12px;
  color: var(--lc-plum);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
}

.st-ask {
  margin-top: 8px;
  color: var(--st-ink);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.28;
}

.st-told .st-name {
  color: var(--lc-raspberry);
}

/* The three answers of a choice or of a verdict. */
.st-opts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}

.st-opt {
  width: 100%;
  min-height: 52px;
  padding: 10px 14px;
  border: 2px solid var(--st-line);
  border-radius: 16px;
  background: #ffffff;
  color: var(--st-ink);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  transition: background-color .25s ease, border-color .25s ease, color .25s ease, opacity .25s ease, transform .15s ease;
}

.st-opt:active {
  transform: scale(.985);
}

.st-opts.is-picked .st-opt {
  cursor: default;
}

.st-opts.is-picked .st-opt[aria-pressed="false"] {
  opacity: .45;
}

.st-opt[aria-pressed="true"] {
  border-color: var(--lc-rose);
  background: var(--lc-rose);
  color: #ffffff;
}

/* Tu préfères: a card cut in two. */
.st-tp {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 14px;
}

.st-tp__half {
  width: 100%;
  min-height: clamp(70px, 10.9vh, 92px);
  padding: 12px 26px;
  border: 0;
  border-radius: 22px 22px 8px 8px;
  background: var(--lc-rose);
  color: #ffffff;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
  transition: opacity .3s ease, transform .2s ease;
}

.st-tp__half--2 {
  border-radius: 8px 8px 22px 22px;
  background: var(--lc-plum);
}

.st-tp__half:active {
  transform: scale(.985);
}

.st-tp__or {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin: -23px 0 0 -23px;
  border-radius: 50%;
  background: var(--lc-cream);
  box-shadow: 0 4px 12px rgba(74, 14, 46, .25);
  color: var(--lc-raspberry);
  font-family: var(--st-hand);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
  transition: opacity .3s ease;
}

.st-tp.is-picked .st-tp__half {
  cursor: default;
}

.st-tp.is-picked .st-tp__half[aria-pressed="false"] {
  opacity: .35;
}

.st-tp.is-picked .st-tp__or {
  opacity: 0;
}

/* Inside an answer, a first name is written as the rest. */
.st-opt .st-name,
.st-tp__half .st-name,
.st-rebound .st-name,
.st-said .st-name {
  color: inherit;
}

/* What the story answers to the answer touched, by hand. */
.st-rebound {
  margin-top: 12px;
  padding: 12px 16px;
  border-radius: 16px;
  background: #ffe3ec;
  color: var(--lc-raspberry);
  font-family: var(--st-hand);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.1;
}

.st-rebound:not(.is-on) {
  display: none;
}

.st-moment .st-rebound.is-on {
  animation: st-pop .3s ease both;
}

@keyframes st-pop {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

/* The wheel: its disc, drawn by the script, and its pointer, which clacks at each slice. */
.st-wheel {
  position: relative;
  align-self: center;
  width: clamp(150px, 24.2vh, 204px);
  aspect-ratio: 1;
  margin-top: 20px;
  border-radius: 50%;
  box-shadow: 0 12px 26px rgba(74, 14, 46, .25);
  cursor: pointer;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.st-wheel__disc {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  will-change: transform;
}

/* Its size follows the wheel's: its tip stops where the names of the slices begin. */
.st-wheel__pointer {
  position: absolute;
  top: -5.9%;
  left: 50%;
  width: 12.8%;
  height: 14.5%;
  margin-left: -6.4%;
  transform-origin: 50% 12%;
}

.st-wheel__pointer.is-flick {
  animation: st-flick .14s ease-out;
}

@keyframes st-flick {
  40% { transform: rotate(-16deg); }
}

.st-wheel.is-landed .st-wheel__pointer {
  animation: st-landed .5s cubic-bezier(.3, 1.6, .5, 1) both;
}

@keyframes st-landed {
  40% { transform: scale(1.35); }
  to { transform: scale(1.15); }
}

/* What the wheel said: the name of its slice, and what it decides, by hand. */
.st-said {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 12px;
  padding: 10px 16px 12px;
  border-radius: 16px;
  background: #ffe3ec;
  text-align: center;
}

.st-said__name {
  color: var(--lc-rose);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.st-said__words {
  color: var(--lc-raspberry);
  font-family: var(--st-hand);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.1;
}

.st-said--large {
  margin-top: auto;
  margin-bottom: auto;
  padding: 18px 18px 22px;
  border-radius: 22px;
}

.st-said--large .st-said__words {
  font-size: clamp(28px, 4.1vh, 34px);
}

/* The stopwatch. */
.st-chrono {
  position: relative;
  align-self: center;
  width: clamp(96px, 16.6vh, 140px);
  aspect-ratio: 1;
  margin-top: 14px;
}

.st-chrono svg {
  display: block;
  width: 100%;
  height: 100%;
}

.st-chrono__ring {
  transition: stroke-dashoffset .25s linear;
}

.st-chrono__in {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.st-chrono__n {
  color: var(--st-ink);
  font-size: clamp(30px, 5vh, 42px);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.st-chrono__unit {
  color: var(--lc-mauve);
  font-size: 12px;
  font-weight: 800;
}

/* The photo: an empty frame, then a polaroid, in the same place. */
.st-moment > .st-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 0 auto;
  margin-top: 10px;
}

.st-shot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: clamp(150px, 25vh, 210px);
  height: clamp(108px, 17.8vh, 150px);
  padding: 0;
  border: 3px dashed #e7bfd2;
  border-radius: 20px;
  background: none;
  color: var(--lc-mauve);
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: border-color .2s ease, transform .15s ease;
}

/* The empty frame takes the photo too (2026-11-15): it answers the finger as the button does. */
.st-shot:active {
  border-color: var(--lc-rose);
  transform: scale(.97);
}

.st-shot:focus-visible {
  outline: 3px solid var(--lc-rose);
  outline-offset: 3px;
}

.st-polaroid {
  display: flex;
  flex-direction: column;
  flex: none;
  gap: 7px;
  width: clamp(112px, 19vh, 160px);
  margin: 0;
  padding: 9px 9px 10px;
  background: #ffffff;
  box-shadow: 0 14px 28px rgba(74, 14, 46, .25);
  transform: rotate(-3deg);
}

.st-polaroid img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(160deg, #f7a8cb 0%, #c4285b 100%);
  object-fit: cover;
}

.st-polaroid figcaption {
  display: -webkit-box;
  overflow: hidden;
  color: var(--lc-plum);
  font-family: var(--st-hand);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.02;
  text-align: center;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.st-moment .st-polaroid {
  animation: st-develop .5s cubic-bezier(.2, .8, .2, 1) both;
}

@keyframes st-develop {
  from { opacity: 0; transform: rotate(4deg) scale(.9); }
  to { opacity: 1; transform: rotate(-3deg); }
}

.st-tries {
  min-height: 18px;
  margin-top: 8px;
  color: var(--lc-mauve);
  font-size: 13px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
}

/* ---- Qui fait quoi ---- */
.st-cast__head {
  position: absolute;
  right: 22px;
  /* Above the road, where the convertible comes and goes. */
  bottom: calc(100% - var(--st-top) + var(--st-head, 60px));
  left: 22px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* The title of the story, by hand, in neon: its glow breathes (a second writing of it, laid over the first). */
.st-cast__story {
  position: relative;
  color: #fff3f8;
  font-family: var(--st-hand);
  font-size: clamp(34px, min(5.9vh, 12.4vw), 50px);
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 0 4px #ffffff, 0 0 12px var(--st-neon), 0 0 28px var(--st-neon);
}

.st-cast__story::after {
  content: attr(data-glow);
  content: attr(data-glow) / "";
  position: absolute;
  inset: 0;
  color: transparent;
  text-shadow: 0 0 10px #ffffff, 0 0 26px var(--st-neon), 0 0 50px var(--st-neon);
  opacity: 0;
  pointer-events: none;
  animation: st-glow 3.2s ease-in-out infinite;
}

@keyframes st-glow {
  50% { opacity: .9; }
}

.st-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.st-chips .st-chip {
  padding: 5px 12px;
  font-size: 13px;
}

.st-chips .st-chip--time {
  background: var(--lc-cream);
  box-shadow: none;
}

.st-cast__top {
  display: flex;
  align-items: center;
  flex: none;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 10px;
  margin-bottom: 10px;
}

.st-cast__title {
  color: var(--st-ink);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.3;
}

.st-swap {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 14px;
  border: 2px solid var(--lc-rose);
  border-radius: 999px;
  color: var(--lc-rose);
  font-size: 13.5px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.st-roles {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 250px;
}

.st-role {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 12px;
  border-radius: 18px;
  background: var(--st-soft);
}

.st-roles.is-swapping .st-role__who {
  animation: st-swap .36s cubic-bezier(.2, .8, .2, 1) both;
}

@keyframes st-swap {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.st-role__who {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.st-role__who .st-av {
  width: 40px;
  height: 40px;
  font-size: 22px;
}

.st-role__words {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.st-role__name {
  overflow: hidden;
  color: var(--st-ink);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.st-role__text {
  color: var(--lc-plum);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.st-role__text b {
  color: var(--lc-raspberry);
  font-weight: 900;
}

.st-genders {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.st-gender {
  min-height: 40px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--st-mist);
  color: var(--lc-plum);
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}

.st-gender[aria-pressed="true"] {
  background: var(--lc-plum);
  color: #ffffff;
}

/* « Avec les défis photos » (2026-11-15, the owner's mockup 1A): under the roles, one switch, in the look of a role.
   Ticked, the photos as written; unticked, each photo becomes its pose, on the clock. Its choice stays on the phone. */
.st-photos {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-top: 10px;
  padding: 12px;
  border-radius: 18px;
  background: var(--st-soft);
  color: var(--st-ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.st-photos[hidden] {
  display: none;
}

.st-photos:focus-visible {
  outline: 3px solid var(--lc-rose);
  outline-offset: 2px;
}

.st-photos__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--st-coral);
  color: #ffffff;
}

.st-photos__name {
  flex: 1;
  min-width: 0;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.2;
}

.st-switch {
  position: relative;
  flex: none;
  width: 54px;
  height: 32px;
  border-radius: 999px;
  background: #d6aec2;
  transition: background-color .2s ease;
}

.st-switch::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(74, 14, 46, .25);
  transition: transform .22s cubic-bezier(.2, .8, .2, 1);
}

.st-photos[aria-checked="true"] .st-switch {
  background: var(--lc-rose);
}

.st-photos[aria-checked="true"] .st-switch::after {
  transform: translateX(22px);
}

.st-cast__note {
  margin-top: 10px;
  color: var(--lc-plum);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

/* ---- The end ---- */
.st-end {
  color: #ffffff;
}

.st-end__intro[hidden],
.st-end__sum[hidden],
.st-end__album[hidden] {
  display: none;
}

.st-end__kicker {
  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: .16em;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
}

/* First the temperature at the arrival: a tall thermometer that fills, from the plum of the start to the coral of the
   heat. A touch goes on. */
.st-end__intro {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  padding: calc(20px + env(safe-area-inset-top, 0px)) 20px calc(20px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, #702a71 0%, #b0128a 46%, #fe5759 100%);
  cursor: pointer;
  animation: st-fade .4s ease both;
}

.st-tall {
  --st-tube: min(370px, 46vh);
  position: relative;
  flex: none;
  width: 300px;
  height: calc(var(--st-tube) + 100px);
}

@supports (height: 1svh) {
  .st-tall { --st-tube: min(370px, 46svh); }
}

.st-tall__tube {
  position: absolute;
  top: 0;
  left: 104px;
  width: 68px;
  height: var(--st-tube);
  overflow: hidden;
  border: 5px solid var(--lc-cream);
  border-bottom: 0;
  border-radius: 34px 34px 0 0;
  background: rgba(255, 255, 255, .16);
}

.st-tall__fill {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 6%;
  background: linear-gradient(0deg, #fe5759 0%, #f460b7 100%);
  transition: height .12s linear;
}

/* Its levels, beside the tube: each one lit as the mercury passes it. */
.st-tall__marks {
  position: absolute;
  top: 5px;
  left: 184px;
  height: calc(var(--st-tube) - 5px);
}

.st-tall__mark {
  position: absolute;
  left: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  opacity: .3;
  transform: translateY(50%);
  transition: opacity .25s ease;
}

.st-tall__mark i {
  width: 16px;
  height: 4px;
  border-radius: 2px;
  background: var(--lc-cream);
}

.st-tall__mark b {
  font-family: var(--st-hand);
  font-size: 25px;
  font-weight: 700;
  line-height: 1;
  transform-origin: 0 50%;
}

.st-tall__mark.is-lit {
  opacity: 1;
}

.st-tall__mark.is-lit b {
  animation: st-lit .45s cubic-bezier(.3, 1.6, .5, 1) both;
}

@keyframes st-lit {
  from { transform: scale(1.35); }
  to { transform: scale(1); }
}

.st-tall__bulb {
  position: absolute;
  top: calc(var(--st-tube) - 40px);
  left: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 140px;
  border: 5px solid var(--lc-cream);
  border-radius: 50%;
  background: var(--st-coral);
  box-shadow: 0 16px 36px rgba(74, 14, 46, .4);
  font-size: 50px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  animation: st-beat .8s ease-in-out infinite;
}

@keyframes st-beat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.07); }
}

.st-tall__bubble {
  position: absolute;
  top: calc(var(--st-tube) + 10px);
  left: 62px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ffe3ec;
  opacity: 0;
  animation: st-bubble 2.2s ease-in infinite;
}

.st-tall__bubble--2 {
  top: calc(var(--st-tube) + 30px);
  left: 34px;
  width: 10px;
  height: 10px;
  animation-duration: 2.6s;
  animation-delay: .7s;
}

.st-tall__bubble--3 {
  top: calc(var(--st-tube) + 40px);
  left: 84px;
  width: 12px;
  height: 12px;
  background: var(--lc-cream);
  animation-duration: 2.4s;
  animation-delay: 1.3s;
}

@keyframes st-bubble {
  0% { opacity: 0; transform: translateY(0) scale(.5); }
  15% { opacity: .85; }
  100% { opacity: 0; transform: translateY(calc(var(--st-tube) * -.9)) scale(1.25); }
}

/* Then the end itself: the level reached, stamped; the photo-story and the button that keeps it; the rating. */
.st-end__sum {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: calc(24px + env(safe-area-inset-top, 0px)) 20px calc(18px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(168deg, #d70298 0%, #b0128a 30%, #8d346a 66%, #702a71 100%);
}

/* While what it shows comes in, nothing of it takes a touch. */
.st-end__sum.is-waiting {
  pointer-events: none;
}

.st-end__body {
  display: flex;
  flex-direction: column;
}

.st-end__body > * {
  flex: none;
}

/* A game without a photo (played without them, or every photo passed): no album, what the end says sits in the middle
   of the screen rather than over a gap. Margins, not centring: a long text still scrolls from its top. */
.st-end__body:has(> .st-end__album[hidden]) > :first-child {
  margin-top: auto;
}

.st-end__body:has(> .st-end__album[hidden]) > :last-child {
  margin-bottom: auto;
}

.st-end__title {
  display: flex;
  justify-content: center;
  margin-top: 12px;
}

.st-end__title span {
  padding: 6px 22px 9px;
  border: 4px solid var(--lc-cream);
  border-radius: 18px;
  background: var(--lc-rose);
  box-shadow: 0 14px 30px rgba(74, 14, 46, .4);
  font-family: var(--st-hand);
  font-size: clamp(36px, 5.5vh, 46px);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transform: rotate(-5deg);
}

.st-end__sum.is-in .st-end__title span {
  animation: st-land .7s cubic-bezier(.2, .8, .2, 1) both;
}

@keyframes st-land {
  0% { opacity: 0; transform: rotate(-5deg) scale(2.2); }
  55% { opacity: 1; transform: rotate(-5deg) scale(.94); }
  75% { transform: rotate(-5deg) scale(1.03); }
  100% { opacity: 1; transform: rotate(-5deg) scale(1); }
}

.st-end__text {
  margin: 20px 6px 0;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}

.st-end__text .st-name {
  color: inherit;
}

.st-end__temp {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 18px;
  background: var(--lc-cream);
}

.st-end__temp-n {
  flex: none;
  color: var(--st-ink);
  font-size: 34px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.st-end__gauge {
  position: relative;
  flex: 1 1 auto;
  height: 16px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--st-line);
}

.st-end__gauge > span {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(90deg, #f460b7 0%, #fe5759 70%, #ffb08a 100%);
}

.st-end__album {
  display: flex;
  flex-direction: column;
  margin-top: 16px;
}

.st-end__label {
  font-size: 14px;
  font-weight: 900;
  line-height: 1.3;
}

.st-end__label--ask {
  margin-top: 16px;
  font-size: 15px;
  text-align: center;
}

/* The photos of the game, in the order of the story, each one a little askew. */
.st-end__photos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 8px;
  margin-top: 10px;
}

.st-end__photos .st-polaroid {
  flex: 0 1 calc((100% - 24px) / 4);
  gap: 4px;
  width: auto;
  min-width: 0;
  padding: 5px 5px 6px;
  box-shadow: 0 10px 20px rgba(51, 11, 134, .3);
  transform: rotate(var(--st-turn, 0deg));
}

.st-end__photos .st-polaroid figcaption {
  min-height: 26px;
  font-size: 13px;
  line-height: 1;
}

.st-end__album .st-btn {
  margin-top: 14px;
}

.st-btn--cream:disabled {
  background: rgba(251, 248, 239, .6);
  color: var(--lc-raspberry);
}

/* Kept: the button stays where it is, done. */
.st-btn--cream.is-done:disabled {
  border: 2px solid rgba(255, 255, 255, .75);
  background: transparent;
  color: #ffffff;
}

/* What became of the photos of the game: its place is there, whatever it says. */
.st-end__kept {
  min-height: 20px;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
}

.st-end__kept button {
  padding: 0;
  border: 0;
  background: none;
  color: #ffffff;
  font: inherit;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.st-end__ratings {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.st-rate {
  min-height: 48px;
  border: 2px solid rgba(255, 255, 255, .75);
  border-radius: 16px;
  background: transparent;
  color: #ffffff;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, opacity .2s ease;
}

.st-rate[aria-pressed="true"] {
  border-color: var(--lc-cream);
  background: var(--lc-cream);
  color: var(--lc-raspberry);
}

.st-rate[aria-disabled="true"] {
  cursor: default;
}

.st-rate[aria-disabled="true"][aria-pressed="false"] {
  opacity: .5;
}

.st-end__foot {
  gap: 10px;
}

.st-end__foot .st-btn {
  min-height: 54px;
  font-size: 17px;
}

.st-end__foot .st-btn--glass {
  min-height: 48px;
  font-size: 15px;
}

.st-end__foot .st-btn:disabled {
  opacity: .5;
}

/* What the end shows comes in piece by piece, after its stamp. */
.st-end__sum.is-in .st-end__body > *,
.st-end__sum.is-in .st-end__foot {
  animation: st-pop .4s ease .3s both;
}

.st-end__sum.is-in .st-end__body > :first-child,
.st-end__sum.is-in .st-end__body > .st-end__title {
  animation-delay: 0s;
}

.st-end__sum.is-in .st-end__body > .st-end__temp { animation-delay: .4s; }
.st-end__sum.is-in .st-end__body > .st-end__album { animation-delay: .5s; }
.st-end__sum.is-in .st-end__body > .st-end__label--ask { animation-delay: .6s; }
.st-end__sum.is-in .st-end__body > .st-end__ratings { animation-delay: .65s; }
.st-end__sum.is-in .st-end__foot { animation-delay: .7s; }

/* ---- Small screens: everything a little tighter, nothing cut ---- */
@media (max-height: 700px) {
  /* The shelf: the poster and its button on the first screen. */
  .st-shelf {
    padding-top: calc(14px + env(safe-area-inset-top, 0px));
    padding-bottom: 12px;
  }

  .st-shelf__title {
    margin-top: 10px;
    font-size: 40px;
  }

  /* The poster takes its room: its trailer stays between its title and its car. */
  .st-shelf__tagline {
    display: none;
  }

  .st-row {
    margin-top: 12px;
  }

  .st-poster__art {
    min-height: 206px;
  }

  .st-poster__head {
    top: 14px;
    gap: 9px;
  }

  .st-poster__line {
    padding: 6px 13px 8px;
    font-size: 21px;
    line-height: 1.02;
  }

  .st-poster__body {
    gap: 8px;
    padding: 14px 16px 14px;
  }

  .st-poster__hook {
    font-size: 14.5px;
    line-height: 1.35;
  }

  .st-poster__record {
    min-height: 34px;
  }

  .st-shelf__note {
    display: none;
  }

  .st-sheet {
    padding-top: 12px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  }

  .st-progress {
    margin-top: 6px;
  }

  .st-moment {
    padding-top: 10px;
  }

  .st-who,
  .st-who .st-av {
    min-height: 30px;
  }

  .st-who .st-av {
    width: 30px;
    height: 30px;
    font-size: 19px;
  }

  .st-told {
    margin-top: 8px;
    font-size: 15px;
    line-height: 1.4;
  }

  .st-ask {
    margin-top: 6px;
    font-size: 18px;
    line-height: 1.25;
  }

  .st-opts {
    gap: 6px;
    margin-top: 10px;
  }

  .st-opt {
    min-height: 46px;
    padding: 7px 12px;
    font-size: 15px;
  }

  .st-tp {
    margin-top: 10px;
  }

  .st-tp__half {
    font-size: 16.5px;
  }

  .st-rebound {
    margin-top: 8px;
    padding: 8px 14px 10px;
    font-size: 22px;
  }

  .st-said {
    margin-top: 8px;
    padding: 8px 14px 10px;
  }

  .st-said__words {
    font-size: 22px;
  }

  .st-wheel {
    margin-top: 16px;
  }

  .st-moment > .st-photo {
    margin-top: 6px;
  }

  .st-shot {
    gap: 4px;
    width: 150px;
    height: 92px;
  }

  .st-shot svg {
    width: 30px;
    height: 30px;
  }

  .st-moment .st-polaroid {
    gap: 5px;
    width: 100px;
    padding: 7px 7px 8px;
  }

  .st-moment .st-polaroid figcaption {
    font-size: 16px;
  }

  .st-tries {
    margin-top: 4px;
  }

  .st-chrono {
    margin-top: 8px;
  }

  .st-foot {
    padding-top: 8px;
  }

  .st-foot .st-btn {
    min-height: 50px;
    font-size: 17px;
  }

  .st-joker {
    min-height: 40px;
  }

  .st-foot[data-rows="2"] {
    min-height: 106px;
  }

  .st-cast__head {
    --st-head: 38px;
    gap: 6px;
  }

  .st-cast__story {
    font-size: 34px;
  }

  .st-role {
    gap: 7px;
    padding: 10px;
  }

  .st-photos {
    margin-top: 8px;
    padding: 10px;
  }

  .st-roles {
    gap: 8px;
    min-height: 0;
  }

  .st-gender {
    min-height: 36px;
  }

  .st-end__intro {
    gap: 14px;
  }

  .st-end__sum {
    padding-top: calc(16px + env(safe-area-inset-top, 0px));
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  }

  .st-end__title {
    margin-top: 8px;
  }

  .st-end__text {
    margin-top: 14px;
    font-size: 14.5px;
    line-height: 1.38;
  }

  .st-end__temp {
    margin-top: 10px;
    padding: 8px 14px;
  }

  .st-end__temp-n {
    font-size: 28px;
  }

  .st-end__album {
    margin-top: 10px;
  }

  .st-end__photos {
    margin-top: 8px;
  }

  .st-end__album .st-btn {
    min-height: 46px;
    margin-top: 10px;
  }

  .st-end__kept {
    margin-top: 6px;
    font-size: 13px;
  }

  .st-end__label--ask {
    margin-top: 8px;
  }

  .st-end__ratings {
    margin-top: 8px;
  }

  .st-rate {
    min-height: 44px;
  }

  .st-end__foot {
    gap: 8px;
  }

  .st-end__foot .st-btn {
    min-height: 48px;
    font-size: 16px;
  }

  .st-end__foot .st-btn--glass {
    min-height: 44px;
  }
}

/* Japanese (2026-11-14, docs/JEUX_DE_ROLE.md, lot 7a): Caveat does not have its letters. What is written by hand takes
   the font of the site, bold, as the first names of the lobby do (static/css/espace.css, lc-hello__names), smaller: a
   Japanese letter fills its square where Caveat's are narrow and low. Lines a little apart, for the tall letters. */
.st:lang(ja) :is(.st-shelf__title, .st-poster__title, .st-poster__line, .st-stamp span, .st-av, .st-tp__or, .st-rebound,
  .st-said__words, .st-polaroid figcaption, .st-cast__story, .st-tall__mark b, .st-end__title span) {
  font-family: inherit;
  font-weight: 900;
  letter-spacing: 0;
}

/* Greek (lot 7b, 2026-11-15): Caveat does not have its letters either. What is written by hand takes the font of the
   site, bold, at the sizes of the Latin languages (a Greek letter is about as wide as a Latin one). */
.st:lang(el) :is(.st-shelf__title, .st-poster__title, .st-poster__line, .st-stamp span, .st-av, .st-tp__or, .st-rebound,
  .st-said__words, .st-polaroid figcaption, .st-cast__story, .st-tall__mark b, .st-end__title span) {
  font-family: inherit;
  font-weight: 900;
  letter-spacing: 0;
}

.st:lang(ja) .st-shelf__title { font-size: 32px; line-height: 1.15; }
.st:lang(ja) .st-poster__title { font-size: clamp(30px, 4.8vh, 38px); line-height: 1.15; word-break: keep-all; overflow-wrap: anywhere; }
.st:lang(ja) .st-poster__line { font-size: 16px; line-height: 1.35; word-break: keep-all; overflow-wrap: anywhere; }
.st:lang(ja) .st-stamp span { font-size: clamp(24px, 3.6vh, 30px); line-height: 1.15; }
.st:lang(ja) .st-av { font-size: 15px; }
.st:lang(ja) .st-tp__or { font-size: 17px; }
.st:lang(ja) :is(.st-rebound, .st-said__words) { font-size: 18px; line-height: 1.4; }
.st:lang(ja) .st-said--large .st-said__words { font-size: clamp(20px, 2.9vh, 24px); }
.st:lang(ja) .st-polaroid figcaption { font-size: 13px; line-height: 1.3; }
.st:lang(ja) .st-cast__story { font-size: clamp(24px, min(4.1vh, 8.6vw), 34px); line-height: 1.15; word-break: keep-all; overflow-wrap: anywhere; }
.st:lang(ja) .st-tall__mark b { font-size: 16px; }
.st:lang(ja) .st-end__title span { font-size: clamp(25px, 3.8vh, 32px); line-height: 1.15; }

@media (prefers-reduced-motion: reduce) {
  .st-rain,
  .st-decor__layer.is-coming,
  .st-decor__layer [class*="st-fx-"],
  .st[data-story-view="cast"] .st-decor__layer [class*="st-fx-"],
  .st-cast__story::after,
  .st-thermo__shine,
  .st-moment.is-in > *,
  .st-foot.is-in > *,
  .st-moment .st-polaroid,
  .st-moment .st-rebound.is-on,
  .st-wheel__pointer.is-flick,
  .st-roles.is-swapping .st-role__who,
  .st-end__intro,
  .st-tall__bulb,
  .st-tall__bubble,
  .st-tall__mark.is-lit b,
  .st-end__sum.is-in .st-end__title span,
  .st-end__sum.is-in .st-end__body > *,
  .st-end__sum.is-in .st-end__foot,
  .st[data-state="ready"] .st-row,
  .st-poster.is-playing [class*="st-fx-"],
  .st-poster.is-playing .st-poster__title::after,
  .st-poster.is-playing .st-poster__line,
  .st-poster.is-playing .st-btn__sheen,
  .st-poster--frissons.is-playing .st-poster__art::after {
    animation: none;
  }

  .st-switch,
  .st-switch::after,
  .st-shot {
    transition: none;
  }

  .st-decor__layer .st-fx-smoke,
  .st-poster.is-playing .st-fx-smoke {
    opacity: .7;
  }

  .st-thermo__mercury,
  .st-progress span,
  .st-tall__fill,
  .st-heat,
  .st-rain {
    transition: none;
  }

  .st-thermo__ring.is-on {
    animation: none;
  }

  .st-thermo__gain.is-on,
  .st-stamp.is-on span {
    animation: none;
    opacity: 1;
  }
}
