body {
  margin: 0;
  padding: 0 1rem;
}
.root-heading {
  font-size: 1.5rem;
}
.root-heading-label {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
}
.controls {
  position: sticky;
  z-index: 100;
  top: 0;
  margin-top: 0.5rem;
  margin-bottom: 0.5em;
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 0.5rem;
  background-color: #36393e;
}

.q-button {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: auto;
  padding: 0.5rem 1rem;
  margin: 0.5rem 0;
  background: #36393e99;
  color: white;
  border: 1px solid slategray;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  text-align: center;
}
.round.q-button {
  height: 3em;
  width: 3em;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  padding: 0;
}
.q-button:hover {
  color: #ddd;
}

button:disabled {
  filter: opacity(0.3);
  pointer-events: none;
}

.controls option {
  color: white;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.mobile-column {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
}
@media screen and (width < 460px) {
  .mobile-column {
    flex-direction: column;
    gap: 0;
  }
  .mobile-column select {
    width: 100%;
    margin: 0.25rem;
  }
}

.loading {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: 20px;
  color: white;
}

.loading span {
  margin: 0 0.5em;
  width: 1em;
  height: 1em;
  border-radius: 50%;
  border-color: white;
  border-style: solid dashed solid dotted;
  border-width: 3px;
  animation: spin 2s infinite linear;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media screen and (width < 720px) {
  .root {
    padding: 0 0.5rem;
  }
}

.preamble {
  scroll-margin: 100px;
}
.chatlog__message-container {
  scroll-margin: 50px;
}
.no-edited .chatlog__edited-timestamp {
  display: none;
}
.chatlog__reply-link {
  color: inherit;
}

.hidden {
  display: none !important;
}
