:root {
  color-scheme: dark;
  font:
    17px/1.55 system-ui,
    sans-serif;
  background: #102127;
  color: #eef2dd;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
main {
  max-width: 880px;
  margin: auto;
  padding: max(24px, env(safe-area-inset-top)) 20px 40px;
}
header,
nav,
.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
header {
  justify-content: space-between;
  color: #d1eaa1;
}
h1 {
  font-size: clamp(1.8rem, 6vw, 2.8rem);
  line-height: 1.15;
}
h2 {
  margin-top: 0;
}
a {
  color: #d1eaa1;
  text-underline-offset: 4px;
}
#packs {
  display: grid;
  gap: 20px;
  margin: 28px 0;
}
article {
  border: 1px solid #597064;
  border-radius: 16px;
  padding: 22px;
  background: #1c3438;
}
button,
.play {
  display: inline-block;
  border: 1px solid #afc596;
  border-radius: 8px;
  padding: 12px 18px;
  font: inherit;
  cursor: pointer;
  background: #d1eaa1;
  color: #102127;
  text-decoration: none;
}
button:disabled {
  opacity: 0.55;
  cursor: default;
}
button.secondary {
  background: transparent;
  color: #eef2dd;
}
[hidden] {
  display: none !important;
}
progress {
  width: 100%;
  accent-color: #d1eaa1;
}
footer {
  border-top: 1px solid #597064;
  margin-top: 28px;
  padding-top: 24px;
}
footer label {
  display: block;
  margin-top: 20px;
}
input {
  max-width: 100%;
}
#detail,
#install,
#storage {
  color: #c4d0c7;
}
:focus-visible {
  outline: 3px solid #ffc979;
  outline-offset: 4px;
}
