:root {
  --bg: #0b1511;
  --panel: #12221b;
  --panel-edge: #2c4a3c;
  --text: #e3ece6;
  --muted: #9db3a6;
  --accent: #5fbf7f;
  --gold: #d9b25a;
  --spark: #fff3c4;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f3f6f2;
    --panel: #ffffff;
    --panel-edge: #c9d8cf;
    --text: #10201a;
    --muted: #4b6357;
    --accent: #2f8a4f;
    --gold: #8a6a1c;
    color-scheme: light;
  }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
main {
  max-width: 720px;
  margin: 0 auto;
  padding: calc(env(safe-area-inset-top) + 3rem) 16px 2rem;
}
a {
  color: var(--accent);
}
.hero {
  text-align: center;
  margin-bottom: 2.5rem;
}
.logo {
  display: block;
  margin: 0 auto 1rem;
  border-radius: 28px;
}
h1 {
  margin: 0;
  font: 600 2.6rem/1.1 Georgia, "Times New Roman", serif;
  letter-spacing: 0.12em;
}
.tagline {
  margin: 0.4rem 0 0;
  color: var(--gold);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: 0.04em;
}
.lead {
  color: var(--muted);
  max-width: 34rem;
  margin: 0.8rem auto 0;
}
h2 {
  font: 600 0.95rem/1 ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 2rem 0 0.8rem;
}
h2 span {
  color: var(--gold);
}
.quests {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}
.quest {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border-radius: 14px;
  background: var(--panel);
  border: 2px solid var(--panel-edge);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.15s, transform 0.15s;
}
.quest:hover,
.quest:focus-visible {
  border-color: var(--accent);
  transform: translateX(4px);
  outline: none;
}
.quest img {
  flex: none;
  border-radius: 16px;
}
.quest-body {
  display: grid;
  gap: 0.15rem;
}
.quest-body strong {
  font-size: 1.15rem;
}
.quest-body span {
  color: var(--muted);
  font-size: 0.92rem;
}
.quest-body .address {
  color: var(--accent);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.85rem;
}
.note {
  color: var(--muted);
  font-size: 0.85rem;
}
.stats {
  margin: 0;
  padding: 1rem;
  border-radius: 14px;
  background: var(--panel);
  border: 2px solid var(--panel-edge);
  display: grid;
  gap: 0.5rem;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.92rem;
}
.stats div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.stats dt {
  color: var(--muted);
}
.stats dd {
  margin: 0;
  text-align: right;
}
.ok {
  color: var(--accent);
}
footer {
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  padding: 1rem 16px calc(env(safe-area-inset-bottom) + 1.5rem);
}
.lost {
  text-align: center;
  padding-top: 20vh;
}
.lost h1 {
  font-size: 3.5rem;
}
