/* SchoolDay v271.34: Success Videos (success-video-v27134.js). The frame: curved corners, like the games' cards. */
.sv-frame-v27134 { display: grid; gap: .6rem; justify-items: center; margin: 1rem auto 0; width: min(100%, 26rem); }
.sv-say-v27134 { margin: 0; font-weight: 800; font-size: 1.15rem; text-align: center; transition: opacity .3s ease; }
.sv-say-v27134.is-gone-v27134 { opacity: 0; }
.sv-stage-v27134 { position: relative; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 1.4rem; background: #0f172a;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .28); border: 4px solid #fff; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.sv-stage-v27134:focus-visible { outline: 4px solid #facc15; outline-offset: 3px; }
.sv-video-v27134 { position: absolute; /*c27253*/top: 0; /*c27253*/right: 0; /*c27253*/bottom: 0; /*c27253*/left: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s linear; }
.sv-dark-v27134 { position: absolute; /*c27253*/top: 0; /*c27253*/right: 0; /*c27253*/bottom: 0; /*c27253*/left: 0; inset: 0; background: #000; opacity: 0; transition: opacity .9s ease; pointer-events: none; }
.sv-stage-v27134.is-dark-v27134 .sv-dark-v27134 { opacity: .72; }
.sv-text-v27134 { position: absolute; left: 8%; right: 8%; top: 50%; margin: 0; transform: translateY(-50%) scale(.6); opacity: 0;
  color: #fff; overflow-wrap: anywhere; word-break: break-word; font-weight: 900; font-size: clamp(1.2rem, 6vw, 2rem); line-height: 1.2; text-align: center; text-shadow: 0 2px 10px rgba(0, 0, 0, .6);
  transition: opacity .35s ease, transform .45s cubic-bezier(.2, 1.6, .4, 1); pointer-events: none; }
.sv-stage-v27134.is-done-v27134 .sv-text-v27134 { opacity: 1; transform: translateY(-50%) scale(1); }
.sv-loading-v27134 { position: absolute; /*c27253*/top: 0; /*c27253*/right: 0; /*c27253*/bottom: 0; /*c27253*/left: 0; inset: 0; display: grid; place-content: center; justify-items: center; gap: .6rem; color: #fff; font-weight: 700; background: #0f172a; }
.sv-loading-v27134[hidden] { display: none; }
.sv-spinner-v27134 { width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 4px solid rgba(255, 255, 255, .25); border-top-color: #fff; animation: sv-spin-v27134 .9s linear infinite; }
@keyframes sv-spin-v27134 { to { transform: rotate(360deg); } }
.sv-again-v27134 { margin: 0; font-weight: 700; text-align: center; }
.sv-again-v27134[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .sv-video-v27134, .sv-dark-v27134, .sv-text-v27134 { transition: none; } .sv-spinner-v27134 { animation: none; } }
/* v271.37: "Win again to see something else!" as a mini frame (its look copied from the game's end card), and the
   video's words fading into "Play again to see something else!" when tapped. */
.sv-again-v27134.is-card-v27137 { padding: 10px 20px; font-size: 1.05rem; line-height: 1.3; text-align: center; }
.sv-text-v27134.is-swapping-v27137 { opacity: 0 !important; transition: opacity .35s ease; }
.sv-stage-v27134.is-done-v27134 .sv-text-v27134 { transition: opacity .35s ease, transform .45s cubic-bezier(.2, 1.6, .4, 1); }
/* v271.40: a tap that does something -- the border glows and flashes for a moment. */
.sv-stage-v27134.is-flash-v27140 { animation: sv-flash-v27140 .42s ease-out; }
@keyframes sv-flash-v27140 {
  0% { border-color: #fff; box-shadow: 0 10px 28px rgba(15, 23, 42, .28); }
  25% { border-color: #fde047; box-shadow: 0 0 0 4px rgba(253, 224, 71, .85), 0 0 28px 10px rgba(250, 204, 21, .75); }
  100% { border-color: #fff; box-shadow: 0 10px 28px rgba(15, 23, 42, .28); }
}
@media (prefers-reduced-motion: reduce) { .sv-stage-v27134.is-flash-v27140 { animation-duration: .2s; } }
