@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/_a/wikia-barlow-condensed-800-normal.46ac8aa3a6.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: italic;
  font-weight: 900;
  font-display: swap;
  src: url("/_a/wikia-barlow-condensed-900-italic.4ea28672e0.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --night: #151018;
  --deep: #1b1020;
  --surface: #211a25;
  --raised: #2b2330;
  --keyline: #49394a;
  --line-soft: #392d3d;
  --ink: #fff5e6;
  --muted: #c8bdcb;
  --coral: #ff946e;
  --pink: #ff82a9;
  --aqua: #7ee4d5;
  --gold: #ffd176;
  --water: #183a38;
  --frame: #846779;
  --leaf: #b7efa9;
  --lagoon: #293d38;
  --lagoon-line: #597b77;
  --headline: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Avenir Next", system-ui, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--night); color: var(--ink); font: 400 16px/1.6 var(--body); }
a { color: inherit; text-underline-offset: .22em; }
button, input, select { font: inherit; }
button, summary { cursor: pointer; }
img { display: block; }
::selection { background: var(--pink); color: var(--deep); }
:where(a, button, summary, input, select, [tabindex]):focus-visible { outline: 3px solid var(--aqua); outline-offset: 4px; }
.shell { width: min(1240px, calc(100% - clamp(48px, 9vw, 132px))); margin-inline: auto; }
.skip-link { position: absolute; top: 8px; left: 12px; z-index: 9; transform: translateY(-160%); padding: 8px 14px; background: var(--aqua); color: var(--deep); }
.skip-link:focus { transform: none; }

.site-header { position: relative; z-index: 2; background: var(--night); border-bottom: 1px solid var(--keyline); }
.header-inner { min-height: 68px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; }
.wordmark, .footer-name { display: inline-flex; align-items: center; gap: 10px; width: fit-content; text-decoration: none; }
.wordmark img { width: 39px; height: 39px; }
.brand-title { font: italic 900 1.68rem/.95 var(--headline); text-transform: uppercase; white-space: nowrap; letter-spacing: -.015em; }
.brand-title b { font-weight: inherit; color: var(--coral); }
.site-nav { display: flex; justify-content: flex-end; align-self: stretch; gap: clamp(15px, 2.2vw, 32px); }
.site-nav a { display: inline-flex; position: relative; align-items: center; padding: 4px 0; color: var(--muted); font-size: .9rem; font-weight: 650; text-decoration: none; }
.site-nav a::after { content: ""; position: absolute; bottom: 11px; left: 0; right: 0; height: 2px; background: var(--coral); transform: scaleX(0); transform-origin: left; transition: transform .16s ease-out; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--ink); }
.site-nav a:hover::after, .site-nav a[aria-current]::after { transform: scaleX(1); }
.trophy-nav { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 39px; padding: 5px 14px; border: 1px solid var(--frame); border-radius: 3px; color: var(--coral); font-weight: 750; font-size: .9rem; text-decoration: none; }
.trophy-nav:hover, .trophy-nav[aria-current] { color: var(--ink); background: var(--raised); border-color: var(--coral); }

.home-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--deep); border-bottom: 2px solid var(--coral); }
.hero-art, .hero-art img, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-art { z-index: -3; }
.hero-art img { object-fit: cover; object-position: 61% 57%; }
.hero-shade { z-index: -2; background: linear-gradient(90deg, rgb(23 11 28 / .94) 0%, rgb(29 12 32 / .83) 22%, rgb(34 12 33 / .48) 40%, transparent 62%), linear-gradient(0deg, rgb(25 12 29 / .4), transparent 27%); }
.hero-inner { min-height: clamp(398px, 32vw, 476px); display: flex; align-items: center; padding-block: 35px 40px; }
.hero-copy { width: min(100%, 495px); }
.platform-line { display: flex; align-items: center; gap: 10px; color: var(--ink); font: 650 .74rem/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.platform-line::before { content: ""; flex: none; width: 26px; height: 3px; background: var(--coral); transform: skewX(-20deg); }
.platform-line i { width: 4px; height: 4px; transform: rotate(45deg); background: var(--coral); }
.display-title { margin: .12em 0 .12em -.035em; color: var(--ink); text-transform: uppercase; font: italic 900 clamp(6.25rem, 8.7vw, 8.75rem)/.78 var(--headline); letter-spacing: -.018em; }
.display-title span { display: block; padding-bottom: .045em; color: var(--coral); }
.hero-description { max-width: 385px; margin: 16px 0 21px; color: var(--ink); font-size: clamp(.98rem, 1.18vw, 1.08rem); line-height: 1.45; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.action-link, .map-link { display: inline-flex; min-height: 45px; gap: 16px; align-items: center; justify-content: center; padding: 9px 17px; border: 1px solid transparent; border-radius: 3px; color: var(--deep); background: var(--coral); text-decoration: none; font-weight: 780; font-size: .92rem; transition: background-color .15s, border-color .15s; }
.action-link:hover { background: color-mix(in srgb, var(--coral) 72%, var(--ink)); }
.map-link { border-color: var(--frame); background: rgb(24 14 29 / .78); color: var(--ink); }
.map-link:hover { border-color: var(--ink); background: var(--raised); }
.direction { font: 600 1.13em/1 var(--body); }

.guide-section { padding-block: 25px 35px; }
.section-title { display: flex; align-items: center; gap: 15px; margin: 0 0 15px; font: italic 900 clamp(1.9rem, 2.85vw, 2.55rem)/1.07 var(--headline); text-transform: uppercase; letter-spacing: -.015em; }
.section-title::after { content: ""; flex: 1; height: 1px; background: var(--keyline); }
.guide-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 15px; }
.guide-card { --card-color: var(--coral); display: grid; grid-template-rows: auto 1fr; min-width: 0; background: var(--surface); border: 1px solid var(--keyline); border-radius: 4px; text-decoration: none; transition: border-color .18s, transform .18s ease-out; }
.guide-card[data-guide="map"] { --card-color: var(--aqua); }
.guide-card[data-guide="cheats"] { --card-color: var(--pink); }
.guide-card[data-guide="characters"] { --card-color: var(--gold); }
.card-art { display: block; position: relative; overflow: hidden; border-radius: 3px 3px 0 0; border-bottom: 3px solid var(--card-color); }
.card-art img { width: 100%; height: clamp(103px, 8.8vw, 132px); object-fit: cover; object-position: 50% 42%; transition: transform .24s ease-out; }
.guide-card[data-guide="map"] img { object-position: 50% 43%; }
.guide-card[data-guide="cheats"] img { object-position: 50% 45%; }
.guide-card[data-guide="characters"] img { object-position: 50% 32%; }
.card-copy { display: block; position: relative; padding: 12px 36px 14px 15px; }
.card-copy h3 { margin: 0; font: 800 clamp(1.38rem, 1.9vw, 1.78rem)/1 var(--headline); letter-spacing: .005em; text-transform: uppercase; }
.card-copy p { margin: 6px 0 0; font-size: .82rem; line-height: 1.36; color: var(--muted); }
.card-copy .direction { position: absolute; right: 13px; top: 14px; color: var(--card-color); }
.guide-card:focus-visible, .guide-card:hover { border-color: var(--card-color); }
@media (hover: hover) {
  .guide-card:hover { transform: translateY(-3px); }
  .guide-card:hover img { transform: scale(1.045); }
}

.home-notes { display: grid; grid-template-columns: 1.1fr 1fr; align-items: stretch; gap: clamp(22px, 4vw, 68px); border-top: 1px solid var(--keyline); padding-block: 33px 38px; }
.start-panel h2, .home-questions h2, .article h2 { margin: 0 0 12px; font: 800 clamp(1.62rem, 2.55vw, 2.2rem)/1.08 var(--headline); }
.start-panel p { max-width: 63ch; margin: 0 0 8px; color: var(--muted); }
.start-panel a, .long-copy a, .article-section p a { color: var(--coral); }
.start-panel p:last-child { margin: 15px 0 0; font-size: .85rem; }
.trophy-feature { position: relative; isolation: isolate; overflow: hidden; min-height: 160px; display: flex; align-items: center; color: var(--ink); border: 1px solid var(--frame); border-radius: 4px; text-decoration: none; background: var(--deep); }
.trophy-feature img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.trophy-feature::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgb(32 11 35 / .95) 2%, rgb(36 12 39 / .85) 39%, transparent 80%); }
.trophy-feature:hover { border-color: var(--pink); }
.trophy-copy { display: grid; gap: 9px; padding: 24px; max-width: 64%; }
.trophy-copy strong { font: italic 900 clamp(1.7rem, 3vw, 2.6rem)/.96 var(--headline); text-transform: uppercase; }
.trophy-copy small { font-size: .86rem; line-height: 1.42; color: var(--ink); }
.trophy-copy .feature-link { color: var(--coral); font-size: .85rem; font-weight: 750; }
.home-questions { display: grid; grid-template-columns: minmax(210px,.54fr) 1fr; column-gap: clamp(24px,5vw,82px); align-items: start; border-top: 1px solid var(--keyline); padding-block: 33px 48px; }
.home-questions .source-links { grid-column: 2; }
.home-questions .citation-grid { display: block; }
.home-questions .disclosure { margin: 0; border-width: 0 0 1px; border-radius: 0; background: transparent; }
.home-questions .disclosure:first-child { border-top: 1px solid var(--keyline); }
.home-questions .disclosure summary { padding-inline: 3px 24px; }
.home-questions .disclosure p { margin: 0; padding: 0 4px 15px; color: var(--muted); }

.site-footer { border-top: 1px solid var(--keyline); background: var(--night); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; padding-block: 26px; gap: 24px; color: var(--muted); font-size: .83rem; }
.footer-name { color: var(--ink); font: italic 900 1.4rem/1.1 var(--headline); text-transform: uppercase; }
.footer-inner p { margin: 5px 0 0; }
.footer-inner nav { display: flex; gap: 18px; }
.footer-inner a:hover, .source-links a:hover { color: var(--coral); }

#main-content:has(> .section-art) { display: grid; grid-template-columns: minmax(0,1fr); }
.section-art, .section-art + .page-heading { grid-area: 1 / 1; }
.section-art { position: relative; overflow: hidden; isolation: isolate; background: var(--deep); }
.section-art img { position: absolute; inset: 0 0 0 auto; width: min(52%, 850px); height: 100%; object-fit: cover; object-position: 50% 41%; }
.section-art[data-section="characters"] img { object-position: 50% 28%; }
.section-art[data-section="trophies"] img { object-position: 73% 43%; }
.section-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--deep) 45%, rgb(27 16 32 / .93) 52%, rgb(27 16 32 / .52) 67%, rgb(27 16 32 / .12) 90%); }
.page-heading { padding-block: 29px 32px; background: linear-gradient(115deg, var(--deep), var(--raised)); border-bottom: 2px solid var(--coral); }
.section-art + .page-heading { position: relative; background: transparent; }
.breadcrumb { color: var(--muted); font: 700 .76rem/1.6 var(--mono); }
.breadcrumb span { margin-inline: 5px; color: var(--coral); }
.breadcrumb a { color: var(--coral); }
.page-heading h1 { margin: 11px 0 9px -.025em; font: italic 900 clamp(2.65rem, 5.2vw, 4.85rem)/.97 var(--headline); text-transform: uppercase; letter-spacing: -.015em; }
.page-heading p { max-width: min(63%, 680px); margin: 0; color: var(--ink); }
.article { min-width: 0; padding-block: 30px 52px; }
.article p { margin: 0 0 13px; }
.article-section + .article-section, .cast-grid + .article-section { margin-top: 30px; }
.long-copy { max-width: 770px; }
.article h3 { margin: 0 0 .5rem; font-size: 1.1rem; }
.notice { padding: 12px 15px; border-left: 3px solid var(--coral); border-radius: 0 3px 3px 0; color: var(--ink); background: var(--raised); }
.source-links { margin-top: 22px; border-top: 1px solid var(--line-soft); padding-top: 12px; font-size: .83rem; color: var(--muted); }
.source-links p { margin: 0 0 4px; }
.source-links a { display: inline-block; margin: 2px 14px 2px 0; }
.filter-bar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin-bottom: 13px; }
.filter-bar label { display: grid; gap: 4px; color: var(--muted); font-size: .85rem; font-weight: 650; }
.filter-bar label:first-child { min-width: min(278px,100%); }
.filter-bar input, .filter-bar select { min-height: 44px; padding: 8px 12px; max-width: 100%; border: 1px solid var(--frame); border-radius: 3px; background: var(--surface); color: var(--ink); font-size: .95rem; }
.filter-bar input::placeholder { color: var(--muted); }
.filtered-count, .mini-label { font: 600 .77rem/1.5 var(--mono); color: var(--muted); }
.filtered-count { margin-left: auto; align-self: center; }
.mini-label { text-transform: uppercase; letter-spacing: .04em; }
.chapter-jumps { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 21px; }
.chapter-jumps a, .pill { display: inline-flex; align-items: center; min-height: 35px; padding: 5px 10px; border: 1px solid var(--keyline); border-radius: 3px; background: var(--raised); color: var(--ink); text-decoration: none; font-size: .82rem; font-weight: 700; }
.chapter-jumps a:hover { border-color: var(--coral); }
.chapter, .disclosure, .cheat-table-wrap, .info-card { border: 1px solid var(--keyline); border-radius: 4px; background: var(--surface); }
.chapter { margin-top: 15px; scroll-margin-top: 14px; }
.chapter summary, .disclosure summary { padding: 13px 16px; font-weight: 750; }
summary::marker { color: var(--coral); }
.chapter[open] > summary { border-bottom: 1px solid var(--keyline); }
.chapter summary span { margin-left: .45em; color: var(--muted); font-weight: 500; }
.table-wrap { overflow-x: auto; }
.trophy-group:not(:has([data-search-row]:not([hidden]))) { display: none; }
.trophy-progress {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 6px 14px;
  margin: 0 0 18px;
  padding: 12px 15px;
  border: 1px solid var(--keyline);
  border-radius: 4px;
  background: var(--surface);
}
.trophy-progress .trophy-progress-title {
  margin: 0;
  font: 800 1.3rem/1.15 var(--headline);
}
.trophy-progress output {
  color: var(--aqua);
  font: 700 .85rem/1.4 var(--mono);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.trophy-progress progress {
  grid-column: 1 / -1;
  display: block;
  width: 100%;
  height: 7px;
  border: 0;
  border-radius: 2px;
  overflow: hidden;
  appearance: none;
  accent-color: var(--aqua);
  background: var(--raised);
}
.trophy-progress progress::-webkit-progress-bar { background: var(--raised); }
.trophy-progress progress::-webkit-progress-value { background: var(--aqua); }
.trophy-progress progress::-moz-progress-bar { background: var(--aqua); }
.trophy-progress small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: .8rem;
}
.trophy-choice {
  display: grid;
  grid-template-columns: 1.12rem minmax(0, 1fr);
  align-items: start;
  gap: .52rem;
  min-height: 25px;
  cursor: pointer;
}
.trophy-choice input {
  width: 1.12rem;
  height: 1.12rem;
  margin: .12em 0 0;
  accent-color: var(--aqua);
  cursor: pointer;
}
.trophy-choice span { overflow-wrap: anywhere; }
.trophy-choice input:checked + span { color: var(--aqua); }
@media (max-width: 730px) {
  .trophy-progress { padding: 11px 12px; }
  .trophy-choice { gap: .38rem; min-height: 44px; }
}
.data-table, .relationship-page table { width: 100%; border-spacing: 0; text-align: left; }
.data-table td, .data-table th, .relationship-page :is(td, th) { vertical-align: top; padding: 11px 14px; border-bottom: 1px solid var(--line-soft); }
.data-table thead th, .relationship-page thead th { background: var(--raised); color: var(--muted); font: 700 .76rem/1.45 var(--mono); text-transform: uppercase; letter-spacing: .045em; }
.relationship-page table { margin-block: 12px 22px; background: var(--surface); border: 1px solid var(--keyline); border-radius: 4px; overflow: hidden; }
.relationship-page ol li + li { margin-top: 8px; }
.relationship-tracker {
  padding: 16px;
  border: 1px solid var(--keyline);
  border-top: 2px solid var(--coral);
  border-radius: 4px;
  background: var(--surface);
}
.relationship-tracker h2 { margin: 0 0 10px; }
.relationship-tracker-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 8px 18px;
}
.relationship-level { display: grid; min-width: 0; gap: 6px; font-size: .9rem; font-weight: 700; }
.relationship-level select {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid var(--keyline);
  border-radius: 3px;
  color: var(--ink);
  background: var(--night);
}
.relationship-unfinished { min-height: 44px; font-size: .86rem; }
.relationship-tracker > p { margin: 8px 0; color: var(--muted); font-size: .88rem; }
.relationship-tracker-status { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; }
.relationship-tracker-status output { color: var(--coral); font: 700 .85rem/1.45 var(--mono); }
.relationship-tracker-status small { color: var(--muted); font-size: .78rem; }
.relationship-tracker summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
[data-relationship-count] { flex-shrink: 0; color: var(--muted); font: 650 .78rem/1.4 var(--mono); }
.relationship-checklist { list-style: none; margin: 0; padding: 0 14px 4px; }
.relationship-checklist li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 12px;
  padding: 4px 0;
  border-top: 1px solid var(--line-soft);
}
.relationship-checklist label { min-width: 0; min-height: 44px; font-size: .93rem; }
.relationship-checklist a { font-size: .8rem; }
.relationship-tracker .relationship-requirement { display: block; grid-column: 1 / -1; color: var(--muted); font-size: .82rem; }
.relationship-checklist .relationship-requirement { margin: -2px 0 6px 26px; }
.relationship-tracker details > .relationship-requirement { margin: 0 14px 9px; }
@media (max-width: 560px) {
  .relationship-tracker { padding: 12px; }
  .relationship-tracker-controls { grid-template-columns: minmax(0, 1fr); }
  .relationship-checklist { padding-inline: 10px; }
}
.data-table tbody th, .relationship-page tbody th { font-weight: 700; line-height: 1.4; }
.data-table td, .relationship-page td { color: var(--ink); font-size: .93rem; }
.data-table tbody tr:nth-child(even), .relationship-page tbody tr:nth-child(even) { background: var(--night); }
.data-table tbody tr:last-child > *, .relationship-page tbody tr:last-child > * { border-bottom: 0; }
.data-table td:first-child { color: var(--muted); font: 600 .84rem/1.55 var(--mono); white-space: nowrap; }
.mission-table tbody th { width: 31%; }
.code-table .cheat-input { color: var(--aqua); font: 750 1rem/1.55 var(--mono); overflow-wrap: anywhere; }
[data-search-tables="trophies"] td:nth-child(2) { font-weight: 750; }
[data-search-row="Gold"] td:nth-child(2) { color: var(--gold); }
[data-search-row="Bronze"] td:nth-child(2) { color: var(--coral); }
[data-search-row="Platinum"] td:nth-child(2) { color: var(--aqua); }
[data-search-row="Silver"] td:nth-child(2) { color: var(--muted); }
.citation-grid, .cast-grid, .platform-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.info-card { padding: 19px; }
.info-card p:last-child { margin-bottom: 0; }
.inline-steps { padding-left: 1.5rem; }
.disclosure { margin-top: 10px; }
.disclosure summary { list-style: none; position: relative; padding-right: 42px; }
.disclosure summary::-webkit-details-marker { display: none; }
.disclosure summary::after { content: "+"; position: absolute; right: 13px; top: 50%; transform: translateY(-50%); color: var(--coral); font: 500 1.3rem/1 var(--mono); }
.disclosure[open] > summary::after { content: "−"; }
.disclosure p { margin: 0 16px 14px; }

.atlas-article { padding-top: 23px; }
.atlas-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 12px; }
.map-filter { min-height: 42px; padding: 6px 13px; border: 1px solid var(--frame); border-radius: 3px; background: var(--surface); color: var(--ink); font-weight: 650; font-size: .9rem; }
.map-filter:hover { border-color: var(--aqua); }
.map-filter[aria-pressed="true"] { background: var(--aqua); color: var(--deep); border-color: var(--aqua); }
.atlas-frame { display: grid; grid-template-columns: minmax(0,1fr) 305px; min-height: 480px; overflow: hidden; background: var(--water); border: 1px solid var(--lagoon-line); border-radius: 5px; }
.map-viewport { position: relative; isolation: isolate; min-height: 480px; overflow: hidden; touch-action: none; cursor: grab; }
.map-viewport.is-dragging { cursor: grabbing; }
.map-canvas, .map-markers { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-markers { pointer-events: none; }
.map-marker { position: absolute; left: var(--pin-x, auto); pointer-events: auto; display: grid; place-items: center; width: 30px; height: 30px; transform: translate(-50%,-50%); padding: 0; color: var(--deep); background: var(--coral); border: 2px solid var(--deep); border-radius: 50%; box-shadow: 0 1px 6px color-mix(in srgb, var(--night) 65%, transparent); font: 800 .75rem/1 var(--mono); }
.map-marker[data-group="Coast"] { background: var(--aqua); }
.map-marker[data-group="Outdoors"] { background: var(--leaf); }
.map-marker[data-group="Landmark"] { background: var(--gold); width: 27px; height: 27px; }
.map-marker[aria-pressed="true"] { z-index: 2; outline: 2px solid var(--ink); outline-offset: 2px; }
.map-marker:hover, .map-marker:focus-visible { z-index: 3; }
/* Keep labels within the canvas as a pin moves during pan and zoom. */
.map-marker-label {
  --label-inset: 6px;
  --label-left: calc(var(--label-inset) - var(--pin-x, 120px));
  --label-right: calc(var(--atlas-width, 1000px) - var(--pin-x, 120px) - 100% - var(--label-inset));
  position: absolute;
  top: calc(100% + 5px);
  left: 50%;
  transform: translateX(clamp(var(--label-left), -50%, var(--label-right)));
  width: max-content;
  max-width: min(240px, calc(var(--atlas-width, 1000px) - 2 * var(--label-inset)));
  padding: 3px 5px;
  border: 1px solid var(--frame);
  border-radius: 3px;
  background: var(--surface);
  color: var(--ink);
  font: 700 12px/1.12 var(--body);
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
  pointer-events: none;
}
.map-marker.is-label-above .map-marker-label { top: auto; bottom: calc(100% + 5px); }
.map-marker[data-group="Landmark"] .map-marker-label { display: none; }
.map-marker[data-group="Landmark"]:is([aria-pressed="true"],:focus-visible) .map-marker-label { display: block; }
.map-controls { position: absolute; z-index: 4; left: 12px; top: 12px; display: grid; gap: 5px; }
.map-controls button { display: grid; place-items: center; width: 43px; height: 43px; padding: 0; border: 1px solid var(--frame); border-radius: 3px; background: var(--deep); color: var(--ink); font: 700 1.25rem/1 var(--body); }
.map-controls button:hover { background: var(--raised); color: var(--aqua); }
.map-level { position: absolute; z-index: 3; left: 12px; bottom: 11px; padding: 3px 7px; border-radius: 3px; background: var(--deep); color: var(--ink); font: 650 .76rem/1.5 var(--mono); }
.atlas-aside { display: flex; flex-direction: column; min-width: 0; border-left: 1px solid var(--lagoon-line); background: var(--surface); }
.place-details { min-height: 172px; padding: 17px; background: var(--lagoon); border-bottom: 1px solid var(--lagoon-line); }
.place-details .mini-label, .place-details a { color: var(--aqua); }
.place-details h2 { margin: 5px 0 7px; }
.place-details p, .place-details a { font-size: .88rem; }
.place-details p { margin-bottom: 6px; }
.place-list { overflow-y: auto; max-height: 327px; list-style: none; margin: 0; padding: 7px; }
.place-list button { display: flex; width: 100%; min-height: 43px; gap: 8px; justify-content: space-between; align-items: center; padding: 6px 9px; border: 0; border-radius: 2px; background: transparent; color: var(--ink); text-align: left; font-size: .9rem; }
.place-list button span:last-child { color: var(--muted); font-size: .77rem; }
.place-list button:is(:hover,[aria-pressed="true"]) { background: var(--lagoon); }
.map-note { margin-top: 12px !important; color: var(--muted); font-size: .86rem; }

@media (max-width: 900px) {
  .shell { width: calc(100% - 44px); }
  .header-inner { gap: 18px; }
  .site-nav { gap: 15px; }
  .guide-grid { gap: 10px; }
  .atlas-frame { grid-template-columns: minmax(0,1fr) 244px; }
}
@media (max-width: 730px) {
  .shell { width: calc(100% - 32px); }
  .header-inner { grid-template-columns: 1fr auto; min-height: 0; row-gap: 0; padding-top: 7px; }
  .wordmark img { width: 31px; height: 31px; }
  .brand-title { font-size: 1.47rem; }
  .trophy-nav { min-height: 35px; font-size: .83rem; padding: 4px 10px; }
  .site-nav { grid-column: 1 / -1; grid-row: 2; flex-wrap: wrap; justify-content: space-between; gap: 0 10px; }
  .site-nav a { min-height: 40px; padding-block: 5px; font-size: .85rem; }
  .site-nav a::after { bottom: 2px; }
  .site-nav .nav-home { display: none; }
  .hero-inner { min-height: 358px; align-items: flex-end; padding-block: 100px 22px; }
  .hero-copy { width: 100%; }
  .hero-art { bottom: auto; height: 69%; mask-image: linear-gradient(black 68%, transparent); }
  .hero-art img { object-position: 68% 66%; }
  .hero-shade { background: linear-gradient(0deg, var(--deep) 9%, rgb(27 16 32 / .94) 26%, rgb(27 16 32 / .63) 43%, transparent 72%); }
  .platform-line { font-size: .69rem; gap: 8px; letter-spacing: .055em; }
  .platform-line::before { width: 18px; height: 2px; }
  .display-title { font-size: clamp(3.8rem, 13vw, 5.8rem); line-height: .9; margin: 6px 0 4px -.035em; }
  .display-title span { display: inline; }
  .hero-description { max-width: 410px; margin: 8px 0 12px; font-size: .94rem; line-height: 1.4; }
  .action-link, .map-link { min-height: 43px; padding: 7px 12px; gap: 10px; font-size: .88rem; }
  .guide-section { padding-block: 18px 23px; }
  .section-title { margin-bottom: 11px; }
  .guide-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .card-art img { height: clamp(70px, 19vw, 116px); }
  .card-copy { padding: 8px 22px 9px 10px; }
  .card-copy h3 { font-size: clamp(1.24rem, 4.6vw, 1.58rem); }
  .card-copy .direction { top: 9px; right: 8px; font-size: .9em; }
  .card-copy p { margin-top: 4px; font-size: .76rem; }
  .home-notes, .home-questions { grid-template-columns: 1fr; gap: 15px; padding-block: 23px; }
  .home-questions h2 { margin: 0; }
  .home-questions .source-links { grid-column: 1; margin-top: 0; }
  .trophy-copy { padding: 18px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 15px; }
  .footer-inner nav a { display: inline-flex; min-height: 42px; align-items: center; }
  .section-art img { width: 72%; }
  .section-art::after { background: linear-gradient(90deg,var(--deep) 12%,rgb(27 16 32 / .91) 42%,rgb(27 16 32 / .6) 74%,rgb(27 16 32 / .38)); }
  .page-heading { padding-block: 19px 21px; }
  .page-heading h1 { font-size: clamp(2.5rem,8.5vw,3.8rem); }
  .page-heading p { max-width: min(100%,470px); font-size: .94rem; }
  .article { padding-block: 22px 35px; }
  .filter-bar { gap: 7px; }
  .filter-bar label:first-child { min-width: 0; width: 100%; }
  .data-table td, .data-table th, .relationship-page :is(td, th) { padding: 8px; }
  .data-table td, .data-table tbody th { font-size: .85rem; }
  .mission-table tbody th { width: 32%; }
  .atlas-frame { grid-template-columns: 1fr; }
  .map-viewport { min-height: 380px; }
  .atlas-aside { border-left: 0; border-top: 1px solid var(--lagoon-line); }
  .place-details { min-height: auto; }
  .place-list { max-height: 201px; }
  .map-marker { width: 26px; height: 26px; }
  .map-marker[data-group="Landmark"] { width: 24px; height: 24px; }
  .cast-grid, .platform-grid, .citation-grid { grid-template-columns: 1fr; }
}
@media (max-width: 365px) {
  .shell { width: calc(100% - 24px); }
  .card-copy { padding-inline: 8px 19px; }
  .trophy-copy { max-width: 70%; }
}

@media (min-width: 731px) and (max-height: 800px) {
  .hero-inner { min-height: clamp(325px,26vw,374px); padding-block: 24px 27px; }
  .display-title { font-size: clamp(5.25rem,7.6vw,6.8rem); }
  .hero-description { margin-block: 12px 16px; }
  .guide-section { padding-top: 20px; }
}
@media (max-width: 730px) and (max-height: 760px) {
  .hero-inner { min-height: clamp(228px,41vh,300px); padding-block: 51px 16px; }
  .hero-art { height: 79%; }
  .guide-section { padding-block: 14px 18px; }
  .section-title { font-size: 1.75rem; margin-bottom: 9px; }
  .guide-grid { gap: 8px; }
  .card-art img { height: clamp(50px,11.3vh,76px); }
  .card-copy { padding-block: 8px; }
  .card-copy p { display: none; }
}
@media (max-width: 365px) and (max-height: 625px) {
  .hero-inner { min-height: 218px; padding-block: 31px 13px; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
  .hero-actions a { padding-inline: 6px; gap: 6px; font-size: .84rem; }
  .hero-description { margin-block: 5px 9px; font-size: .87rem; }
  .card-art img { height: 48px; }
  .card-copy { padding-inline: 8px; }
  .card-copy h3 { font-size: 1.17rem; }
  .card-copy .direction { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .guide-card:hover, .guide-card:hover img { transform: none; }
}
/* Interior guide pages */
.inner-sr, .field-caption { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.missions-page, .info-layout { --route: var(--coral); }
.cheats-page, .relationship-page { --route: var(--pink); }
.characters-page, .trophies-page { --route: var(--gold); }
.map-page { --route: var(--aqua); }
.section-art[data-section="map"] + .page-heading { border-color: var(--aqua); }
.section-art[data-section="cheats"] + .page-heading { border-color: var(--pink); }
.section-art:is([data-section="characters"],[data-section="trophies"]) + .page-heading { border-color: var(--gold); }
.guide-body .source-links, .map-page .source-links, .info-copy .source-links { padding-top: 15px; }
.guide-body .source-links p, .map-page .source-links p, .info-copy .source-links p { font-weight: 650; color: var(--ink); }
.guide-controls { display: flex; align-items: flex-end; gap: 12px; padding: 15px 17px; border: 1px solid var(--keyline); border-top: 2px solid var(--route); border-radius: 3px; background: var(--surface); }
.guide-controls label { min-width: 0; font-size: .82rem; }
.guide-controls label:first-child { flex: 1 1 14rem; min-width: 0; }
.guide-controls input, .guide-controls select { width: 100%; background: var(--night); }
.guide-controls select { min-width: 125px; }
.guide-controls .filtered-count { align-self: flex-end; margin: 0 0 12px auto; white-space: nowrap; }
.clear-control { align-self: flex-end; min-height: 43px; padding: 5px 9px; border: 0; border-radius: 2px; background: transparent; color: var(--route); text-decoration: underline; text-underline-offset: 3px; font-size: .83rem; font-weight: 700; }
.clear-control:hover { background: var(--raised); }
.guide-body .notice { border-color: var(--route); }

.mission-browser { display: grid; grid-template-columns: 178px minmax(0,1fr); align-items: start; column-gap: clamp(18px,3vw,45px); }
.chapter-index { position: sticky; top: 16px; display: block; margin: 0; border: 1px solid var(--keyline); border-top: 2px solid var(--coral); border-radius: 3px; background: var(--surface); }
.chapter-index h2 { margin: 0; padding: 14px 14px 10px; font: 800 1.42rem/1 var(--headline); text-transform: uppercase; }
.chapter-index-links { padding: 0 8px 8px; }
.chapter-index .chapter-index-links a { display: flex; align-items: center; gap: .35em; min-height: 40px; padding: 7px 8px; margin: 0; border: 1px solid transparent; border-radius: 2px; color: var(--ink); background: transparent; font-size: .88rem; }
.chapter-index .chapter-index-links a:is(:hover,[aria-current]) { border-color: var(--keyline); background: var(--raised); color: var(--coral); }
.chapter-index b { font-weight: 750; }
.chapter-index small { margin-left: auto; color: var(--muted); font: 600 .75rem/1.3 var(--mono); }
.chapter-extras { border-top: 1px solid var(--keyline); padding: 7px 12px; }
.chapter-extras a { display: flex; min-height: 36px; padding: 3px 2px; border: 0; border-radius: 0; background: transparent; color: var(--muted); }
.chapter-extras a:hover { color: var(--coral); text-decoration: underline; }
.mission-log { min-width: 0; }
.mission-log .chapter { overflow: clip; }
.mission-log .chapter > summary, .trophies-page #hidden-trophies > summary { position: relative; display: flex; align-items: baseline; gap: 9px; list-style: none; padding: 13px 44px 13px 16px; }
.mission-log .chapter > summary::-webkit-details-marker, .trophies-page #hidden-trophies > summary::-webkit-details-marker { display: none; }
.mission-log .chapter > summary::after, .trophies-page #hidden-trophies > summary::after { content: ""; position: absolute; inset: 50% 19px auto auto; width: 7px; height: 7px; border-right: 2px solid var(--route); border-bottom: 2px solid var(--route); transform: translateY(-65%) rotate(45deg); }
.mission-log .chapter[open] > summary::after, .trophies-page #hidden-trophies[open] > summary::after { transform: translateY(-20%) rotate(225deg); }
.mission-log .chapter-label { margin: 0; font: 800 1.65rem/1 var(--headline); color: var(--ink); text-transform: uppercase; white-space: nowrap; }
.mission-log .chapter-name { margin: 0; font-size: .9rem; color: var(--muted); }
.mission-log .chapter:not([open]) .chapter-name { display: none; }
.mission-log .chapter-count { margin-left: auto; white-space: nowrap; font: 650 .75rem/1.3 var(--mono); color: var(--coral); }
.mission-log .mission-table td:first-child { width: 3.4rem; color: var(--coral); }
.mission-log .mission-table tbody th { width: 27%; }
.missions-page > .article-section:not(.mission-browser), .missions-page > .source-links { margin-left: calc(178px + clamp(18px,3vw,45px)); }
.missions-page .long-copy { max-width: 76ch; }

.code-shortcuts { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0 0 15px; }
.code-shortcuts a { display: inline-flex; align-items: center; min-height: 30px; color: var(--pink); font-size: .86rem; font-weight: 700; }
.cheats-page .code-table { table-layout: fixed; }
.code-table thead th:first-child { width: 24%; }
.code-table thead th:nth-child(2) { width: 41%; }
.code-table tbody th { font-size: 1.02rem; }
.code-table .mini-label { display: inline-block; margin-top: 4px; color: var(--pink); }
.unlock-cell small { display: inline-block; margin-top: 4px; color: var(--muted); line-height: 1.45; }
.pad-combo { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.pad-combo kbd, .shoulder-key { display: inline-grid; place-items: center; min-width: 26px; height: 27px; padding: 0 3px; border: 1px solid var(--frame); border-bottom-width: 3px; border-radius: 4px; color: var(--ink); background: var(--raised); font: 750 1rem/1 var(--mono); }
.shoulder-key { height: 23px; min-width: 29px; padding: 0 5px; font-size: .8rem; }
.controller-guides .info-card { border-top: 2px solid var(--pink); }
.controller-guides h3 { font: 800 1.5rem/1.1 var(--headline); }
.controller-guides .inline-steps { padding-left: 1.4rem; margin: 8px 0 0; }
.controller-guides li + li { margin-top: 6px; }
.controller-guides li::marker { color: var(--pink); }

.grade-picker { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 8px; margin-bottom: 13px; }
.grade-picker button { --tier: var(--coral); display: flex; align-items: baseline; justify-content: space-between; gap: 5px; min-height: 62px; padding: 13px 15px; border: 1px solid var(--keyline); border-bottom: 3px solid var(--tier); border-radius: 3px; background: var(--surface); color: var(--ink); }
.grade-picker button[data-grade-choice="Platinum"], [data-search-row="Platinum"] .grade-badge { --tier: var(--aqua); }
.grade-picker button[data-grade-choice="Gold"], [data-search-row="Gold"] .grade-badge { --tier: var(--gold); }
.grade-picker button[data-grade-choice="Silver"], [data-search-row="Silver"] .grade-badge { --tier: var(--muted); }
.grade-picker button[data-grade-choice="Bronze"], [data-search-row="Bronze"] .grade-badge { --tier: var(--coral); }
.grade-picker button:is(:hover,[aria-pressed="true"]) { border-color: var(--tier); background: var(--raised); }
.grade-picker button[aria-pressed="true"] { box-shadow: inset 0 0 0 1px var(--tier); }
.grade-picker b { color: var(--tier); font: 800 2rem/.95 var(--headline); }
.grade-name { font-size: .91rem; font-weight: 750; }
.trophies-page .guide-controls { border-top-width: 1px; }
.trophies-page .guide-controls label:first-child { max-width: 38rem; }
.trophies-page #hidden-trophies { margin-bottom: 22px; border-left: 3px solid var(--gold); }
.trophies-page #hidden-trophies:not([open]) > .table-wrap { display: none; }
.trophies-page #hidden-trophies > summary { align-items: center; flex-wrap: wrap; gap: 3px 12px; min-height: 56px; }
.trophies-page #hidden-trophies > summary strong { font: 800 1.4rem/1.1 var(--headline); }
.trophies-page #hidden-trophies .spoiler-count { margin: 0; font: 600 .76rem/1.4 var(--mono); }
.trophies-page #hidden-trophies .spoiler-caption { margin-left: auto; color: var(--gold); font-size: .81rem; }
.trophies-page .grade-badge { display: inline-flex; gap: 7px; align-items: center; color: var(--tier,var(--ink)); font-size: .85rem; }
.grade-badge::before { content: ""; width: 8px; height: 8px; transform: rotate(45deg); background: currentColor; }
.trophies-page .mission-table tbody th { width: 27%; }
.trophies-page .trophy-grade { width: 15%; }
.trophies-page #platinum-route h3 { margin-top: 1em; }

.map-page .atlas-toolbar { gap: 6px; }
.map-page .map-filter { display: inline-flex; align-items: center; gap: 7px; }
.atlas-key { display: inline-grid; place-content: center; width: 14px; height: 14px; font: 800 .87rem/1 var(--mono); }
[data-group-filter="City"] .atlas-key, [data-location-kind="City"] .atlas-key { color: var(--coral); }
[data-group-filter="Coast"] .atlas-key, [data-location-kind="Coast"] .atlas-key { color: var(--aqua); }
[data-group-filter="Outdoors"] .atlas-key, [data-location-kind="Outdoors"] .atlas-key { color: var(--leaf); }
[data-group-filter="Landmark"] .atlas-key, [data-location-kind="Landmark"] .atlas-key { color: var(--gold); }
.map-page .map-filter[aria-pressed="true"] .atlas-key { color: var(--deep); }
.map-page .atlas-frame { grid-template-columns: minmax(0,1fr) clamp(270px,26%,334px); height: clamp(490px,62vh,585px); min-height: 0; }
.map-page .map-viewport { min-height: 0; }
.atlas-compass { position: absolute; top: 13px; right: 13px; z-index: 2; display: grid; justify-items: center; gap: 3px; color: var(--ink); font: 700 .76rem/1 var(--mono); pointer-events: none; }
.atlas-compass i { display: block; width: 12px; height: 19px; background: linear-gradient(90deg,var(--ink) 50%,var(--coral) 50%); clip-path: polygon(50% 0,100% 100%,50% 77%,0 100%); }
.map-page .map-controls button:disabled { opacity: .55; cursor: default; }
.map-page .atlas-aside { min-height: 0; }
.location-photo { flex: none; height: clamp(103px,14vh,140px); background: var(--water); overflow: hidden; }
.location-photo img { width: 100%; height: 100%; object-fit: cover; }
.map-page .place-details { flex: none; min-height: 0; padding: 13px 15px; }
.map-page .place-details h2 { margin: 4px 0; font-size: 1.65rem; }
.location-list-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 11px 14px 5px; }
.location-list-head h3 { margin: 0; font: 800 1.22rem/1 var(--headline); text-transform: uppercase; }
.location-list-head a { display: none; }
.map-page .place-list { flex: 1; min-height: 70px; max-height: none; }
.map-page .place-list button > span:first-child { display: inline-flex; gap: 8px; align-items: center; }
.map-page .place-list button[aria-pressed="true"] { box-shadow: inset 2px 0 var(--aqua); }

.cast-section { margin-bottom: 29px; }
.cast-section > h2 { display: flex; align-items: center; gap: 14px; font: italic 900 clamp(1.8rem,3vw,2.35rem)/1 var(--headline); text-transform: uppercase; }
.cast-section > h2::after { content: ""; height: 1px; flex: 1; background: var(--keyline); }
.cast-section .cast-grid { gap: clamp(14px,2vw,23px); }
.cast-card { min-width: 0; overflow: clip; border: 1px solid var(--keyline); border-radius: 4px; background: var(--surface); scroll-margin-top: 15px; }
.cast-image { height: clamp(147px,16vw,219px); overflow: hidden; border-bottom: 3px solid var(--gold); background: var(--raised); }
.cast-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 41%; }
.cast-copy { padding: 14px 18px 17px; }
.cast-copy h3 { margin-bottom: 5px; font: 800 clamp(1.65rem,2.6vw,2.25rem)/1.0 var(--headline); }
.cast-copy .cast-voice { display: flex; gap: 6px; align-items: baseline; flex-wrap: wrap; margin: 0 0 10px; color: var(--gold); font-weight: 650; font-size: .9rem; }
.cast-voice span { color: var(--muted); font-size: .82rem; font-weight: 500; }
.cast-copy p:last-child { margin: 0; }
.cast-copy a, .info-copy a { color: var(--coral); }
.cast-contacts .cast-card { display: grid; grid-template-columns: minmax(110px,33%) 1fr; }
.cast-contacts .cast-image { height: 100%; min-height: 144px; border-bottom: 0; border-right: 2px solid var(--gold); }
.cast-contacts .cast-copy { padding: 14px; }
.cast-contacts .cast-copy h3 { font-size: 1.65rem; }

.info-layout { display: grid; grid-template-columns: 180px minmax(0,740px); align-items: start; gap: clamp(23px,5vw,80px); padding-block: 32px 50px; }
.site-info-nav { background: var(--surface); border: 1px solid var(--keyline); border-radius: 3px; padding: 13px; }
.site-info-nav h2 { margin: 0 0 9px; font: 800 1.3rem/1 var(--headline); }
.site-info-nav a { display: flex; align-items: center; min-height: 39px; padding: 3px 9px; border-left: 2px solid transparent; text-decoration: none; color: var(--muted); font-size: .89rem; }
.site-info-nav a:is([aria-current],:hover) { border-color: var(--coral); background: var(--raised); color: var(--ink); }
.info-copy { padding: 0; }
.info-copy > h2 { padding-bottom: 8px; border-bottom: 1px solid var(--keyline); }
.info-copy > p { line-height: 1.7; }
.info-copy p + h2 { margin-top: 27px; }

@media (min-width: 731px) and (max-width: 960px) {
  .mission-browser { grid-template-columns: 142px minmax(0,1fr); column-gap: 16px; }
  .missions-page > .article-section:not(.mission-browser), .missions-page > .source-links { margin-left: 158px; }
  .guide-controls .filtered-count { margin: 0 0 0 auto; align-self: center; }
  .grade-picker button { padding: 10px; }
  .cast-contacts .cast-card { grid-template-columns: 1fr; }
  .cast-contacts .cast-image { height: 112px; min-height: 0; border-right: 0; border-bottom: 2px solid var(--gold); }
}
@media (max-width: 730px) {
  .guide-controls { gap: 8px; padding: 10px; }
  .guide-controls label:first-child { flex: 1 1 100%; width: 100%; }
  .guide-controls .filtered-count { align-self: center; margin: 0 0 0 auto; }
  .clear-control { min-height: 36px; align-self: center; padding: 4px; }
  .mission-browser { display: block; }
  .chapter-index { position: static; padding: 0; margin-bottom: 14px; background: transparent; border: 0; }
  .chapter-index h2 { padding: 0 0 7px; font-size: 1.2rem; }
  .chapter-index-links { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 5px; padding: 0; }
  .chapter-index .chapter-index-links a { justify-content: center; min-height: 36px; padding: 4px 0; border-color: var(--keyline); background: var(--surface); color: var(--ink); }
  .index-chapter, .chapter-index small { display: none; }
  .chapter-extras { display: flex; flex-wrap: wrap; gap: 4px 15px; padding: 2px 0 0; border-top: 0; }
  .chapter-extras a { min-height: 44px; padding: 3px 1px; color: var(--coral); font-size: .82rem; text-decoration: underline; }
  .missions-page > .article-section:not(.mission-browser), .missions-page > .source-links { margin-left: 0; }
  .mission-log .chapter > summary { flex-wrap: wrap; align-items: center; column-gap: 6px; row-gap: 4px; padding: 10px 34px 10px 11px; }
  .mission-log .chapter-label { font-size: 1.45rem; }
  .mission-log .chapter-name { flex-basis: 100%; order: 3; line-height: 1.3; }
  .mission-log .chapter-count { font-size: .72rem; }
  .mission-log .mission-table thead, .code-table thead, .trophies-page .mission-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .mission-log .mission-table, .mission-log .mission-table tbody, .code-table, .code-table tbody, .trophies-page .mission-table, .trophies-page .mission-table tbody { display: block; }
  .mission-log .mission-table tr, .code-table tr, .trophies-page .mission-table tr { padding: 9px 10px; border-bottom: 1px solid var(--line-soft); }
  .mission-log .mission-table tbody tr { display: grid; column-gap: 8px; grid-template-columns: 1.8rem minmax(0,1fr); }
  .mission-log .mission-table td, .mission-log .mission-table th, .code-table td, .code-table th, .trophies-page .mission-table td, .trophies-page .mission-table th { display: block; width: auto; padding: 0; border: 0; }
  .mission-log .mission-table td:first-child { grid-row: span 2; width: auto; text-align: center; }
  .mission-log .mission-table tbody th, .trophies-page .mission-table tbody th { width: auto; font-size: .98rem; }
  .mission-log .mission-table td:last-child { grid-column: 2; margin-top: 2px; }
  .code-shortcuts { margin-bottom: 10px; }
  .cheats-page .code-table { table-layout: auto; }
  .code-table tbody tr { display: grid; gap: 7px; padding: 13px 12px; }
  .code-table tbody th { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; font-size: 1.06rem; }
  .code-table tbody th br { display: none; }
  .code-table .mini-label { margin: 0; }
  .code-table .unlock-cell { line-height: 1.5; }
  .code-table .field-caption { position: static; width: auto; height: auto; margin: 0 0 2px; display: block; overflow: visible; clip-path: none; color: var(--muted); font: 650 .73rem/1.4 var(--mono); }
  .code-table .unlock-cell small { margin-top: 0; }
  .pad-combo { gap: 3px; }
  .pad-combo kbd { min-width: 23px; height: 25px; padding: 0 2px; }
  .grade-picker { gap: 4px; }
  .grade-picker button { flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 61px; padding: 6px 1px; }
  .grade-picker b { order: -1; font-size: 1.45rem; }
  .grade-name { font-size: .73rem; line-height: 1; }
  .trophies-page #hidden-trophies .spoiler-caption { margin: 0; }
  .trophies-page .mission-table tbody tr { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: baseline; gap: 4px 9px; padding: 11px 12px; }
  .trophies-page .trophy-grade { text-align: right; }
  .trophies-page .trophy-unlock { grid-column: 1 / -1; }
  .trophies-page .grade-badge { font-size: .77rem; }
  .map-page .atlas-frame { grid-template-columns: 1fr; height: auto; }
  .map-page .map-viewport { height: clamp(290px,82vw,385px); }
  .map-page .atlas-aside { display: grid; grid-template-columns: 87px minmax(0,1fr); }
  .location-photo { grid-area: 1 / 1; align-self: stretch; height: auto; min-height: 92px; }
  .map-page .place-details { grid-area: 1 / 2; padding: 10px 12px; }
  .location-photo[hidden] ~ .place-details { grid-column: 1 / -1; }
  .map-page .place-details h2 { font-size: 1.42rem; }
  .location-list-head, .map-page .place-list { grid-column: 1 / -1; }
  .location-list-head a { display: inline-flex; align-items: center; min-height: 33px; color: var(--aqua); font-size: .8rem; }
  .map-page .place-list { max-height: 194px; }
  .cast-section .cast-grid { grid-template-columns: 1fr; }
  .cast-image { height: auto; aspect-ratio: 2.45; }
  .cast-copy { padding: 12px 14px 15px; }
  .cast-contacts .cast-card { grid-template-columns: 92px minmax(0,1fr); }
  .cast-contacts .cast-image { aspect-ratio: auto; }
  #cal-hampton .cast-image img { object-position: 78% 41%; }
  .cast-contacts .cast-copy { padding: 11px; }
  .info-layout { grid-template-columns: 1fr; gap: 20px; padding-block: 19px 32px; }
  .site-info-nav { padding: 7px; }
  .site-info-nav h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .site-info-nav div { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 3px; }
  .site-info-nav a { justify-content: center; border-left: 0; border-bottom: 2px solid transparent; }
}

/* Browse long guides without leaving the current result set. */
.search-return {
  position: fixed;
  z-index: 5;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: max(16px, env(safe-area-inset-bottom, 0px));
  min-height: 44px;
  padding: 6px 13px;
  border: 1px solid var(--route, var(--coral));
  border-bottom-width: 3px;
  border-radius: 4px;
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 4px 14px rgb(0 0 0 / .38);
  font-size: .88rem;
  font-weight: 750;
}
.search-return:hover { background: var(--raised); }
.guide-controls { scroll-margin-top: 13px; }

.map-viewport[data-map-touch] { touch-action: pan-y pinch-zoom; }
.map-viewport[data-map-touch].is-touch-panning { touch-action: none; }
.atlas-main { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.atlas-main .map-viewport { flex: 1 0 auto; }
.map-switch-row { display: contents; }
.map-pan-toggle {
  display: none;
  min-height: 44px;
  gap: 8px;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid var(--frame);
  border-radius: 4px;
  color: var(--ink);
  background: var(--deep);
  font-size: .82rem;
  font-weight: 750;
}
.map-pan-toggle[aria-pressed="true"] { border-color: var(--aqua); }
.map-drag-state { color: var(--muted); font: 700 .72rem/1 var(--mono); }
.map-drag-state::after { content: "Off"; }
.map-pan-toggle[aria-pressed="true"] .map-drag-state::after { content: "On"; color: var(--aqua); }
@media (any-pointer: coarse) {
  .map-switch-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 4px 8px; border-top: 1px solid var(--lagoon-line); background: var(--deep); }
  .map-switch-row .map-level { position: static; }
  .map-pan-toggle { display: inline-flex; }
}

@media (max-width: 730px) {
  .section-art:is([data-section="missions"], [data-section="trophies"], [data-section="cheats"]) + .page-heading { padding-block: 14px 16px; }
  .section-art[data-section="cheats"] + .page-heading h1 { font-size: clamp(2rem, 8.6vw, 3.4rem); }
  .missions-page, .trophies-page, .cheats-page { padding-top: 16px; }
  .cheats-page .cheat-advice { padding: 8px 11px; margin-bottom: 5px; font-size: .88rem; line-height: 1.45; }
  .cheats-page .code-shortcuts a { min-height: 44px; font-size: .83rem; }
  .missions-page .chapter-index { margin-bottom: 11px; }
  .missions-page .chapter-index-links a { min-height: 44px; }
  .missions-page .mission-log > .notice { padding: 0 0 0 9px; margin-bottom: 9px; font-size: .86rem; background: transparent; }
  :is(.missions-page,.cheats-page) .guide-controls {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(119px,.6fr);
    align-items: end;
    padding: 9px;
  }
  :is(.missions-page,.cheats-page) .guide-controls select { min-width: 0; padding-inline: 7px; font-size: .83rem; }
  :is(.missions-page,.cheats-page) .guide-controls input { padding-inline: 8px; }
  :is(.missions-page,.cheats-page) .guide-controls .clear-control { justify-self: start; }
  :is(.missions-page,.cheats-page) [data-search-tables].is-filtering .guide-controls .filtered-count { text-align: right; }
  .trophies-page .trophy-progress {
    gap: 5px 8px;
    margin-bottom: 9px;
    padding: 9px 10px;
  }
  .trophies-page .trophy-progress .trophy-progress-title { font-size: 1.18rem; }
  .trophies-page .trophy-progress output { font-size: .76rem; }
  .trophies-page .trophy-progress small { font-size: .77rem; }
  .trophies-page .grade-picker { margin-bottom: 9px; }
  .trophies-page .grade-picker button { min-height: 48px; gap: 4px; padding-block: 4px; }
  .trophies-page .trophy-controls {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(108px,.68fr);
    align-items: center;
    gap: 3px 7px;
    padding: 0;
    margin-bottom: 11px;
    border: 0;
    background: transparent;
  }
  .trophies-page .trophy-controls input { background: var(--surface); padding-inline: 8px; }
  .trophies-page .trophy-controls select { min-width: 0; padding-inline: 7px; font-size: .83rem; background: var(--surface); }
  .trophies-page .trophy-controls .clear-control { justify-self: start; }
  .trophies-page .trophy-controls .filtered-count { grid-column: 2; justify-self: end; }
  :is(.missions-page,.trophies-page,.cheats-page) [data-search-tables]:not(.is-filtering) .guide-controls .filtered-count {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .trophies-page #hidden-trophies { margin-top: 0; margin-bottom: 15px; }
  .trophies-page #hidden-trophies > summary { min-height: 47px; gap: 3px 9px; padding: 8px 34px 8px 10px; }
  .trophies-page #hidden-trophies > summary strong { font-size: 1.22rem; }
  .trophies-page #hidden-trophies .spoiler-caption { font-size: .75rem; }
  .trophies-page #visible-trophies { margin-bottom: 8px; }
}
@media (max-width: 365px) {
  .section-art:is([data-section="missions"], [data-section="trophies"]) + .page-heading h1 { font-size: clamp(2.02rem,9.6vw,2.43rem); }
}
@media (max-width: 365px) and (max-height: 650px) {
  .section-art[data-section="cheats"] + .page-heading { padding-block: 10px 11px; }
  .section-art[data-section="cheats"] + .page-heading h1 { margin-block: 8px 6px; }
  .section-art[data-section="cheats"] + .page-heading p { font-size: .88rem; line-height: 1.42; }
  .cheats-page #console-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .cheats-page .cheat-advice { padding-block: 6px; font-size: .83rem; line-height: 1.4; }
  .cheats-page .code-shortcuts { margin-bottom: 6px; }
  .cheats-page .guide-controls { grid-template-columns: minmax(0,1fr) 134px; padding: 7px; margin-bottom: 8px; }
  .cheats-page .code-table tbody tr { gap: 5px; padding: 9px; }
}

/* Chapter 1 starter and progress */
.mission-start { margin: 0 0 12px; }
.mission-start > summary { color: var(--coral); }
.mission-start > summary span { margin-left: 6px; color: var(--muted); font-size: .8rem; }
.mission-start-content { padding: 0 14px 12px; }
.mission-start-content ol { padding-left: 1.25rem; margin: 2px 0 8px; }
.mission-start-content li { margin-bottom: 8px; }
.mission-start-links { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.mission-start-links a, .mission-answer-link { color: var(--coral); font-weight: 700; }
.mission-start-links a { display: inline-flex; align-items: center; min-height: 42px; }
.mission-log :is([data-mission-panel], [data-mission-answer], #chapter-1-missables) { scroll-margin-top: 12px; }
.mission-progress, .mission-checklist-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 12px;
}
.mission-progress { padding: 0 14px; border: 1px solid var(--line-soft); border-radius: 3px; background: var(--raised); }
.mission-progress label, .mission-check:has(input:not([hidden])) {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  cursor: pointer;
}
.mission-progress label { min-height: 42px; font-size: .83rem; font-weight: 700; }
.mission-progress small, .mission-checklist-header output { color: var(--muted); font-size: .78rem; }
.mission-progress input, .mission-check input { flex: none; width: 17px; height: 17px; margin: 0; accent-color: var(--coral); }
.mission-check input:checked + span { color: var(--coral); }
.mission-log .mission-checklist-header h3 { margin-bottom: 6px; }
.mission-checklist-header output { font: 650 .75rem/1.3 var(--mono); }
.mission-answer-link { display: inline-block; margin-top: 3px; font-size: .84rem; }
.mission-log .mission-no-unfinished { margin-top: 8px; }
.mission-walkthrough .mission-steps { margin: 0 14px 12px; padding-left: 1.45rem; }
.mission-steps li + li { margin-top: 8px; }
.mission-walkthrough .mission-next { padding: 8px 11px; border-left: 2px solid var(--coral); background: var(--raised); }
.mission-next > strong { display: block; margin-bottom: 2px; }
.mission-next a { color: var(--coral); }
.mission-browser:has(.mission-walkthrough[open]:not([hidden]), .mission-start[data-mission-answer][open]:not([hidden])) > .search-return { display: none; }
.chapter-route-link { margin: 8px 14px 12px; }
:is(#chapter-2, #chapter-3, #chapter-4, #chapter-5) [data-story-step] { scroll-margin-top: 12px; }
.mission-shot { max-width: 52rem; margin: 10px 0 14px; }
.mission-shot > a { display: block; cursor: zoom-in; }
.mission-shot img { width: 100%; height: auto; border: 1px solid var(--keyline); border-radius: 4px; background: var(--surface); }
.mission-shot figcaption { margin-top: 6px; color: var(--muted); font-size: .875rem; line-height: 1.45; }
.mission-shot figcaption small { display: block; margin-top: 3px; font-size: .78rem; }
.mission-log [data-mission-later-jobs] .table-wrap { padding: 0 0 4px; }
.mission-log [data-mission-later-jobs] table { border-top: 1px solid var(--line-soft); }
@media (max-width: 730px) {
  .mission-start > summary { min-height: 45px; padding-block: 10px; }
  .mission-start-content { padding-inline: 11px; }
  .mission-progress { padding-inline: 10px; }
  .mission-progress label { min-height: 40px; }
  .mission-log .guide-controls .filtered-count { grid-column: 1 / -1; justify-self: end; white-space: normal; }
  .mission-log .mission-table tbody tr:has(.mission-check) { padding-block: 7px; }
  .mission-log .mission-table tbody tr:has(.mission-check) td:first-child { padding-top: 5px; }
  .mission-log .mission-table tbody tr:has(.mission-check) td:last-child { margin-top: 0; }
}

.mission-map-label { display: block; margin-top: 4px; color: var(--muted); font-size: .76rem; }
.mission-story-steps { padding: 12px 16px; border-top: 1px solid var(--line-soft); }
.mission-story-steps h3 { margin-bottom: 5px; color: var(--coral); }
.mission-story-steps > .story-step-note { margin: 0 0 6px; color: var(--muted); font-size: .85rem; }
.story-step-list { list-style: none; margin: 0; padding: 0; }
.story-step-list li { padding: 8px 0; border-bottom: 1px solid var(--line-soft); }
.story-step-list li:last-child { border-bottom: 0; }
.story-step-list p { margin: 2px 0 0; color: var(--muted); font-size: .86rem; }
.story-step-list a { margin-left: 4px; }
@media (max-width: 730px) {
  .mission-story-steps { padding-inline: 11px; }
}

/* Full in-game Leonida atlas */
.map-page .atlas-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, .48fr) minmax(150px, .4fr) auto;
  align-items: end;
  gap: 10px;
}
.atlas-toolbar label {
  display: grid;
  gap: 5px;
  font-size: .83rem;
  font-weight: 700;
  min-width: 0;
}
.atlas-toolbar input, .atlas-toolbar select {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 7px 9px;
  border: 1px solid var(--frame);
  border-radius: 4px;
  background: var(--surface);
  color: var(--ink);
}
.map-page .atlas-toolbar .filtered-count {
  align-self: center;
  margin-inline: 3px;
}
.map-page .atlas-frame { height: clamp(530px, 68vh, 730px); }
.map-page .atlas-main .map-viewport { flex: 1 1 auto; background: #2f91ab; }
.map-base {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}
.map-page [data-map-ready] .map-base { inset: 0 auto auto 0; max-width: none; }
.map-page .map-marker {
  background: var(--aqua);
  color: var(--deep);
  width: 24px;
  height: 24px;
  font-size: .7rem;
}
.map-page .map-marker[data-type="Landmarks"] { background: var(--gold); }
.map-page .map-marker[data-type="Water & islands"] { background: #aff1e3; }
.map-page .map-marker[data-type="Shops & services"] { background: #aeea9c; }
.map-page .map-marker[data-type="Safehouses"] { background: var(--pink); }
.map-page .map-marker[data-type="Transport"] { background: #bed6ff; }
.map-page .map-marker[data-type="Activities"] { background: #ffd8ad; }
.map-page .map-marker[data-map-cluster] {
  width: max-content;
  min-width: 30px;
  height: 30px;
  padding-inline: 5px;
  background: var(--deep);
  color: var(--ink);
  border-color: var(--aqua);
}
.map-page .map-marker-label { display: none; }
.map-page .map-marker:is([aria-pressed="true"], :hover, :focus-visible) .map-marker-label { display: block; }
.map-page .map-marker[aria-pressed="true"] { background: var(--coral); z-index: 3; }
.map-page .map-marker:is(:focus, :hover) { z-index: 4; }
.map-page .map-controls button { font-size: 1.23rem; }
.atlas-source-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 18px;
  margin-block: 10px 18px;
}
.atlas-source-bar a { color: var(--aqua); font-size: .86rem; }
.map-page .location-list-head h2 { margin: 0; font: 800 1.2rem/1 var(--headline); text-transform: uppercase; }
.map-page .place-list { overscroll-behavior: contain; }
.map-page .place-list button { flex-wrap: wrap; gap: 3px 9px; }
.map-page .place-list button > span:first-child { min-width: 0; overflow-wrap: anywhere; font-weight: 700; color: var(--ink); }
.map-page .place-list button > span:last-child { font-size: .75rem; }
.map-page .place-details h2 { overflow-wrap: anywhere; }
.atlas-list-controls { display: flex; flex-wrap: wrap; gap: 5px; padding: 0 8px 6px; }
.atlas-list-controls:has(> :not([hidden])) { padding-block: 4px 8px; }
.atlas-list-controls .map-filter { min-height: 36px; padding-inline: 10px; }
.map-empty { margin: 7px 14px 0; font-size: .9rem; }
.map-empty p { margin: 0 0 8px; }

@media (max-width: 730px) {
  .map-page .atlas-toolbar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .map-page .atlas-toolbar .atlas-search { grid-column: 1 / -1; }
  .map-page .atlas-toolbar .filtered-count { grid-column: 1 / -1; margin: 0; }
  .map-page .atlas-frame { height: auto; }
  .map-page .map-viewport { height: clamp(340px, 94vw, 485px); }
  .map-page .atlas-aside { border-top: 1px solid var(--lagoon-line); border-left: 0; }
  .atlas-list-controls, .map-empty { grid-column: 1 / -1; }
}

/* Images for individual map locations */
.map-page .location-photo {
  display: grid;
  flex: none;
  height: auto;
  margin: 0;
  padding: 0;
  background: var(--deep);
}
.location-photo-open {
  display: block;
  position: relative;
  width: 100%;
  min-height: 100px;
  aspect-ratio: 16 / 9;
  padding: 0;
  background: transparent;
  color: var(--ink);
  border: 0;
}
.location-photo-open:not(:disabled) { cursor: zoom-in; }
.location-photo-open canvas {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.location-photo-open > span {
  position: absolute;
  bottom: 7px;
  right: 7px;
  padding: 3px 6px;
  font-size: .8rem;
  font-weight: 700;
  border-radius: 3px;
  background: var(--deep);
}
.location-photo-open:disabled > span { display: none; }
.location-photo figcaption {
  padding: 6px 10px;
  color: var(--muted);
  font-size: .77rem;
  line-height: 1.35;
  border-bottom: 1px solid var(--lagoon-line);
}
.location-image-dialog {
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--coral);
  border-radius: 6px;
  padding: 12px;
  width: min(960px, calc(100vw - 24px));
  max-height: calc(100dvh - 22px);
  overflow: auto;
}
.location-image-dialog::backdrop { background: rgb(11 8 19 / .83); }
.location-image-dialog-head { display: flex; flex-wrap: wrap; gap: 8px 12px; justify-content: space-between; align-items: center; margin-bottom: 9px; }
.location-image-dialog-head h2 { flex: 1 1 12rem; min-width: 0; margin: 0; font-size: clamp(1.35rem, 4vw, 1.8rem); overflow-wrap: anywhere; }
.location-image-actions { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
.location-image-actions form { margin: 0; }
.location-image-view { max-height: 65dvh; overflow: auto; overscroll-behavior: contain; }
.location-image-view canvas { display: block; width: auto; max-width: 100%; height: auto; max-height: 65dvh; margin-inline: auto; object-fit: contain; }
.location-image-view.is-actual-size canvas { max-width: none; max-height: none; }
.location-image-view:focus-visible { outline: 2px solid var(--aqua); outline-offset: -2px; }
.location-image-dialog > p { margin: 7px 0 0; color: var(--muted); font-size: .87rem; }
.location-image-dialog > p a { color: var(--aqua); }

@media (max-width: 730px) {
  .map-page .atlas-aside { display: flex; }
  .map-page .location-photo { min-height: 0; }
  .map-page .location-photo-open { aspect-ratio: 16 / 9; }
}

.atlas-location-jump { display: none; }
@media (any-pointer: coarse) {
  .atlas-location-jump { display: inline-flex; color: var(--aqua); font-size: .8rem; font-weight: 700; }
}
/* Guide search */
.guide-finder-trigger {
  display: inline-flex;
  align-self: center;
  align-items: center;
  justify-content: center;
  flex: none;
  gap: 8px;
  min-height: 40px;
  padding: 0 10px;
  border-radius: 4px;
  border: 1px solid var(--frame);
  background: var(--surface);
  color: var(--ink);
  font: 750 .86rem/1 var(--body);
}
.guide-finder-trigger:hover { border-color: var(--coral); background: var(--raised); }
.guide-finder-trigger kbd {
  padding: 2px 4px;
  border: 1px solid var(--keyline);
  border-radius: 3px;
  color: var(--muted);
  font: 600 .74rem/1.15 var(--mono);
}
.search-lens {
  position: relative;
  display: inline-block;
  flex: none;
  width: 13px;
  height: 13px;
  margin-right: 3px;
  border: 2px solid currentColor;
  border-radius: 50%;
}
.search-lens::after {
  position: absolute;
  width: 6px;
  height: 2px;
  right: -5px;
  bottom: -2px;
  border-radius: 1px;
  background: currentColor;
  transform: rotate(45deg);
  content: '';
}
.guide-finder {
  position: fixed;
  inset: clamp(12px, 7vh, 66px) 0 auto;
  width: min(610px, calc(100% - 28px));
  max-height: min(660px, 86vh);
  max-height: min(660px, 86dvh);
  padding: 18px;
  margin: 0 auto;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--frame);
  border-top: 3px solid var(--coral);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 20px 64px rgb(0 0 0 / .48);
}
.guide-finder::backdrop { background: rgb(13 9 15 / .76); }
body:has(.guide-finder[open]) { overflow: hidden; }
.guide-finder-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 13px; }
.guide-finder h2 { margin: 0; font: italic 900 clamp(1.55rem, 4.5vw, 2.1rem)/1 var(--headline); text-transform: uppercase; }
.guide-finder-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 4px;
  border: 1px solid var(--keyline);
  background: var(--deep);
  color: var(--ink);
  font: 750 1.5rem/1 var(--body);
}
.guide-finder-close:hover { border-color: var(--coral); }
.guide-finder-form { display: flex; align-items: center; gap: 10px; padding: 0 11px; border: 1px solid var(--frame); border-radius: 4px; background: var(--deep); }
.guide-finder-form:focus-within { border-color: var(--coral); }
.guide-finder-form .search-lens { color: var(--coral); }
.guide-finder-form input { min-width: 0; min-height: 46px; width: 100%; padding: 4px 0; border: 0; background: transparent; color: var(--ink); font: 650 1rem/1.25 var(--body); }
.guide-finder-form input:focus-visible { outline: none; }
.guide-finder-form input::placeholder { color: var(--muted); opacity: 1; }
.guide-finder-heading, .guide-finder-status { margin: 12px 0 7px; color: var(--muted); font: 650 .82rem/1.4 var(--body); }
.guide-finder-status:empty { position: absolute; margin: 0; }
.guide-finder-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.guide-finder-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.guide-finder-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  min-height: 44px;
  padding: 7px 12px;
  border: 1px solid var(--keyline);
  border-radius: 4px;
  background: var(--deep);
  color: var(--ink);
  text-decoration: none;
  font: 750 .9rem/1.28 var(--body);
}
.guide-finder-list a:is(:hover, :focus-visible) { border-color: var(--coral); background: var(--raised); }
.guide-finder-list a:focus-visible { outline-offset: -2px; }
.guide-finder-list a > span[aria-hidden] { flex: none; color: var(--coral); }
.guide-finder-results strong, .guide-finder-results small { display: block; overflow-wrap: anywhere; }
.mission-table [data-search-row]:target, .cast-card:target { outline: 2px solid var(--coral); outline-offset: -2px; }
.guide-finder-results small { margin-top: 3px; color: var(--muted); font-size: .76rem; font-weight: 600; }
@media (max-width: 1020px) {
  .header-inner { gap: 18px; }
  .site-nav { gap: 14px; }
  .guide-finder-trigger kbd { display: none; }
}
@media (max-width: 900px) {
  .site-nav { gap: 11px; }
  .site-nav .nav-home, .guide-finder-trigger .guide-finder-trigger-label { display: none; }
  .guide-finder-trigger { width: 40px; min-height: 40px; padding: 0; }
}
@media (max-width: 730px) {
  .guide-finder-trigger { width: 44px; height: 44px; min-height: 44px; padding: 0; color: var(--coral); border-color: var(--keyline); }
  .guide-finder-trigger .guide-finder-trigger-label { display: none; }
  .guide-finder { inset-block-start: 12px; padding: 12px; max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); }
  .guide-finder-header { margin-bottom: 9px; }
  .guide-finder-form input { min-height: 44px; }
  .guide-finder-list a { padding: 7px 8px; }
}
