#r5SceneLoading[hidden], #r5SceneLoading button[hidden] { display: none !important; }
#r5SceneLoading {
  position: fixed;
  inset: 0;
  z-index: 2147483646;
  display: grid;
  place-items: center;
  padding: 1rem;
  color: #fff2d3;
  overflow: auto;
  background: radial-gradient(ellipse at 50% 38%, #1d4a58, #06131e 78%);
  font: 1rem system-ui, sans-serif;
  outline: none;
  touch-action: manipulation;
}
#r5SceneLoading .r5-loading-panel {
  width: min(100%, 32rem);
  padding: clamp(1.25rem, 4vw, 2.5rem);
  box-sizing: border-box;
  border: 2px solid #c89851;
  border-radius: 1rem;
  text-align: center;
  background: linear-gradient(145deg, #432819b8, #20150fc7 62%),
    repeating-linear-gradient(0deg, #633b26 0, #392317 3px, #4b2b1e 7px);
  box-shadow: inset 0 0 0 5px #241810, inset 0 0 0 6px #926034, 0 1rem 4rem #0009;
}
#r5SceneLoading img { width: 2.5rem; height: 2.5rem; display: block; margin: 0 auto .45rem; }
#r5SceneLoading h1 { font: 700 clamp(1.55rem, 5vw, 2.55rem) Georgia, serif; margin: 0 0 .95rem; color: #ffdc90; }
#r5SceneLoading output { display: block; margin-bottom: .3rem; font-size: 1.45rem; font-weight: bold; font-variant-numeric: tabular-nums; }
#r5SceneLoading progress { appearance: none; width: 100%; height: 1.18rem; border: 1px solid #cf9b57; border-radius: .65rem; overflow: hidden; background: #0d1921; }
#r5SceneLoading progress::-webkit-progress-bar { background: #0d1921; }
#r5SceneLoading progress::-webkit-progress-value { background: linear-gradient(0deg, #07637c, #68e0df); transition: width .18s ease; }
#r5SceneLoading progress::-moz-progress-bar { background: linear-gradient(0deg, #07637c, #68e0df); }
#r5SceneLoading p { margin: .8rem 0 0; min-height: 2.5em; }
#r5SceneLoading button { margin-top: .35rem; padding: .65rem 1.15rem; border: 1px solid #d3a361; border-radius: .4rem; background: #123f50; color: #fff4db; font: inherit; font-weight: 700; cursor: pointer; }
#r5SceneLoading button:focus-visible { outline: 2px solid #70e8ec; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { #r5SceneLoading progress::-webkit-progress-value { transition: none; } }
