.ch-boot-splash {
  box-sizing: border-box;
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: grid;
  place-items: center;
  margin: 0;
  padding: max(24px, env(safe-area-inset-top, 0px)) max(24px, env(safe-area-inset-right, 0px))
    max(24px, env(safe-area-inset-bottom, 0px)) max(24px, env(safe-area-inset-left, 0px));
  text-align: center;
  font-family: var(--font-space-grotesk), var(--font-poppins), system-ui, -apple-system, sans-serif;
  color: #ffffff;
  background: linear-gradient(145deg, #2b7bff 0%, #1e6fea 42%, #123a8c 100%);
  opacity: 1;
  transition: opacity 0.28s ease;
  pointer-events: all;
}
.ch-boot-splash[hidden] {
  display: none !important;
}
.ch-boot-splash--exit {
  opacity: 0;
  pointer-events: none;
}
.ch-boot-splash__inner {
  display: grid;
  place-items: center;
  grid-gap: 18px;
  gap: 18px;
}
.ch-boot-splash__icon {
  display: block;
  width: 96px;
  height: 96px;
  border-radius: 26px;
  object-fit: cover;
  box-shadow: 0 16px 40px rgba(0, 18, 36, 0.28);
}
.ch-boot-splash__mark {
  display: block;
  width: min(220px, 64vw);
  height: auto;
  max-height: 56px;
  object-fit: contain;
  border-radius: 0;
  filter: drop-shadow(0 2px 8px rgba(0, 18, 36, 0.18));
}
.ch-boot-splash__orb {
  width: 40px;
  height: 40px;
}
.ch-boot-splash__spinner {
  width: 100%;
  height: 100%;
  display: block;
  animation: ch-boot-rotate 0.9s linear infinite;
  transform-origin: 50% 50%;
}
.ch-boot-splash__track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.28);
  stroke-width: 3.25;
}
.ch-boot-splash__arc {
  fill: none;
  stroke: #ffffff;
  stroke-width: 3.25;
  stroke-linecap: round;
  stroke-dasharray: 28 72;
  animation: ch-boot-dash 1.15s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
  transform-origin: 50% 50%;
}
.ch-boot-splash__label {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  opacity: 1;
}
@keyframes ch-boot-rotate {
  to { transform: rotate(360deg); }
}
@keyframes ch-boot-dash {
  0% { stroke-dasharray: 8 92; stroke-dashoffset: 0; }
  50% { stroke-dasharray: 42 58; stroke-dashoffset: -18; }
  100% { stroke-dasharray: 8 92; stroke-dashoffset: -100; }
}
@media (prefers-reduced-motion: reduce) {
  .ch-boot-splash__spinner,
  .ch-boot-splash__arc { animation: none; }
  .ch-boot-splash__arc { stroke-dasharray: 40 60; }
  .ch-boot-splash { transition: none; }
}

.ec-app-loading,
.auth-callback {
  box-sizing: border-box;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: max(24px, env(safe-area-inset-top, 0px)) max(24px, env(safe-area-inset-right, 0px))
    max(24px, env(safe-area-inset-bottom, 0px)) max(24px, env(safe-area-inset-left, 0px));
  text-align: center;
  font-family: var(--font-space-grotesk), var(--font-poppins), system-ui, -apple-system, sans-serif;
  background: #ffffff;
  color: #0c1a2e;
}
.med-loader {
  --med-ink: #0c1a2e;
  --med-accent: #0360f1;
  display: grid;
  place-items: center;
  grid-gap: 28px;
  gap: 28px;
  text-align: center;
}
.med-loader__mark {
  display: block;
  width: min(240px, 72vw);
  height: auto;
  max-height: 64px;
  object-fit: contain;
  border-radius: 0;
}
.med-loader__orb {
  width: 40px;
  height: 40px;
}
.med-loader__spinner {
  width: 100%;
  height: 100%;
  display: block;
  animation: med-spinner-rotate 0.9s linear infinite;
  transform-origin: 50% 50%;
}
.med-loader__track {
  fill: none;
  stroke: rgba(3, 96, 241, 0.14);
  stroke-width: 3.25;
}
.med-loader__arc {
  fill: none;
  stroke: #0360f1;
  stroke-width: 3.25;
  stroke-linecap: round;
  stroke-dasharray: 28 72;
  animation: med-spinner-dash 1.15s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
  transform-origin: 50% 50%;
}
.med-loader__label {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0c1a2e;
  opacity: 0.55;
}
@keyframes med-spinner-rotate {
  to { transform: rotate(360deg); }
}
@keyframes med-spinner-dash {
  0% { stroke-dasharray: 8 92; stroke-dashoffset: 0; }
  50% { stroke-dasharray: 42 58; stroke-dashoffset: -18; }
  100% { stroke-dasharray: 8 92; stroke-dashoffset: -100; }
}
@media (prefers-reduced-motion: reduce) {
  .med-loader__spinner,
  .med-loader__arc { animation: none; }
  .med-loader__arc { stroke-dasharray: 40 60; }
}

