@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@600;700&display=swap');

:root {
  color-scheme: light;
  --paper: #f4f0e6;
  --surface: #faf8f2;
  --ink: #1c2621;
  --green: #1f4d3a;
  --green-wash: #e2ece7;
  --rust: #7a4b12;
  --rust-wash: #f6ebd8;
  --gold: #816020;
  --gold-wash: #f6ebd8;
  --mute: #5c6760;
  --line: #dcd5c5;
  --line-dark: #b8b09e;
  --plate: #eae4d5;
  --map-pen: #5c6760;
  --map-grid: #dcd5c5;
  --water-edge: #1f4d3a;
  --water: #e2ece7;
  --water-ink: #1f4d3a;
  --shadow: #1c262115;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; overflow-x: clip; }
html { scroll-behavior: smooth; background: var(--paper); }
body { color: var(--ink); font: 16px/1.55 var(--sans); }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
a { color: var(--green); text-underline-offset: .24em; text-decoration-thickness: 1px; }
a:hover { color: var(--rust); }
:focus-visible { outline: 2px solid var(--rust); outline-offset: 4px; }
h1, h2, p, figure { margin: 0; overflow-wrap: anywhere; }
h1, h2 { font-family: var(--serif); line-height: 1.05; letter-spacing: -.04em; }
.wrap { width: min(calc(100% - 104px), 1232px); margin-inline: auto; }
.skip { position: fixed; z-index: 20; inset: 10px auto auto 10px; transform: translateY(-160%); background: var(--surface); padding: 8px 14px; }
.skip:focus { transform: none; }

.masthead { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--line-dark); }
.identity, .masthead nav { display: flex; align-items: center; }
.identity { color: var(--ink); gap: 12px; font: 700 22px/1 var(--serif); text-decoration: none; white-space: nowrap; }
.seal { width: 34px; display: grid; place-items: center; color: var(--rust); }
.seal svg { width: 30px; height: 30px; }
.masthead nav { gap: clamp(14px, 3vw, 38px); }
.masthead nav a { font-size: 0.87rem; font-weight: 600; line-height: 1.1; display: flex; align-items: center; min-height: 44px; text-decoration: none; white-space: nowrap; }
.masthead nav a:hover { text-decoration: underline; }
.explorer { display: grid; align-items: center; grid-template-columns: minmax(0,.86fr) minmax(0,1.14fr); gap: clamp(25px, 4vw, 60px); padding-block: clamp(34px, 5vw, 70px) 50px; }
.intro { padding-bottom: 32px; }
.fan-notice { color: var(--mute); font-size: 0.8rem; max-width: 42ch; margin-bottom: 12px; }
.locator { color: var(--rust); font-size: 0.76rem; letter-spacing: .12em; font-weight: 700; text-transform: uppercase; display: flex; gap: 8px; align-items: center; }
.slash { color: var(--mute); }
h1 { font-size: clamp(3rem, 5.6vw, 5.6rem); font-weight: 600; margin-block: 12px 20px; line-height: 1.01; }
.dek { max-width: 35ch; color: var(--mute); font-size: clamp(1rem, 1.42vw, 1.17rem); }
.jump { display: inline-flex; align-items: center; gap: 12px; margin-top: 25px; min-height: 44px; text-decoration: none; border-bottom: 1px solid var(--green); font-size: 0.9rem; font-weight: 700; white-space: nowrap; }
.jump:hover { border-color: var(--rust); }
.plate { min-width: 0; }
.map { position: relative; width: calc(100% - 10px); min-height: 337px; aspect-ratio: 1.83; background: var(--plate); border: 1px solid var(--line-dark); outline: 1px solid var(--line); outline-offset: 5px; margin: 5px; }
.cartography { position: absolute; width: 100%; height: 100%; inset: 0; pointer-events: none; }
.district { --district-tone: var(--green); --district-wash: var(--green-wash); position: absolute; display: flex; align-items: center; z-index: 1; gap: 10px; min-height: 56px; padding: 7px 13px; background: var(--surface); border: 1px solid var(--line-dark); box-shadow: 2px 3px 0 var(--shadow); text-align: left; line-height: 1.2; transition: background-color .16s, border-color .16s, transform .16s; }
.district:hover, .district[aria-pressed="true"] { border-color: var(--district-tone); background: var(--district-wash); }
.district[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--district-tone), 3px 4px 0 var(--shadow); }
.district:active { transform: translateY(1px); }
.district strong { display: block; font-size: 0.9rem; white-space: nowrap; }
.district small { color: var(--mute); font-size: 0.75rem; white-space: nowrap; }
.pin { display: inline-block; width: 10px; height: 10px; border: 1px solid var(--district-tone); background: var(--district-wash); border-radius: 50%; flex: 0 0 auto; }
.district[aria-pressed="true"] .pin { background: var(--district-tone); }
.district.butterfield { left: 29%; top: 24%; }
.district.copperbottom { left: 9%; top: 62%; --district-tone: var(--rust); --district-wash: var(--rust-wash); }
.district.bowerminster { right: 5%; top: 43%; --district-tone: var(--gold); --district-wash: var(--gold-wash); }
figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 10px; padding: 10px 1px 0; color: var(--mute); font-size: 0.77rem; }
figcaption a { font-weight: 700; white-space: nowrap; }

.directory { border-top: 1px solid var(--line-dark); padding-top: 30px; scroll-margin-top: 14px; }
.directory-head { display: flex; justify-content: space-between; align-items: end; gap: 22px; }
h2 { font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 600; }
.directory-head p, .reference p { color: var(--mute); margin-top: 8px; }
.search { flex: 0 1 348px; }
.search label { display: block; font-size: 0.76rem; font-weight: 700; padding-bottom: 5px; }
.search-box { display: flex; min-height: 48px; align-items: center; gap: 9px; min-width: 0; background: var(--surface); border: 1px solid var(--line-dark); padding-inline: 11px; color: var(--green); }
.search-box:focus-within { outline: 2px solid var(--green); outline-offset: 2px; }
.search-box svg { flex: 0 0 auto; }
.search input { width: 100%; min-width: 0; padding: 9px 0; border: 0; outline: none; background: transparent; font-size: 1rem; color: var(--ink); }
.search input::placeholder { color: var(--mute); }
.filter-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 54px; padding-block: 4px; color: var(--mute); font-size: 0.85rem; }
.reset { margin: 0; min-height: 42px; border: 0; background: transparent; color: var(--green); padding: 0 2px; font-weight: 700; text-decoration: underline; text-underline-offset: .24em; white-space: nowrap; }
.reset:hover { color: var(--rust); }
.location-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.location { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1.65fr) minmax(0,.86fr); align-items: start; gap: 18px 28px; min-width: 0; border-bottom: 1px solid var(--line); padding: 17px 0; }
.place { display: grid; gap: 3px; }
.place strong { font-size: 1rem; }
.place-kind { font-size: 0.78rem; color: var(--mute); }
.district-dot { display: inline-block; width: 8px; height: 8px; margin-right: 4px; border-radius: 50%; background: var(--line-dark); vertical-align: .04em; }
.district-dot.butterfield { background: var(--green); }
.district-dot.copperbottom { background: var(--rust); }
.district-dot.bowerminster { background: var(--gold); }
.place-detail { font-size: 0.9rem; line-height: 1.58; }
.citations { display: grid; align-content: start; gap: 3px; min-width: 0; }
.citations a { width: fit-content; overflow-wrap: anywhere; font-size: 0.83rem; }
.source-label { color: var(--mute); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.empty { padding: 24px 0; border-block: 1px solid var(--line); }

.reference { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); gap: 24px 55px; padding: 34px 34px; margin-block: 55px 42px; border: 1px solid var(--line); background: var(--surface); }
.reference h2 { font-size: clamp(1.85rem, 3vw, 2.5rem); }
.reference p { font-size: 0.91rem; max-width: 52ch; }
.reference ul { list-style: none; margin: 0; padding: 0; }
.reference li { display: grid; gap: 2px; padding-block: 6px; }
.reference li a { font-size: 0.89rem; font-weight: 700; }
.reference li span, .footer { font-size: 0.77rem; color: var(--mute); }
.footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; border-top: 1px solid var(--line-dark); padding-block: 18px 28px; }

@media (max-width: 950px) {
  .wrap { width: calc(100% - 66px); }
  .map { min-height: 295px; }
  .district.bowerminster { right: 4%; top: 47%; }
  .district.butterfield { left: 19%; top: 20%; }
  .district.copperbottom { left: 5%; top: 69%; }
  .location { gap: 14px; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 36px); }
  .masthead { min-height: 61px; gap: 8px; flex-wrap: wrap; padding-block: 8px; }
  .identity { font-size: 17px; gap: 7px; }
  .seal { width: 25px; }
  .seal svg { width: 23px; height: 23px; }
  .masthead nav { gap: 12px; }
  .masthead nav a { font-size: 0.75rem; min-height: 34px; }
  .explorer { grid-template-columns: minmax(0,1fr); gap: 23px; padding-block: 26px 27px; }
  .intro { padding-bottom: 0; }
  h1 { font-size: clamp(2.7rem, 11vw, 4rem); margin-block: 9px 12px; }
  .jump { margin-top: 9px; }
  .map { min-height: 236px; }
  .district { min-height: 46px; padding-inline: 9px; gap: 6px; }
  .district strong { font-size: 0.78rem; }
  .district small { font-size: 0.75rem; }
  .district.butterfield { left: 12%; top: 12%; }
  .district.bowerminster { right: 4%; top: 44%; }
  .district.copperbottom { left: 6%; top: 70%; }
  .directory { padding-top: 25px; }
  .directory-head { display: grid; gap: 14px; }
  .location { grid-template-columns: minmax(0,1fr); gap: 5px; padding-block: 13px; }
  .citations { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 9px; }
  .reference { grid-template-columns: minmax(0,1fr); gap: 15px; padding: 17px; margin-block: 31px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .district { transition: none; }
}

.brand-home { padding-block: clamp(40px, 7vw, 92px) 70px; }
.brand-home .dek { max-width: 55ch; }
.guide-index { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-dark); }
.guide-index article { margin-top: 20px; max-width: 650px; border: 1px solid var(--line-dark); padding: 18px 22px; background: var(--surface); }
.guide-index h3 { margin: 0 0 5px; font-size: 1.14rem; }
.guide-index article p { color: var(--mute); }

.info-copy { max-width: 66ch; }
.info-copy h2 { margin: 1.5em 0 .4em; font-size: clamp(1.4rem, 3vw, 2rem); }
.info-copy p { margin: .7em 0; }

/* Source notes and guide navigation */
.location-jumps a, .guide-reading a { text-underline-offset: .17em; }
.place-detail p { margin: 0; }
.place-detail .evidence-note { margin-top: .32rem; font-size: 0.83rem; color: var(--mute); }
.guide-reading { padding-block: 2rem; border-top: 1px solid var(--line-dark); }
.guide-reading h2 { margin: 0 0 .65rem; }
.guide-reading p { max-width: 68ch; line-height: 1.6; margin: .55rem 0 0; }
.reading-links { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin: 1rem 0 1.5rem; }
.district-note { margin-top: 1rem; padding: 1rem clamp(12px, 3vw, 24px); border: 1px solid var(--line-dark); background: var(--surface); }
.district-note h3 { margin: 0; font-size: clamp(1.1rem, 3vw, 1.35rem); }
.reading-citation { font-size: 0.88rem; }
.guide-reading :target, .guide-reading:target, .location:target { scroll-margin-top: 1rem; }
.location:target { box-shadow: inset 3px 0 currentColor; }

/* Leekcapper quest guide */
.leek-guide { padding-top: clamp(24px, 5vw, 64px); }
.leek-guide h1 { max-width: 23ch; font-size: clamp(2.05rem, 4.6vw, 4.25rem); }
.leek-guide .locator { margin-top: 1rem; }
.leek-edition { color: var(--mute); font-size: 0.89rem; margin-top: .9rem; }
.leek-route { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.13fr); align-items: start; gap: clamp(16px, 3vw, 36px); margin-block: 1.6rem 2.4rem; }
.leek-route h2 { font-size: clamp(1.35rem, 2.6vw, 2rem); margin: 0 0 .65rem; }
.leek-route p + p { margin-top: .8rem; }
.leek-ships { border: 1px solid var(--line-dark); background: var(--surface); padding: clamp(14px, 2.2vw, 24px); scroll-margin-top: 1rem; }
.leek-ships ul { list-style: none; padding: 0; margin: .75rem 0; }
.leek-ships li { display: grid; gap: .08rem; border-top: 1px solid var(--line); padding: .48rem 0; }
.leek-ships li span { font-size: 0.9rem; color: var(--mute); }
.leek-guide ol { max-width: 66ch; padding-inline-start: 1.4rem; }
.leek-guide ol li + li { margin-top: .4rem; }
@media (max-width: 690px) {
  .leek-route { grid-template-columns: minmax(0, 1fr); }
}

/* Gemini Carbon 高: Editorial Field Atlas, adapted to the existing GFS theme. */
:root {
  --paper: #f4f0e6; --surface: #faf8f2; --ink: #1c2621;
  --green: #1f4d3a; --green-wash: #e2ece7; --mute: #5c6760;
  --line: #dcd5c5; --line-dark: #b8b09e; --rust: #7a4b12;
  --rust-wash: #f6ebd8; --plate: #eae4d5;
}
body { background: var(--paper); -webkit-font-smoothing: antialiased; }
.wrap { width: min(calc(100% - 64px), 1160px); }
h1,h2 { letter-spacing: -.025em; text-wrap: balance; }
button,input,summary,a { -webkit-tap-highlight-color: transparent; }
a,button,summary { touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
main:focus { outline: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.masthead { min-height: 76px; padding-block: 10px; gap: 24px; border-bottom: 1px solid var(--line-dark); }
.identity { font-size: 22px; gap: 10px; letter-spacing: -.025em; }
.seal { color: var(--green); }
.masthead .site-nav { display: flex; gap: 25px; align-items: center; }
.masthead .site-nav a { font-size: 13px; font-weight: 600; }
.nav-count { margin-left: 7px; font-size: 12px; background: var(--green-wash); border-radius: 3px; padding: 2px 5px; font-variant-numeric: tabular-nums; }
.masthead .site-nav .nav-map { min-height: 38px; padding: 0 13px; border: 1px solid var(--line-dark); gap: 20px; border-radius: 3px; background: var(--green-wash); }
.site-nav .nav-map:hover { color: var(--surface); background: var(--green); text-decoration: none; }
.games-menu { position: relative; }
.games-menu summary { display: flex; align-items: center; gap: 9px; min-height: 44px; font-size: 13px; font-weight: 600; color: var(--green); cursor: pointer; list-style: none; }
.games-menu summary::-webkit-details-marker { display: none; }
.games-popover { position: absolute; right: -15px; top: 45px; z-index: 10; min-width: 240px; background: var(--surface); border: 1px solid var(--line-dark); padding: 8px; box-shadow: 0 8px 24px #1c262115; border-radius: 4px; }
.masthead .games-popover a { display: flex; justify-content: space-between; gap: 20px; padding: 9px 10px; border-radius: 2px; }
.masthead .games-popover a:hover { background: var(--green-wash); text-decoration: none; }
.games-popover a span { color: var(--mute); font-size: 12px; }
.site-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }
.eyebrow { color: var(--green); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.atlas-masthead { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 48px; padding: 38px 0 29px; border-bottom: 3px double var(--line-dark); }
.atlas-masthead h1 { font-size: clamp(32px,3.5vw,46px); line-height: 1.15; letter-spacing: -.035em; margin: 9px 0 11px; }
.atlas-dek { font-size: 15px; color: #4a554e; max-width: 55ch; text-wrap: pretty; }
.home-fan-notice { margin-top: 7px; font-size: 12px; color: var(--mute); }
.catalog-scope { display: flex; gap: 29px; margin: 0; padding: 8px 0 8px 29px; border-left: 1px solid var(--line); }
.catalog-scope div { display: flex; flex-direction: column-reverse; gap: 6px; }
.catalog-scope dt { font-size: 12px; color: var(--mute); }
.catalog-scope dd { font-size: 28px; font-family: var(--serif); line-height: 1; font-variant-numeric: tabular-nums; margin: 0; }
.atlas-catalog { padding: 26px 0 48px; scroll-margin-top: 18px; }
.catalog-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.catalog-heading h2 { font-size: 22px; line-height: 1.3; letter-spacing: -.02em; }
.catalog-heading>span { font-size: 12px; color: var(--mute); }
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 21px; }
.game-filters { display: flex; gap: 6px; align-items: center; min-width: 0; overflow-x: auto; padding: 5px 3px; margin-left: -3px; scrollbar-width: none; }
.game-filters::-webkit-scrollbar { display: none; }
.game-filters button { flex: 0 0 auto; min-height: 40px; background: transparent; border: 1px solid var(--line-dark); color: #4a554e; border-radius: 24px; padding: 8px 13px; font-size: 12px; font-weight: 600; white-space: nowrap; transition: background .15s, color .15s; }
.game-filters button span { opacity: .75; font-size: 12px; padding-left: 6px; font-variant-numeric: tabular-nums; }
.game-filters button:hover { background: #eae4d5; }
.game-filters button[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: var(--surface); }
.catalog-search { display: flex; align-items: center; gap: 9px; min-height: 42px; width: 253px; flex: 0 1 253px; border: 1px solid var(--line-dark); background: var(--surface); border-radius: 4px; padding: 0 12px; }
.catalog-search>span { font-size: 25px; line-height: 1; color: var(--green); }
.catalog-search:focus-within { outline: 2px solid var(--green); outline-offset: 2px; }
.catalog-search input { border: 0; background: transparent; min-width: 0; width: 100%; padding: 10px 0; color: var(--ink); font-size: 14px; outline: none; }
.catalog-search input::placeholder { color: var(--mute); opacity: 1; }
.catalog-search kbd { color: var(--mute); border: 1px solid var(--line); border-radius: 3px; padding: 0 5px; font: 12px/1.6 var(--sans); }
.catalog-results { min-height: 37px; display: flex; justify-content: space-between; align-items: center; gap: 15px; padding-bottom: 8px; color: var(--mute); font-size: 12px; font-variant-numeric: tabular-nums; }
.catalog-results .reset { font-size: 12px; min-height: 32px; }
.guides-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.atlas-card { display: flex; flex-direction: column; position: relative; min-width: 0; padding: 21px; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; transition: border-color .18s, box-shadow .18s; }
.atlas-card:hover,.atlas-card:focus-within { border-color: var(--green); box-shadow: 0 3px 10px #1c26210a; }
.card-topline { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 7px 10px; margin-bottom: 21px; }
.game-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; color: var(--green); }
.source-badge { font-size: 12px; color: var(--mute); line-height: 1.3; display: inline-flex; align-items: center; gap: 5px; }
.source-badge::before { content: ''; width: 4px; height: 4px; background: var(--green); border-radius: 50%; flex-shrink: 0; }
.source-badge-pending { color: #7a4b12; }
.source-badge-pending::before { background: #7a4b12; border-radius: 0; transform: rotate(45deg); }
.card-content { flex: 1; min-width: 0; }
.card-copy h3 { margin: 0 0 10px; font: 600 19px/1.3 var(--sans); letter-spacing: -.025em; text-wrap: pretty; }
.card-copy a { color: var(--ink); text-decoration: none; }
.card-copy a::after { content: ''; position: absolute; inset: 0; border-radius: 4px; }
.card-copy a:hover { color: var(--green); }
.card-copy h3 .title-tail { white-space: nowrap; }
.card-copy h3 .card-arrow { color: var(--green); display: inline-block; margin-left: 3px; font-weight: 400; transition: transform .18s; }
.atlas-card:hover h3 .card-arrow { transform: translateX(3px); }
.card-copy>p { color: #4a554e; font-size: 13px; line-height: 1.65; text-wrap: pretty; }
.card-scope { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 22px; font-size: 12px; color: var(--mute); font-variant-numeric: tabular-nums; }
.guides-grid:not(.is-filtered) .atlas-card-featured { grid-column: span 2; }
.atlas-card-featured { border-color: var(--line-dark); }
.atlas-card-featured .card-topline { margin-bottom: 18px; }
.atlas-card-featured .card-content { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); gap: 20px; align-items: center; }
.atlas-card-featured .card-copy h3 { font: 600 30px/1.12 var(--serif); letter-spacing: -.03em; }
.map-action { display: inline-flex; gap: 18px; color: var(--green); font-size: 12px; font-weight: 700; margin-top: 18px; }
.card-map { position: relative; min-height: 144px; height: 100%; max-height: 170px; background: #eae4d5; overflow: hidden; border: 1px solid var(--line); border-radius: 2px; }
.card-map .cartography { opacity: .8; }
.mini-district { position: absolute; padding: 2px 5px; font: 500 12px/1.6 var(--sans); background: var(--surface); border: 1px solid var(--line-dark); color: var(--green); }
.mini-district::before { content: '·'; padding-right: 3px; font-weight: 700; }
.mini-market { left: 26%; top: 20%; }
.mini-copper { left: 8%; top: 66%; }
.mini-bower { right: 3%; top: 42%; }
.mini-caption { position: absolute; bottom: 4px; right: 5px; font: 12px/1.4 var(--sans); background: var(--paper); padding: 1px 3px; color: var(--mute); }
.guides-grid.is-filtered .card-map,.guides-grid.is-filtered .map-action,.guides-grid.is-filtered .atlas-standards { display: none; }
.guides-grid.is-filtered .atlas-card-featured .card-content { display: block; }
.guides-grid.is-filtered .atlas-card-featured .card-copy h3 { font: 600 19px/1.3 var(--sans); }
.atlas-standards { border-block: 1px solid var(--line-dark); padding: 22px 15px 19px; display: flex; flex-direction: column; justify-content: center; }
.atlas-standards h3 { font: 600 24px/1.2 var(--serif); margin: 10px 0; letter-spacing: -.02em; }
.atlas-standards>p:not(.eyebrow) { color: #4a554e; font-size: 12px; line-height: 1.65; }
.atlas-standards>a { font-size: 12px; font-weight: 600; margin-top: 15px; width: fit-content; }
.catalog-empty { padding: 45px 20px; text-align: center; border: 1px dashed var(--line-dark); border-radius: 4px; }
.catalog-empty h3 { font: 600 24px/1.3 var(--serif); margin: 0 0 8px; }
.catalog-empty p { color: var(--mute); font-size: 14px; }
.catalog-footnote { max-width: 79ch; font-size: 12px; color: var(--mute); padding-top: 20px; }
.footer { align-items: center; padding-block: 23px 30px; }
.footer strong { font: 600 14px/1.4 var(--serif); color: var(--ink); }
.footer p { margin-top: 5px; font-size: 12px; }
.footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer nav a { min-height: 44px; display: inline-flex; align-items: center; font-size: 12px; text-decoration: none; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; color: var(--mute); font-size: 12px; margin-bottom: 24px; }
.breadcrumbs a { text-decoration: none; min-height: 28px; display: inline-flex; align-items: center; }
.breadcrumbs>span { display: inline-flex; align-items: center; }
.leek-guide { padding-top: 23px; }
.leek-guide .fan-notice { max-width: 80ch; font-size: 12px; margin-bottom: 13px; }
.leek-guide .locator { font-size: 12px; margin-top: 0; letter-spacing: .09em; }
.leek-guide h1 { font-size: clamp(30px,3.6vw,43px); line-height: 1.15; max-width: 35ch; margin-block: 10px 14px; }
.leek-edition { font-size: 12px; margin-top: 10px; }
.leek-route { margin-block: 28px 36px; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); gap: 34px; }
.leek-route>section:first-child { padding: 8px 0 8px 20px; border-left: 3px solid var(--green); }
.leek-route h2 { font-size: 23px; line-height: 1.2; letter-spacing: -.02em; margin-bottom: 13px; }
.leek-route p { font-size: 14px; line-height: 1.7; }
.leek-route ol { font-size: 14px; line-height: 1.65; }
.leek-ships { border-color: var(--line); padding: 22px; border-radius: 4px; }
.leek-ships li { padding-block: 9px; font-size: 13px; }
.leek-ships li span { font-size: 12px; line-height: 1.6; }
.article-layout { display: grid; grid-template-columns: 220px minmax(0,1fr); align-items: start; gap: 48px; margin-bottom: 35px; }
.article-body { min-width: 0; max-width: 760px; }
.article-body .guide-reading { padding: 29px 0 32px; border-top-color: var(--line); }
.article-body .guide-reading:first-child { border-top-color: var(--line-dark); }
.article-body .guide-reading h2 { font-size: 27px; line-height: 1.25; letter-spacing: -.02em; max-width: 32ch; }
.article-body .guide-reading p,.article-body .guide-reading li { max-width: 68ch; font-size: 16px; line-height: 1.75; }
.article-body .guide-reading p.reading-citation { font-size: 12px; line-height: 1.7; margin-top: 14px; }
.guide-toc { position: sticky; top: 24px; min-width: 0; padding-top: 4px; }
.guide-toc summary { display: flex; justify-content: space-between; gap: 12px; cursor: pointer; list-style: none; font-size: 12px; letter-spacing: .08em; font-weight: 700; text-transform: uppercase; min-height: 38px; color: var(--green); }
.guide-toc summary::-webkit-details-marker { display: none; }
.guide-toc ol { list-style: none; margin: 8px 0 20px; padding: 0; border-left: 1px solid var(--line-dark); }
.guide-toc li { margin: 0; }
.guide-toc a { display: block; padding: 7px 0 7px 14px; color: var(--mute); border-left: 2px solid transparent; margin-left: -1px; font-size: 12px; line-height: 1.5; text-decoration: none; }
.guide-toc a:hover,.guide-toc a[aria-current="location"] { color: var(--green); border-color: var(--green); background: var(--green-wash); }
.guide-toc p { border-top: 1px solid var(--line); padding-top: 15px; font-size: 12px; line-height: 1.7; color: var(--mute); }
.article-body .reference { margin: 12px 0 0; grid-template-columns: 1fr; gap: 18px; padding: 25px; border-radius: 4px; }
.article-body .reference h2 { font-size: 26px; }
.article-body .reference p { max-width: 68ch; }
.article-body .reference ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.article-body .reference li a { font-size: 12px; }
.article-body .reference li span { font-size: 12px; }
.related-guides { display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 48px; border-top: 3px double var(--line-dark); padding: 28px 0 38px; }
.related-guides h2 { font-size: 25px; margin-top: 10px; line-height: 1.2; }
.related-guides nav { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.related-guides a { font-size: 13px; display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; text-decoration: none; font-weight: 500; }
.related-guides a:hover { text-decoration: underline; }
.map-guide>.breadcrumbs { margin-top: 20px; margin-bottom: 0; }
.map-guide .explorer { padding-top: 25px; padding-bottom: 28px; gap: 35px; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); }
.map-guide h1 { font-size: clamp(34px,4vw,50px); line-height: 1.1; max-width: 14ch; margin-block: 12px 16px; }
.map-guide .intro { padding-bottom: 0; }
.map-guide .fan-notice { font-size: 12px; max-width: 55ch; }
.map-guide .dek { font-size: 15px; line-height: 1.65; max-width: 44ch; }
.map-guide .map { min-height: 290px; }
.map-guide .jump { font-size: 12px; margin-top: 14px; }
.map-jumps { display: flex; flex-wrap: wrap; gap: 12px 25px; border-block: 1px solid var(--line); padding: 6px 0; margin-bottom: 30px; }
.map-jumps a { font-size: 12px; min-height: 34px; display: inline-flex; align-items: center; text-decoration: none; }
.map-jumps a:hover { text-decoration: underline; }
.map-guide h2 { font-size: 30px; line-height: 1.2; }
.map-guide .directory { border-top: 0; padding-top: 0; }
.map-guide .directory-head p { font-size: 13px; }
.map-guide .search label { font-size: 12px; }
.map-guide .search-box { border-radius: 4px; min-height: 44px; }
.map-guide .location { padding-block: 20px; }
.map-guide .location:target { padding-left: 14px; background: var(--green-wash); }
.map-guide .guide-reading h2 { font-size: 30px; }
.map-guide .district-note { max-width: 850px; border-color: var(--line); border-radius: 4px; padding: 21px 25px; }
.map-guide .district-note h3 { font-size: 19px; }
.map-guide .guide-reading { border-color: var(--line); }
.map-guide .guide-reading p { max-width: 68ch; }
.map-guide .reference { border-radius: 4px; }
.info-page { padding-block: 22px 55px; }
.info-page h1 { font-size: clamp(32px,4vw,44px); line-height: 1.15; margin: 25px 0; }
.info-copy { font-size: 16px; line-height: 1.75; }
:target { scroll-margin-top: 24px; }
@media (max-width: 1050px) {
  .catalog-toolbar { flex-wrap: wrap; }
  .catalog-search { flex: 1 1 220px; }
  .game-filters { flex: 1 1 auto; }
  .catalog-scope { gap: 20px; padding-left: 20px; }
  .atlas-masthead { gap: 28px; }
  .guides-grid { gap: 13px; }
  .atlas-card { padding: 18px; }
  .card-topline { flex-direction: column; }
  .card-copy h3 { font-size: 18px; }
  .atlas-card-featured .card-copy h3 { font-size: 27px; }
}
@media (max-width: 899px) {
  .wrap { width: calc(100% - 40px); }
  .atlas-masthead { grid-template-columns: minmax(0,1fr); gap: 22px; padding-block: 30px 23px; }
  .catalog-scope { border: 0; padding: 0; gap: 26px; }
  .catalog-scope div { flex-direction: row-reverse; align-items: baseline; gap: 7px; }
  .catalog-scope dd { font: 600 16px/1 var(--sans); }
  .catalog-scope dt { font-size: 12px; }
  .guides-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .atlas-card-featured .card-content { grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); }
  .card-topline { flex-direction: row; }
  .atlas-standards { grid-column: span 2; }
  .article-layout { display: block; }
  .guide-toc { position: static; padding: 0; margin-bottom: 28px; border-block: 1px solid var(--line-dark); }
  .guide-toc summary { min-height: 49px; align-items: center; }
  .guide-toc nav { max-height: 50vh; overflow-y: auto; }
  .guide-toc p { display: none; }
  .article-body { max-width: none; }
  .related-guides { grid-template-columns: 1fr; gap: 20px; }
  .map-guide .explorer { gap: 25px; }
}
@media (max-width: 700px) {
  .masthead { flex-wrap: nowrap; min-height: 66px; gap: 12px; padding-block: 8px; }
  .identity { font-size: 19px; gap: 7px; }
  .masthead .site-nav { gap: 17px; }
  .masthead .site-nav .nav-map { display: none; }
  .masthead .site-nav a,.games-menu summary { font-size: 12px; }
  .games-popover { right: 0; }
  .nav-count { display: none; }
  .map-guide .explorer { grid-template-columns: 1fr; }
  .map-guide .map { min-height: 250px; }
  .map-guide h1 { max-width: 16ch; }
  .leek-route { grid-template-columns: 1fr; gap: 24px; }
  .leek-route>section:first-child { padding-left: 16px; }
  .leek-guide h1 { font-size: 32px; }
  .map-guide h2,.map-guide .guide-reading h2 { font-size: 27px; }
  .directory-head { display: grid; gap: 15px; }
  .related-guides nav { grid-template-columns: 1fr; gap: 0; }
  .related-guides a { border-top: 1px solid var(--line); min-height: 48px; align-items: center; }
}
@media (max-width: 599px) {
  .wrap { width: calc(100% - 36px); }
  .identity { font-size: 17px; }
  .masthead .site-nav { gap: 13px; }
  .seal { width: 23px; }
  .seal svg { width: 23px; height: 23px; }
  .atlas-masthead h1 { font-size: 35px; max-width: 14ch; }
  .atlas-dek { font-size: 14px; max-width: 35ch; }
  .home-fan-notice { max-width: 39ch; line-height: 1.6; }
  .atlas-masthead { padding-block: 27px 24px; gap: 20px; }
  .catalog-heading h2 { font-size: 22px; }
  .catalog-heading>span { display: none; }
  .atlas-catalog { padding-top: 23px; }
  .catalog-toolbar { display: flex; flex-direction: column-reverse; align-items: stretch; gap: 9px; margin-top: 17px; }
  .catalog-search { width: 100%; flex: 0 0 auto; min-height: 46px; }
  .catalog-search input { font-size: 16px; padding-block: 11px; }
  .catalog-search kbd { display: none; }
  .game-filters { flex: 0 0 auto; width: calc(100% + 6px); }
  .game-filters button { min-height: 42px; font-size: 12px; padding-inline: 13px; }
  .catalog-results { min-height: 32px; }
  .guides-grid { grid-template-columns: minmax(0,1fr); gap: 13px; }
  .guides-grid:not(.is-filtered) .atlas-card-featured { grid-column: auto; }
  .atlas-card { padding: 20px; }
  .card-topline { margin-bottom: 17px; }
  .card-copy h3 { font-size: 20px; }
  .card-copy>p { font-size: 14px; }
  .card-scope { font-size: 12px; margin-top: 19px; }
  .atlas-card-featured .card-content { grid-template-columns: 1fr; gap: 20px; }
  .atlas-card-featured .card-copy h3 { font-size: 30px; }
  .card-map { height: 158px; min-height: 158px; }
  .mini-district { font-size: 12px; }
  .mini-caption { font-size: 12px; }
  .map-action { margin-top: 13px; font-size: 12px; }
  .atlas-standards { grid-column: auto; margin-top: 6px; padding-inline: 0; }
  .atlas-standards>p:not(.eyebrow) { font-size: 14px; }
  .catalog-footnote { font-size: 12px; line-height: 1.7; }
  .footer { align-items: start; flex-direction: column; gap: 10px; }
  .footer nav { gap: 24px; }
  .breadcrumbs { margin-bottom: 19px; }
  .leek-guide h1 { font-size: 30px; }
  .leek-guide .fan-notice { max-width: 43ch; line-height: 1.6; }
  .leek-route { margin-top: 25px; }
  .leek-route h2 { font-size: 23px; }
  .leek-route p,.leek-route ol { font-size: 15px; }
  .leek-ships { padding: 20px; }
  .article-body .guide-reading h2 { font-size: 26px; }
  .article-body .reference { padding: 20px; }
  .article-body .reference ul { grid-template-columns: 1fr; gap: 9px; }
  .map-guide .district-note { padding: 20px; }
  .map-jumps { gap: 2px 18px; margin-bottom: 24px; }
}
@media (max-width: 359px) {
  .identity { font-size: 15px; gap: 5px; }
  .masthead .site-nav { gap: 9px; }
  .masthead .site-nav a,.games-menu summary { font-size: 12px; }
  .atlas-masthead h1 { font-size: 32px; }
  .catalog-scope { gap: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
