:root {
  color-scheme: dark;
  background: #10191b;
  color: #f3f4ec;
  font:
    17px system-ui,
    sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input {
  font: inherit;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  border: 0;
  border-radius: 14px;
  padding: 14px 20px;
  background: #b8ead6;
  color: #10231c;
}
button:disabled {
  opacity: 0.5;
}
input {
  min-width: 0;
  border: 1px solid #658176;
  border-radius: 12px;
  padding: 14px;
  background: #172526;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
.home {
  max-width: 600px;
  margin: auto;
  padding: calc(24px + env(safe-area-inset-top)) 24px calc(24px + env(safe-area-inset-bottom));
  min-height: 100dvh;
}
h1 {
  font-size: 36px;
  letter-spacing: -2px;
  font-weight: 650;
  margin: 16px 0 28px;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
header h1 {
  margin: 12px 0 28px;
}
.quiet {
  background: transparent;
  color: inherit;
}
.entry {
  display: grid;
  gap: 14px;
  margin: 12vh 0 16px;
}
.new {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 16px 0 32px;
}
.new label {
  display: flex;
  align-items: center;
  gap: 12px;
}
.rounds {
  width: 80px;
}
.games {
  display: grid;
}
.game {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px;
  padding: 20px 0;
  border-bottom: 1px solid #34423e;
}
.game small {
  grid-column: 1;
  color: #a8bbb1;
}
.game > span:last-child {
  grid-column: 2;
  grid-row: 1/3;
  align-self: center;
  font-size: 28px;
}
.settings {
  display: grid;
  gap: 16px;
}
.code {
  display: block;
  font:
    20px ui-monospace,
    monospace;
  overflow-wrap: anywhere;
  padding: 24px 0;
  user-select: all;
}
.error {
  color: #ffae98;
  line-height: 1.4;
}
.speltAction {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  color: inherit;
  padding: 16px 0;
  border: 0;
  border-radius: 0;
}
