* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  overflow: hidden;
  background: #222;
}

body, input, a {
  color: #fff;
  font: 14px 'PixelText';
}

html, body {
  width: 100%;
  height: 100%;
}

img {
  display: block;
}

dialog {
  pointer-events: all;
}

dialog li {
  list-style: none;
}

#system-message {
  background: #0e0c14;
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 32px;
}

#system-message.error {
  background: #652229;
}

#system-message.error img {
  display: none;
}

#system-message .message {
  font-weight: bold;
  font-size: 20px;
  line-height: 26px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
  white-space: pre;
}

#system-message .trace {
  display: none;
  font-size: 12px;
  line-height: 14px;
  white-space: pre;
  letter-spacing: 1px;
  opacity: 0.5;
  max-height: 60vh;
  overflow-y: auto;
}

#system-message .trace.visible {
  display: block;
}

#system-message .skip {
  display: none;
  font-size: 14px;
  line-height: 14px;
  letter-spacing: 1px;
  opacity: 0.5;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.5);
}

#system-message .skip:hover {
  cursor: pointer;
  background: rgba(0, 0, 0, 0.75);
}

#system-message .skip.visible {
  display: block;
}

#console-debug {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 9999;
  padding: 10px;
  white-space: pre;
  font-size: 10px;
  background: rgba(0, 0, 0, 0.5);
  max-height: 100px;
  overflow: scroll;
}

.Toastify__toast {
  pointer-events: all;
  background-color: rgba(0, 0, 0, 0.5);
  white-space: pre-line;
  border-radius: 0;
  font-family: 'PixelText';
}

.Toastify__toast-icon {
  margin-inline-start: 0;
  margin: 0 16px 0 4px;
}

.transactions-toast .Toastify__toast {
  font-size: 12px;
  width: 260px;
}

.transactions-toast .Toastify__toast-icon {
  margin: 0 10px 0 0;
}
