.pp-prop {
  width:100%;
  max-width:780px;
  margin-inline:auto;
  display:grid;
  grid-template-columns:minmax(0,1fr);
  min-width:0;
  justify-items:center;
  color:var(--ink);
  font-family:Caveat,"Segoe Print",cursive;
  text-align:center;
}
.pp-title {
  margin:0;
  font-family:inherit;
  font-size:clamp(2.15rem,4.5vw,3.25rem);
  font-weight:700;
  line-height:1;
  letter-spacing:-.045em;
}
.pp-scene {
  position:relative;
  width:min(100%,650px);
  aspect-ratio:550/360;
  min-width:0;
  margin-inline:auto;
  isolation:isolate;
}
.pp-paper {
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  touch-action:manipulation;
  -webkit-tap-highlight-color:transparent;
}
.pp-moving { visibility:hidden; }
.pp-animated .pp-moving { visibility:visible; }
.pp-animated .pp-poster { visibility:hidden; }
.pp-faces { position:absolute;inset:0;pointer-events:none; }
.pp-face {
  display:block;
  position:absolute;
  width:44px;
  height:44px;
  transform:translate(-50%,-50%);
  border:0;
  color:transparent;
  font-size:0;
  border-radius:38%;
  background:transparent;
  padding:0;
  cursor:pointer;
  pointer-events:auto;
  touch-action:manipulation;
}
.pp-face:focus-visible {
  outline:2px dashed var(--oak-teal-deep);
  outline-offset:3px;
  background:rgba(255,251,238,.13);
}
.pp-caption { display:grid;justify-items:center;align-content:start;min-height:77px; }
.pp-prompt { margin:0;font:600 clamp(1.45rem,2.4vw,1.8rem)/1.17 Caveat,cursive; }
.pp-action {
  min-height:44px;
  padding:3px 9px 6px;
  border:0;
  background:transparent;
  color:var(--oak-teal-deep);
  font:500 clamp(1.22rem,1.9vw,1.44rem)/1.2 Caveat,cursive;
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-decoration-color:var(--rule);
  text-underline-offset:5px;
  cursor:pointer;
}
.pp-action[hidden] { display:none; }
.pp-action:disabled { opacity:.5;cursor:default; }
.pp-action:hover:enabled { text-decoration-color:currentColor; }
.pp-action:focus-visible { outline:2px dashed var(--oak-teal-deep);outline-offset:2px; }
.pp-read:not(.pp-static) .pp-prompt {
  position:absolute;
  width:1px;
  height:1px;
  clip-path:inset(50%);
  overflow:hidden;
  white-space:nowrap;
}
@media(max-width:600px){
  .pp-caption { min-height:65px; }
}
@media(max-height:570px) and (min-width:601px){
  .pp-scene { width:min(85vh,100%,620px); }
}

/* The same four choices still work when the browser cannot draw the moving folds. */
.pp-static:not([data-phase="color"]) .pp-faces {
  inset:auto 0 0;
  display:flex;
  justify-content:center;
  gap:.4rem;
}
.pp-static:not([data-phase="color"]) .pp-face {
  position:static;
  transform:none;
  color:var(--oak-ink);
  font:600 1.4rem/1 Caveat,cursive;
  border:1px solid currentColor;
  border-radius:50%;
  background:var(--oak-paper);
}
.pp-static:not([data-phase="color"]) .pp-poster { transform:translateY(-6%) scale(.88); }
.pp-static.pp-read .pp-prompt { max-width:34ch; }
