
.se-fx { position: fixed; z-index: 59; pointer-events: none; }
.se-fx > * { position: absolute; }
/* Lamplight (Emerald Club; the brass is static/js/material_art.js's): a green-glass card-room lamp swings down on its brass
   chain over the seat and settles; its pull chain is tugged (a click), the bulb comes on - a strike and a catch - and warm
   light falls in a cone onto the plate and pools round it; it holds, then fades with the lamp. */
.se-lamp { left: 50%; bottom: calc(100% - var(--pad) + 6px); width: var(--lw); translate: -50% 0; transform-origin: 50% 0;
  animation: seLampSwing 1.1s cubic-bezier(.3,.8,.4,1) forwards; }
.se-lamp svg { display: block; width: 100%; overflow: visible; }
.se-lamp .pull { animation: seLampPull 1.1s ease-out forwards; }
.se-lamp .lit, .se-cone, .se-pool { opacity: 0; animation: seLampOn 1.1s linear forwards; }
@keyframes seLampSwing { 0% { opacity: 0; transform: translateY(-46px) rotate(-7deg); } 12% { opacity: 1; } 28% { transform: translateY(3px) rotate(3deg); }
  36% { transform: translateY(0) rotate(-1.6deg); } 46% { transform: rotate(.8deg); } 56%, 82% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }
@keyframes seLampPull { 0%, 32% { transform: none; } 36% { transform: translateY(4px); } 42%, 100% { transform: none; } }
@keyframes seLampOn { 0%, 37% { opacity: 0; } 39% { opacity: 1; } 42% { opacity: .45; } 45%, 80% { opacity: 1; } 100% { opacity: 0; } }
.se-cone { left: 50%; top: calc(var(--pad) - 38px); width: calc(var(--lw) * 1.25); bottom: calc(var(--pad) - 6px); translate: -50% 0;
  background: linear-gradient(to bottom, rgba(255,240,196,.5), rgba(255,236,190,.16) 70%, rgba(255,236,190,0));
  clip-path: polygon(18% 0, 82% 0, 100% 100%, 0 100%); }
.se-pool { left: 50%; top: 50%; width: calc(var(--w) * 1.7); height: calc(var(--h) * 1.7); translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,232,170,.42), rgba(255,232,170,.14) 60%, transparent); }
/* Pop! (Pastel Pop; the blob friend is static/js/pastel_art.js's): a glossy pastel bubble floats up out of the plate with a
   blob friend curled inside, wobbles at the top and pops - a cream ring and eight pastel sparkles fly out - and the friend
   tumbles down, lands on the plate's top edge with a squash, bounces, waves (its face goes happy) and hops off to the
   right. All anchored to the plate's top edge (--pad down the overlay); --top = where the bubble pops (px, negative up),
   --bs = the friend's width, --bb = the bubble's. Nothing strobes, so it is the same under reduce flashing (the ring is
   a little softer); low graphics drops half the sparkles and the bubble's sheen. */
.se-pop > i { left: 50%; bottom: calc(100% - var(--pad)); }
.se-pp-bubble { width: var(--bb); height: var(--bb); margin-left: calc(var(--bb) * -.5); opacity: 0;
  animation: sePpBubble 1.1s cubic-bezier(.3,.6,.4,1) forwards; }
.se-pp-bubble svg, .se-pp-body svg, .se-pp-sp svg { display: block; width: 100%; height: 100%; overflow: visible; }
@keyframes sePpBubble { 0% { opacity: 0; transform: translateY(calc(var(--h) * .5 + var(--bb) * .5)) scale(.25); }
  8% { opacity: .95; } 30% { transform: translateY(calc(var(--top) + var(--bb) * .5)) scale(1, 1); }
  34% { transform: translateY(calc(var(--top) + var(--bb) * .5)) scale(1.08, .93); } 38% { opacity: .95; transform: translateY(calc(var(--top) + var(--bb) * .5)) scale(.96, 1.05); }
  40% { opacity: 1; transform: translateY(calc(var(--top) + var(--bb) * .5)) scale(1.12); } 43%, 100% { opacity: 0; transform: translateY(calc(var(--top) + var(--bb) * .5)) scale(1.4); } }
.se-pp-ring { width: var(--bb); height: var(--bb); margin-left: calc(var(--bb) * -.5); border-radius: 50%; border: 2.5px solid #fff7ea; opacity: 0;
  transform: translateY(calc(var(--top) + var(--bb) * .5)); animation: sePpRing 1.1s ease-out forwards; }
@keyframes sePpRing { 0%, 39% { opacity: 0; transform: translateY(calc(var(--top) + var(--bb) * .5)) scale(.8); }
  41% { opacity: .95; } 56%, 100% { opacity: 0; transform: translateY(calc(var(--top) + var(--bb) * .5)) scale(1.9); } }
html.calm-flash .se-pp-ring { border-width: 1.5px; animation-name: sePpRingCalm; }
@keyframes sePpRingCalm { 0%, 39% { opacity: 0; transform: translateY(calc(var(--top) + var(--bb) * .5)) scale(.9); }
  44% { opacity: .5; } 60%, 100% { opacity: 0; transform: translateY(calc(var(--top) + var(--bb) * .5)) scale(1.6); } }
.se-pp-sp { width: 16px; height: 16px; margin: 0 0 -8px -8px; opacity: 0; animation: sePpSp 1.1s cubic-bezier(.2,.7,.3,1) forwards; }
@keyframes sePpSp { 0%, 39% { opacity: 0; transform: translateY(var(--top)) rotate(var(--a)) translateY(calc(var(--bb) * -.3)) scale(.2); }
  43% { opacity: 1; } 52% { transform: translateY(var(--top)) rotate(var(--a)) translateY(calc(var(--bb) * -.85)) scale(1.1); }
  66%, 100% { opacity: 0; transform: translateY(calc(var(--top) + 8px)) rotate(var(--a)) translateY(calc(var(--bb) * -1)) scale(.3); } }
html.gfx-low .se-pp-sp:nth-child(even), html.gfx-low .se-pp-bubble .sheen { display: none; }
.se-pp-shadow { width: calc(var(--bs) * .9); height: 6px; margin-left: calc(var(--bs) * -.45); margin-bottom: -3px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(90,58,110,.38), rgba(90,58,110,0)); opacity: 0; animation: sePpShadow 1.1s linear forwards; }
@keyframes sePpShadow { 0%, 46% { opacity: 0; transform: scale(.3); } 60% { opacity: 1; transform: scale(1.1); } 70% { transform: scale(.8); }
  76%, 84% { opacity: 1; transform: scale(1); } 92% { opacity: .4; transform: translateX(calc(var(--bs) * .45)) scale(.7); } 100% { opacity: 0; transform: translateX(calc(var(--bs) * .9)) scale(.6); } }
/* the friend: the outer box squashes on the plate (origin: its feet), the inner tumbles about its middle */
.se-pp-blob { width: var(--bs); height: calc(var(--bs) * .84); margin-left: calc(var(--bs) * -.5); transform-origin: 50% 100%; opacity: 0;
  animation: sePpBlob 1.1s linear forwards; }
@keyframes sePpBlob {
  0%, 39% { opacity: 0; transform: translateY(var(--by)) scale(.55); }
  40% { opacity: 1; transform: translateY(var(--by)) scale(.62); animation-timing-function: ease-out; }
  47% { transform: translateY(calc(var(--by) - var(--bs) * .3)) scale(1); animation-timing-function: ease-in; }
  60% { transform: translateY(0) scale(1); animation-timing-function: ease-out; }
  64% { transform: translateY(0) scale(1.3, .66); }
  70% { transform: translateY(calc(var(--bs) * -.26)) scale(.9, 1.1); animation-timing-function: ease-in; }
  76% { transform: translateY(0) scale(1.12, .88); } 80%, 86% { opacity: 1; transform: translateY(0) scale(1); }
  88% { transform: translateY(0) scale(1.1, .9); animation-timing-function: ease-out; }
  94% { opacity: 1; transform: translate(calc(var(--bs) * .45), calc(var(--bs) * -.45)) scale(.95, 1.05); animation-timing-function: ease-in; }
  100% { opacity: 0; transform: translate(calc(var(--bs) * .9), 0) scale(.85); } }
.se-pp-body { position: absolute; inset: 0; animation: sePpTumble 1.1s linear forwards; }
@keyframes sePpTumble { 0%, 40% { transform: rotate(-30deg); animation-timing-function: cubic-bezier(.3,.4,.5,1); } 60% { transform: rotate(360deg); }
  80% { transform: rotate(360deg); } 83% { transform: rotate(354deg); } 86% { transform: rotate(366deg); } 88%, 100% { transform: rotate(360deg); } }
.se-pp-body .wave { opacity: 0; animation: sePpWave 1.1s step-end forwards; }
.se-pp-body .rest { animation: sePpRest 1.1s step-end forwards; }
@keyframes sePpWave { 0%, 78% { opacity: 0; } 79%, 100% { opacity: 1; } }
@keyframes sePpRest { 0%, 78% { opacity: 1; } 79%, 100% { opacity: 0; } }
/* Swinging Doors (Frontier Saloon; the doors are static/js/frontier_art.js's): a pair of batwing saloon doors stands over
   the plate, each hung on its outer edge. They burst open (each door squeezes to its hinge: scaleX, 2D only, with a
   little skew for the swing), swing back through shut and out the other way (the door's far side, mirrored), back again
   in smaller swings and settle shut, then fade off the plate; a puff of dust is kicked up off the boards as they burst
   open. Low graphics: no dust. */
.se-doors > i { top: calc(var(--h) * -.08); height: calc(var(--h) * 1.16); width: calc(var(--w) * .5); opacity: 0; }
.se-doors svg { display: block; width: 100%; height: 100%; overflow: visible; }
.se-dr-l { left: 0; transform-origin: 0 50%; animation: seDoorL 1.2s linear forwards; }
.se-dr-r { right: 0; transform-origin: 100% 50%; animation: seDoorR 1.2s linear forwards; }
@keyframes seDoorL {
  0% { opacity: 0; transform: none; } 8% { opacity: 1; transform: none; animation-timing-function: cubic-bezier(.2,.9,.3,1); }
  24% { transform: scaleX(.08) skewY(-6deg); animation-timing-function: ease-in-out; }
  42% { transform: scaleX(-.55) skewY(4deg); animation-timing-function: ease-in-out; }
  58% { transform: scaleX(.42) skewY(-3deg); animation-timing-function: ease-in-out; }
  71% { transform: scaleX(-.2) skewY(1.5deg); animation-timing-function: ease-in-out; }
  82% { opacity: 1; transform: none; } 90% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }
@keyframes seDoorR {
  0% { opacity: 0; transform: none; } 8% { opacity: 1; transform: none; animation-timing-function: cubic-bezier(.2,.9,.3,1); }
  24% { transform: scaleX(.08) skewY(6deg); animation-timing-function: ease-in-out; }
  42% { transform: scaleX(-.55) skewY(-4deg); animation-timing-function: ease-in-out; }
  58% { transform: scaleX(.42) skewY(3deg); animation-timing-function: ease-in-out; }
  71% { transform: scaleX(-.2) skewY(-1.5deg); animation-timing-function: ease-in-out; }
  82% { opacity: 1; transform: none; } 90% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }
.se-doors > b { left: calc(50% + var(--x)); bottom: calc(var(--h) * -.1); width: calc(var(--h) * .5); height: calc(var(--h) * .3); margin-left: calc(var(--h) * -.25);
  border-radius: 50%; opacity: 0; background: radial-gradient(closest-side, rgba(231,194,140,.55), rgba(231,194,140,0));
  animation: seDust 1.2s ease-out forwards; }
@keyframes seDust { 0%, 14% { opacity: 0; transform: translate(0, 0) scale(.3); } 24% { opacity: .9; } 60%, 100% { opacity: 0; transform: translate(var(--dx), calc(var(--h) * -.25)) scale(1.6); } }
html.gfx-low .se-doors > b { display: none; }
/* Order Up! (Fifties Diner; the bell and the ticket's paper are static/js/diner_art.js's): a chrome service bell drops
   onto the plate's top edge and settles with a little bounce, its plunger is struck - a ding (protector_bell, the brass
   bell) - and two soft rings roll out over the plate; then an order ticket slides out from under the bell to the right,
   hangs a beat and the two fade. --bw = the bell's width. Nothing strobes: under reduce flashing the rings are fainter; low
   graphics drops the second ring. */
.se-order > i { left: 50%; bottom: calc(100% - var(--pad)); }
.se-ou-bell { width: var(--bw); height: calc(var(--bw) * .8); margin-left: calc(var(--bw) * -.5); transform-origin: 50% 100%; opacity: 0;
  animation: seOuBell 1.1s linear forwards; z-index: 2; }
.se-ou-bell svg, .se-ou-ticket svg { display: block; width: 100%; height: 100%; overflow: visible; }
@keyframes seOuBell { 0% { opacity: 0; transform: translateY(calc(var(--bw) * -1.4)); animation-timing-function: ease-in; }
  10% { opacity: 1; } 24% { transform: translateY(0) scale(1); animation-timing-function: ease-out; }
  28% { transform: translateY(0) scale(1.1, .88); } 34% { transform: translateY(calc(var(--bw) * -.12)) scale(.97, 1.03); animation-timing-function: ease-in; }
  40% { transform: translateY(0) scale(1); } 44% { transform: translateY(0) scale(1.03, .96); } 48%, 86% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(0) scale(.94); } }
.se-ou-bell .plunger { transform-box: fill-box; transform-origin: 50% 100%; animation: seOuPress 1.1s linear forwards; }
@keyframes seOuPress { 0%, 42% { transform: none; } 45% { transform: translateY(3px) scaleY(.7); } 50%, 100% { transform: none; } }
.se-ou-ring { width: calc(var(--bw) * 1.1); height: calc(var(--bw) * .5); margin: 0 0 calc(var(--bw) * -.2) calc(var(--bw) * -.55); border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .85); opacity: 0; animation: seOuRing 1.1s ease-out forwards; }
.se-ou-ring.b { animation-delay: .1s; }
@keyframes seOuRing { 0%, 44% { opacity: 0; transform: scale(.6); } 47% { opacity: .7; } 70%, 100% { opacity: 0; transform: scale(2.3); } }
html.calm-flash .se-ou-ring { border-width: 1.5px; border-color: rgba(255, 255, 255, .45); }
html.gfx-low .se-ou-ring.b { display: none; }
.se-ou-ticket { width: calc(var(--bw) * .9); height: calc(var(--bw) * 1.05); margin-left: calc(var(--bw) * -.1); transform-origin: 0 100%; opacity: 0;
  animation: seOuTicket 1.1s cubic-bezier(.3,.8,.4,1) forwards; z-index: 1; }
@keyframes seOuTicket { 0%, 50% { opacity: 0; transform: translateX(0) rotate(0); } 54% { opacity: 1; }
  72%, 86% { opacity: 1; transform: translateX(calc(var(--bw) * .55)) rotate(8deg); } 100% { opacity: 0; transform: translateX(calc(var(--bw) * .62)) rotate(9deg); } }
/* Toboggan Run (Winter Lodge; the toboggan and the snow are static/js/lodge_art.js's): a bank of fresh snow rises off to
   the plate's left, a wooden toboggan shoots down it and onto the plate's line, skids to a stop with its prow in front of
   the plate's middle - a spray of powder thrown up ahead of it and off its tail - and slides off as the snow it threw
   drifts down over the plate. 2D transforms only (the run is a translate along the slope with a turn as it levels out).
   Nothing flashes, so it is the same under reduce flashing. Low graphics: half the spray and no falling flakes. */
.se-toboggan .se-tb-bank { left: calc(var(--w) * -.62); bottom: calc(var(--h) * -.18); width: calc(var(--w) * .9); height: calc(var(--h) * 1.6);
  opacity: 0; animation: seTbBank 1.2s ease-out forwards;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%); mask-image: linear-gradient(90deg, transparent, #000 40%); }
.se-toboggan svg { display: block; width: 100%; height: 100%; overflow: visible; }
@keyframes seTbBank { 0% { opacity: 0; } 12% { opacity: 1; } 78% { opacity: 1; } 100% { opacity: 0; } }
.se-toboggan .se-tb-sled { left: calc(var(--w) * .5 - var(--h) * 1.1); bottom: calc(var(--h) * -.1); width: calc(var(--h) * 2.2); height: calc(var(--h) * .7);
  transform-origin: 70% 90%; opacity: 0; animation: seTbRun 1.2s linear forwards; }
@keyframes seTbRun {
  0% { opacity: 0; transform: translate(calc(var(--w) * -.95), calc(var(--h) * -1.25)) rotate(28deg); animation-timing-function: cubic-bezier(.5,0,.9,.6); }
  8% { opacity: 1; }
  34% { transform: translate(calc(var(--w) * -.36), calc(var(--h) * -.1)) rotate(10deg); animation-timing-function: cubic-bezier(.1,.6,.3,1); }
  52% { transform: translate(calc(var(--w) * .02), 0) rotate(-3deg); animation-timing-function: ease-in-out; }
  60% { transform: translate(0, 0) rotate(1deg); }
  66%, 80% { opacity: 1; transform: translate(0, 0) rotate(0); animation-timing-function: ease-in; }
  100% { opacity: 0; transform: translate(calc(var(--w) * .3), 0) rotate(0); } }
.se-toboggan .se-tb-puff { left: calc(50% + var(--x)); bottom: calc(var(--h) * -.18); width: calc(var(--h) * .95); height: calc(var(--h) * .7); margin-left: calc(var(--h) * -.48);
  border-radius: 50%; opacity: 0; background: radial-gradient(closest-side, rgba(255,255,255,.95), rgba(219,233,244,.5) 60%, rgba(219,233,244,0));
  animation: seTbPuff 1.2s ease-out forwards; animation-delay: var(--d); }
@keyframes seTbPuff { 0% { opacity: 0; transform: translate(0, 0) scale(.3); } 12% { opacity: .95; } 70%, 100% { opacity: 0; transform: translate(var(--dx), calc(var(--h) * -.55)) scale(1.7); } }
.se-toboggan .se-tb-flake { left: var(--x); top: calc(var(--h) * -.7); width: 4px; height: 4px; border-radius: 50%; background: #fff; opacity: 0;
  animation: seTbFlake 1.2s ease-in forwards; animation-delay: var(--d); }
@keyframes seTbFlake { 0% { opacity: 0; transform: translate(0, 0); } 20% { opacity: .95; } 100% { opacity: 0; transform: translate(var(--dx), calc(var(--h) * 1.4)); } }
html.gfx-low .se-tb-puff:nth-of-type(even), html.gfx-low .se-tb-flake { display: none; }
/* Splashdown (Ad Astra; the capsule and its parachutes are static/js/mission_art.js's): home from the stars. The white
   capsule (its blue band and crimson pinstripe) drifts down onto the middle of the plate under three crimson-and-white chutes, swinging gently under them; it lands
   with a splash - two rings run out across the felt, a crown of droplets is thrown up both ways and spray mists round the
   seat - then the chutes sigh down and fall away to the right, the capsule settles into the spray and the plate rises out
   of it (.se-sd-rise). 2D transforms only (the swing pivots on the chutes' crown). Nothing flashes, so it is the same under
   reduce flashing. Low graphics: half the droplets and no mist. */
.se-splash .se-sd-fall { left: 50%; top: calc(var(--pad) + var(--h) * .5); width: var(--cw); height: calc(var(--cw) * .97);
  margin-left: calc(var(--cw) * -.5); margin-top: calc(var(--cw) * -.94); transform-origin: 50% 0; opacity: 0;
  animation: seSdFall 1.2s linear forwards; }
.se-splash svg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; overflow: visible; }
@keyframes seSdFall {
  0% { opacity: 0; transform: translateY(calc(var(--h) * -2.6 - 60px)) rotate(-7deg); }
  8% { opacity: 1; }
  24% { transform: translateY(calc(var(--h) * -1.8 - 40px)) rotate(5deg); }
  40% { transform: translateY(calc(var(--h) * -.9 - 20px)) rotate(-3deg); animation-timing-function: ease-in; }
  56% { transform: translateY(0) rotate(1deg); animation-timing-function: ease-out; }
  62% { transform: translateY(3px) rotate(0); }
  70% { opacity: 1; transform: translateY(1px) rotate(0); animation-timing-function: ease-in; }
  100% { opacity: 0; transform: translateY(calc(var(--h) * .3)) scale(.92); } }
.se-splash .se-sd-chutes { transform-origin: 50% 69%; animation: seSdChutes 1.2s linear forwards; }
@keyframes seSdChutes { 0% { transform: scale(.96, 1); } 18% { transform: scale(1.02, .98); } 36% { transform: scale(.97, 1.01); }
  56% { opacity: 1; transform: none; animation-timing-function: ease-in; }
  72% { opacity: 1; transform: translate(6%, 6%) rotate(12deg) scale(1, .72); }
  100% { opacity: 0; transform: translate(34%, 20%) rotate(40deg) scale(.9, .3); } }
.se-splash .se-sd-ring { left: 50%; top: calc(var(--pad) + var(--h) * .5); width: calc(var(--w) * 2); height: calc(var(--h) * 1.2);
  margin: calc(var(--h) * -.6) 0 0 calc(var(--w) * -1); border-radius: 50%; border: 2px solid rgba(255,255,255,.85);
  box-shadow: inset 0 0 0 3px rgba(168,212,242,.3), 0 0 0 2px rgba(90,169,230,.2); opacity: 0; animation: seSdRing 1.2s ease-out forwards; }
.se-splash .se-sd-ring.b { animation-delay: .14s; border-width: 1.5px; }
@keyframes seSdRing { 0%, 55% { opacity: 0; transform: scale(.12); } 60% { opacity: .9; } 100% { opacity: 0; transform: scale(1); } }
.se-splash .se-sd-drop { left: calc(var(--pad) + var(--w) * .5); top: calc(var(--pad) + var(--h) * .5); width: 5px; height: 5px; margin: -2.5px;
  border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(90,169,230,.55); opacity: 0;
  animation: seSdDrop .5s cubic-bezier(.2,.6,.5,1) var(--dl) forwards; }
@keyframes seSdDrop { 0% { opacity: 1; transform: translate(0, 0) scale(1.1); } 45% { opacity: 1; transform: translate(calc(var(--dx) * .6), var(--dy)); }
  100% { opacity: 0; transform: translate(var(--dx), calc(var(--dy) * .1)) scale(.6); } }
.se-splash .se-sd-mist { left: calc(var(--pad) + var(--w) * .5 + var(--x)); top: calc(var(--pad) + var(--h) * .5); width: calc(var(--h) * 1.3); height: calc(var(--h) * .9);
  margin: calc(var(--h) * -.6) 0 0 calc(var(--h) * -.65); border-radius: 50%; opacity: 0;
  background: radial-gradient(closest-side, rgba(255,255,255,.9), rgba(214,221,230,.45) 60%, rgba(214,221,230,0));
  animation: seSdMist .7s ease-out var(--dl) forwards; }
@keyframes seSdMist { 0% { opacity: 0; transform: scale(.3); } 20% { opacity: .9; } 100% { opacity: 0; transform: translate(var(--dx), calc(var(--h) * -.4)) scale(1.6); } }
html.gfx-low .se-sd-drop:nth-of-type(even), html.gfx-low .se-sd-mist { display: none; }
.se-sd-rise { animation: seSdRise 1.2s linear; }
@keyframes seSdRise { 0%, 56% { opacity: 0; translate: 0 12px; scale: .94; } 62% { opacity: .35; animation-timing-function: cubic-bezier(.2,.7,.3,1); }
  86%, 100% { opacity: 1; translate: 0 0; scale: 1; } }
html.calm-motion .se-sd-rise { animation: none; }
/* Wave Break (Summer Beach; the shell and the foam are static/js/beach_art.js's): a turquoise wave rolls in from the
   left over the seat, its crest rising and curling as it crosses the plate (.se-wb-wave: the whole wave slides on
   translate, its crest leans on a skew), breaks across the plate's top edge in white foam with a spray of drops thrown up
   (.se-wb-drop), then slides back out to the left and thins away, leaving a lace of foam (.se-wb-lace) and a scallop
   shell (.se-wb-shell) on the plate's edge for a moment. 2D transforms only. Nothing flashes, so it is the same under reduce
   flashing. Low graphics: half the drops and no lace. Anchored to the plate (--pad round it). */
.se-wave .se-wb-wave { left: calc(var(--pad) - var(--w) * .35); bottom: calc(var(--pad) - 4px); width: calc(var(--w) * 1.7); height: calc(var(--h) * 2.1);
  transform-origin: 0 100%; opacity: 0; animation: seWbWave 1.1s cubic-bezier(.35,.2,.4,1) forwards; }
.se-wave svg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; overflow: visible; }
@keyframes seWbWave {
  0% { opacity: 0; transform: translateX(-62%) scaleY(.35); }
  10% { opacity: .96; }
  34% { transform: translateX(-6%) scaleY(1) skewX(-4deg); }
  44% { opacity: .96; transform: translateX(4%) scaleY(.82) skewX(-14deg); }
  58% { opacity: .8; transform: translateX(0) scaleY(.45) skewX(-6deg); }
  100% { opacity: 0; transform: translateX(-46%) scaleY(.12); } }
.se-wave .se-wb-crest { transform-origin: 70% 30%; animation: seWbCrest 1.1s ease-in-out forwards; }
@keyframes seWbCrest { 0%, 26% { transform: none; } 42% { transform: rotate(14deg) translateY(4%); } 60%, 100% { opacity: 0; transform: rotate(26deg) translateY(16%); } }
.se-wave .se-wb-drop { left: calc(var(--pad) + var(--w) * var(--x)); top: var(--pad); width: 5px; height: 5px; margin: -2.5px;
  border-radius: 50%; background: #fbfdfb; box-shadow: 0 0 0 1px rgba(19,131,142,.45); opacity: 0;
  animation: seWbDrop .5s cubic-bezier(.2,.6,.5,1) var(--dl) forwards; }
@keyframes seWbDrop { 0% { opacity: 1; transform: translate(0, 0) scale(1.1); } 45% { opacity: 1; transform: translate(calc(var(--dx) * .6), var(--dy)); }
  100% { opacity: 0; transform: translate(var(--dx), calc(var(--dy) * .2)) scale(.6); } }
.se-wave .se-wb-lace { left: calc(var(--pad) - 6px); right: calc(var(--pad) - 6px); top: calc(var(--pad) - 7px); height: 12px; opacity: 0;
  animation: seWbLace 1.1s ease-out forwards; }
@keyframes seWbLace { 0%, 46% { opacity: 0; transform: translateX(-6%) scaleX(.9); } 58% { opacity: 1; transform: none; } 82% { opacity: .9; } 100% { opacity: 0; transform: translateX(-2%); } }
.se-wave .se-wb-shell { left: calc(var(--pad) + var(--w) * .66); top: calc(var(--pad) - 14px); width: 18px; height: 18px; margin-left: -9px; opacity: 0;
  animation: seWbShell 1.1s cubic-bezier(.3,1.4,.5,1) forwards; }
@keyframes seWbShell { 0%, 52% { opacity: 0; transform: translateY(-6px) scale(.5) rotate(-20deg); } 64% { opacity: 1; transform: none; } 86% { opacity: 1; } 100% { opacity: 0; transform: translateY(2px); } }
html.gfx-low .se-wb-drop:nth-of-type(even), html.gfx-low .se-wb-lace { display: none; }
/* Card Swirl: a dealer's flourish in the player's own deck (their card back, cards.js): ten cards spring out of the plate
   into a ring, spin once round it, gather into a fan above the plate - a held hand, each card a few degrees apart - and the
   fan closes and drops back into the plate. One transform list throughout (translate / rotate / translate / scale), so
   each card glides between the three figures. */
.se-card { left: 50%; top: 50%; width: var(--cw); height: calc(var(--cw) * 1.4); margin: calc(var(--cw) * -.7) 0 0 calc(var(--cw) * -.5);
  opacity: 0; filter: drop-shadow(0 2px 3px rgba(0,0,0,.55)); animation: seSwirl 1.15s cubic-bezier(.35,.1,.3,1) forwards;
  animation-delay: calc(var(--i) * 14ms); }
.se-card .cc-card { display: block; width: 100%; height: 100%; box-shadow: none; }
@keyframes seSwirl {
  0% { opacity: 0; transform: translateY(0) rotate(var(--a)) translateY(0) scale(.25); }
  14% { opacity: 1; transform: translateY(0) rotate(calc(var(--a) + 50deg)) translateY(calc(var(--r) * -1)) scale(1); }
  52% { opacity: 1; transform: translateY(0) rotate(calc(var(--a) + 360deg)) translateY(calc(var(--r) * -1)) scale(1); }
  70%, 84% { opacity: 1; transform: translateY(var(--fy)) rotate(calc(var(--fa) + 360deg)) translateY(calc(var(--cw) * -.9)) scale(1.08); }
  100% { opacity: 0; transform: translateY(0) rotate(360deg) translateY(0) scale(.3); } }
/* Neon Power-On (Synthwave): an Ocean Drive motel sign strikes on round the plate (static/js/synth_art.js tubes): the
   hot-pink frame buzzes twice and catches, the aqua underline swash follows with a star at its tail, and the striped
   sunset crown lights over the top; it holds, then goes dark. Each tube is an SVG group fading on opacity. */
.se-neon svg { inset: 0; width: 100%; height: 100%; overflow: visible; }
.se-tube { opacity: 0; animation: seNeon 1.15s linear forwards; }
.se-tube.u { animation-name: seNeonU; }
.se-tube.s { transform-box: fill-box; transform-origin: 50% 100%; animation-name: seNeonS; }
@keyframes seNeon { 0% { opacity: 0; } 6% { opacity: 1; } 10% { opacity: .08; } 19% { opacity: 1; } 23% { opacity: .2; } 30%, 82% { opacity: 1; } 100% { opacity: 0; } }
@keyframes seNeonU { 0%, 26% { opacity: 0; } 30% { opacity: 1; } 34% { opacity: .2; } 40%, 82% { opacity: 1; } 100% { opacity: 0; } }
@keyframes seNeonS { 0%, 38% { opacity: 0; transform: scale(.6); } 48% { opacity: 1; transform: scale(1.06); } 56%, 82% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }
.se-flicker { animation: sePlateFlicker .45s steps(1) 1; }
@keyframes sePlateFlicker { 0% { opacity: .2; } 20% { opacity: 1; } 40% { opacity: .35; } 60%, 100% { opacity: 1; } }
/* Starfall (Celestial): a gold shooting star, a four-point sparkle at its head, streaks down onto the plate and bursts in
   a ring of starlight and gold sparks; then the player's own constellation (static/js/star_art.js's stars) sparkles in
   round the plate, star by star, its gold lines drawing between them, and fades. */
.se-star { left: 50%; top: 50%; width: 130px; height: 3px; margin: -1.5px 0 0 -124px; border-radius: 3px; transform-origin: 124px 50%;
  background: linear-gradient(90deg, transparent, rgba(233,196,106,.45) 50%, #fff1c4 90%, #fff);
  animation: seFall .46s cubic-bezier(.5,0,.9,.6) forwards; }
.se-star::after { content: ''; position: absolute; right: -9px; top: -8px; width: 19px; height: 19px; background: #fff;
  clip-path: polygon(50% 0, 58% 42%, 100% 50%, 58% 58%, 50% 100%, 42% 58%, 0 50%, 42% 42%); }
@keyframes seFall { 0% { opacity: 0; transform: rotate(36deg) translateX(calc(var(--d) * -1)); }
  15% { opacity: 1; } 100% { opacity: 1; transform: rotate(36deg) translateX(0); } }
.se-ring { left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; border: 2px solid #f3d58a;
  box-shadow: 0 0 12px rgba(255,231,160,.85); opacity: 0; animation: seRing .7s ease-out .44s forwards; }
@keyframes seRing { 0% { opacity: 1; transform: scale(.2); } 100% { opacity: 0; transform: scale(calc(var(--w) / 26px)); } }
.se-spark { left: 50%; top: 50%; width: 5px; height: 5px; margin: -2.5px; border-radius: 50%; background: #fff6dc;
  box-shadow: 0 0 6px #e9c46a, 0 0 2px #fff; opacity: 0; animation: seSpark .7s ease-out .44s forwards; }
@keyframes seSpark { 0% { opacity: 1; transform: rotate(var(--a)) translateY(0) scale(1); }
  100% { opacity: 0; transform: rotate(var(--a)) translateY(calc(var(--r) * -1)) scale(.3); } }
.se-sky { inset: 0; width: 100%; height: 100%; overflow: visible; animation: seSky 1.2s linear forwards; }
@keyframes seSky { 0%, 80% { opacity: 1; } 100% { opacity: 0; } }
.se-cl { stroke-dasharray: 1 1; stroke-dashoffset: 1; animation: seLine .2s ease-out forwards; animation-delay: calc(.5s + var(--i) * .07s); }
@keyframes seLine { to { stroke-dashoffset: 0; } }
.se-cs { transform-box: fill-box; transform-origin: center; opacity: 0; animation: seStar .45s ease-out forwards; animation-delay: calc(.46s + var(--i) * .07s); }
@keyframes seStar { 0% { opacity: 0; scale: .2; } 45% { opacity: 1; scale: 1.7; } 100% { opacity: 1; scale: 1; } }
html.calm-flash .se-ring { box-shadow: none; animation-name: seRingCalm; }
@keyframes seRingCalm { 0% { opacity: .4; transform: scale(.2); } 100% { opacity: 0; transform: scale(calc(var(--w) / 26px)); } }
html.calm-flash .se-cs { animation-name: seStarCalm; }
@keyframes seStarCalm { 0% { opacity: 0; scale: .8; } 100% { opacity: 1; scale: 1; } }
/* Royal Procession (Royal Velvet's entrance; the brass, velvet and crown are static/js/material_art.js's): a red carpet
   with gold borders rolls out under the plate from its middle, two polished brass stanchions with crowned finials rise at
   its ends, the twisted burgundy velvet rope hooked across the plate unhooks in the middle and its halves swing down to
   their posts, and a gold crown settles over the plate and catches the light, as gold flecks drift down. */
.se-carpet { left: -26px; right: -26px; top: calc(100% - 4px); height: 10px; border-radius: 2px; transform-origin: 50% 50%;
  background: linear-gradient(to bottom, #f2cf6b 0 1.5px, #8a5a12 1.5px 2.2px, transparent 2.2px calc(100% - 2.2px), #8a5a12 calc(100% - 2.2px) calc(100% - 1.5px), #f2cf6b calc(100% - 1.5px)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 3px), linear-gradient(to bottom, #b3122e, #6e0a1c);
  box-shadow: 0 3px 6px rgba(0,0,0,.55); opacity: 0; animation: seCarpet 1.2s ease-out forwards; }
@keyframes seCarpet { 0% { opacity: 1; transform: scaleX(0); } 28% { transform: scaleX(1); } 82% { opacity: 1; transform: scaleX(1); } 100% { opacity: 0; transform: scaleX(1); } }
.se-post { top: -16px; bottom: 2px; width: 16px; opacity: 0; animation: sePost 1.2s ease forwards; }
.se-post svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 2px 2px rgba(0,0,0,.6)); }
.se-post.l { left: -24px; } .se-post.r { right: -24px; }
@keyframes sePost { 0% { opacity: 0; transform: translateY(10px); } 14%, 82% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.se-rope { top: -9px; height: 24px; width: calc(50% + 16px); opacity: 0; }
.se-rope svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 2px 1px rgba(0,0,0,.45)); }
.se-rope.l { left: -16px; transform-origin: 0 0; animation: seRopeL 1.2s ease-in-out forwards; }
.se-rope.r { right: -16px; transform-origin: 100% 0; animation: seRopeR 1.2s ease-in-out forwards; }
@keyframes seRopeL { 0%, 12% { opacity: 1; transform: rotate(0); } 55%, 82% { opacity: 1; transform: rotate(80deg) scaleX(.55); } 100% { opacity: 0; transform: rotate(82deg) scaleX(.55); } }
@keyframes seRopeR { 0%, 12% { opacity: 1; transform: rotate(0); } 55%, 82% { opacity: 1; transform: rotate(-80deg) scaleX(.55); } 100% { opacity: 0; transform: rotate(-82deg) scaleX(.55); } }
.se-crown { left: 50%; bottom: calc(100% + 3px); width: 44px; height: 37px; margin-left: -22px; opacity: 0; animation: seCrown 1.2s cubic-bezier(.3,1.2,.5,1) forwards; }
.se-crown svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 2px 2px rgba(0,0,0,.6)); }
@keyframes seCrown { 0% { opacity: 0; transform: translateY(-22px) scale(.8); } 30% { opacity: 1; transform: none; } 82% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }
.se-shine { left: 50%; bottom: calc(100% + 28px); width: 26px; height: 26px; margin-left: -3px; background: #fffbea; opacity: 0;
  clip-path: polygon(50% 0, 57% 43%, 100% 50%, 57% 57%, 50% 100%, 43% 57%, 0 50%, 43% 43%); animation: seShine 1.2s ease-out forwards; }
@keyframes seShine { 0%, 36% { opacity: 0; transform: scale(.2) rotate(0); } 46% { opacity: 1; transform: scale(1.2) rotate(30deg); } 64%, 100% { opacity: 0; transform: scale(.3) rotate(60deg); } }
.se-fleck { top: -30px; left: var(--x); width: 4px; height: 3px; border-radius: 1px; background: linear-gradient(#fff1b8, #d9a43a); opacity: 0;
  animation: seFleck 1.1s ease-in var(--dl) forwards; }
@keyframes seFleck { 0% { opacity: 0; transform: translateY(0) rotate(0); } 15% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--dx), calc(var(--h) + 50px)) rotate(400deg); } }
.se-glow { inset: -10px; border-radius: 16px; background: radial-gradient(closest-side, rgba(253,230,138,.28), transparent);
  opacity: 0; animation: seGlow 1.2s linear forwards; }
@keyframes seGlow { 0% { opacity: 0; } 20%, 70% { opacity: 1; } 100% { opacity: 0; } }
/* Dragon Coil (the Dragon Court's set reward): the Collection's dragon (static/js/dragon_art.js) - a scaled body with its
   spines - wraps itself once round the plate (a mask stroke drawn along its spine), its head comes up at the end of the coil
   with the jade eye open, and settles; embers rise. On an all-in it rears: the head lifts and swells, the jaws open and
   fire glows in them. */
.se-dragon { overflow: visible; left: 0; top: 0; }
.se-dragon .reveal { fill: none; stroke: #fff; stroke-linecap: round; stroke-dasharray: var(--len); stroke-dashoffset: var(--len);
  animation: seCoil .8s cubic-bezier(.4,0,.2,1) forwards; }
.se-dragon .coil { animation: seFade 1.2s linear forwards; }
@keyframes seCoil { to { stroke-dashoffset: 0; } }
@keyframes seFade { 0%, 80% { opacity: 1; } 100% { opacity: 0; } }
.se-dragon .head { transform-box: fill-box; transform-origin: 20% 70%; opacity: 0; animation: seHead 1.2s ease-out forwards; }
@keyframes seHead { 0%, 55% { opacity: 0; transform: scale(.4); } 70% { opacity: 1; transform: scale(1.15); } 82% { opacity: 1; transform: scale(1); } 100% { opacity: 0; } }
.se-dragon .fire { opacity: 0; }
.se-rear .se-dragon .reveal { animation: none; stroke-dashoffset: 0; }
.se-rear .se-dragon .head { animation: seRearUp 1.2s ease-out forwards; }
.se-rear .se-dragon .fire { animation: seRearFire 1.2s ease-out forwards; }
@keyframes seRearUp { 0% { opacity: 1; transform: scale(1); } 30% { opacity: 1; transform: translateY(-14px) scale(1.5) rotate(-10deg); }
  70% { opacity: 1; transform: translateY(-10px) scale(1.4) rotate(-7deg); } 100% { opacity: 0; transform: none; } }
@keyframes seRearFire { 0%, 15% { opacity: 0; } 35%, 65% { opacity: 1; } 100% { opacity: 0; } }
html.calm-flash .se-rear .se-dragon .fire { animation-name: seRearFireCalm; }
@keyframes seRearFireCalm { 0%, 20% { opacity: 0; } 45%, 65% { opacity: .35; } 100% { opacity: 0; } }
html.gfx-low .se-dragon .spines { display: none; }
.se-ember { width: 4px; height: 4px; border-radius: 50%; background: #fb923c; box-shadow: 0 0 6px #f97316; opacity: 0;
  animation: seEmber 1s ease-out forwards; animation-delay: var(--d); }
@keyframes seEmber { 0% { opacity: 1; transform: translate(0, 0); } 100% { opacity: 0; transform: translate(var(--x), -46px); } }
/* Second Contact (Totality's career entrance): the plate goes dark, a blazing sun hangs on it and the moon slides over;
   Baily's beads run along the last of the limb and wink out, the diamond ring flashes, and at totality a ragged corona
   hangs round the black sun for a beat before the light comes back and the plate is revealed. All sizes from --D (the
   sun's diameter); the bead / ring angle is 16deg (the side the moon is heading for). The reprise (.se-rev, a 10x+ win):
   the black sun sits on the plate's top edge and the corona blazes out round it, no veil. */
.se-ec > * { left: 50%; top: 50%; }
.se-ec-veil { left: -4px !important; top: -4px !important; right: -4px; bottom: -4px; border-radius: 12px;
  background: radial-gradient(ellipse at 50% 50%, rgba(18,10,31,.9), rgba(5,3,10,.94)); opacity: 0; animation: seEcVeil 1.2s linear forwards; }
@keyframes seEcVeil { 0% { opacity: 0; } 9%, 76% { opacity: 1; } 100% { opacity: 0; } }
.se-ec-star { width: 2px; height: 2px; margin: -1px; border-radius: 50%; background: #e0e7ff; opacity: 0;
  animation: seEcStar 1.2s linear forwards; }
@keyframes seEcStar { 0%, 30% { opacity: 0; } 46% { opacity: .9; } 60% { opacity: .45; } 72% { opacity: .9; } 88%, 100% { opacity: 0; } }
.se-ec-glow { width: calc(var(--D) * 4.4); height: calc(var(--D) * 4.4); translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(253,230,138,.55), rgba(245,158,11,.22) 45%, rgba(180,83,9,.08) 70%, transparent);
  opacity: 0; animation: seEcGlow 1.2s ease-out forwards; }
@keyframes seEcGlow { 0%, 44% { opacity: 0; transform: scale(.5); } 52% { opacity: 1; transform: scale(1.05); } 80% { opacity: .8; transform: scale(1); } 100% { opacity: 0; transform: scale(1.1); } }
.se-ec-sun { width: var(--D); height: var(--D); translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(circle, #fffdf2 0 52%, #fde68a 66%, #fbbf24 82%, #f59e0b 100%);
  box-shadow: 0 0 12px 4px rgba(253,230,138,.85), 0 0 34px 12px rgba(245,158,11,.5), 0 0 70px 24px rgba(180,83,9,.25);
  opacity: 0; animation: seEcSun 1.2s ease-out forwards; }
@keyframes seEcSun { 0% { opacity: 0; transform: scale(.4); } 8% { opacity: 1; transform: scale(1.08); } 13% { transform: scale(1); } 40% { opacity: 1; } 45%, 100% { opacity: 0; } }
.se-ec-corona { translate: -50% -50%; overflow: visible; opacity: 0; animation: seEcCorona 1.2s cubic-bezier(.2,.8,.3,1) forwards; }
@keyframes seEcCorona { 0%, 44% { opacity: 0; transform: scale(.45) rotate(-6deg); } 50% { opacity: 1; transform: scale(1.06) rotate(0deg); }
  56% { transform: scale(1) rotate(1deg); } 80% { opacity: 1; transform: scale(1.02) rotate(5deg); } 100% { opacity: 0; transform: scale(1.12) rotate(8deg); } }
.se-ec-corona .plumes { transform-origin: 50% 50%; transform-box: view-box; animation: seEcPlumes 1.2s linear forwards; }
@keyframes seEcPlumes { to { transform: rotate(-10deg); } }
.se-ec-moon { width: calc(var(--D) * 1.03); height: calc(var(--D) * 1.03); translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(circle at 38% 34%, #120a1f, #050403 60%); opacity: 0; animation: seEcMoon 1.2s cubic-bezier(.35,.05,.45,1) forwards; }
@keyframes seEcMoon { 0% { opacity: 0; transform: translate(calc(var(--D) * -1.3), calc(var(--D) * -.38)); }
  6% { opacity: .3; transform: translate(calc(var(--D) * -1.2), calc(var(--D) * -.35)); }
  26% { opacity: 1; }
  44% { opacity: 1; transform: translate(0, 0); animation-timing-function: linear; }
  84% { opacity: 1; transform: translate(calc(var(--D) * .1), calc(var(--D) * .03)); } 100% { opacity: 0; transform: translate(calc(var(--D) * .2), calc(var(--D) * .06)); } }
.se-ec-limb { width: calc(var(--D) * 1.06); height: calc(var(--D) * 1.06); translate: -50% -50%; border-radius: 50%; border: 1.5px solid #fffdf2;
  box-shadow: 0 0 4px 1px #fde68a, 0 0 10px 2px rgba(245,158,11,.75), inset 0 0 3px rgba(253,230,138,.8); opacity: 0;
  animation: seEcLimb 1.2s linear forwards; }
@keyframes seEcLimb { 0%, 37% { opacity: 0; } 43% { opacity: .9; } 47%, 78% { opacity: 1; } 100% { opacity: 0; } }
.se-ec-bead { width: 4px; height: 4px; margin: -2px; border-radius: 50%; background: #fffdf2; box-shadow: 0 0 4px 1px #fde68a, 0 0 9px 2px rgba(253,230,138,.6);
  transform: rotate(var(--a)) translateX(calc(var(--D) * .5)); opacity: 0; animation: seEcBead var(--l) linear var(--d) both; }
@keyframes seEcBead { 0% { opacity: 0; } 12%, 82% { opacity: 1; } 100% { opacity: 0; } }
.se-ec-ring { width: 0; height: 0; transform: rotate(var(--a)) translateX(calc(var(--D) * .5)) rotate(calc(var(--a) * -1)); }
.se-ec-ring > i { position: absolute; left: 0; top: 0; translate: -50% -50%; opacity: 0; animation: seEcRing var(--l, .3s) ease-out var(--d, .46s) both; }
.se-ec-ring .core { width: 9px; height: 9px; border-radius: 50%; background: #fff; box-shadow: 0 0 6px 3px #fff, 0 0 18px 8px rgba(255,247,214,.9), 0 0 40px 16px rgba(253,230,138,.55); }
.se-ec-ring .h { width: calc(var(--D) * 3.4); height: 2px; background: linear-gradient(90deg, transparent, #fff 45%, #fff 55%, transparent); }
.se-ec-ring .v { width: 2px; height: calc(var(--D) * 1.9); background: linear-gradient(180deg, transparent, #fff 45%, #fff 55%, transparent); }
.se-ec-ring .x { width: calc(var(--D) * .9); height: 1px; background: linear-gradient(90deg, transparent, #fff7d6 50%, transparent); rotate: 45deg; }
.se-ec-ring .x.b { rotate: -45deg; }
@keyframes seEcRing { 0% { opacity: 0; transform: scale(.2); } 30% { opacity: 1; transform: scale(1.25); } 60% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(.6); } }
.se-ec-ring.back > i { --d: .98s; --l: .2s; }
.se-ec-ring.back .h { width: calc(var(--D) * 1.6); } .se-ec-ring.back .v { height: calc(var(--D) * .9); }
/* the reprise: the black sun sits on the plate's top edge and the corona blazes round it */
.se-rev.se-ec > * { top: 0; }
.se-rev .se-ec-moon { opacity: 1; animation: seEcRevMoon 1.2s ease forwards; }
@keyframes seEcRevMoon { 0% { opacity: 0; transform: scale(.6); } 10%, 82% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.se-rev .se-ec-limb { animation: seEcRevLimb 1.2s linear forwards; }
@keyframes seEcRevLimb { 0% { opacity: 0; } 10%, 82% { opacity: 1; } 100% { opacity: 0; } }
.se-rev .se-ec-corona { animation-name: seEcRevCorona; }
@keyframes seEcRevCorona { 0%, 6% { opacity: 0; transform: scale(.4) rotate(-8deg); } 16% { opacity: 1; transform: scale(1.12) rotate(0deg); }
  26% { transform: scale(1) rotate(1deg); } 78% { opacity: 1; transform: scale(1.03) rotate(6deg); } 100% { opacity: 0; transform: scale(1.15) rotate(9deg); } }
.se-rev .se-ec-glow { animation-name: seEcRevGlow; }
@keyframes seEcRevGlow { 0%, 6% { opacity: 0; transform: scale(.5); } 16% { opacity: 1; transform: scale(1.08); } 78% { opacity: .8; transform: scale(1); } 100% { opacity: 0; } }
.se-rev .se-ec-ring > i { --d: .02s; --l: .26s; }
/* Starfall's Legendary shower: two lesser stars streak in ahead of the main one and burn out short of the plate; at the
   impact an engraved gold zodiac ring, laid flat round the seat (squashed to an ellipse), opens out and turns a sign's
   width, and star dust sifts down after the burst. */
.se-star { animation: seFall .46s cubic-bezier(.5,0,.9,.6) forwards, seStarOut .22s linear .46s forwards; }
@keyframes seStarOut { to { opacity: 0; } }
.se-star.minor { height: 2px; width: 92px; margin: -1px 0 0 -88px; transform-origin: 88px 50%; opacity: 0;
  animation: seFallMinor .5s cubic-bezier(.4,0,.8,.7) var(--dl) forwards; }
.se-star.minor::after { right: -6px; top: -5.5px; width: 13px; height: 13px; }
@keyframes seFallMinor { 0% { opacity: 0; transform: rotate(var(--rot)) translate(calc(var(--d) * -1), var(--off)); }
  15% { opacity: .9; } 72% { opacity: .9; } 100% { opacity: 0; transform: rotate(var(--rot)) translate(calc(var(--d) * -.18), var(--off)); } }
.se-zr { left: 50%; top: 50%; width: 0; height: 0; transform: scaleY(.42); }
.se-zr svg { position: absolute; left: calc(var(--zr) * -1); top: calc(var(--zr) * -1); width: calc(var(--zr) * 2); height: calc(var(--zr) * 2);
  overflow: visible; opacity: 0; animation: seZodiac .76s cubic-bezier(.2,.7,.3,1) .44s forwards; }
@keyframes seZodiac { 0% { opacity: 0; transform: scale(.55) rotate(-8deg); } 22% { opacity: 1; } 70% { opacity: .9; }
  100% { opacity: 0; transform: scale(1.04) rotate(22deg); } }
.se-dust { left: var(--x); top: var(--y); width: 3px; height: 3px; margin: -1.5px; border-radius: 50%; background: #fff3cf;
  box-shadow: 0 0 4px #e9c46a; opacity: 0; animation: seDust .7s ease-in var(--dl) forwards; }
@keyframes seDust { 0% { opacity: 0; transform: translateY(-6px); } 25% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--dx), 26px); } }
html.calm-flash .se-dust { box-shadow: none; }
html.gfx-low .se-dust, html.gfx-low .se-star.minor { display: none; }
/* Comet (Deep Field; the colours are static/js/space_art.js's): a comet comes in out of the dark along a path that sweeps
   round the seat - under the plate, up its far side, over the top - and brakes into the plate. Its icy head is a white
   nucleus in a blue-white coma; behind it a long straight blue ion tail and a broader, curving pale dust tail, both
   stretching while it races and drawing in as it brakes. Its path is left on the felt as a fading glow trail (a dash of
   the same path, kept just behind the head). As it brakes it sheds a ring of glittering ice, and the plate takes its cold
   light as the head sinks into it. Reduce flashing: no glint at the settle, the plate's glow at a third. Low graphics:
   no dust tail, no ice glints (the ring stays). */
.se-cm { left: 0; top: 0; width: 0; height: 0; offset-rotate: auto; offset-distance: 0%; opacity: 0;
  animation: seCmFly 1.2s linear forwards; }
@keyframes seCmFly {
  0% { offset-distance: 0%; opacity: 0; transform: scale(.7); animation-timing-function: cubic-bezier(.3,.45,.3,1); }
  8% { opacity: 1; transform: scale(1); }
  68% { offset-distance: 100%; opacity: 1; transform: scale(1); animation-timing-function: ease-in; }
  86% { offset-distance: 100%; opacity: 0; transform: scale(.35); }
  100% { offset-distance: 100%; opacity: 0; transform: scale(.35); } }
.se-cm > i, .se-cm > svg { position: absolute; }
.se-cm-coma { left: -21px; top: -21px; width: 42px; height: 42px; border-radius: 50%;
  background: radial-gradient(closest-side, #fff 0%, #e0f2fe 16%, rgba(125,211,252,.6) 38%, rgba(99,102,241,.22) 66%, rgba(99,102,241,0)); }
.se-cm-nuc { left: -4.5px; top: -4.5px; width: 9px; height: 9px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 6px 2px rgba(224,242,254,.9), 0 0 16px 6px rgba(125,211,252,.45); }
.se-cm-ion, .se-cm-ionglow { right: 0; transform-origin: 100% 50%; animation: seCmTail 1.2s linear forwards; }
.se-cm-ion { top: -1.8px; width: var(--tl); height: 3.6px; border-radius: 2px;
  background: linear-gradient(90deg, rgba(56,189,248,0), rgba(96,165,250,.6) 40%, rgba(165,243,252,.9) 80%, #fff 98%); }
.se-cm-ionglow { top: -8px; width: calc(var(--tl) * .85); height: 16px; border-radius: 50%;
  background: linear-gradient(90deg, rgba(99,102,241,0), rgba(99,102,241,.3) 55%, rgba(125,211,252,.6)); }
.se-cm-dust { right: -6px; top: -5px; width: calc(var(--tl) * .66); height: 54px; overflow: visible; transform-origin: 100% 6%;
  animation: seCmTail 1.2s linear forwards; }
@keyframes seCmTail { 0% { opacity: 0; transform: scaleX(.15); } 9% { opacity: 1; transform: scaleX(1); } 48% { opacity: 1; transform: scaleX(1); }
  66% { opacity: .55; transform: scaleX(.3); } 74%, 100% { opacity: 0; transform: scaleX(.08); } }
.se-cm-trail { left: 0; top: 0; overflow: visible; }
.se-cm-trail path { fill: none; stroke-linecap: round; stroke-dasharray: .26 2; stroke-dashoffset: .26;
  animation: seCmTrail 1.2s linear forwards; }
@keyframes seCmTrail { 0% { stroke-dashoffset: .26; opacity: 0; animation-timing-function: cubic-bezier(.3,.45,.3,1); }
  8% { opacity: 1; } 68% { stroke-dashoffset: -.74; opacity: .8; } 100% { stroke-dashoffset: -.74; opacity: 0; } }
.se-cm-ring { left: 50%; top: 50%; width: calc(var(--w) * 1.5); height: calc(var(--h) * 2.2); translate: -50% -50%; border-radius: 50%;
  border: 1.5px solid rgba(186,230,253,.85); box-shadow: 0 0 8px rgba(125,211,252,.6), inset 0 0 8px rgba(125,211,252,.4);
  opacity: 0; animation: seCmRing .6s cubic-bezier(.2,.7,.3,1) .7s forwards; }
@keyframes seCmRing { 0% { opacity: 0; transform: scale(.45); } 20% { opacity: 1; } 100% { opacity: 0; transform: scale(1.18); } }
.se-cm-ice { left: 50%; top: 50%; width: 5px; height: 5px; margin: -2.5px; rotate: 45deg; background: #f0f9ff;
  box-shadow: 0 0 5px 1px rgba(125,211,252,.85); opacity: 0; animation: seCmIce .55s cubic-bezier(.15,.7,.35,1) var(--dl) forwards; }
@keyframes seCmIce { 0% { opacity: 0; transform: translate(0, 0) scale(1.2); } 15% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(.3); } }
.se-cm-glow { left: -8px; top: -8px; right: -8px; bottom: -8px; border-radius: 16px;
  box-shadow: 0 0 0 1.5px rgba(186,230,253,.85), 0 0 16px 5px rgba(125,211,252,.5), inset 0 0 14px rgba(167,139,250,.45);
  opacity: 0; animation: seCmGlow 1.2s linear forwards; }
@keyframes seCmGlow { 0%, 62% { opacity: 0; } 76% { opacity: 1; } 88% { opacity: .85; } 100% { opacity: 0; } }
.se-cm-glint { left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px; opacity: 0;
  background: linear-gradient(90deg, transparent, #fff 50%, transparent) center / 100% 1.5px no-repeat,
              linear-gradient(180deg, transparent, #fff 50%, transparent) center / 1.5px 100% no-repeat;
  animation: seCmGlint .4s ease-out .8s forwards; }
@keyframes seCmGlint { 0% { opacity: 0; transform: scale(.2) rotate(0); } 35% { opacity: 1; transform: scale(1) rotate(20deg); } 100% { opacity: 0; transform: scale(.5) rotate(45deg); } }
html.calm-flash .se-cm-glint { display: none; }
html.calm-flash .se-cm-glow { animation-name: seCmGlowCalm; }
@keyframes seCmGlowCalm { 0%, 62% { opacity: 0; } 80% { opacity: .33; } 100% { opacity: 0; } }
html.calm-flash .se-cm-nuc { box-shadow: 0 0 4px 1px rgba(224,242,254,.6); }
html.gfx-low .se-cm-dust, html.gfx-low .se-cm-ice, html.gfx-low .se-cm-ionglow { display: none; }
html.gfx-low .se-cm-nuc, html.gfx-low .se-cm-ring, html.gfx-low .se-cm-ice { box-shadow: none; }
/* Neon Power-On's Legendary sign: the tubes spit sparks at each strike and shower them when the frame catches, a neon grid
   floor fans out under the plate, and two neon palms strike on either side (SynthArt's palms, drawn as tubes). */
.se-nspark { left: var(--x); top: var(--y); width: 3px; height: 3px; margin: -1.5px; border-radius: 50%; background: var(--c);
  box-shadow: 0 0 5px var(--c); opacity: 0; animation: seNSpark .42s cubic-bezier(.2,.6,.6,1) var(--dl) forwards; }
@keyframes seNSpark { 0% { opacity: 1; transform: translate(0, 0) scale(1); } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(.4); } }
.se-ngrid { transform-box: fill-box; transform-origin: 50% 0; opacity: 0; animation: seNGrid 1.15s ease-out forwards; }
@keyframes seNGrid { 0%, 34% { opacity: 0; transform: scaleY(.15); } 48% { opacity: 1; transform: scaleY(1); } 82% { opacity: 1; transform: scaleY(1); } 100% { opacity: 0; transform: scaleY(1); } }
.se-tube.p { animation-name: seNeonP; }
@keyframes seNeonP { 0%, 40% { opacity: 0; } 44% { opacity: 1; } 47% { opacity: .15; } 52%, 82% { opacity: 1; } 100% { opacity: 0; } }
html.calm-flash .se-tube.p { animation-name: seNeonCalm; }
html.calm-flash .se-nspark { box-shadow: none; animation-name: seNSparkCalm; }
@keyframes seNSparkCalm { 0% { opacity: .5; transform: translate(0, 0); } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)); } }
html.gfx-low .se-nspark { display: none; }
/* Curtain Call (Royal Velvet; the velvet, damask and gold are static/js/material_art.js's): the royal box's pelmet drops in
   over the plate - scalloped burgundy velvet with a gold fringe and a crown - with its two damask curtains drawn shut
   beneath it; they part and gather to either side, gold tasselled tie-backs catch them, and the footlights warm the plate
   as it is revealed; then the box fades. */
.se-curtain svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.se-cc-val { opacity: 0; animation: seCcVal 1.1s ease-out forwards; }
@keyframes seCcVal { 0% { opacity: 0; transform: translateY(-10px); } 9% { opacity: 1; transform: translateY(1.5px); } 14% { transform: none; } 82% { opacity: 1; } 100% { opacity: 0; } }
.se-cc-drape { transform-box: fill-box; opacity: 0; animation: seCcDrape 1.1s ease-in-out forwards; }
.se-cc-drape.l { transform-origin: 0 0; } .se-cc-drape.r { transform-origin: 100% 0; }
@keyframes seCcDrape { 0% { opacity: 0; transform: none; } 8% { opacity: 1; transform: none; } 26% { transform: none; }
  58% { transform: scaleX(.19); } 64% { transform: scaleX(.23); } 70%, 82% { opacity: 1; transform: scaleX(.21); } 100% { opacity: 0; transform: scaleX(.21); } }
.se-cc-tie { transform-box: fill-box; transform-origin: 50% 0; opacity: 0; animation: seCcTie 1.1s ease-out forwards; }
@keyframes seCcTie { 0%, 54% { opacity: 0; transform: rotate(14deg); } 62% { opacity: 1; transform: rotate(-7deg); } 70% { transform: rotate(3deg); }
  76%, 82% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }
.se-cc-foot { opacity: 0; animation: seCcFoot 1.1s linear forwards; }
@keyframes seCcFoot { 0%, 32% { opacity: 0; } 58%, 80% { opacity: 1; } 100% { opacity: 0; } }
.se-cc-glint { transform-box: fill-box; transform-origin: center; opacity: 0; animation: seCcGlint 1.1s ease-out forwards; }
@keyframes seCcGlint { 0%, 56% { opacity: 0; transform: scale(.2) rotate(0); } 64% { opacity: 1; transform: scale(1.1) rotate(30deg); } 78%, 100% { opacity: 0; transform: scale(.3) rotate(60deg); } }
html.calm-flash .se-cc-glint { animation-name: seShineCalm; }
html.gfx-low .se-cc-dm, html.gfx-low .se-cc-foot { display: none; }
/* Gilded Arrival (Midas; onyx, veins, gold and the stater are static/js/material_art.js's): a slab of black onyx veined with
   gold covers the plate; a touch of light lands at its left and the gilding spreads from it - a molten front running out
   across the stone until the whole plate is beaten gold - a sheen sweeps it, the crowned-rook stater drops spinning onto
   its top edge with a ring and a burst of gold dust, and the gold lifts away off the plate, leaving it haloed for a beat. */
.se-ga-slab { left: var(--pad); top: var(--pad); width: var(--w); height: var(--h); border-radius: 10px; overflow: hidden;
  box-shadow: 0 0 0 1.5px #8a5a12, 0 3px 8px rgba(0,0,0,.6); opacity: 0; animation: seGaSlab 1.2s linear forwards; }
@keyframes seGaSlab { 0% { opacity: 0; } 7%, 64% { opacity: 1; } 80%, 100% { opacity: 0; } }
.se-ga-slab > * { position: absolute; }
.se-ga-slab svg { inset: 0; width: 100%; height: 100%; }
.se-ga-slab .veins { animation: seGaVeins 1.2s linear forwards; }
@keyframes seGaVeins { 0%, 6% { opacity: .5; } 14%, 30% { opacity: 1; } 50%, 100% { opacity: .5; } }
.se-ga-gold, .se-ga-front { left: var(--tx); top: var(--ty); width: var(--D); height: var(--D); margin: calc(var(--D) / -2) 0 0 calc(var(--D) / -2);
  border-radius: 50%; transform: scale(0); animation: seGaSpread 1.2s cubic-bezier(.5,0,.4,1) forwards; }
.se-ga-front { box-shadow: 0 0 0 2px #fff6d6, 0 0 10px 4px rgba(255,214,120,.85), inset 0 0 8px 3px rgba(255,190,70,.7); }
.se-ga-front { animation-name: seGaSpread, seGaFront; animation-duration: 1.2s, 1.2s; animation-timing-function: cubic-bezier(.5,0,.4,1), linear; }
@keyframes seGaSpread { 0%, 13% { transform: scale(0); } 52%, 100% { transform: scale(1); } }
@keyframes seGaFront { 0%, 12% { opacity: 0; } 15%, 46% { opacity: 1; } 54%, 100% { opacity: 0; } }
.se-ga-sheen { top: -20%; bottom: -20%; left: 0; width: 40%; background: linear-gradient(100deg, transparent, rgba(255,251,234,.75) 50%, transparent);
  transform: translateX(-120%) skewX(-16deg); animation: seGaSheen 1.2s ease-in-out forwards; }
@keyframes seGaSheen { 0%, 50% { transform: translateX(-120%) skewX(-16deg); } 66%, 100% { transform: translateX(320%) skewX(-16deg); } }
.se-ga-touch { left: calc(var(--pad) + var(--tx)); top: calc(var(--pad) + var(--ty)); width: 22px; height: 22px; margin: -11px; background: #fffbea;
  clip-path: polygon(50% 0, 58% 42%, 100% 50%, 58% 58%, 50% 100%, 42% 58%, 0 50%, 42% 42%); opacity: 0; animation: seGaTouch 1.2s ease-out forwards; }
@keyframes seGaTouch { 0%, 8% { opacity: 0; transform: scale(.2) rotate(0); } 14% { opacity: 1; transform: scale(1.3) rotate(25deg); } 26%, 100% { opacity: 0; transform: scale(.4) rotate(50deg); } }
.se-ga-coin { left: calc(var(--pad) + var(--w) / 2 - var(--cr)); top: calc(var(--pad) - var(--cr) * 1.55); width: calc(var(--cr) * 2); height: calc(var(--cr) * 2);
  opacity: 0; animation: seGaCoin 1.2s cubic-bezier(.3,.9,.4,1) forwards; }
.se-ga-coin svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 2px 2px rgba(0,0,0,.65)); }
@keyframes seGaCoin { 0%, 44% { opacity: 0; transform: translateY(-30px) scaleX(.2); } 48% { opacity: 1; transform: translateY(-20px) scaleX(-.8); }
  52% { transform: translateY(-9px) scaleX(.3); } 56% { transform: translateY(0) scaleX(1); } 59% { transform: translateY(1px) scale(1.06, .94); }
  63%, 86% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }
.se-ga-halo { left: calc(var(--pad) - 10px); top: calc(var(--pad) - 10px); width: calc(var(--w) + 20px); height: calc(var(--h) + 20px); border-radius: 16px;
  background: radial-gradient(closest-side, rgba(255,220,130,.4), rgba(242,193,78,.14) 70%, transparent); opacity: 0; animation: seGaHalo 1.2s linear forwards; }
@keyframes seGaHalo { 0%, 60% { opacity: 0; } 72%, 84% { opacity: 1; } 100% { opacity: 0; } }
.se-ga-dust { left: calc(var(--pad) + var(--w) / 2); top: var(--pad); width: 5px; height: 4px; margin: -2px -2.5px; border-radius: 1px;
  background: linear-gradient(#fffbea, #f2c14e); box-shadow: 0 0 5px rgba(255,214,120,.9); opacity: 0; animation: seGaDust .62s cubic-bezier(.2,.7,.5,1) .66s forwards; }
@keyframes seGaDust { 0% { opacity: 1; transform: rotate(var(--a)) translateY(0); } 100% { opacity: 0; transform: rotate(var(--a)) translateY(calc(var(--r) * -1)) rotate(300deg); } }
html.calm-flash .se-ga-front { box-shadow: 0 0 0 1.5px #f2cf6b, 0 0 6px 2px rgba(255,214,120,.35); }
html.calm-flash .se-ga-touch { animation-name: seShineCalm; }
html.calm-flash .se-ga-sheen { opacity: .4; }
html.gfx-low .se-ga-dust, html.gfx-low .se-ga-halo { display: none; }
html.gfx-low .se-ga-coin svg, html.gfx-low .se-ga-slab { filter: none; box-shadow: 0 0 0 1.5px #8a5a12; }
/* Jade Gate (Dragon Court; the lacquer, gold, jade and the dragon are static/js/dragon_art.js's): a vermilion gate closes over
   the plate under its lintel - studded lacquer doors, a gold dragon's head on each facing the other, a jade disc across the
   seam with the flaming pearl above - the dragons' jade eyes glint, the doors thud and swing open to their hinges, firelight
   pours out of the gap with a ring of gold and a burst of embers, and the gate fades round the revealed plate. */
.se-jgate svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.se-jg-beam { opacity: 0; animation: seJgBeam 1.2s ease-out forwards; }
@keyframes seJgBeam { 0% { opacity: 0; transform: translateY(-8px); } 9% { opacity: 1; transform: none; } 82% { opacity: 1; } 100% { opacity: 0; } }
.se-jg-door { transform-box: fill-box; opacity: 0; animation: seJgDoor 1.2s cubic-bezier(.5,0,.3,1) forwards; }
.se-jg-door.l { transform-origin: 0 50%; } .se-jg-door.r { transform-origin: 100% 50%; }
@keyframes seJgDoor { 0% { opacity: 0; transform: none; } 7% { opacity: 1; transform: none; } 24% { transform: none; } 26% { transform: scaleX(.98); }
  28% { transform: none; } 60% { transform: scaleX(.13) skewY(var(--sk)); } 82% { opacity: 1; transform: scaleX(.13) skewY(var(--sk)); } 100% { opacity: 0; transform: scaleX(.13) skewY(var(--sk)); } }
.se-jg-eye { opacity: 0; animation: seJgEye 1.2s linear forwards; }
@keyframes seJgEye { 0%, 10% { opacity: 0; } 15% { opacity: 1; } 20% { opacity: .35; } 25% { opacity: 1; } 30%, 100% { opacity: 0; } }
.se-jg-fire { opacity: 0; animation: seJgFire 1.2s linear forwards; }
@keyframes seJgFire { 0%, 28% { opacity: 0; } 44% { opacity: 1; } 70% { opacity: .75; } 100% { opacity: 0; } }
.se-jg-ring { left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px; border-radius: 50%; border: 2px solid #ffe08a;
  box-shadow: 0 0 10px rgba(255,138,42,.85); opacity: 0; animation: seJgRing .6s ease-out .36s forwards; }
@keyframes seJgRing { 0% { opacity: 1; transform: scale(.3); } 100% { opacity: 0; transform: scale(calc(var(--w) / 26px)); } }
.se-jg-ember { left: 50%; top: 50%; width: 5px; height: 5px; margin: -2.5px; border-radius: 50%; background: radial-gradient(circle, #fff4c2 0 35%, #ff9d3a 70%); box-shadow: 0 0 7px 1px #f97316;
  opacity: 0; animation: seJgEmber .75s cubic-bezier(.2,.7,.5,1) var(--dl) forwards; }
@keyframes seJgEmber { 0% { opacity: 1; transform: translate(0, 0) scale(1); } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(.4); } }
html.calm-flash .se-jg-eye { animation-name: seJgEyeCalm; }
@keyframes seJgEyeCalm { 0%, 10% { opacity: 0; } 20% { opacity: .6; } 30%, 100% { opacity: 0; } }
html.calm-flash .se-jg-ring { box-shadow: none; animation-name: seRingCalm; }
html.calm-flash .se-jg-fire { animation-name: seJgFireCalm; }
@keyframes seJgFireCalm { 0%, 28% { opacity: 0; } 50%, 70% { opacity: .5; } 100% { opacity: 0; } }
html.gfx-low .se-jg-ember, html.gfx-low .se-jg-studs { display: none; }
html.gfx-low .se-ga-dust { box-shadow: none; }
html.gfx-low .se-jg-ring { box-shadow: none; }
/* Jack In (Chrome Rain; static/js/chrome_art.js): a data cable whips down out of the dark and its chrome plug snaps into
   a port on the plate's left edge in a spray of yellow sparks; cyan current runs down the cable in pulses, the plate
   boots - a HUD frame with cut corners draws itself round it, a scan line rolls down the plate, a readout steps through
   BOOT / LINK / ID over a filling progress bar - then four brackets slam in, the frame flashes acid yellow and LOCKED
   stamps over it before it all powers down. Reduce flashing: no plate flicker, the sparks and the lock flash dim, the
   readout fades in. Low graphics: no sparks, no glow strokes. Times are shares of 1.2 s. */
.se-jack svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.se-ji-cable { stroke-dasharray: 1 1; stroke-dashoffset: 1; animation: seJiCable 1.2s cubic-bezier(.3,.7,.3,1) forwards; }
@keyframes seJiCable { 0% { stroke-dashoffset: 1; opacity: 1; } 20% { stroke-dashoffset: 0; } 88% { opacity: 1; stroke-dashoffset: 0; } 100% { opacity: 0; stroke-dashoffset: 0; } }
.se-ji-plug { opacity: 0; animation: seJiPlug 1.2s cubic-bezier(.3,.8,.4,1) forwards; }
@keyframes seJiPlug { 0% { opacity: 0; transform: translate(-16px, -22px) rotate(-30deg); } 8% { opacity: 1; } 19% { transform: translate(-4px, -2px) rotate(-6deg); }
  22% { transform: translate(1px, 0); } 24%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }
.se-ji-port { opacity: 0; animation: seJiPort 1.2s linear forwards; }
@keyframes seJiPort { 0%, 4% { opacity: 0; } 10%, 88% { opacity: 1; } 100% { opacity: 0; } }
.se-ji-cur { stroke-dasharray: .07 .13; stroke-dashoffset: 0; opacity: 0; animation: seJiCur 1.2s linear forwards; }
@keyframes seJiCur { 0%, 23% { opacity: 0; stroke-dashoffset: 0; } 27% { opacity: 1; } 58% { opacity: 1; } 66% { opacity: .3; } 88% { opacity: .3; stroke-dashoffset: -1.6; } 100% { opacity: 0; stroke-dashoffset: -1.8; } }
.se-ji-frame { stroke-dasharray: 1 1; stroke-dashoffset: 1; opacity: 0; animation: seJiFrame 1.2s ease-out forwards; }
@keyframes seJiFrame { 0%, 38% { opacity: 0; stroke-dashoffset: 1; } 40% { opacity: 1; } 62% { stroke-dashoffset: 0; } 76% { opacity: 1; stroke-dashoffset: 0; } 77%, 100% { opacity: 0; stroke-dashoffset: 0; } }
.se-ji-lockf { opacity: 0; animation: seJiLockF 1.2s linear forwards; }
@keyframes seJiLockF { 0%, 76% { opacity: 0; } 77% { opacity: 1; } 80% { opacity: .25; } 83%, 90% { opacity: 1; } 100% { opacity: 0; } }
.se-ji-br { opacity: 0; transform-box: view-box; transform-origin: var(--ox) var(--oy); animation: seJiBr 1.2s cubic-bezier(.2,.9,.3,1.3) forwards; }
@keyframes seJiBr { 0%, 73% { opacity: 0; transform: scale(1.5); } 78% { opacity: 1; transform: none; } 90% { opacity: 1; transform: none; } 100% { opacity: 0; transform: scale(.96); } }
.se-ji-scan { opacity: 0; animation: seJiScan 1.2s linear forwards; }
@keyframes seJiScan { 0%, 44% { opacity: 0; transform: translateY(0); } 47% { opacity: .9; } 68% { opacity: .9; transform: translateY(var(--sh)); } 71%, 100% { opacity: 0; transform: translateY(var(--sh)); } }
.se-ji-t { opacity: 0; animation: seJiT 1.2s steps(1) forwards; }
.se-ji-t.t1 { animation-name: seJiT1; } .se-ji-t.t2 { animation-name: seJiT2; } .se-ji-t.t3 { animation-name: seJiT3; } .se-ji-t.t4 { animation-name: seJiT4; }
@keyframes seJiT1 { 0%, 40% { opacity: 0; } 41%, 52% { opacity: 1; } 53%, 100% { opacity: 0; } }
@keyframes seJiT2 { 0%, 52% { opacity: 0; } 53%, 64% { opacity: 1; } 65%, 100% { opacity: 0; } }
@keyframes seJiT3 { 0%, 64% { opacity: 0; } 65%, 76% { opacity: 1; } 77%, 100% { opacity: 0; } }
@keyframes seJiT4 { 0%, 76% { opacity: 0; } 77%, 79% { opacity: 1; } 80%, 81% { opacity: 0; } 82%, 91% { opacity: 1; } 92%, 100% { opacity: 0; } }
.se-ji-bar { transform-box: fill-box; transform-origin: 0 50%; transform: scaleX(0); animation: seJiBar 1.2s cubic-bezier(.5,0,.6,1) forwards; }
@keyframes seJiBar { 0%, 40% { transform: scaleX(0); } 52% { transform: scaleX(.34); } 58% { transform: scaleX(.4); } 75% { transform: scaleX(1); } 100% { transform: scaleX(1); } }
.se-ji-hud { opacity: 0; animation: seJiHud 1.2s linear forwards; }
@keyframes seJiHud { 0%, 40% { opacity: 0; } 43%, 90% { opacity: 1; } 100% { opacity: 0; } }
.se-ji-spark { left: var(--x); top: var(--y); width: 4px; height: 4px; margin: -2px; border-radius: 50%; background: #fffbe0; box-shadow: 0 0 6px 1px #f4ff2a;
  opacity: 0; animation: seJiSpark .5s cubic-bezier(.15,.7,.4,1) var(--dl) forwards; }
@keyframes seJiSpark { 0% { opacity: 1; transform: translate(0, 0) scale(1.2); } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(.3); } }
html.calm-flash .se-ji-lockf { animation-name: seJiLockFCalm; }
@keyframes seJiLockFCalm { 0%, 74% { opacity: 0; } 82%, 90% { opacity: .5; } 100% { opacity: 0; } }
html.calm-flash .se-ji-t.t4 { animation-name: seJiT4Calm; animation-timing-function: linear; }
@keyframes seJiT4Calm { 0%, 75% { opacity: 0; } 82%, 90% { opacity: 1; } 100% { opacity: 0; } }
html.calm-flash .se-ji-spark { box-shadow: none; animation-name: seJiSparkCalm; }
@keyframes seJiSparkCalm { 0% { opacity: .45; transform: none; } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(.3); } }
html.gfx-low .se-ji-spark, html.gfx-low .se-ji-glow { display: none; }
html.calm-motion .se-fx { display: none; } html.calm-motion .se-flicker { animation: none; }
/* Power Up (Final Form; the aura, the lines, the star and the lettering are static/js/ink_art.js's): the fighter's
   power-up at the seat. Pebbles lift off the table and hang there trembling, the cel-shaded aura erupts round the empty
   seat (two flame outlines trading places; a hole is cut for the plate) with the roar's hand-lettered "goo" shaking
   beside it; on the thud (0.82 s, 68% of the run) the plate drops in, a shockwave ring rolls out, the pebbles are thrown
   off, ink speed lines snap out round the plate, the overlay jolts and an impact star bursts with a hand-lettered "don".
   Reduce flashing: the aura does not flicker and the star and lines rise over ~0.2 s at half light. Low graphics: no
   speed lines, no flicker, half the pebbles. */
.se-pu { animation: sePuShake 1.2s linear forwards; }
@keyframes sePuShake { 0%, 68% { transform: none; } 70% { transform: translate(-3px, 2px); } 72% { transform: translate(3px, -2px); } 74% { transform: translate(-2px, -1px); }
  76% { transform: translate(1px, 1px); } 78%, 100% { transform: none; } }
.se-pu svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.se-pu-aura, .se-pu-peb, .se-pu-ring, .se-pu-lines, .se-pu-don, .se-pu-goo { transform-box: fill-box; transform-origin: 50% 50%; }
.se-pu-aura { transform-origin: 50% 80%; opacity: 0; animation: sePuAura 1.2s cubic-bezier(.2,.8,.3,1) forwards; }
@keyframes sePuAura { 0% { opacity: 0; transform: scale(.3, .05); } 6% { opacity: 1; } 22% { transform: scale(1.06, 1.12); } 30%, 64% { opacity: 1; transform: none; }
  68% { opacity: 1; transform: scale(.94, .88); } 80% { opacity: .85; transform: scale(1.2, 1.25); } 100% { opacity: 0; transform: scale(1.32, 1.4); } }
.se-pu-aura .a2 { animation: sePuFlick .18s steps(1) infinite; }
@keyframes sePuFlick { 0% { opacity: 1; } 50% { opacity: 0; } }
.se-pu-goo { opacity: 0; animation: sePuGoo 1.2s linear forwards; }
@keyframes sePuGoo { 0%, 5% { opacity: 0; transform: scale(.5); } 11% { opacity: 1; transform: scale(1.08); } 18% { transform: translate(1px, -1px); } 26% { transform: translate(-1px, 1px); }
  34% { transform: translate(1px, 1px); } 42% { transform: translate(-1px, -1px); } 50% { opacity: 1; transform: translate(1px, 0); } 60%, 100% { opacity: 0; transform: none; } }
.se-pu-peb { opacity: 0; animation: sePuPeb 1.2s linear forwards; }
@keyframes sePuPeb { 0% { opacity: 0; transform: none; } 7% { opacity: 1; } 24% { transform: translateY(var(--ly)); } 36% { transform: translate(.8px, calc(var(--ly) - 2px)); }
  48% { transform: translate(-.8px, var(--ly)); } 58% { transform: translate(.6px, calc(var(--ly) - 1.5px)); } 68.3% { opacity: 1; transform: translateY(var(--ly)); }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(var(--r)); } }
.se-pu-ring { opacity: 0; animation: sePuRing 1.2s cubic-bezier(.1,.7,.3,1) forwards; }
@keyframes sePuRing { 0%, 67.5% { opacity: 0; transform: scale(.7); } 69% { opacity: 1; transform: scale(.9); } 100% { opacity: 0; transform: scale(1.9, 2.3); } }
.se-pu-lines { opacity: 0; animation: sePuLines 1.2s ease-out forwards; }
@keyframes sePuLines { 0%, 67.5% { opacity: 0; transform: scale(.78); } 70% { opacity: 1; transform: scale(.92); } 86% { opacity: .85; } 100% { opacity: 0; transform: scale(1.18); } }
.se-pu-don { opacity: 0; animation: sePuDon 1.2s linear forwards; }
@keyframes sePuDon { 0%, 67.5% { opacity: 0; transform: scale(.2) rotate(-16deg); } 71% { opacity: 1; transform: scale(1.18) rotate(3deg); } 75%, 90% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: scale(1.04); } }
.se-pu-drop { animation: sePuDrop 1.2s linear; }
@keyframes sePuDrop { 0%, 63% { opacity: 0; translate: 0 -34px; scale: 1.16; } 67% { opacity: 1; } 68.3% { translate: 0 2px; scale: 1.05 .9; } 73% { translate: 0 -3px; scale: .98 1.04; }
  80%, 100% { opacity: 1; translate: 0 0; scale: 1; } }
html.calm-flash .se-pu-aura .a2 { display: none; }
html.calm-flash .se-pu-don { animation-name: sePuDonCalm; }
@keyframes sePuDonCalm { 0%, 66% { opacity: 0; transform: scale(.9); } 84%, 90% { opacity: .55; transform: none; } 100% { opacity: 0; } }
html.calm-flash .se-pu-lines { animation-name: sePuLinesCalm; }
@keyframes sePuLinesCalm { 0%, 66% { opacity: 0; transform: scale(.9); } 84% { opacity: .5; transform: scale(1); } 100% { opacity: 0; transform: scale(1.08); } }
html.gfx-low .se-pu-lines, html.gfx-low .se-pu-aura .a2, html.gfx-low .se-pu-peb:nth-of-type(2n) { display: none; }
/* Level Crossing (Golden Hour; the evening is static/js/dusk_art.js's): a country level crossing at the seat at sunset.
   A crossing post stands at the plate's left end - the yellow-and-black crossbuck on top, two lamps hanging under it -
   and its striped barrier lies across the plate in a dusk-blue shade; the lamps blink in turn to the crossing bell (the
   glow pooling on the post), the barrier rises (a slow ease and a little settle at the top), the shade lifts and the low
   sun's honey light slides across the plate; then it all fades. Reduce flashing: the lamps do not blink - both glow
   softly and steadily while the bell rings. Low graphics: no lamp glows and no light sweep. */
.se-lx svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.se-lx { animation: seLxFade 1.2s linear forwards; }
@keyframes seLxFade { 0% { opacity: 0; } 8%, 86% { opacity: 1; } 100% { opacity: 0; } }
.se-lx .arm { transform-box: view-box; transform-origin: var(--px) var(--py); animation: seLxArm 1.2s linear forwards; }
@keyframes seLxArm { 0%, 34% { transform: rotate(0deg); animation-timing-function: cubic-bezier(.45,0,.3,1); } 70% { transform: rotate(-80deg); animation-timing-function: ease-out; }
  76% { transform: rotate(-76deg); } 82%, 100% { transform: rotate(-78deg); } }
.se-lx .lamp-a, .se-lx .lamp-b { opacity: .12; }
.se-lx .lamp-a { animation: seLxBlinkA .4s steps(1) 4; } .se-lx .lamp-b { animation: seLxBlinkB .4s steps(1) 4; }
@keyframes seLxBlinkA { 0% { opacity: 1; } 50% { opacity: .12; } }
@keyframes seLxBlinkB { 0% { opacity: .12; } 50% { opacity: 1; } }
.se-lx .veil { opacity: 0; animation: seLxVeil 1.2s ease-in-out forwards; }
@keyframes seLxVeil { 0% { opacity: 0; } 10%, 36% { opacity: .55; } 68%, 100% { opacity: 0; } }
.se-lx .sun { opacity: 0; mix-blend-mode: screen; transform-box: view-box; animation: seLxSun 1.2s ease-out forwards; }
@keyframes seLxSun { 0%, 50% { opacity: 0; transform: translateX(calc(var(--w) * -.6)); } 64% { opacity: .85; } 90% { opacity: .6; } 100% { opacity: 0; transform: translateX(calc(var(--w) * .5)); } }
html.calm-flash .se-lx .lamp-a, html.calm-flash .se-lx .lamp-b { animation: seLxSteady 1.2s ease-in-out forwards; }
@keyframes seLxSteady { 0% { opacity: .12; } 22%, 60% { opacity: .6; } 100% { opacity: .12; } }
html.gfx-low .se-lx .halo, html.gfx-low .se-lx .sun { display: none; }
html.calm-motion .se-fx { display: none; } html.calm-motion .se-flicker, html.calm-motion .se-pu-drop { animation: none; }
/* The Streetlamp (Noir; the lamppost, the rain and the lamplight are static/js/noir_art.js's): night falls on the seat
   (a dark veil, fog banks rolling across it both ways), a 1940s lamppost stands beside the plate and its lantern
   flickers on in three stutters - on the ballast's buzzes of entrance_streetlamp (0.12, 0.3 and 0.42 s) - then burns
   steady from 0.55 s (46%) with the hum: its light falls in a cone onto the seat, rain slanting through the beam, a pool
   of light round the plate, and the plate steps in out of the dark into it. Reduce flashing: no flicker, the lamp and its
   light fade up smoothly over the same 0.1 - 0.55 s. Low graphics: one fog bank, the rain held still. */
.se-sl > i, .se-sl > svg { position: absolute; }
.se-sl svg { inset: 0; width: 100%; height: 100%; overflow: visible; }
.se-sl-night { inset: 0; background: radial-gradient(closest-side, rgba(12,13,15,.78), rgba(12,13,15,.55) 55%, rgba(12,13,15,0));
  opacity: 0; animation: seSlNight 1.2s linear forwards; }
@keyframes seSlNight { 0% { opacity: 0; } 12%, 44% { opacity: 1; } 62%, 84% { opacity: .42; } 100% { opacity: 0; } }
.se-sl-fog { left: 0; width: 70%; height: calc(var(--h) * 1.6); border-radius: 50%; opacity: 0;
  background: radial-gradient(closest-side, rgba(185,188,194,.34), rgba(185,188,194,.13) 55%, rgba(185,188,194,0)); }
.se-sl-fog.a { top: calc(var(--pad) + var(--h) * .2); animation: seSlFogA 1.2s ease-out forwards; }
.se-sl-fog.b { top: calc(var(--pad) - var(--h) * .9); width: 55%; animation: seSlFogB 1.2s ease-out forwards; }
@keyframes seSlFogA { 0% { opacity: 0; transform: translateX(-35%); } 18% { opacity: 1; } 80% { opacity: .85; } 100% { opacity: 0; transform: translateX(78%); } }
@keyframes seSlFogB { 0% { opacity: 0; transform: translateX(110%); } 22% { opacity: .8; } 80% { opacity: .6; } 100% { opacity: 0; transform: translateX(30%); } }
.se-sl-post { opacity: 0; animation: seSlPost 1.2s linear forwards; }
@keyframes seSlPost { 0% { opacity: 0; } 9%, 86% { opacity: 1; } 100% { opacity: 0; } }
.se-sl-on, .se-sl-beam { opacity: 0; animation: seSlOn 1.2s linear forwards; }
@keyframes seSlOn { 0%, 9.9% { opacity: 0; } 10%, 14.9% { opacity: .9; } 15%, 24.9% { opacity: .06; } 25%, 31.6% { opacity: 1; }
  31.7%, 34.9% { opacity: .1; } 35%, 43.2% { opacity: .8; } 43.3%, 45.7% { opacity: .22; } 45.8%, 84% { opacity: 1; } 100% { opacity: 0; } }
.se-sl-rain { animation: seSlRain .3s linear infinite; }
@keyframes seSlRain { from { transform: none; } to { transform: translate(var(--rx), var(--ry)); } }
.se-sl-step { animation: seSlStep 1.2s ease-out; }
@keyframes seSlStep { 0%, 44% { opacity: .16; translate: 0 3px; } 64%, 100% { opacity: 1; translate: 0 0; } }
html.calm-flash .se-sl-on, html.calm-flash .se-sl-beam { animation-name: seSlOnCalm; }
@keyframes seSlOnCalm { 0%, 9% { opacity: 0; } 45.8%, 84% { opacity: 1; } 100% { opacity: 0; } }
html.gfx-low .se-sl-fog.b { display: none; } html.gfx-low .se-sl-rain { animation: none; }
html.calm-motion .se-fx { display: none; } html.calm-motion .se-sl-step { animation: none; }
/* Will-o'-the-Wisp (Grim's Manor; static/js/manor_art.js): a wisp of ghost-light drifts in out of the dark from the upper
   left, bobbing on the air, swings down and circles the seat once (under the plate, up its far side, over the top and
   round), drawing a fading thread of light behind it (a dash of its own path, kept just behind it), and comes to rest
   on the plate's top edge, where it sinks into the plate in a last soft bloom and a few motes rise. A low mist gathers
   round the seat as it circles and the plate rises out of it (it was hidden till then), its rim taking the cold light;
   then the mist thins away. Reduce flashing: no bloom, the plate's rim glow at a third. Low graphics: half the mist, no
   motes, no glow under the thread. */
.se-ww-wisp { left: 0; top: 0; width: 0; height: 0; offset-rotate: auto; offset-distance: 0%; opacity: 0;
  animation: seWwFly 1.2s linear forwards; }
@keyframes seWwFly {
  0% { offset-distance: 0%; opacity: 0; transform: scale(.6); animation-timing-function: cubic-bezier(.32,.3,.4,.92); }
  10% { opacity: 1; transform: scale(1); }
  70% { offset-distance: 100%; opacity: 1; transform: scale(1); animation-timing-function: ease-in; }
  86% { offset-distance: 100%; opacity: 0; transform: scale(.3); }
  100% { offset-distance: 100%; opacity: 0; transform: scale(.3); } }
.se-ww-bob { position: absolute; left: 0; top: 0; animation: seWwBob .34s ease-in-out infinite alternate; }
@keyframes seWwBob { from { translate: 0 -2.5px; } to { translate: 0 2.5px; } }
.se-ww-bob > * { position: absolute; }
.se-ww-halo { left: -32px; top: -32px; width: 64px; height: 64px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(232,255,246,.75), rgba(168,240,216,.42) 32%, rgba(47,143,120,.16) 64%, rgba(47,143,120,0)); }
.se-ww-body { left: -20px; top: -15px; width: 40px; height: 30px; overflow: visible; }
.se-ww-trail { left: 0; top: 0; overflow: visible; }
.se-ww-trail path { fill: none; stroke-linecap: round; stroke-dasharray: .3 2; stroke-dashoffset: .3; animation: seWwTrail 1.2s linear forwards; }
@keyframes seWwTrail { 0% { stroke-dashoffset: .3; opacity: 0; animation-timing-function: cubic-bezier(.32,.3,.4,.92); }
  10% { opacity: 1; } 70% { stroke-dashoffset: -.7; opacity: .85; } 100% { stroke-dashoffset: -.7; opacity: 0; } }
.se-ww-mist { left: var(--x); top: var(--y); width: var(--mw); height: var(--mh); margin: calc(var(--mh) * -.5) 0 0 calc(var(--mw) * -.5);
  border-radius: 50%; opacity: 0;
  background: radial-gradient(closest-side, rgba(214,236,230,.5), rgba(168,206,196,.26) 50%, rgba(120,150,146,0));
  animation: seWwMist 1.14s ease-in-out var(--dl) forwards; }
@keyframes seWwMist { 0% { opacity: 0; transform: translateX(var(--from)) scale(.7, .5); } 45% { opacity: .85; }
  72% { opacity: .75; transform: translateX(0) scale(1); } 100% { opacity: 0; transform: translateX(var(--to)) scale(1.15, 1.05); } }
.se-ww-glow { left: -6px; top: -6px; right: -6px; bottom: -6px; border-radius: calc(var(--h) * .5 + 6px); opacity: 0;
  box-shadow: 0 0 0 1.5px rgba(168,240,216,.8), 0 0 14px 4px rgba(168,240,216,.42), inset 0 0 12px rgba(168,240,216,.3);
  animation: seWwGlow 1.2s linear forwards; }
@keyframes seWwGlow { 0%, 66% { opacity: 0; } 78% { opacity: 1; } 90% { opacity: .7; } 100% { opacity: 0; } }
.se-ww-bloom { left: 50%; top: 0; width: 64px; height: 64px; margin: -32px; border-radius: 50%; opacity: 0;
  background: radial-gradient(closest-side, rgba(244,255,251,.9), rgba(168,240,216,.45) 40%, rgba(168,240,216,0));
  animation: seWwBloom .4s ease-out .78s forwards; }
@keyframes seWwBloom { 0% { opacity: 0; transform: scale(.3); } 30% { opacity: 1; } 100% { opacity: 0; transform: scale(1.4, 1); } }
.se-ww-mote { left: var(--x); top: 0; width: 4px; height: 4px; margin: -2px; border-radius: 50%; background: #e8fff6; opacity: 0;
  box-shadow: 0 0 5px 1px rgba(168,240,216,.8); animation: seWwMote .3s ease-out var(--dl) forwards; }
@keyframes seWwMote { 0% { opacity: 0; transform: translate(0, 0); } 25% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--dx), -16px) scale(.4); } }
.se-ww-rise { animation: seWwRise 1.2s linear; }
@keyframes seWwRise { 0%, 50% { opacity: 0; translate: 0 14px; scale: .94; } 56% { opacity: .35; animation-timing-function: cubic-bezier(.2,.7,.3,1); }
  82%, 100% { opacity: 1; translate: 0 0; scale: 1; } }
html.calm-motion .se-ww-rise { animation: none; }
html.calm-flash .se-ww-bloom { display: none; }
html.calm-flash .se-ww-glow { animation-name: seWwGlowCalm; }
@keyframes seWwGlowCalm { 0%, 62% { opacity: 0; } 84% { opacity: .33; } 100% { opacity: 0; } }
html.gfx-low .se-ww-mote, html.gfx-low .se-ww-mist.alt, html.gfx-low .se-ww-trail .soft { display: none; }
/* Reduce flashing (html.calm-flash): the lamp and the neon tubes fade up over ~0.3 s and hold, with no strike flickers,
   and the plate does not flicker; the same lengths. */
html.calm-flash .se-cone, html.calm-flash .se-pool, html.calm-flash .se-lamp .lit { animation-name: seLampCalm; }
@keyframes seLampCalm { 0%, 37% { opacity: 0; } 55%, 80% { opacity: 1; } 100% { opacity: 0; } }
html.calm-flash .se-shine { animation-name: seShineCalm; }
@keyframes seShineCalm { 0%, 30% { opacity: 0; transform: scale(.4); } 55% { opacity: .35; transform: scale(.7); } 100% { opacity: 0; transform: scale(.4); } }
html.gfx-low .se-fleck, html.gfx-low .se-glow, html.gfx-low .se-post svg, html.gfx-low .se-rope svg, html.gfx-low .se-crown svg { filter: none; }
html.gfx-low .se-fleck, html.gfx-low .se-glow { display: none; }
html.calm-flash .se-tube { animation-name: seNeonCalm; }
html.calm-flash .se-tube.s { animation-name: seNeonCalm; transform: none; }
@keyframes seNeonCalm { 0% { opacity: 0; } 30%, 82% { opacity: 1; } 100% { opacity: 0; } }
html.calm-flash .se-flicker { animation: none; }
/* Second Contact under reduce flashing: the veil and the sun come up over ~0.35 s, the beads fade in and out at half
   light, the diamond ring is a small soft glow (a third of the light, rising over 0.3 s or more) with no star lines,
   and the corona warms in over ~0.35 s. Low graphics: the black sun, its lit rim and the corona's petals stay; no glow,
   no shadows, no plumes or stars. */
html.calm-flash .se-ec-veil { animation-name: seEcVeilCalm; }
@keyframes seEcVeilCalm { 0% { opacity: 0; } 30%, 72% { opacity: .85; } 100% { opacity: 0; } }
html.calm-flash .se-ec-sun { animation-name: seEcSunCalm; box-shadow: 0 0 12px 4px rgba(253,230,138,.35); }
@keyframes seEcSunCalm { 0% { opacity: 0; } 30%, 38% { opacity: .8; } 46%, 100% { opacity: 0; } }
html.calm-flash .se-ec-bead { animation-name: seEcBeadCalm; }
@keyframes seEcBeadCalm { 0% { opacity: 0; } 50% { opacity: .5; } 100% { opacity: 0; } }
html.calm-flash .se-ec-ring > i { animation: seEcRingCalm .6s ease-in-out .3s both; }
html.calm-flash .se-ec-ring .h, html.calm-flash .se-ec-ring .v, html.calm-flash .se-ec-ring .x { display: none; }
html.calm-flash .se-ec-ring .core { box-shadow: 0 0 10px 4px rgba(253,230,138,.5); }
@keyframes seEcRingCalm { 0% { opacity: 0; } 55% { opacity: .33; } 100% { opacity: 0; } }
html.calm-flash .se-ec-ring.back { display: none; }
html.calm-flash .se-ec-corona { animation-name: seEcCoronaCalm; }
@keyframes seEcCoronaCalm { 0%, 34% { opacity: 0; transform: scale(.9); } 64%, 80% { opacity: .85; transform: scale(1); } 100% { opacity: 0; transform: scale(1.04); } }
html.calm-flash .se-rev .se-ec-corona { animation-name: seEcRevCoronaCalm; }
@keyframes seEcRevCoronaCalm { 0% { opacity: 0; transform: scale(.9); } 35%, 78% { opacity: .85; transform: scale(1); } 100% { opacity: 0; } }
html.calm-flash .se-ec-glow { animation-name: seEcGlowCalm; }
@keyframes seEcGlowCalm { 0%, 34% { opacity: 0; } 64%, 80% { opacity: .33; } 100% { opacity: 0; } }
html.calm-flash .se-ec-limb { box-shadow: 0 0 4px 1px rgba(253,230,138,.5); }
html.gfx-low .se-ec-glow, html.gfx-low .se-ec-star, html.gfx-low .se-ec-corona .plumes, html.gfx-low .se-ec-ring .x { display: none; }
html.gfx-low .se-ec-sun, html.gfx-low .se-ec-limb, html.gfx-low .se-ec-bead, html.gfx-low .se-ec-ring .core { box-shadow: none; }
/* Triumph (the Fortuna set, Mythic; static/js/fortuna_art.js's marble, gilt and oak): a Roman triumphal arch rises out of
   the ground round the seat plate - marble piers with fluted columns and gilt capitals, the archivolt and its gilt
   keystone, oak sprigs in the spandrels, a porphyry frieze with a gilt guilloche - and the player's name is carved in
   its attic in Roman capitals, gold leaf running into the letters left to right. Gilt tesserae and oak leaves fall
   through the arch onto the plate while MEMENTO MORI fades in under the vault and out again. The reprise (big_win,
   .se-rev) raises it grander: a standard at each side (a porphyry vexillum with Fortuna's wheel, gilt phalerae, an oak
   crown at the top, the cloth stirring) and oak garlands swagged across it. Reduce flashing: the light through the arch
   at a third and steady, no sheen across the name. Low graphics: half the falling leaf, no light, no dust. */
.se-tr svg { position: absolute; left: 0; top: 0; overflow: visible; }
.se-tr-clip { left: 0; top: 0; width: 100%; height: var(--gy); overflow: hidden; }
.se-tr-rise { position: absolute; left: 0; top: 0; width: 100%; height: 100%; animation: seTrRise 1.2s cubic-bezier(.25,.8,.3,1) forwards; }
@keyframes seTrRise { 0% { transform: translateY(var(--rise)); opacity: 1; } 34% { transform: translateY(-2px); } 42%, 86% { transform: none; opacity: 1; }
  100% { transform: none; opacity: 0; } }
.se-tr-glow { opacity: 0; animation: seTrGlow 1.2s ease-out forwards; }
@keyframes seTrGlow { 0%, 30% { opacity: 0; } 50% { opacity: .9; } 80% { opacity: .7; } 100% { opacity: 0; } }
.se-tr-gild { clip-path: inset(0 100% 0 0); animation: seTrGild 1.2s cubic-bezier(.4,0,.5,1) forwards; }
@keyframes seTrGild { 0%, 36% { clip-path: inset(0 100% 0 0); } 70%, 100% { clip-path: inset(0 0 0 0); } }
.se-tr-sheen { opacity: 0; animation: seTrSheen 1.2s ease-in-out forwards; }
@keyframes seTrSheen { 0%, 62% { opacity: 0; transform: translateX(-40%); } 72% { opacity: .9; } 88%, 100% { opacity: 0; transform: translateX(40%); } }
.se-tr-mori { opacity: 0; animation: seTrMori 1.2s ease-in-out forwards; }
@keyframes seTrMori { 0%, 44% { opacity: 0; } 60%, 70% { opacity: .92; } 86%, 100% { opacity: 0; } }
.se-tr-fall { width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; opacity: 0; left: var(--x); top: var(--y0);
  animation: seTrFall var(--t) cubic-bezier(.45,.05,.7,.95) var(--dl) forwards; }
.se-tr-fall.tess { background: linear-gradient(135deg, #fff3cf, #d4a64a 55%, #a8741c); box-shadow: 0 0 0 .5px rgba(110,74,16,.6); }
.se-tr-fall.leaf { width: 10px; height: 10px; margin: -5px 0 0 -5px; }
.se-tr-fall.leaf svg { width: 100%; height: 100%; }
@keyframes seTrFall { 0% { opacity: 0; transform: translate(0, 0) rotate(0); } 10% { opacity: 1; }
  45% { transform: translate(var(--sw), calc(var(--fy) * .45)) rotate(calc(var(--rt) * .5)); }
  86% { opacity: 1; } 100% { opacity: 0; transform: translate(calc(var(--sw) * -.4), var(--fy)) rotate(var(--rt)); } }
.se-tr-dust { opacity: 0; transform-box: fill-box; transform-origin: 50% 100%; animation: seTrDust 1.2s ease-out forwards; }
@keyframes seTrDust { 0% { opacity: 0; transform: scale(.4, .6); } 8% { opacity: .55; } 40% { opacity: 0; transform: scale(1.5, 1); } 100% { opacity: 0; } }
.se-tr-std .cloth { transform-box: fill-box; transform-origin: 50% 0; animation: seTrCloth 1.2s ease-in-out forwards; }
@keyframes seTrCloth { 0%, 30% { transform: none; } 45% { transform: skewX(6deg); } 60% { transform: skewX(-4deg); } 75% { transform: skewX(3deg); } 90%, 100% { transform: skewX(-1deg); } }
.se-tr-garl { opacity: 0; animation: seTrGarl 1.2s cubic-bezier(.3,1.4,.5,1) forwards; }
@keyframes seTrGarl { 0%, 34% { opacity: 0; transform: translateY(-6px); } 48%, 86% { opacity: 1; transform: none; } 100% { opacity: 0; } }
html.calm-flash .se-tr-glow { animation-name: seTrGlowCalm; }
@keyframes seTrGlowCalm { 0%, 30% { opacity: 0; } 50%, 80% { opacity: .3; } 100% { opacity: 0; } }
html.calm-flash .se-tr-sheen { display: none; }
html.gfx-low .se-tr-glow, html.gfx-low .se-tr-dust, html.gfx-low .se-tr-sheen, html.gfx-low .se-tr-fall:nth-of-type(even) { display: none; }
