/* Shared, motion-aware wordmark loading. */
.brand-loading {
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  flex-shrink: 0;
}
.brand-loading > span {
  color: #777;
  background: linear-gradient(100deg, #777 30%, #fff 48%, #777 66%);
  background-size: 250% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: coicily-shimmer 2.2s ease-in-out infinite;
}
.status-page .brand-loading {
  font-size: clamp(26px, 5vw, 48px);
}
@keyframes coicily-shimmer {
  from {
    background-position: 180% 0;
  }
  to {
    background-position: -80% 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .brand-loading > span {
    animation: none;
    background: none;
    -webkit-text-fill-color: currentColor;
    color: #bbb;
  }
}
@media (forced-colors: active) {
  .brand-loading > span {
    background: none;
    -webkit-text-fill-color: CanvasText;
  }
}

.brand-loading-context {
  display: inline-grid;
  justify-items: center;
  gap: 8px;
  max-width: 100%;
}
.brand-loading-context small {
  font-size: 11px;
  letter-spacing: 0;
  font-weight: 400;
  color: #999;
}
.loading-image > .brand-loading-context {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  overflow: hidden;
}
.loading-image > .brand-loading-context .brand-loading {
  font-size: clamp(7px, 2vw, 13px);
  max-width: 90%;
}
.loading-image:not(.is-ready):not(.is-failed)::after {
  display: none;
}

.cw-orbit,
#export-loading .loader-dot,
#export-loading .spinner,
.spinner {
  display: inline-flex !important;
  width: auto !important;
  height: auto !important;
  border: 0 !important;
  border-radius: 0 !important;
  animation: none !important;
  align-items: center;
  justify-content: center;
}
.cw-orbit::before,
#export-loading .loader-dot::before,
#export-loading .spinner::before,
.spinner::before {
  content: "COICILY";
  font-size: clamp(16px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: 0.13em;
  color: #aaa;
  background: linear-gradient(100deg, #777 30%, #fff 48%, #777 66%);
  background-size: 250% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: coicily-shimmer 2.2s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .cw-orbit::before,
  #export-loading .loader-dot::before,
  #export-loading .spinner::before,
  .spinner::before {
    animation: none;
  }
}
@media (forced-colors: active) {
  .cw-orbit::before,
  #export-loading .loader-dot::before,
  #export-loading .spinner::before,
  .spinner::before {
    background: none;
    -webkit-text-fill-color: CanvasText;
  }
}

#export-loading {
  animation: none !important;
}
#export-loading .loader-dot {
  background: transparent !important;
  flex-shrink: 0;
}
#export-loading .loader-dot::before {
  font-size: 12px;
}
@media (max-width: 600px) {
  #export-loading {
    flex-wrap: wrap;
  }
}
