a {
  color: yellow;
}
.error {
  color: red;
}
body {
  background-color: darkblue;
  color: white;
  overflow: hidden;
}
body > p {
  margin: 0;
  font-size: 200%;
  float: right;
}
body > p a {
  text-decoration: none;
}
@media (max-width: 600px) {
  body > p {
    position: relative;
    top: -22px;
  }
}
@media (min-width: 601px) {
  body > p {
    height: 0;
    margin-right: 20px;
  }
}
body h1 {
  color: yellow;
  text-align: center;
  white-space: nowrap;
}
@media (max-width: 600px) {
  body h1 {
    margin-top: 22px;
    margin-bottom: 8px;
  }
}
body form {
  margin: 0;
}
@media (min-width: 601px) {
  body form > div {
    display: table;
    border-spacing: 15px;
  }
  body form > div > p {
    display: table-row;
  }
  body form > div > p > strong,
  body form > div > p > span {
    display: table-cell;
    vertical-align: top;
  }
  body form > p {
    margin-left: 15px;
    margin-right: 15px;
  }
}
@media (max-width: 600px) {
  body form > div > p > strong,
  body form > div > p > span {
    display: block;
    margin-bottom: 8px;
  }
}
body form > div > p > span {
  white-space: nowrap;
}
body form > div > p > span > span.error {
  display: none;
}
body form > div > p > span > span.age {
  display: inline-block;
  width: 172px;
}
body form > div > p > span > span.range {
  padding-left: 10px;
}
body form > div > #connwith > span > span.age {
  position: relative;
  top: 2px;
}
body form > p > input {
  font-size: 150%;
  padding: 15px 30px;
  border-radius: 30px;
}
@media (min-width: 501px) {
  body #chat #top {
    display: table-row;
  }
  body #chat #top div {
    display: table-cell;
  }
  body #chat #top div p {
    margin-top: 0;
  }
  body #chat #top .left {
    width: 99%;
  }
  body #chat #top .right {
    width: 1%;
    white-space: nowrap;
  }
}
@media (max-width: 600px) {
  body #chat #top {
    margin-bottom: 12px;
  }
  body #chat #top div {
    display: inline;
  }
  body #chat #top div p {
    display: inline;
  }
}
body #chat #log {
  font-family: sans-serif, 'Noto Color Emoji';
  width: calc(100% - 10px);
  border: inset 2px black;
  background-color: black;
  color: white;
  padding: 3px;
  margin-bottom: 5px;
  overflow: auto;
}
body #chat #log p {
  margin: 0;
}
body #chat #log p.sys {
  color: pink;
}
body #chat #log p.you strong {
  color: #C0C;
}
body #chat #log p.str strong {
  color: orange;
}
body #chat #log #typing {
  font-weight: bold;
  color: #00C400;
  display: none;
}
body #chat #emojis {
  font-family: sans-serif, 'Noto Color Emoji';
}
body #chat #emojis > .groups > div {
  display: none;
  height: 0;
}
body #chat #emojis > .groups > div > div {
  font-size: 175%;
  user-select: none;
  background-color: #0087ff;
  border: outset 2px;
  transform: translateY(-100%);
  max-height: 350px;
  overflow: auto;
  position: relative;
}
body #chat #emojis > .groups > div > div > span {
  cursor: pointer;
  padding: 0 2px;
}
@media (min-width: 492px) {
  body #chat #emojis > .groups > div > div {
    width: 472px;
  }
}
body #chat #emojis .buttons {
  text-align: center;
}
body #chat #emojis .buttons > svg {
  cursor: pointer;
}
body #chat #emojis .buttons > svg.opened {
  color: #999;
}
body #chat #emojis.disabled > div > div > div > span {
  cursor: not-allowed;
}
body #chat #ctrls {
  white-space: nowrap;
}
body #chat #ctrls button {
  width: 72px;
  height: 60px;
  padding: 0;
}
body #chat #ctrls input {
  width: calc(100% - 163px);
  height: 54px;
  background-color: black;
  color: white;
  font-family: sans-serif, 'Noto Color Emoji';
  font-size: 120%;
}
.android body #chat #ctrls button {
  position: relative;
  top: -2px;
}
.linux body #chat #ctrls button {
  position: relative;
  top: -1px;
}
