html {
  overflow-y: scroll;
}

body {
  font-family: monospace;
}

.content {
  margin-bottom: 45px;
}

.content.is-kobo {
  /* Magic number that works best on Kobo Clara in 2026 to have the keyboard right under the input*/
  margin-bottom: 55%;
}

.theme-dark, .theme-dark a, .theme-dark a:visited {
  background-color: #333333;
  color: white;
}

.theme-light, .theme-light a, .theme-light a:visited {
  background-color: #FEFEFE;
  color: #111111;
}

.theme-dark input[type="text"] {
  background-color: black;
  color: white;
}

.theme-light input[type="text"] {
  background-color: #BBBBBB;
  color: black;
}

input[type="text"] {
  width: 50%;
  height: 30px;
  border: 0;
  padding: 0 0 0 5px;
  margin: 0;
  font-family: monospace;
}

button {
  height: 30px;
  border-radius: 10px;
}

.content:not(.is-kobo) .chat-in {
  width: 100%;
  position: fixed;
  bottom: 10px;
}

.theme-dark .system-sender {
  color: lightblue;
  font-weight: bold;
}

.theme-light .system-sender {
  color: navy;
  font-weight: bold;
}

.day {
  width: 100%;
  padding: 5px;
  border: 2px dotted green;
  border-radius: 10px;
  text-align: center;
  font-size: large;
  font-variant: small-caps;
}

.error {
  color: #DD0000;
  font-weight: bold;
}

.high-five {
  font-size: xx-large;
  font-weight: bold;
  text-shadow: 0 0 10px plum;
}

.exploding-barrel {
  width: 120px;
  height: 120px;
}

.api-image {
  width: 100%;
  max-width: 640px;
}

/* Short hand (as it's in a repeating message table) for "text cell" */
.tc {
  padding-left: 10px;
}

/* Short hand for "date cell" */
.dc {
  font-size: xx-small;
  vertical-align: middle;
}