html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #1f1f24;
  color: #f0f0f3;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}

#unity-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  outline: none;
  background: #1f1f24;
}

#tls-loading {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: #1f1f24;
}

#tls-title {
  font-size: 20px;
  font-weight: 600;
}

#tls-progress {
  width: min(320px, 70vw);
  height: 6px;
  border-radius: 3px;
  background: #3a3a44;
  overflow: hidden;
}

#tls-progress-fill {
  width: 0;
  height: 100%;
  background: #7f85f5;
  transition: width 0.2s;
}

#tls-message {
  max-width: 80vw;
  font-size: 13px;
  color: #c8c8d0;
  text-align: center;
}

#tls-loading.tls-error #tls-progress {
  display: none;
}

#tls-loading.tls-error #tls-message {
  color: #ff9a9a;
}

body.tls-config {
  overflow: auto;
  padding: 24px;
  box-sizing: border-box;
  background: transparent;
  color: inherit;
}

body.tls-config h1 {
  font-size: 18px;
  margin: 0 0 12px;
}
