/* Inline vectors avoid the intermediate SVG-image texture on mobile renderers. */
.roi-loader {
  position: fixed;
  inset: 0;
  height: 100%;
  height: 100dvh;
  z-index: 2000;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 0;
  background: #f2f3f0;
  isolation: isolate;
}
.roi-loader[hidden] { display: none; }
.roi-loader__mark {
  display: block;
  width: 88px;
  height: 132px;
  fill: #a9aba5;
  user-select: none;
  -webkit-user-select: none;
}
.roi-loader__cell {
  transform-box: fill-box;
  transform-origin: center;
  animation: roi-honey-flip 1900ms cubic-bezier(.77, 0, .175, 1) infinite;
}
/* A symmetric hexagon has identical front/back silhouettes. A 2D fold gives
   the flip without perspective rasterisation, fading, or a subpixel edge. */
@keyframes roi-honey-flip {
  0% { transform: scaleY(1); }
  14% { transform: scaleY(.22); }
  28%, 100% { transform: scaleY(1); }
}
.roi-home .roi-loader--startup { background: #414042; }
.roi-home .roi-loader--startup .roi-loader__mark { fill: #fdb913; }
@media (min-width: 600px) {
  .roi-loader__mark { width: 112px; height: 168px; }
}
@media (prefers-reduced-motion: reduce) {
  .roi-loader__cell { animation: none; }
  .roi-loader__mark { animation: roi-honey-breathe 1900ms ease-in-out infinite; }
  @keyframes roi-honey-breathe {
    0%, 100% { opacity: 1; }
    50% { opacity: .6; }
  }
}
