body {
  margin: 0;
  height: 100vh;
  width: 100vw;
}

.two-col {
  display: grid;
  grid-template-columns: min-content auto;
  height: 100%;
}

#chatContainer {
  display: flex;
  flex-direction: column;
  place-content: flex-end;
  overflow-y: hidden;
  height: 100%;
}

#chat {
  background: oklch(from var(--fg) l c h / 0.15);
  padding: 0.25rem;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  min-height: 3rem;
  height: 3rem;
  box-sizing: border-box;
  backdrop-filter: blur(10px);
}

#chatInput {
  border: none;
  padding: 0 1rem;
  flex-grow: 1;
  border-radius: 2rem;
  margin: 0.25rem;
}

#chatInput:focus {
  outline: none;
}

#chat>button {
  height: auto;
  background: var(--fg);
  border: none;
  padding: 0 1rem;
  margin: 0.25rem;
  border-radius: 3px;
  outline: none;
  color: var(--bg);
}

#messages {
  width: 100%;
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow-y: scroll;
  scrollbar-width: none;
}

#messages>li {
  padding: 0.5rem 1rem;
}

#messages>li:nth-child(odd) {
  background: var(--mg);
}

.system-message {
  color: var(--warningred);
  font-weight: bold;
}

#settingsPanel {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 1rem;
  width: 20rem;
  height: auto;
  gap: 1rem;
  border-right: var(--mg) solid 2px;
}

#gameSetting {
  width: 20rem;
  height: 70%;
  display: grid;
  box-sizing: border-box;
  row-gap: 1rem;
  padding: 1rem;
  filter: drop-shadow(0 2px 3px var(--lightblue));
  background: var(--bg);
  border-radius: .5rem;
}

#gameSettingSubmit {
  background-color: var(--verylightblue);
  color: var(--darkblue);
}

#profileSetting {
  width: 20rem;
  height: 30%;
  display: grid;
  box-sizing: border-box;
  row-gap: 1rem;
  padding: 1rem;
  filter: drop-shadow(0 2px 3px var(--lightred));
  background: var(--bg);
  border-radius: .5rem;
}

#changeUsername {
  background-color: var(--verylightred);
  color: var(--darkred);
}