:root {
  color-scheme: dark;
  font-family: Arial, sans-serif;
  background: #17191d;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

body {
  display: grid;
  place-items: center;
  background: #17191d;
}

#unity-shell {
  position: relative;
  width: min(100vw, calc(100vh * 9 / 16));
  height: min(100vh, calc(100vw * 16 / 9));
  overflow: hidden;
  background: #e8eff1;
  box-shadow: 0 0 0 1px #30343a;
}

#unity-canvas {
  display: block;
  width: 100%;
  height: 100%;
  background: #e8eff1;
  touch-action: none;
}

#unity-loading {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 15%;
  color: #20242a;
  background: #e8eff1;
}

#unity-loading[hidden] {
  display: none;
}

#unity-loading-label {
  font-size: 15px;
  text-align: center;
}

#unity-progress-track {
  height: 8px;
  overflow: hidden;
  background: #c7d2d6;
  border-radius: 4px;
}

#unity-progress-value {
  width: 0;
  height: 100%;
  background: #ef6470;
  border-radius: 4px;
  transition: width 120ms linear;
}

#unity-warning {
  position: absolute;
  top: 12px;
  right: 12px;
  left: 12px;
  z-index: 10;
}

#unity-warning:empty {
  display: none;
}

#unity-warning > div {
  margin-bottom: 6px;
  padding: 10px 12px;
  color: #17191d;
  background: #ffd76a;
  border-radius: 4px;
}

#unity-warning > .error {
  color: #fff;
  background: #b83242;
}
