/* WRN mobile header and explicit loading artwork, 2026-12-05. */
.website-portal .loading-star {
  display:inline-grid; place-items:center; width:48px; height:48px;
  background:none; color:#050508; text-shadow:none; -webkit-text-stroke:0;
  animation:wrn-loading-turn 1.1s linear infinite; transform-origin:center;
}
.website-portal .loading-star svg { display:block; width:100%; height:100%; overflow:visible; }
.website-portal .loading-star svg path { fill:#050508; stroke:#ff3658; stroke-width:3; }
@keyframes wrn-loading-turn { to { transform:rotate(360deg); } }
@media(prefers-reduced-motion:reduce) { .website-portal .loading-star { animation:none; } }
@media(max-width:980px) {
  .website-portal #next-search-toggle { display:inline-flex; }
  .website-portal .next-header__inner,
  .website-portal.website-scrolled .next-header__inner {
    display:grid; grid-template-columns:minmax(0,1fr); justify-items:center;
    gap:6px; width:calc(100% - 14px); padding:6px 0;
  }
  .website-portal .brand,
  .website-portal.website-scrolled .brand {
    --brand-size:72px; width:72px; min-width:72px; max-width:72px;
  }
  .website-portal .brand-theme-line,
  .website-portal.website-scrolled .brand-theme-line { display:none; }
  .website-portal .header-actions:has(> .solinari-quiz-button),
  .website-portal.website-scrolled .header-actions:has(> .solinari-quiz-button) {
    display:flex; flex-wrap:nowrap; justify-content:center; align-items:center;
    gap:3px; width:100%; min-width:0; max-width:100%; margin:0;
  }
  .website-portal .header-actions > :is(a,button),
  .website-portal.website-scrolled .header-actions > :is(a,button) {
    display:inline-flex; align-items:center; justify-content:center;
    flex:0 1 32px; width:32px; min-width:28px; max-width:32px;
    height:34px; min-height:34px; padding:0; border-radius:8px; font-size:20px;
  }
  .website-portal .header-actions > :is(a,button) img { width:22px; height:22px; object-fit:contain; }
  .website-portal .header-actions .website-header-app-button__icon,
  .website-portal .header-actions .website-donate-button__icon { font-size:20px; }
  .website-portal .header-actions .website-header-rights-button__label,
  .website-portal .header-actions .website-header-app-button__label,
  .website-portal .header-actions .website-donate-button__label,
  .website-portal .header-actions .website-header-atlas-button > span {
    position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%);
  }
  .website-portal .header-actions > .language-control,
  .website-portal.website-scrolled .header-actions > .language-control {
    display:block; flex:0 0 44px; width:44px !important; min-width:44px !important;
    max-width:44px !important; height:34px !important; min-height:34px !important;
  }
  .website-portal .header-actions > .language-control select,
  .website-portal.website-scrolled .header-actions > .language-control select {
    box-sizing:border-box; width:44px !important; min-width:44px !important; max-width:44px !important;
    height:34px !important; min-height:34px !important; padding:0 3px !important;
    font-size:12px; line-height:normal; text-align:center; text-overflow:clip;
  }
  .website-portal .header-actions > .language-control::after { display:none; }
}
