:root {
  color-scheme: light;
  --paper: #fbf5e7;
  --panel: #fffdf7;
  --ink: #20264b;
  --text: #343348;
  --quiet: #57536b;
  --accent: #9d4032;
  --blue: #314284;
  --line: #ddd3b8;
  --sun: #ffcd67;
  font-family: system-ui, -apple-system, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: .2em; overflow-wrap: anywhere; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 3px solid #354dde; outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.13; letter-spacing: -.035em; }
.shell { width: min(850px, calc(100% - 48px)); margin-inline: auto; }
.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.18em; }
.skip-link { position: absolute; top: -100px; left: 1rem; z-index: 2; background: #fff; padding: .6rem; }
.skip-link:focus { top: .6rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.site-header { background: #fff9eb; border-bottom: 2px solid var(--ink); }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; }
.header-inner { min-height: 72px; padding-block: 10px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); width: fit-content; text-decoration: none; font-size: 25px; font-weight: 900; line-height: .96; letter-spacing: -.07em; }
.brand strong { color: var(--accent); }
.brand small { display: block; font-size: 8px; letter-spacing: .115em; font-weight: 800; padding-top: 6px; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--ink); color: var(--sun); box-shadow: 2px 2px 0 #e7a952; transform: rotate(-6deg); }
.brand-mark .icon { width: 23px; height: 23px; fill: currentColor; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.site-nav a, .chip { display: inline-flex; align-items: center; gap: 6px; min-height: 39px; padding: 6px 11px; border-radius: 8px; font-size: .875rem; font-weight: 750; text-decoration: none; }
.site-nav [aria-current], .chip[aria-current] { color: var(--panel); background: var(--ink); }
.site-nav a:hover:not([aria-current]), .chip:hover:not([aria-current]) { color: var(--ink); background: #f3e8c7; }

.feed-title { display: flex; align-items: center; gap: 8px; margin: 23px 0 10px; font-size: 1.1rem; letter-spacing: -.015em; }
.feed-title .icon { color: var(--accent); fill: #ffe2a8; }
.feed { display: grid; gap: 26px; }
.post { --tone: #334784; --tag: #e8edfd; padding: clamp(18px, 4vw, 34px); background: var(--panel); border: 1.5px solid var(--ink); border-top: 4px solid var(--tone); border-radius: 15px; box-shadow: 3px 3px 0 #d9ceae; }
.raids { --tone: #933629; --tag: #ffead7; }
.rarity { --tone: #724213; --tag: #ffefbb; }
.regional { --tone: #205c48; --tag: #dcf3e5; }
.investment { --tone: #4c3f87; --tag: #ede7ff; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 12px; color: var(--quiet); font-size: .875rem; }
.category-label, .list-category { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; color: var(--tone); background: var(--tag); border-radius: 6px; font-size: .8125rem; font-weight: 800; text-decoration: none; }
.category-label:hover { color: var(--tone); text-decoration: underline; }
.post-header h1, .post-header h2 { margin: 11px 0 8px; max-width: 28ch; font-size: clamp(1.75rem, 4.7vw, 2.9rem); font-weight: 850; }
.post-header a:not(.category-label) { text-decoration: none; }
.post-header a:not(.category-label):hover { text-decoration: underline; }
.deck { color: var(--quiet); font-size: clamp(1rem, 2vw, 1.125rem); max-width: 62ch; }
.post-body { max-width: 68ch; margin-top: 17px; color: var(--text); font-size: 1.05rem; line-height: 1.62; overflow-wrap: break-word; }
.verdict { border-left: 3px solid var(--tone); background: var(--tag); color: var(--ink); padding: 8px 11px; border-radius: 0 7px 7px 0; }
.verdict strong { color: var(--tone); white-space: nowrap; margin-right: 3px; }
.post-body section { margin-top: 17px; }
.post-body h2, .post-body h3 { color: var(--ink); font-size: 1.125rem; }
.post-body section p { margin-top: 6px; }
.event-dates ul { list-style: none; padding: 0; margin: 7px 0 0; border-top: 1px solid var(--line); }
.event-dates li { padding: 7px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.event-dates li span { display: block; }
.event-dates strong { color: var(--ink); }
.event-dates a, .sources a, .text-link { color: var(--blue); font-weight: 700; }
.sources { margin-top: 16px; font-size: .85rem; }
.sources h2, .sources h3 { font-size: .85rem; letter-spacing: 0; }
.sources ul { display: flex; gap: 3px 16px; flex-wrap: wrap; padding: 0; margin: 5px 0 0; list-style: none; }
.sources li:target { background: #ffefbb; outline: 2px solid #e0bc64; }

.older { margin-top: 31px; }
.section-line { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 7px 15px; }
.section-line h2, .archive-group h2 { font-size: 1.45rem; }
.text-link { display: inline-flex; align-items: center; gap: 5px; font-size: .9rem; }
.story-list { list-style: none; padding: 0 14px; margin: 10px 0 0; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; }
.story-list li { display: flex; justify-content: space-between; align-items: flex-start; gap: 6px 16px; padding: 13px 0; }
.story-list li + li { border-top: 1px solid var(--line); }
.story-main h2, .story-main h3 { font-size: 1.08rem; letter-spacing: -.02em; }
.story-main p { margin-top: 3px; color: var(--quiet); font-size: .89rem; }
.story-meta { display: flex; flex: 0 0 auto; gap: 2px; flex-direction: column; align-items: end; color: var(--quiet); font-size: .79rem; }
.story-meta .list-category { padding: 1px 6px; }
.page-intro { margin: 27px 0 15px; }
.page-intro h1 { font-size: clamp(2rem, 6vw, 3.125rem); }
.page-intro p { margin-top: 6px; color: var(--quiet); }
.topic-nav { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { background: var(--panel); border: 1px solid var(--line); }
.chip:not([aria-current]) .icon { color: var(--tone, var(--blue)); }
.archive-group { margin-top: 22px; }
.back-link { margin: 20px 0 10px; }
.site-footer { margin-top: 44px; padding: 20px 0; background: #f2e9d2; border-top: 1px solid var(--line); }
.footer-inner p { color: var(--quiet); font-size: .85rem; }

@media (max-width: 520px) {
  .shell { width: calc(100% - 34px); }
  .header-inner { align-items: flex-start; flex-direction: column; gap: 9px; }
  .site-nav a { min-height: 36px; }
  .feed-title { margin-top: 16px; }
  .feed { gap: 19px; }
  .story-list li { flex-direction: column; }
  .story-meta { align-items: center; flex-direction: row; gap: 7px; }
}
