:root {
  color-scheme: dark;
  font-family: system-ui, sans-serif;
  background: #172824;
  color: #f6e7c9;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse at 80% 0, #314c3e, transparent 60%);
}
main {
  width: min(720px, 100%);
  padding: 40px 24px;
}
.seal {
  font-size: 48px;
  background: #a64029;
  width: 80px;
  text-align: center;
  border: 2px solid #d9ac6c;
  transform: rotate(-5deg);
  margin: 0 0 28px;
}
.eyebrow {
  letter-spacing: 3px;
  color: #efaa42;
  font-size: 13px;
}
h1 {
  font-size: clamp(32px, 6vw, 58px);
  line-height: 1.07;
  margin: 24px 0;
}
p {
  line-height: 1.6;
}
progress {
  width: 100%;
  height: 9px;
  accent-color: #efaa42;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 22px 0;
}
button {
  font: 600 16px system-ui;
  min-height: 46px;
  padding: 12px 20px;
  background: #efaa42;
  color: #172824;
  border: 1px solid #efaa42;
  cursor: pointer;
}
button.secondary {
  background: transparent;
  color: #f6e7c9;
  border-color: #a89b80;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
.small button {
  font-size: 14px;
}
#storage,
#hint {
  font-size: 14px;
  color: #c9cbb9;
}
a {
  color: #edbd76;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #96e6eb;
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
.recommendation {
  margin: 28px 0;
  padding: 4px 18px;
  border-left: 3px solid #efaa42;
  background: #ffffff08;
}
.recommendation .actions { gap: 12px 24px; }
