:root {
  color-scheme: dark;
  font:
    15px/1.5 system-ui,
    sans-serif;
  background: #11151b;
  color: #e5eaf1;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  padding: 32px 18px;
}
main {
  max-width: 620px;
  margin: auto;
}
header,
.heading {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
header {
  justify-content: flex-start;
  margin-bottom: 28px;
}
.mark {
  font-size: 36px;
  font-weight: 700;
  color: #59d5c4;
}
h1 {
  font-size: 24px;
  margin: 0;
}
h2 {
  font-size: 20px;
}
h3 {
  font-size: 16px;
}
p,
footer {
  color: #9ba9ba;
}
header p {
  margin: 0;
}
section {
  background: #1b222c;
  border: 1px solid #2c3542;
  border-radius: 14px;
  padding: 24px;
}
form {
  display: grid;
  gap: 16px;
}
label {
  display: grid;
  gap: 6px;
}
input,
select,
button {
  font: inherit;
  border: 1px solid #2c3542;
  border-radius: 6px;
  padding: 10px 12px;
}
input,
select {
  width: 100%;
  background: #11151b;
  color: inherit;
}
button {
  background: #214f49;
  color: #b9f4eb;
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
button.secondary {
  background: transparent;
  color: #e5eaf1;
}
input:focus-visible,
select:focus-visible,
button:focus-visible {
  outline: 2px solid #59d5c4;
  outline-offset: 2px;
}
#notice {
  min-height: 24px;
}
#notice.error {
  color: #ffb3ad;
}
ul {
  padding: 0;
  list-style: none;
}
li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #2c3542;
}
summary {
  cursor: pointer;
  padding: 12px 0;
}
#invite-link {
  margin-top: 8px;
}
footer {
  font-size: 12px;
  text-align: center;
  margin-top: 24px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 480px) {
  .heading {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  section {
    padding: 18px;
  }
}
