/* Abyssal Glass's winning bloom (static/js/dice3d_abyss.js): behind the dice, centred on the pair. The water lights, a ring
   of photophores answers one after another, two sonar rings open, a school crosses and marine snow rises. Reduce flashing:
   no core flare, the ring and wash at a third, no glows. Calm motion: dice3d_abyss.js draws no bloom. Low graphics: no
   school and less snow (dice3d_abyss.js), no drop shadow. */
.cd-abyss-bloom { position: absolute; width: var(--fs); height: var(--fs); margin: calc(var(--fs) / -2) 0 0 calc(var(--fs) / -2);
    pointer-events: none; z-index: 0; animation: cd-ab-bloom 2.8s ease-out both; }
.cd-abyss-bloom svg { display: block; width: 100%; height: 100%; overflow: visible; }
.cd-ab-wash, .cd-ab-core, .cd-ab-sonar, .cd-ab-ph, .cd-ab-school, .cd-ab-snow { transform-box: view-box; transform-origin: center; }
.cd-ab-wash { animation: cd-ab-wash 2.8s cubic-bezier(.2,.6,.3,1) both; }
.cd-ab-core { animation: cd-ab-core 1.6s ease-out both; }
.cd-ab-sonar { opacity: 0; animation: cd-ab-sonar 2s cubic-bezier(.15,.65,.3,1) both; }
.cd-ab-sonar.cd-ab-late { animation-delay: .45s; }
.cd-ab-ph { opacity: 0; animation: cd-ab-ph 1.9s ease-out both; }
.cd-ab-school { animation: cd-ab-school 2.8s linear both; }
.cd-ab-snow { animation: cd-ab-snow 2.8s ease-out both; }
@keyframes cd-ab-bloom { 0% { opacity: 0; } 10%, 75% { opacity: 1; } 100% { opacity: 0; } }
@keyframes cd-ab-wash { 0% { opacity: 0; transform: scale(.4); } 35% { opacity: 1; } 100% { opacity: .2; transform: scale(1.1); } }
@keyframes cd-ab-core { 0% { opacity: 0; transform: scale(.3); } 18% { opacity: .85; } 100% { opacity: 0; transform: scale(1.4); } }
@keyframes cd-ab-sonar { 0% { opacity: 0; transform: scale(.35); } 15% { opacity: .8; } 100% { opacity: 0; transform: scale(1.2); } }
@keyframes cd-ab-ph { 0% { opacity: 0; } 15% { opacity: 1; } 55% { opacity: .75; } 100% { opacity: 0; } }
@keyframes cd-ab-school { 0% { opacity: 0; transform: translateX(0); } 20%, 75% { opacity: .9; } 100% { opacity: 0; transform: translateX(62%); } }
@keyframes cd-ab-snow { 0% { opacity: 0; transform: translateY(10%); } 25%, 70% { opacity: 1; } 100% { opacity: 0; transform: translateY(-14%); } }
html.calm-flash .cd-ab-core { display: none; }
html.calm-flash .cd-ab-wash { animation-name: cd-ab-wash-calm; }
html.calm-flash .cd-ab-ph { animation-name: cd-ab-ph-calm; }
@keyframes cd-ab-wash-calm { 0%, 100% { opacity: 0; } 45% { opacity: .35; } }
@keyframes cd-ab-ph-calm { 0%, 100% { opacity: 0; } 40%, 60% { opacity: .35; } }
html.calm-motion .cd-abyss-bloom { display: none; }
html.gfx-low .cd-ab-sonar.cd-ab-late, html.gfx-low .cd-ab-core { display: none; }
