/* One sculptural brand moment, scoped to the shared startup overlay. */
.app-loading { z-index: 120; }
.app-loading__stage.has-solid {
  width: 280px;
  height: 260px;
  perspective: 760px;
  isolation: isolate;
}
.has-solid .liria-solid {
  position: relative;
  width: 174px;
  height: 143px;
  transform-style: preserve-3d;
  transform: rotateX(9deg) rotateY(-16deg) rotateZ(-4deg);
  animation: liria-sculpture 4.6s cubic-bezier(.22,.7,.18,1) both;
}
.has-solid .app-loading__mark {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: auto;
  overflow: visible;
  filter: none;
  animation: none;
  transform: translateZ(1px);
  backface-visibility: visible;
}
.has-solid .app-loading__mark .mark-seg {
  animation: none;
  opacity: 1;
  transform: none;
}
.has-solid .liria-solid__slice {
  transform: translateZ(calc(var(--depth) * -1px));
}
.has-solid .liria-solid__slice .mark-seg {
  fill: #b30c25;
  fill-opacity: 1;
}
.has-solid .liria-solid__slice:nth-child(-n+4) .mark-seg { fill: #820c20; }
.has-solid .liria-solid__shine {
  position: absolute;
  inset: 0;
  transform: translateZ(2px);
  pointer-events: none;
  -webkit-mask: url('assets/liria-mark.svg') center / 100% 100% no-repeat;
  mask: url('assets/liria-mark.svg') center / 100% 100% no-repeat;
  background: linear-gradient(112deg, transparent 28%, rgba(255,240,226,.12) 39%, rgba(255,250,242,.8) 46%, transparent 54%);
  background-size: 320% 100%;
  background-position: 100% 0;
  opacity: 0;
  animation: liria-light-pass 4.6s ease-in-out both;
}
.has-solid .app-loading__pulse {
  width: 140px;
  height: 22px;
  bottom: 35px;
  background: radial-gradient(ellipse, rgba(84,17,27,.22), transparent 70%);
  animation: liria-ground 4.6s ease-in-out both;
  transform: scaleX(.92);
  opacity: .65;
}
@keyframes liria-sculpture {
  0% { transform: translateY(18px) rotateX(24deg) rotateY(-100deg) rotateZ(-14deg) scale(.82); }
  24% { transform: translateY(-8px) rotateX(-8deg) rotateY(22deg) rotateZ(3deg) scale(1.04); }
  46% { transform: translateY(-3px) rotateX(8deg) rotateY(-24deg) rotateZ(-5deg); }
  72% { transform: translateY(-9px) rotateX(-5deg) rotateY(12deg) rotateZ(2deg); }
  100% { transform: rotateX(9deg) rotateY(-16deg) rotateZ(-4deg); }
}
@keyframes liria-light-pass {
  0%, 12% { opacity: 0; background-position: 100% 0; }
  24% { opacity: .85; }
  46% { opacity: 0; background-position: 0 0; }
  58% { opacity: 0; background-position: 100% 0; }
  72% { opacity: .6; }
  100% { opacity: 0; background-position: 0 0; }
}
@keyframes liria-ground {
  0% { opacity: .2; transform: scaleX(.6); }
  24%, 72% { opacity: .4; transform: scaleX(1.12); }
  46%, 100% { opacity: .65; transform: scaleX(.92); }
}
.app-loading.is-leaving .has-solid .app-loading__mark { transform: translateZ(1px); transition: none; }
.app-loading.is-leaving .has-solid .liria-solid__slice { transform: translateZ(calc(var(--depth) * -1px)); }
.app-loading[data-state='error'] .has-solid { perspective: none; }
.app-loading[data-state='error'] .liria-solid {
  width: 72px; height: 59px; animation: none; transform: none;
}
.app-loading[data-state='error'] .liria-solid__slice,
.app-loading[data-state='error'] .liria-solid__shine { display: none; }
.app-loading[data-state='error'] .has-solid .mark-seg { opacity: .4; }
@media (max-width: 480px) {
  .app-loading__stage.has-solid { width: 240px; height: 236px; }
  .has-solid .liria-solid { width: 154px; height: 126px; }
  .app-loading[data-state='error'] .liria-solid { width: 72px; height: 59px; }
}
@media (prefers-reduced-motion: reduce) {
  .has-solid .liria-solid,
  .has-solid .liria-solid__shine,
  .has-solid .app-loading__pulse { animation: none; }
  .has-solid .liria-solid { transform: rotateX(9deg) rotateY(-16deg) rotateZ(-4deg); }
  .has-solid .liria-solid__shine { display: none; }
}
