/* Short, finite ink-and-paper gestures. Dimensions and image ratios stay unchanged. */
.opt,.ghost,.go,.cbtn button,.atlas-node{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
@media(prefers-reduced-motion:no-preference){
  html:not([data-ui-motion="off"]) .opt,
  html:not([data-ui-motion="off"]) .ghost,
  html:not([data-ui-motion="off"]) .go,
  html:not([data-ui-motion="off"]) .cbtn button{
    transition:background-color .18s,border-color .18s,box-shadow .18s,transform .16s;
  }
  html:not([data-ui-motion="off"]) .opt:active,
  html:not([data-ui-motion="off"]) .ghost:active,
  html:not([data-ui-motion="off"]) .go:active,
  html:not([data-ui-motion="off"]) .cbtn button:active{transform:translateY(1px) scale(.985)}
  [data-motion-entry="yes"][data-motion-phase="card"] .ask{animation:ui-paper-in .32s cubic-bezier(.2,.7,.3,1) both}
  [data-motion-entry="yes"][data-motion-phase="card"] .grid .opt{animation:ui-option-in .28s ease-out both}
  [data-motion-entry="yes"][data-motion-phase="card"] .grid .opt:nth-child(1){animation-delay:.045s}
  [data-motion-entry="yes"][data-motion-phase="card"] .grid .opt:nth-child(2){animation-delay:.08s}
  [data-motion-entry="yes"][data-motion-phase="card"] .grid .opt:nth-child(3){animation-delay:.115s}
  [data-motion-entry="yes"][data-motion-phase="card"] .grid .opt:nth-child(4){animation-delay:.15s}
  .opt[aria-pressed="true"]{animation:ui-choice .23s ease-out}
  .opt .stamp{animation:ui-seal .32s cubic-bezier(.2,.7,.3,1) both}
  [data-motion-entry="yes"][data-motion-phase="result"] .res{animation:ui-paper-in .32s ease-out both}
  .v.bump-up,.v.bump-dn{animation:ui-stat .65s ease-out}
  [data-motion-entry="yes"][data-motion-phase="result"] .chip{animation:ui-chip-in .3s .08s ease-out both}
  [data-motion-entry="yes"][data-motion-phase="court"] .cr,
  [data-motion-entry="yes"][data-motion-phase="harem"] .cr{animation:ui-option-in .28s ease-out both}
  [data-motion-entry="yes"] .cr:nth-child(2){animation-delay:.04s}
  [data-motion-entry="yes"] .cr:nth-child(3){animation-delay:.08s}
  [data-motion-entry="yes"] .cr:nth-child(n+4){animation-delay:.12s}
  .done2{animation:ui-paper-in .25s ease-out}
  [data-motion-entry="yes"][data-motion-phase="review"] .paper,
  [data-motion-entry="yes"][data-motion-phase="ff"] .paper{animation:ui-paper-in .3s ease-out both}
  .cs-frame{animation:none}
  [data-motion-entry="yes"][data-motion-phase="cutscene"] .cs-head{animation:ui-title-in .42s ease-out both}
  [data-motion-entry="yes"][data-motion-phase="cutscene"] .cs-frame{animation:ui-scroll-open .65s .05s cubic-bezier(.2,.7,.3,1) both}
  [data-motion-entry="yes"][data-motion-phase="cutscene"] .cs-narrative{animation:ui-paper-in .36s .18s ease-out both}
  .cs-generated.loaded{animation:ui-image-in .3s ease-out}
  .evs .nm{animation:ui-title-in .65s .08s ease-out both}
  .evs .ec{animation:ui-paper-in .45s ease-out both}
}
@keyframes ui-paper-in{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:none}}
@keyframes ui-option-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@keyframes ui-choice{0%{box-shadow:0 0 0 0 #a8190f00}45%{box-shadow:0 0 0 3px #a8190f24}100%{box-shadow:0 0 0 0 #a8190f00}}
@keyframes ui-seal{0%{opacity:0;transform:scale(1.32) rotate(-15deg)}68%{opacity:1;transform:scale(.96) rotate(-12deg)}100%{opacity:1;transform:scale(1) rotate(-12deg)}}
@keyframes ui-stat{0%{transform:translateY(3px);opacity:.6}40%{transform:translateY(-2px);opacity:1}100%{transform:none;opacity:1}}
@keyframes ui-chip-in{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
@keyframes ui-title-in{from{opacity:0;transform:translateY(5px) scale(1.025)}to{opacity:1;transform:none}}
@keyframes ui-scroll-open{from{opacity:.45;clip-path:inset(47% 0 47% 0);transform:translateY(3px)}to{opacity:1;clip-path:inset(-8px -8px -8px -8px);transform:none}}
@keyframes ui-image-in{from{opacity:0}to{opacity:1}}
html[data-ui-motion="off"] *,html[data-ui-motion="off"] *::before,html[data-ui-motion="off"] *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
