html:has(.brand-loading--screen) { overflow: hidden; scrollbar-gutter: auto; }

.brand-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 160px;
  padding: 24px;
  background: #fff;
}
.brand-loading--full { position: absolute; inset: 0; min-height: 0; }
.brand-loading--screen { position: fixed; inset: 0; z-index: 2000; min-height: 0; }

.brand-loading__mark {
  display: block;
  flex: 0 1 168px;
  width: 168px;
  max-width: 100%;
  aspect-ratio: 1182 / 611;
}
.brand-loading__mark img { display: block; width: 100%; height: 100%; max-width: 168px; max-height: 87px; object-fit: contain; }
[data-theme="dark"] .brand-loading { background: #18181b; }
[data-theme="dark"] .brand-loading__mark img { filter: grayscale(1) invert(1); mix-blend-mode: screen; }
