#brand-boot-loader:not([hidden]) {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 16px;
  background: linear-gradient(135deg, #eef4fb 0%, #f7faff 45%, #edf3fa 100%);
  color: #1f2a44;
  font: 600 13px/1.2 Pretendard, "Pretendard Variable", "Noto Sans KR", system-ui, sans-serif;
}

body:has(#root:not(:empty)) > #brand-boot-loader { display: none; }

.brand-boot-card {
  box-sizing: border-box;
  min-width: min(240px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 24px;
  border: 1px solid #d7e1ef;
  border-radius: 16px;
  background: rgb(255 255 255 / 86%);
  text-align: center;
}

.brand-boot-card strong { font-size: 20px; font-weight: 800; }

.brand-boot-ring {
  box-sizing: border-box;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border: 3px solid #dce3ff;
  border-top-color: #2842f5;
  border-radius: 50%;
  animation: brand-boot-spin .8s linear infinite;
}

@keyframes brand-boot-spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .brand-boot-ring { animation: none; }
}
