body {
  color: #fff;
  font-family: sans-serif;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

:root,
body.is-fullscreen {
  background-color: #000;
}

[hidden] {
  display: none !important;
}

h1 {
  font-weight: 400;
}

a {
  color: inherit;
  text-decoration: underline;
}

#app,
#error,
#launch,
#loading {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.green-flag,
.screen {
  display: flex;
  justify-content: center;
  align-items: center;
}

.screen {
  flex-direction: column;
  text-align: center;
  cursor: default;
  -webkit-user-select: none;
  user-select: none;
  background-color: #000;
}

#launch,
a {
  cursor: pointer;
}

#launch {
  background-color: rgba(0, 0, 0, 0.7);
}

.green-flag {
  width: 80px;
  height: 80px;
  padding: 16px;
  border-radius: 100%;
  background: rgba(255, 255, 255, 0.75);
  border: 3px solid #fff;
  box-sizing: border-box;
}

.progress-bar-outer {
  border: 1px solid currentColor;
  height: 10px;
  width: 200px;
  max-width: 200px;
}

.progress-bar-inner {
  height: 100%;
  width: 0;
  background-color: currentColor;
}

.loading-text,
noscript {
  font-weight: 400;
  font-size: 36px;
  margin: 0 0 16px;
}

.loading-image {
  margin: 0 0 16px;
}

#error-message,
#error-stack {
  font-family: monospace;
  max-width: 600px;
  white-space: pre-wrap;
  -webkit-user-select: text;
  user-select: text;
}

#error-stack {
  text-align: left;
  max-height: 200px;
  overflow: auto;
}

.control-button {
  width: 2rem;
  height: 2rem;
  padding: 0.375rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  -webkit-user-select: none;
  user-select: none;
  cursor: pointer;
  border: 0;
  border-radius: 4px;
}

.control-button:hover {
  background: #ff4c4c26;
}

.control-button.active {
  background: #ff4c4c59;
}

.fullscreen-button {
  background: #fff !important;
}

.standalone-fullscreen-button {
  position: absolute;
  top: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 0 0 0 4px;
  padding: 4px;
  cursor: pointer;
}

.sc-canvas {
  cursor: auto;
}

.sc-monitor-root[data-opcode^="data_"] .sc-monitor-value-color {
  background-color: #ff8c1a;
}

.sc-monitor-row-value-outer {
  background-color: #fc662c;
}

.sc-monitor-row-value-editing .sc-monitor-row-value-outer {
  background-color: #e25b27;
}

.sc-root .sc-layers .sc-canvas {
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  border-color: #000;
  border-style: solid;
}
