.entry-desk {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(18rem, 1fr);
  gap: 1rem;
  margin-block: 1.35rem 1rem;
}

.player-hero,
.progress-header {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--post-rule);
  border-radius: .65rem;
  background: linear-gradient(120deg, #211c2b, #261933);
}

.player-hero::before,
.player-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.player-hero::before {
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #16121ef7 15%, #17131ed9 53%, #17131ecb 100%),
    linear-gradient(0deg, #17131e, #17131e00 65%);
}

.player-hero::after {
  inset: auto 0 0;
  height: 3px;
  background: var(--post-gradient);
}

.player-hero-art {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}

.player-hero-copy { padding: clamp(1.05rem, 3.1vw, 2.45rem); }
.player-hero-copy .kicker { margin-bottom: .65rem; }
.player-hero-copy .kicker-mark {
  width: .43rem;
  height: .75rem;
  border-radius: .15rem;
  background: var(--post-gold);
}
.player-hero-copy h1, .progress-header h1 {
  margin: 0;
  font: 400 clamp(2.6rem, 5.2vw, 5rem)/1.02 var(--post-display);
  letter-spacing: -.02em;
  text-transform: uppercase;
}

.player-hero-copy h1 span {
  display: block;
  background: var(--post-gradient);
  color: var(--post-pink);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.player-hero-copy > p:not(.kicker) {
  max-width: 29rem;
  margin: .65rem 0 1rem;
  color: var(--post-copy);
}

.player-hero .lookup { width: min(100%, 29rem); }

.hero-utilities {
  display: flex;
  gap: .1rem 1.25rem;
  flex-wrap: wrap;
  margin-top: .45rem;
}

.hero-utilities a, .story-browse, .storage-settings > a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--post-gold);
  font-weight: 650;
  text-underline-offset: .2em;
  text-decoration: underline;
}

.hero-utilities a:hover, .story-browse:hover, .storage-settings > a:hover { color: var(--post-pink); }
.hero-utilities .hero-patch {
  display: grid;
  justify-items: start;
  align-content: center;
  text-decoration: none;
}
.hero-utilities a:has(.resume-shortcut-guide) {
  display: grid;
  align-content: center;
}
.hero-patch span { color: var(--post-copy); font-size: .875rem; font-weight: 500; }
.hero-patch:hover { text-decoration: underline; }

.chapter-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin-block: .75rem;
}
.chapter-shortcuts a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: .3rem .6rem;
  border: 1px solid var(--post-rule);
  border-radius: .4rem;
  color: var(--post-copy);
  font-size: .88rem;
  font-weight: 650;
}
.chapter-shortcuts a:hover, .chapter-shortcuts a[aria-current="page"] {
  color: var(--post-gold);
  border-color: var(--post-gold);
}
.chapter-shortcuts a[aria-current="page"] {
  background: #312432;
  box-shadow: inset 0 -2px var(--post-pink);
}
.guide-directory-topics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 1rem 1.5rem;
  margin-block-start: .75rem;
}
.guide-directory h2 { font-size: 1rem; }
.guide-directory ul { margin-block: .35rem 0; padding-inline-start: 1.2rem; }
.guide-directory a { text-decoration: underline; text-underline-offset: .15em; }
.card-meta { flex-wrap: wrap; }
.card-date { margin-inline-start: .2rem; }

.editorial-panel {
  margin-block: 1rem;
  padding: clamp(.85rem, 2.4vw, 1.35rem);
  border: 1px solid var(--post-rule);
  border-radius: .6rem;
  background: var(--post-panel);
  overflow-wrap: anywhere;
}
.editorial-panel p, .editorial-panel li { line-height: 1.55; }
.editorial-panel p { margin-block: .4rem; }
.editorial-panel summary {
  cursor: pointer;
  padding-block: .35rem;
  color: var(--post-gold);
  font-weight: 700;
}
.editorial-panel a, .guide-facts .editorial-sources a {
  color: var(--post-gold);
  text-decoration: underline;
  text-underline-offset: .16em;
}
.editorial-case { margin-top: .65rem; padding-top: .65rem; border-top: 1px solid var(--post-rule); }
.editorial-sources { display: flex; flex-wrap: wrap; gap: .3rem 1rem; padding: 0; margin: .7rem 0 0; list-style: none; font-size: .85rem; }
.missable-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: .55rem;
  padding: 0;
  margin: .7rem 0;
  list-style: none;
}
.chapter-missables h2 {
  font: 400 clamp(1.45rem, 2.5vw, 1.9rem)/1.15 var(--post-display);
  text-transform: uppercase;
}
.chapter-missables > p {
  padding: .55rem .75rem;
  border-inline-start: 3px solid var(--post-pink);
  border-radius: .25rem;
  background: var(--post-base);
  color: var(--post-copy);
}
.missable-list > li {
  padding: .7rem .75rem;
  border: 1px solid var(--post-rule);
  border-radius: .4rem;
  background: #291f30;
}
.missable-list strong { display: block; margin-top: .2rem; }
.missable-list p { color: var(--post-copy); margin-bottom: 0; }
.missable-label { color: var(--post-copy); font-size: .875rem; font-weight: 700; }
.missable-missable { color: var(--post-pink); }
.missable-time-sensitive { color: var(--post-gold); }

.entry-desk .story-desk {
  display: grid;
  grid-template-rows: auto auto 1fr;
  justify-content: stretch;
  align-content: start;
  margin: 0;
  padding: clamp(1.05rem, 2.5vw, 1.55rem);
}

.entry-desk .story-desk h2,
.quick-desk h2,
.progress-group h2 {
  font: 400 clamp(1.48rem, 3vw, 2rem)/1.12 var(--post-display);
  text-transform: uppercase;
}

.story-desk .story-choices { grid-template-columns: repeat(5, minmax(0, 1fr)); margin-block: .6rem .5rem; }
.story-desk .story-choices button { min-height: 2.75rem; }
.story-desk .story-choices button[aria-pressed="true"] { background: #372839; }
.story-browse { margin-top: .35rem; padding-inline: .15rem; }
.story-desk .story-link {
  min-height: 2.75rem;
  margin-bottom: .35rem;
  padding-inline: .62rem;
  border: 1px solid var(--post-rule);
  border-radius: .38rem;
  background: var(--post-base);
}

.quick-desk { margin-block: 0 2rem; }

.quick-desk .quick-links { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.quick-desk .quick-links span { display: block; font-size: .9rem; }

#library .card-pic::after {
  background:
    var(--post-gradient) bottom / 100% 2px no-repeat,
    linear-gradient(0deg, #0e0a1426, transparent 60%);
}
#library .card-pic + .card-copy { border-top: 0; }
#library .card-category { font-size: .875rem; }
#library .card h3 { overflow-wrap: anywhere; }
#library .tabs button { border-radius: .45rem; }

.library-options, .library-options > label, .plot-toggle {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .55rem;
}

.library-options { margin-top: .65rem; gap: .5rem 1.1rem; }
.library-options label { font-size: .91rem; font-weight: 650; color: var(--post-copy); }
.library-options select {
  max-width: 100%;
  min-height: 2.75rem;
  padding: .4rem .58rem;
  border: 1px solid var(--post-rule);
  border-radius: .4rem;
  background: var(--post-panel);
  color: var(--post-cream);
  font: inherit;
}

.library-options input, .step input[type="checkbox"] { accent-color: var(--post-gold); }
.library-options input { width: 1.15rem; height: 1.15rem; }

.library-options select:focus-visible,
#library-title:focus-visible,
.step:focus-visible {
  outline: 2px solid var(--post-gold);
  outline-offset: 3px;
}

.tabs button, .view-picker button { min-height: 2.75rem; }
.card-link:focus-visible { outline-offset: -3px; }
.more-guides { display: flex; margin: 1.2rem auto 0; }
.plot-label {
  display: inline-block;
  margin-bottom: .45rem;
  padding: .1rem .42rem;
  border-radius: .25rem;
  background: #422533;
  color: #ffd1de;
  font-size: .88rem;
}

.progress-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .85rem 1.5rem;
  padding: clamp(1.1rem, 3vw, 2.2rem);
  box-shadow: inset 0 -3px var(--post-pink);
}
.progress-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: var(--post-gradient);
}
.progress-header p, .storage-settings p { margin-top: .55rem; color: var(--post-copy); }
.progress-header h1 { font-size: clamp(2.5rem, 5vw, 4.1rem); }
.progress-group { margin-top: 1.55rem; }
#resume .resume-card, #progress-view .resume-card { box-shadow: inset 3px 0 var(--post-pink); }
#progress-done .resume-card { box-shadow: inset 3px 0 var(--green); }
#progress-view .empty {
  padding: .8rem .95rem;
  color: var(--post-copy);
}
.storage-settings { margin-top: 2rem; max-width: 48rem; }
.storage-settings details {
  padding: .7rem .95rem;
  background: var(--post-panel);
  border: 1px solid var(--post-rule);
  border-radius: .45rem;
}
.storage-settings summary { cursor: pointer; min-height: 2.5rem; padding-block: .35rem; font-weight: 700; color: var(--post-gold); }
#confirm-clear-storage { margin-top: .72rem; }
#storage-status:empty { display: none; }

.article-date {
  display: block;
  margin-top: .55rem;
  color: var(--post-muted);
  font-size: .88rem;
}
.article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: .8rem;
}
.article-actions + .read-layout { margin-top: 1.35rem; }
.resume-next-title, .resume-shortcut-guide { display: block; font-size: .85rem; font-weight: 600; }
.article-actions .primary:has(.resume-next-title) {
  display: grid;
  justify-items: start;
  gap: .1rem;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}
.step p.step-timing {
  color: var(--post-gold);
  font-size: .87rem;
  font-weight: 750;
}
#find-safe { scroll-margin-block-start: 7rem; }
.quick-priorities {
  margin: .75rem 0 1rem;
  padding: .75rem 1rem;
  background: var(--post-panel);
  border: 1px solid var(--post-rule);
  border-radius: .45rem;
}
.quick-priorities h3 { margin-bottom: .35rem; color: var(--post-gold); font-size: 1.03rem; }
.quick-priorities a, .full-image-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.65rem;
  text-decoration: underline;
  text-underline-offset: .2em;
}
.quick-priorities a { margin-inline-end: 1.15rem; }
.quick-priorities a:hover, .full-image-link:hover { color: var(--post-pink); }
.full-image-link { color: var(--post-gold); }
.image-credit {
  margin-top: .5rem;
  color: var(--post-muted);
  font-size: .9rem;
  overflow-wrap: anywhere;
}
.image-credit a { text-decoration: underline; text-underline-offset: .18em; }
.spoiler-gate { margin-top: 1rem; }
.spoiler-gate > summary {
  border: 1px solid var(--post-rule);
  border-radius: .45rem;
  padding: .75rem 1rem;
  background: var(--post-panel);
  color: var(--post-gold);
  cursor: pointer;
  font-weight: 700;
}
.step:target { border-color: var(--post-gold); }

@media (max-width: 60rem) {
  .entry-desk { grid-template-columns: minmax(0, 1.4fr) minmax(16rem, 1fr); }
}

@media (max-width: 46rem) {
  .entry-desk { grid-template-columns: minmax(0, 1fr); }
  .player-hero-copy h1 { font-size: clamp(2.45rem, 10.4vw, 3.9rem); }
  .quick-desk .quick-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .read-layout .progress-box { order: 0; }
}

@media (max-width: 24rem) {
  .player-hero .lookup { padding-inline-start: .55rem; }
  .player-hero .lookup > .icon { display: none; }
  .quick-desk .quick-links span { font-size: .84rem; }
  .article-actions a { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
}

.step-waypoints {
  grid-column: 2;
  min-width: 0;
  display: grid;
  gap: .55rem;
  margin: .55rem 0 .25rem;
  padding-inline-start: 1.4rem;
  color: var(--post-copy);
  overflow-wrap: anywhere;
}

.step-waypoints strong { color: var(--post-gold); }
.step-waypoints span { display: block; }

.article-answer-label {
  margin-top: .8rem;
  color: var(--post-gold);
  font-weight: 750;
}

.article-answer-label + .article-summary { margin-top: .16rem; }

.guide-facts:not(:empty), .search-news:not([hidden]), .search-best-step:not([hidden]) {
  margin-top: .8rem;
  padding: clamp(.85rem, 2vw, 1.15rem);
  border: 1px solid var(--post-rule);
  border-radius: .55rem;
  background: var(--post-panel);
}
.search-best-step a { display: grid; gap: .2rem; }
.search-best-step a:hover strong { text-decoration: underline; }
.search-best-step a:focus-visible { outline: 2px solid var(--post-gold); outline-offset: 3px; }
.search-best-step a > :last-child, .search-patch-meta { color: var(--post-muted); font-size: .9rem; }

.guide-facts dl {
  display: grid;
  grid-template-columns: minmax(0, 9.5rem) minmax(0, 1fr);
  gap: .45rem .85rem;
  margin: 0;
  color: var(--post-copy);
}

.guide-facts dt, .guide-warning strong { color: var(--post-gold); font-weight: 750; }
.guide-facts dd { margin: 0; }
.guide-warning { border-inline-start: 3px solid var(--post-gold); padding-inline-start: .72rem; color: var(--post-copy); }
.guide-facts dl + .guide-warning { margin-top: .9rem; }
.guide-warning p { margin: .25rem 0; }
.guide-warning a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--post-gold);
  text-decoration: underline;
  text-underline-offset: .2em;
}

.library-heading h1 { font-size: clamp(2rem, 3.8vw, 3rem); line-height: 1.1; }
.search-news h3 { font-size: 1.1rem; }
.search-news ul { list-style: none; padding: 0; margin: .35rem 0 0; }
.search-news li + li { border-top: 1px solid var(--post-rule); }
.search-news-link { display: grid; gap: .2rem; padding: .6rem 0; }
.search-news-link:hover strong { text-decoration: underline; }
.search-news-link .card-category { font-size: .82rem; }
#more-news-results summary { color: var(--post-gold); cursor: pointer; min-height: 2.75rem; padding-block: .6rem; }

.search-examples, .search-recovery {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}
.search-examples { margin-block-start: .65rem; }
.search-examples a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: .35rem .7rem;
  border: 1px solid var(--post-rule);
  border-radius: .4rem;
  background: #231e29;
  color: var(--post-cream);
  font-size: .88rem;
  font-weight: 650;
}
.search-examples a:hover { border-color: var(--post-gold); color: var(--post-gold); }
.search-examples a:focus-visible,
.search-recovery button:focus-visible,
#clear-library:focus-visible { outline: 2px solid var(--post-gold); outline-offset: 3px; }
.search-recovery button, #clear-library { min-height: 2.75rem; }
#guide-count { min-width: 0; overflow-wrap: anywhere; }

.chapter-short-label, #library-filter-toggle, #library-filter-summary { display: none; }

.library-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: .75rem;
  padding-bottom: .65rem;
  margin-bottom: .65rem;
  border-bottom: 1px solid var(--post-rule);
}
.library-toolbar #library-filters { display: contents; }
.library-toolbar #topics { grid-area: 1 / 1 / 2 / -1; }
.library-toolbar .library-options { grid-area: 2 / 1 / 3 / -1; }
.library-toolbar .results-line { grid-area: 3 / 1; margin: .9rem 0 0; }
.library-toolbar .results-line::after { display: none; }
.library-toolbar .view-picker { grid-area: 3 / 2; justify-self: start; margin-top: .9rem; }

@media (max-width: 39rem), (max-width: 60rem) and (max-height: 30rem) and (orientation: landscape) {
  body[data-view-id="library"] .chapter-shortcuts {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .3rem;
    margin-block: .6rem .45rem;
  }
  body[data-view-id="library"] .chapter-shortcuts a { padding-inline: .15rem; }
  .chapter-full-label { display: none; }
  .chapter-short-label { display: inline; }

  .library-toolbar { display: block; padding-bottom: .45rem; }
  .library-toolbar .results-line {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .3rem .6rem;
    margin: 0;
  }
  .library-toolbar .results-line:has(#guide-count:empty) { display: none; }
  .library-toolbar #guide-count { grid-area: 1 / 1; font-size: .9rem; }
  #library-filter-toggle { grid-area: 1 / 2; display: inline-flex; }
  #library-filter-toggle[aria-expanded="true"] { border-color: var(--post-gold); color: var(--post-gold); }
  #library-filter-summary { grid-column: 1 / -1; display: block; font-size: .875rem; color: var(--post-gold); }
  .library-toolbar #clear-library { grid-column: 1 / -1; justify-self: start; }
  .library-toolbar #library-filters {
    display: grid;
    justify-items: start;
    gap: .75rem;
    margin-block: .4rem;
    padding: .7rem;
    border: 1px solid var(--post-rule);
    border-radius: .5rem;
    background: var(--post-panel);
  }
  .library-toolbar:has(#library-filter-toggle[aria-expanded="false"]) #library-filters { display: none; }
  .library-toolbar #topics, .library-toolbar .library-options, .library-toolbar .view-picker {
    grid-area: auto;
    margin: 0;
  }
  .library-toolbar .view-picker button { min-height: 2.75rem; }

  body[data-view-id="library"] #cards { grid-template-columns: minmax(0, 1fr); gap: .55rem; }
  body[data-view-id="library"] #cards .card-link:has(.card-pic) {
    flex-direction: row-reverse;
    align-items: center;
    gap: .55rem;
    padding: .55rem;
  }
  body[data-view-id="library"] #cards .card-pic {
    flex: 0 0 4.875rem;
    aspect-ratio: 1;
    border-radius: .35rem;
  }
  body[data-view-id="library"] #cards .card-pic + .card-copy {
    min-width: 0;
    padding: .1rem;
  }
  body[data-view-id="library"] #cards .card-pic + .card-copy h3 {
    margin-block: .22rem .32rem;
    font-size: 1.08rem;
  }
  body[data-view-id="library"] #cards .card-pic + .card-copy > p { display: none; }
}

@media (max-width: 35rem) {
  .guide-facts dl { grid-template-columns: minmax(0, 1fr); gap: .2rem; }
  .guide-facts dd + dt { margin-top: .5rem; }
}
.newsletter-signup {
  max-width: 46rem;
  margin: clamp(2rem, 5vw, 4rem) auto;
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 1px solid #2e3b52;
  border-radius: 1rem;
  background: #181d2b;
  color: #edf5ff;
  text-align: center;
  scroll-margin-top: 6rem;
}

.newsletter-signup h2 {
  margin: 0 0 .5rem;
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  line-height: 1.2;
}

.newsletter-signup p {
  margin: .5rem 0 1rem;
  color: #bec9dc;
}

.newsletter-signup .newsletter-open {
  display: inline-block;
  padding: .65rem 1rem;
  border-radius: .5rem;
  background: #78dfff;
  color: #10131e;
  font-weight: 700;
  text-decoration: none;
}

.newsletter-signup .newsletter-open:hover { background: #a7ebff; }
.newsletter-signup .newsletter-open:focus-visible { outline: 2px solid #edf5ff; outline-offset: 3px; }
.newsletter-signup .newsletter-privacy { margin: 1rem 0 0; font-size: .875rem; }
.newsletter-signup .newsletter-privacy a { color: #78dfff; text-decoration: underline; }

.quick-desk .quick-question-links { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }

/* The hub leads with search and chapters, then the short answers and guide library. */
.player-hero-copy { padding: clamp(1rem, 2.4vw, 1.8rem); }
.quick-desk { margin-block: 0 1.25rem; }
.quick-desk .quick-question-links a {
  min-height: 2.75rem;
  padding: .65rem .8rem;
}
.hub-common {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem .9rem;
  margin-block: 1.25rem;
}
.hub-common a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--post-gold);
  text-decoration: underline;
  text-underline-offset: .18em;
}
.story-desk .story-link.story-main-action {
  border-color: var(--post-gold);
  color: var(--post-cream);
  font-weight: 750;
}
.chapter-guide-actions {
  display: flex;
  gap: .5rem 1rem;
  align-items: center;
  flex-wrap: wrap;
  margin-block: .75rem;
}
.chapter-guide-actions > a, .guide-chapter-browse {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
}
.chapter-guide-actions > a.primary { color: var(--post-base); text-decoration: none; }
.chapter-missables .chapter-overview-details { margin-top: .55rem; }
[data-guide-header] .guide-chapter-browse {
  color: var(--post-gold);
  text-decoration: underline;
  text-underline-offset: .15em;
  margin-inline-start: .65rem;
}
#chapter-guide-list { scroll-margin-block-start: 5.5rem; }
@media (max-width: 46rem) {
  .entry-desk { margin-block-start: .8rem; gap: .7rem; }
  .player-hero-copy h1 { font-size: clamp(2rem, 8.2vw, 3.2rem); }
  .player-hero-copy > p:not(.kicker) { margin-block: .4rem .65rem; }
  .entry-desk .story-desk { padding: .8rem; }
  .quick-desk .quick-question-links { gap: .4rem; }
  [data-guide-header] .guide-chapter-browse { margin-inline-start: 0; }
}

/* The maps are a compact, crawlable shortcut on the hub, not extra intro copy. */
.area-desk { margin-block: 1.15rem 1.3rem; scroll-margin-top: 5rem; }
.area-desk h2 { margin: 0 0 .55rem; font-size: clamp(1.35rem, 2.25vw, 1.8rem); line-height: 1.15; }
.area-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .55rem; }
.area-grid li { min-width: 0; }
.area-grid a { min-height: 4.2rem; height: 100%; padding: .38rem .55rem .38rem .38rem; display: flex; align-items: center; gap: .62rem; border: 1px solid var(--post-rule); border-radius: .5rem; background: #1c1824; color: var(--post-copy); text-decoration: none; }
.area-grid a:hover, .area-grid a:focus-visible { background: #292132; border-color: var(--post-gold); }
.area-grid a:focus-visible { outline: 2px solid var(--post-gold); outline-offset: 3px; }
.area-grid img { display: block; width: clamp(3rem, 7vw, 5.4rem); height: 2.85rem; flex-shrink: 0; object-fit: cover; border-radius: .28rem; }
.area-grid span { display: grid; gap: .18rem; min-width: 0; overflow-wrap: anywhere; }
.area-grid strong { font-size: .99rem; color: var(--post-gold); line-height: 1.2; }
.area-grid small { font-size: .875rem; line-height: 1.25; }
@media (max-width: 43rem) { .area-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 29rem) {
  .area-grid a { min-height: 3.65rem; gap: .4rem; }
  .area-grid img { width: 2.25rem; height: 2.25rem; }
  .area-grid strong { font-size: .875rem; }
  .area-grid small { display: none; }
}

.hub-entry-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.55rem; margin-block:.85rem .1rem; width:min(100%,29rem); }
.hub-entry-actions a { display:grid; align-content:center; gap:.1rem; min-height:3.3rem; padding:.45rem .65rem; border:1px solid var(--post-rule); border-radius:.45rem; background:#282130; color:var(--post-gold); text-decoration:none; }
.hub-entry-actions a:hover,.hub-entry-actions a:focus-visible { border-color:var(--post-gold); background:#342839; }
.hub-entry-actions a:focus-visible { outline:2px solid var(--post-gold); outline-offset:3px; }
.hub-entry-actions strong { font-size:.99rem; line-height:1.2; }
.hub-entry-actions span { color:var(--post-copy); font-size:.875rem; line-height:1.25; }
[data-guide-header="grassrivers-map"] .article-hero { display:block; min-height:0; }
[data-guide-header="grassrivers-map"] .article-copy { padding:clamp(1rem,2.4vw,1.8rem); }
[data-guide-header="grassrivers-map"] .article-hero h1 { font-size:clamp(1.9rem,4.2vw,3.8rem); }
[data-guide-header="grassrivers-map"] .guide-quick-answer { margin-block:.55rem .65rem; max-width:76ch; }
[data-guide-header="grassrivers-map"] .guide-chapter-browse { margin-inline:.65rem; }
.map-pilot-layout { margin-top:.85rem; }
.map-pilot-priorities { margin-block:.55rem; }
.map-pilot-filters { margin:.5rem 0; }
.map-pilot-filters > summary { cursor:pointer; padding:.4rem 0; color:var(--post-gold); }
.map-pilot-step { scroll-margin-top:5rem; }
.map-pilot-step .full-image-link { position:relative; }
.map-enlarge-label { position:absolute; inset:auto .6rem .5rem auto; padding:.35rem .55rem; color:#fff1df; background:#171221ed; border:1px solid #d5b6b9; border-radius:.3rem; font-size:.875rem; font-weight:650; }
.map-lightbox { color:var(--post-copy); background:#1b1721; border:1px solid #746072; border-radius:.65rem; width:min(calc(100vw - 1.2rem),72rem); max-width:none; max-height:calc(100dvh - 1.2rem); margin:auto; padding:.6rem; }
.map-lightbox::backdrop { background:#100b16df; }
.map-lightbox-bar { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:.45rem; padding:.25rem .25rem .55rem; }
.map-lightbox-bar h2 { font-size:1.05rem; margin:0; }
.map-lightbox-controls { display:flex; flex-wrap:wrap; gap:.5rem; }
.map-lightbox-controls button { min-height:2.75rem; }
.map-lightbox-image { overflow:auto; max-height:calc(100dvh - 10rem); }
.map-lightbox-image img { display:block; width:100%; max-width:none; height:auto; }
.map-zoomed .map-lightbox-image img { width:max(200%,60rem); }
body:has(.map-lightbox[open]) { overflow:hidden; }
@media (min-width:67rem) {
  .map-pilot-step { grid-template-columns:1.4rem minmax(0,.92fr) minmax(0,1.12fr); align-content:start; align-items:start; }
  .map-pilot-step > label { grid-column:2; }
  .map-pilot-step > .editorial-visual { grid-column:3; grid-row:1 / span 5; margin:0; }
  .map-pilot-step > .step-links { grid-column:2; }
}
@media (max-width:51rem) {
  .map-pilot-step > .editorial-visual { grid-row:2; grid-column:1 / -1; margin-block:.45rem .25rem; }
}
@media (max-width:23rem) {
  .hub-entry-actions a { padding-inline:.45rem; }
  .hub-entry-actions strong { font-size:.9rem; }
  .hub-entry-actions span { font-size:.82rem; }
}

.guide-troubleshooting .editorial-case { scroll-margin-top: 5rem; }
