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

body {
  background: #000;
  color: #ddd;
  font-family: ui-monospace, "JetBrains Mono", "Cascadia Mono", Consolas, monospace;
  font-size: 1rem;
  line-height: 1.25;
  display: flex;
  justify-content: center;
  padding-top: 10vh;
}

pre {
  font: inherit;
}

main {
  transition: 0s;
}

main.gone {
  opacity: 0;
  pointer-events: none;
}

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

#message a:hover,
#message a:focus-visible {
  color: #fff;
}

.bubble {
  position: relative;
}

.inner {
  display: flex;
  flex-direction: column;
  gap: 1.25em;
  padding: 0 3ch;
}

.side {
  position: absolute;
  top: 2.5em;
}

.side.left {
  left: 0;
}

.side.right {
  right: 0;
}

.option {
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.option:hover,
.option:focus-visible {
  color: #fff;
  text-decoration: underline;
}

#ask .row {
  display: flex;
  align-items: baseline;
}

#ask .row::before,
#ask .row::after {
  content: "|";
}

#ask:focus-within .boxline,
#ask:focus-within .row::before,
#ask:focus-within .row::after {
  color: #fff;
}

#query {
  flex: 1;
  min-width: 0;
  background: none;
  border: none;
  outline: none;
  color: inherit;
  font: inherit;
  padding: 0 0.5ch;
}

.clippy {
  padding-left: 4ch;
}
