:root {
  color-scheme: light;
  --paper: #f7f5ef;
  --surface: #fffefa;
  --ink: #18313f;
  --muted: #53656b;
  --line: #d8ddd7;
  --teal: #176a63;
  --teal-dark: #0d514c;
  --amber: #dcaa59;
  --blue-soft: #e8f0ed;
  --shadow: 0 12px 34px rgba(24,49,63,.07);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 "Segoe UI", "Trebuchet MS", sans-serif; }
a { color: var(--teal-dark); text-underline-offset: .18em; }
a:hover { color: #073f3a; }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex="0"]:focus-visible { outline: 3px solid var(--teal-dark); outline-offset: 3px; }
.site-header a:focus-visible, .site-header button:focus-visible { outline-color: #f0bd63; }
img { display: block; max-width: 100%; height: auto; }
.skip-link { position: absolute; z-index: 20; left: 1rem; top: -5rem; padding: .6rem 1rem; background: white; border: 2px solid var(--teal); }
.skip-link:focus { top: 1rem; }
.site-header { background: var(--ink); color: #fffefa; border-bottom: 4px solid var(--amber); }
.header-inner { max-width: 1320px; margin: auto; padding: .8rem 1.25rem 1rem; }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .8rem; color: white; text-decoration: none; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid #96b9b1; border-radius: 50% 50% 50% 12%; color: #f0c679; font: 700 1.2rem Georgia, serif; transform: rotate(-8deg); }
.brand-mark span { transform: rotate(8deg); }
.brand-copy { display: grid; line-height: 1.15; }
.brand-name { font: 600 1.18rem Georgia, "Times New Roman", serif; letter-spacing: .015em; }
.brand-caption { margin-top: .2rem; color: #d1ddd8; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.header-meta { display: flex; align-items: center; gap: .85rem; color: #e2eae6; font-size: .8rem; }
.age-mark { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border: 1px solid #d1ddd8; border-radius: 50%; font-weight: 700; }
.main-nav { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .95rem; }
.main-nav a { color: #eef4f0; padding: .45rem .8rem; text-decoration: none; border-radius: 999px; font-size: .92rem; }
.main-nav a:hover, .main-nav a[aria-current="page"] { background: #294755; color: #fff; }
.menu-toggle { display: none; background: transparent; color: white; border: 1px solid #82949a; border-radius: .4rem; padding: .55rem .75rem; font: inherit; cursor: pointer; }
.market-strip { background: #e8eee9; border-bottom: 1px solid var(--line); color: #334c52; font-size: .82rem; }
.market-strip-inner { max-width: 1320px; margin: auto; padding: .42rem 1.25rem; display: flex; justify-content: space-between; gap: .75rem; flex-wrap: wrap; }
.market-strip strong { color: var(--teal-dark); }
.page-shell { max-width: 1320px; margin: 0 auto; padding: 2rem 1.25rem 3.5rem; display: grid; grid-template-columns: 240px minmax(0,1fr); align-items: start; gap: clamp(1.5rem, 3vw, 3.25rem); }
.route-rail { position: sticky; top: 1rem; padding: 1.1rem; background: var(--surface); border: 1px solid var(--line); border-radius: .85rem; box-shadow: var(--shadow); }
.rail-title { margin: 0 0 .6rem; font: 600 1.08rem Georgia, serif; }
.rail-group { margin: 1rem 0 0; }
.rail-group h3 { margin: 0 0 .3rem; color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.rail-group a { display: block; padding: .25rem 0; color: var(--ink); font-size: .88rem; text-decoration: none; }
.rail-group a:hover, .rail-group a[aria-current="page"] { color: var(--teal-dark); text-decoration: underline; }
.content-column { min-width: 0; }
.breadcrumbs { margin: 0 0 1.25rem; color: var(--muted); font-size: .83rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .45rem; padding: 0; margin: 0; list-style: none; }
.breadcrumbs li + li::before { content: "/"; margin-right: .45rem; color: #82918e; }
.breadcrumbs a { color: var(--muted); }
.article-header { max-width: 850px; margin-bottom: 1.45rem; }
.eyebrow { margin: 0 0 .35rem; color: var(--teal-dark); font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.22; }
h1 { max-width: 900px; margin: .15rem 0 .85rem; font: 500 clamp(2.05rem, 4.4vw, 3.6rem)/1.12 Georgia, "Times New Roman", serif; letter-spacing: -.028em; }
.lead { max-width: 800px; margin: 0; color: #3e565e; font-size: clamp(1.08rem, 1.5vw, 1.27rem); line-height: 1.55; }
.article-body { max-width: 850px; }
.article-body h2 { margin: 2.2rem 0 .75rem; font: 500 clamp(1.45rem, 2.2vw, 1.9rem)/1.24 Georgia, serif; }
.article-body h3 { margin: 1.5rem 0 .45rem; font: 600 1.15rem/1.3 "Segoe UI", sans-serif; }
.article-body p { margin: .65rem 0 1rem; }
.article-body ul, .article-body ol { padding-left: 1.4rem; margin: .65rem 0 1.2rem; }
.article-body li { margin: .35rem 0; }
.article-body strong { color: #213d45; }
.table-wrap { max-width: 100%; margin: 1rem 0 1.35rem; overflow-x: auto; border: 1px solid var(--line); border-radius: .65rem; background: var(--surface); }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .92rem; }
th, td { padding: .72rem .78rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { background: #eaf0ec; color: #183b41; font-size: .83rem; font-weight: 700; }
tbody tr:last-child td { border-bottom: 0; }
blockquote { margin: 1.25rem 0; padding: .85rem 1rem; border-left: 4px solid var(--amber); background: #f1eee5; }
.article-figure { max-width: 880px; margin: 1.5rem 0 2rem; padding: .45rem; border: 1px solid var(--line); border-radius: .9rem; background: var(--surface); box-shadow: var(--shadow); }
.article-figure img { width: 100%; border-radius: .55rem; }
.article-figure figcaption { padding: .45rem .45rem .2rem; color: var(--muted); font-size: .8rem; }
.secondary-figure { max-width: 720px; margin-top: 2rem; }
.shared-game-figure { max-width: 560px; }
.source-panel, .related-panel { max-width: 850px; margin-top: 2rem; padding: 1.1rem 1.25rem; background: #eef2ed; border: 1px solid var(--line); border-radius: .75rem; }
.source-panel h2, .related-panel h2 { margin-top: 0; font: 600 1.08rem/1.25 Georgia, serif; }
.source-panel ul, .related-panel ul { columns: 2; gap: 1.75rem; padding-left: 1.2rem; margin-bottom: .2rem; }
.source-panel li, .related-panel li { break-inside: avoid; margin-bottom: .35rem; font-size: .88rem; }
.home-hero { padding: clamp(1.3rem, 4vw, 2.75rem); margin-bottom: 1.6rem; border: 1px solid var(--line); border-radius: 1.2rem; background: linear-gradient(125deg,#fffefa 0%,#eef3ed 100%); box-shadow: var(--shadow); }
.home-hero .lead { max-width: 750px; }
.home-hero .article-figure { margin-bottom: 0; max-width: 820px; }
.hub-heading { margin: 2rem 0 .9rem; font: 500 1.7rem/1.2 Georgia, serif; }
.hub-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.hub-card { min-width: 0; padding: 1.15rem 1.25rem; background: var(--surface); border: 1px solid var(--line); border-radius: .85rem; box-shadow: 0 7px 22px rgba(24,49,63,.045); }
.hub-card::before { content: ""; display: block; width: 2.5rem; height: 4px; margin-bottom: .7rem; background: var(--teal); border-radius: 4px; }
.hub-card:nth-child(2)::before { background: var(--amber); }
.hub-card h3 { margin: .1rem 0 .45rem; font: 600 1.2rem/1.25 Georgia, serif; }
.hub-card > a { text-decoration: none; }
.hub-card p { margin: 0 0 .7rem; color: var(--muted); font-size: .92rem; }
.hub-card ul { display: flex; flex-wrap: wrap; gap: .35rem .9rem; list-style: none; margin: .75rem 0 0; padding: 0; }
.hub-card li a { font-size: .85rem; font-weight: 600; }
.slot-directory { margin: 1.25rem 0 2rem; padding: 1.2rem; background: #f0f1eb; border: 1px solid var(--line); border-radius: 1rem; }
.slot-directory-intro { max-width: 680px; }
.slot-directory-intro h2 { margin: .1rem 0 .45rem; }
.slot-directory-intro p:last-child { color: var(--muted); }
.slot-filter-links { display: flex; flex-wrap: wrap; gap: .45rem; margin: 1rem 0 1.4rem; }
.slot-filter-links a { padding: .45rem .7rem; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; font-size: .86rem; font-weight: 700; text-decoration: none; }
.slot-card-group { margin-top: 1.4rem; scroll-margin-top: 1rem; }
.slot-card-group > h2 { margin-bottom: .8rem; }
.slot-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.slot-card { display: grid; grid-template-columns: 112px minmax(0, 1fr); min-width: 0; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: .8rem; }
.slot-card-image { display: block; min-height: 100%; background: var(--ink); }
.slot-card-image img { display: block; width: 100%; height: 100%; min-height: 138px; object-fit: cover; }
.slot-card-body { min-width: 0; padding: .7rem .75rem; }
.slot-card-kicker { margin: 0 0 .15rem; color: var(--teal); font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.slot-card h3 { margin: 0 0 .3rem; font-size: 1.05rem; line-height: 1.2; }
.slot-card h3 a { text-decoration: none; }
.slot-card-body > p:not(.slot-card-kicker) { margin: 0 0 .45rem; color: var(--muted); font-size: .8rem; line-height: 1.35; }
.slot-card dl { display: grid; gap: .22rem; margin: .45rem 0 0; font-size: .74rem; }
.slot-card dl div { display: grid; grid-template-columns: 4rem minmax(0, 1fr); gap: .35rem; }
.slot-card dt { color: var(--muted); }
.slot-card dd { margin: 0; overflow-wrap: anywhere; }
.footer { background: var(--ink); color: #e6eee9; border-top: 4px solid var(--amber); }
.footer-inner { max-width: 1320px; margin: auto; padding: 2rem 1.25rem; }
.footer-top { display: flex; align-items: start; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.footer-title { margin: 0 0 .35rem; color: white; font: 500 1.25rem Georgia, serif; }
.footer p { max-width: 620px; margin: .2rem 0; color: #d2dfd9; font-size: .88rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1.1rem; }
.footer-links a { color: #f3e5c3; font-size: .9rem; }
.footer-bottom { margin-top: 1.35rem; padding-top: .85rem; border-top: 1px solid #49606a; color: #c9d7d1; font-size: .78rem; }
.not-found { max-width: 760px; margin: 4rem auto; padding: 0 1.25rem 4rem; }
.not-found h1 { font-size: 2.8rem; }
.not-found-card { padding: 2rem; background: var(--surface); border: 1px solid var(--line); border-radius: 1rem; }
.not-found-links { display: flex; flex-wrap: wrap; gap: .8rem 1.3rem; margin-top: 1.2rem; }
@media (max-width: 920px) {
  .page-shell { grid-template-columns: 205px minmax(0,1fr); gap: 1.4rem; padding-top: 1.5rem; }
  .route-rail { padding: .9rem; }
}
@media (max-width: 760px) {
  body { font-size: 15.5px; }
  .header-inner { padding: .75rem 1rem .85rem; }
  .header-meta .meta-copy { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; gap: .45rem; }
  .main-nav { display: none; flex-direction: column; gap: .15rem; margin-top: .75rem; padding: .65rem; background: #203c49; border-radius: .75rem; }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: .65rem .75rem; border-radius: .45rem; }
  .market-strip-inner { padding-left: 1rem; padding-right: 1rem; }
  .page-shell { display: block; padding: 1.25rem 1rem 2.5rem; }
  .route-rail { display: none; }
  .content-column { width: 100%; }
  h1 { font-size: clamp(2rem, 9vw, 2.85rem); }
  .hub-grid { grid-template-columns: 1fr; }
  .slot-directory { padding: .85rem; }
  .slot-card-grid { grid-template-columns: 1fr; }
  .slot-card { grid-template-columns: 92px minmax(0, 1fr); }
  .slot-card-image img { min-height: 126px; }
  .source-panel ul, .related-panel ul { columns: 1; }
  .article-figure { margin-top: 1.15rem; }
  table { min-width: 520px; }
}
@media (max-width: 420px) {
  .brand-mark { width: 36px; height: 36px; }
  .brand-name { font-size: 1.02rem; }
  .brand-caption { font-size: .62rem; }
  .header-meta { gap: .45rem; }
  .market-strip-inner { font-size: .76rem; }
  .article-header { margin-bottom: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
