:root {
  color-scheme: light;
  --ink: #38271d;
  --muted: #806e5e;
  --paper: #f8f1e7;
  --cream: #fffaf3;
  --gold: #d49a50;
  --line: #eadbc8;
  font-family: ui-rounded, "Avenir Next", Avenir, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: radial-gradient(ellipse at 50% 0%, #fffdf8 0, var(--paper) 68%);
  min-height: 100vh;
  padding: 28px 16px 52px;
}
a { color: inherit; }
a:focus-visible { outline: 3px solid #a96114; outline-offset: 4px; }
.skip { position: absolute; left: -9999px; top: 8px; background: white; padding: 12px; z-index: 3; }
.skip:focus { left: 8px; }
.hub { width: min(100%, 620px); margin: 0 auto; }
.intro { text-align: center; padding: 12px 16px 26px; }
.avatar {
  width: 118px; height: 118px; object-fit: cover; border-radius: 50%;
  border: 5px solid var(--cream); box-shadow: 0 7px 24px #56391f24;
}
h1 { margin: 14px 0 4px; font-family: Georgia, serif; font-size: clamp(2rem, 8vw, 2.65rem); letter-spacing: -.04em; }
.tagline { margin: 0; color: #a36a2d; font-weight: 750; font-size: 1.05rem; }
.lede { color: var(--muted); margin: 9px 0 0; line-height: 1.5; }
main { display: grid; gap: 26px; }
.shop { text-align: center; }
.cta {
  display: flex; min-height: 76px; align-items: center; justify-content: center; flex-direction: column;
  padding: 14px 20px; border-radius: 19px; text-decoration: none;
  color: #fffdf9; background: #52392a; box-shadow: 0 7px 0 #d5ad7c, 0 12px 24px #513b2a1b;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.cta:hover { background: #674833; transform: translateY(-2px); box-shadow: 0 9px 0 #d5ad7c, 0 15px 28px #513b2a25; }
.cta-label { font-size: 1.16rem; font-weight: 800; }
.cta-sub { margin-top: 2px; color: #f4ddbd; font-size: .88rem; }
.note { color: var(--muted); text-align: center; font-size: .82rem; line-height: 1.5; margin: 10px 0 0; }
.characters, .finds { background: #fffaf4cc; border: 1px solid var(--line); border-radius: 22px; padding: 20px; }
h2 { margin: 0; text-align: center; font-family: Georgia, serif; letter-spacing: -.025em; font-size: 1.5rem; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; margin: 18px 0 0; padding: 0; gap: 11px; }
.tile { display: block; text-decoration: none; text-align: center; }
.tile img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 15px; border: 1px solid #e6d8c7; background: #eee0ca; transition: transform .16s ease; }
.tile:hover img { transform: translateY(-3px); }
.tile-name { display: inline-block; margin-top: 8px; font-weight: 750; font-size: .92rem; }
.finds { padding-bottom: 18px; }
.finds > .note { margin-top: 5px; }
.empty { text-align: center; margin: 16px 0 2px; padding: 20px 14px; border: 1px dashed #d5c0a7; border-radius: 16px; color: var(--muted); }
.empty p { margin: 0; font-size: .9rem; line-height: 1.5; }
.empty .empty-title { color: var(--ink); font-weight: 750; margin-bottom: 4px; }
.finds-list { list-style: none; padding: 0; margin: 12px 0 0; }
.find { display: flex; align-items: center; gap: 12px; padding: 10px 0; text-decoration: none; border-top: 1px solid var(--line); }
.find img { width: 58px; height: 58px; object-fit: cover; border-radius: 12px; }
.find-name { flex: 1; font-weight: 700; }
.badge { color: #70400d; background: #f2dfbf; border-radius: 99px; padding: 5px 9px; font-size: .72rem; font-weight: 800; }
.disclosure { display: none; margin: 13px 0 0; color: var(--muted); font-size: .76rem; line-height: 1.5; }
.finds:has(.finds-list a[rel~="sponsored"]) .disclosure { display: block; }
.footer { padding: 22px 12px 0; text-align: center; color: var(--muted); font-size: .78rem; }
.footer p { margin: 0; }
@media (min-width: 560px) { body { padding-top: 40px; } .characters, .finds { padding: 24px; } .grid { gap: 16px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
