:root {
  color-scheme:dark;
  font-family:system-ui,-apple-system,"PingFang SC",sans-serif;
  color:#eae4d5;
  background:#131712;
}
* {
  box-sizing:border-box;
}
body {
  margin:0;
  min-height:100dvh;
  background:radial-gradient(ellipse at 85% 0%,#333827 0%,transparent 58%);
}
main {
  max-width:620px;
  margin:auto;
  padding:62px 24px 32px;
}
.eyebrow {
  font-size:11px;
  letter-spacing:3px;
  color:#b5a678;
}
h1 {
  font-size:42px;
  font-weight:650;
  letter-spacing:3px;
  line-height:1.25;
  margin:26px 0 18px;
}
h1 span {
  display:block;
  font-size:20px;
  font-weight:400;
  letter-spacing:6px;
  margin-top:14px;
  color:#bdad7c;
}
.intro {
  color:#b9bba9;
  font-size:15px;
  line-height:1.8;
}
section {
  margin-top:34px;
  border:1px solid #4a4e38;
  padding:26px;
  background:#1b2019;
  border-radius:8px;
  box-shadow:0 18px 60px #0003;
}
.heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
}
h2 {
  font-size:18px;
  margin:0;
}
#quota {
  font-size:12px;
  color:#b7aa80;
}
ol {
  padding-left:21px;
  line-height:2.15;
  font-size:14px;
  color:#c0c3b5;
  margin:24px 0;
}
button,#play {
  display:block;
  width:100%;
  padding:14px;
  border:1px solid #d4bd7e;
  background:#d4bd7e;
  color:#202418;
  font:inherit;
  font-weight:600;
  text-decoration:none;
  border-radius:4px;
  text-align:center;
  cursor:pointer;
}
button:disabled {
  opacity:.5;
  cursor:wait;
}
button:focus-visible,a:focus-visible {
  outline:3px solid #fff;
  outline-offset:4px;
}
.secondary {
  margin-top:12px;
  background:transparent;
  color:#c8bea1;
  border-color:#555b45;
  font-size:13px;
}
#play span {
  float:right;
}
#challenge {
  text-align:center;
  border-top:1px solid #3d442e;
  border-bottom:1px solid #3d442e;
  padding:16px 0;
  margin:18px 0;
}
#challenge p {
  font-size:12px;
  color:#bfc3af;
}
#code {
  font:600 clamp(23px,6vw,34px) ui-monospace,monospace;
  letter-spacing:5px;
  color:#f0ddb0;
}
#status {
  font-size:13px;
  line-height:1.7;
  color:#dccb9c;
  min-height:22px;
}
footer {
  font-size:12px;
  line-height:2;
  color:#969d89;
  margin-top:26px;
}
[hidden] {
  display:none!important;
}
@media(max-width:420px) {
  main {
    padding:28px 18px;
  }
  section {
    padding:20px;
  }
  h1 {
    font-size:36px;
  }
  .heading {
    flex-wrap:wrap;
  }
}
