@font-face {
  font-family: Inter;
  src: url("inter.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #081426;
  --surface: #102237;
  --surface-high: #152c44;
  --border: #263c53;
  --foreground: #e8f1f7;
  --muted: #a9bed0;
  --cyan: #25d1f4;
  --orange: #f9851f;
  --on-orange: #1a140e;
  --on-cyan: #061827;
  --header: #091728;
  --font: Inter, system-ui, sans-serif;
}

:root[data-theme="light"] {
  color-scheme: light;
  --background: #f3f8fb;
  --surface: #ffffff;
  --surface-high: #edf5fa;
  --border: #cadce6;
  --foreground: #12263d;
  --muted: #455f73;
  --cyan: #076a83;
  --on-cyan: #ffffff;
  --header: #ffffff;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 6rem; }
body { margin: 0; background: var(--background); color: var(--foreground); font: 400 1rem/1.65 var(--font); }
a { color: inherit; }
button, input { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p, dl, dd { margin: 0; }
h1, h2, h3, h4 { line-height: 1.16; letter-spacing: -.04em; }
h2 { font-size: clamp(1.9rem, 3.5vw, 3.15rem); }
h3 { font-size: 1.23rem; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; z-index: 5; top: 1rem; left: 1rem; transform: translateY(-180%); padding: .6rem 1rem; background: var(--surface); }
.skip-link:focus { transform: translateY(0); }

.wrap { width: min(100% - 5rem, 72rem); margin-inline: auto; }
.section { padding-block: 4.5rem; }
.site-header { position: sticky; inset-block-start: 0; z-index: 3; background: var(--header); border-bottom: 1px solid var(--border); }
.topbar { min-height: 4.5rem; display: flex; gap: 1.5rem; justify-content: space-between; align-items: center; }
.brand { display: inline-flex; gap: .72rem; align-items: center; text-decoration: none; font-size: 1.09rem; font-weight: 760; letter-spacing: -.035em; white-space: nowrap; }
.brand b { color: var(--cyan); font-weight: 760; }
.brand img { object-fit: contain; }
.site-nav, .header-actions { display: flex; gap: 1.4rem; align-items: center; }
.header-actions { gap: .45rem; }
.site-nav a { font-size: .92rem; color: var(--muted); font-weight: 620; text-decoration: none; white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--cyan); }
.site-nav .nav-guides, .nav-guides { display: inline-flex; align-items: center; min-height: 2.6rem; padding-inline: .72rem; border: 1px solid var(--cyan); border-radius: .6rem; color: var(--cyan); background: var(--surface-high); font-size: .9rem; font-weight: 750; text-decoration: none; white-space: nowrap; }
.nav-guides:hover { background: var(--surface); }
.mobile-guides { display: none; }
.icon-button { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border: 1px solid var(--border); border-radius: .6rem; background: var(--surface); color: var(--foreground); cursor: pointer; }
.icon-button:hover { color: var(--cyan); border-color: var(--cyan); }
.locale-picker { position: relative; }
.locale-picker summary { display: grid; place-items: center; min-width: 2.6rem; min-height: 2.6rem; padding-inline: .32rem; border: 1px solid var(--border); border-radius: .6rem; background: var(--surface); font-size: .82rem; font-weight: 700; cursor: pointer; list-style: none; }
.locale-picker summary::-webkit-details-marker { display: none; }
.locale-picker summary:hover, .locale-picker[open] summary { border-color: var(--cyan); color: var(--cyan); }
.locale-picker ul { position: absolute; inset: calc(100% + .4rem) 0 auto auto; min-width: 9rem; padding: .3rem; margin: 0; border: 1px solid var(--border); border-radius: .65rem; background: var(--surface); box-shadow: 0 .4rem 1rem #0004; list-style: none; }
.locale-picker a { display: block; padding: .48rem .65rem; border-radius: .35rem; font-size: .9rem; text-decoration: none; white-space: nowrap; }
.locale-picker a:hover, .locale-picker a[aria-current] { background: var(--surface-high); color: var(--cyan); }
.theme-toggle, .menu-toggle { display: none; }
[data-js] .theme-toggle { display: grid; }
.search-icon { width: .85rem; height: .85rem; border: 1.6px solid currentColor; border-radius: 50%; position: relative; }
.search-icon::after { content: ""; position: absolute; left: 83%; top: 78%; width: .35rem; height: 1.6px; border-radius: 1px; background: currentColor; transform: rotate(45deg); transform-origin: left; }
.theme-icon::before { content: "☀"; font-size: 1.15rem; line-height: 1; }
[data-theme="light"] .theme-icon::before { content: "☾"; }
.menu-icon { width: 1rem; height: .7rem; border-block: 2px solid currentColor; position: relative; }
.menu-icon::after { content: ""; position: absolute; background: currentColor; height: 2px; width: 100%; top: calc(50% - 1px); }

.guide-directory { --guide-overlap: 2rem; display: flow-root; scroll-margin-block-start: var(--guide-overlap); }
.guide-subnav { position: relative; margin-block-start: calc(-1 * var(--guide-overlap)); }
.guide-subnav ul { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .2rem; padding: .35rem; margin: 0; border: 1px solid var(--border); border-radius: .85rem; background: var(--surface); box-shadow: 0 .75rem 2rem #020b1438; list-style: none; }
.guide-subnav li + li { border-inline-start: 1px solid var(--border); }
.guide-subnav a { display: flex; align-items: center; justify-content: space-between; gap: .45rem; min-height: 2.9rem; padding: .48rem .82rem; border-radius: .4rem; color: var(--foreground); font-size: .9rem; font-weight: 650; line-height: 1.35; text-decoration: none; }
.guide-subnav a::after { content: ""; flex: 0 0 .42rem; height: .42rem; margin-inline-end: .15rem; border-block-start: 1px solid; border-inline-end: 1px solid; color: var(--muted); transform: rotate(45deg); }
.guide-subnav a:hover, .guide-subnav a:focus-visible { color: var(--cyan); background: var(--surface-high); }
.guide-subnav a:hover::after { color: var(--cyan); }
.guide-subnav a[data-guide-filter="all"] { color: var(--cyan); font-weight: 750; }
.guide-subnav a[aria-current] { color: var(--cyan); background: var(--surface-high); box-shadow: inset 0 0 0 1px var(--cyan); }

.hero {
  --hero-position: center 50%;
  position: relative;
  isolation: isolate;
  background-color: #061426;
  background-image:
    linear-gradient(90deg, #061426c0, #06142658 48%, #06142600 76%),
    linear-gradient(0deg, #081426 0%, #08142600 28%),
    url("ocean-hero.webp");
  background-size: cover;
  background-position: var(--hero-position);
  color: #f3f9ff;
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--hero-position); }
.hero-video:fullscreen { object-fit: contain; object-position: center; background: #000; }
.hero[data-trailer-open]::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, #061426ea, #061426c0 34%, #06142628 66%, transparent 80%); }
.hero-copy { position: relative; z-index: 2; min-height: clamp(24rem, 37vw, 33rem); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-top: 1.5rem; padding-bottom: 4.8rem; }
.hero[data-trailer-open] .hero-copy { pointer-events: none; }
.hero[data-trailer-open] .hero-actions a, .hero-trailer-close { pointer-events: auto; }
.hero[data-trailer-open] + .guide-directory { --guide-overlap: 0rem; }
.hero[data-trailer-open] + .guide-directory .guide-subnav { margin-block-start: .65rem; }
.eyebrow, .overline { font-size: .875rem; line-height: 1.5; text-transform: uppercase; letter-spacing: .14em; font-weight: 750; color: var(--cyan); }
.eyebrow { display: flex; align-items: center; gap: .55rem; color: #73e8ff; }
.hero-dot { width: .43rem; height: .43rem; background: #25d1f4; border-radius: 50%; }
.hero h1 { max-width: 100%; text-wrap: balance; font-size: clamp(3.6rem, 7.7vw, 7.25rem); font-weight: 850; line-height: 1.04; letter-spacing: -.076em; margin-top: .85rem; }
.hero h1 span { color: #47dbf8; }
.hero-description { max-width: min(35rem, 58%); margin-top: 1.25rem; font-size: clamp(1rem, 1.5vw, 1.17rem); color: #c4d7e5; }
.hero-actions, .feature-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1rem; }
.hero-actions { margin-top: 2rem; }
.button { min-height: 2.95rem; display: inline-flex; align-items: center; justify-content: center; padding: .68rem 1.12rem; border: 1px solid transparent; border-radius: .53rem; text-decoration: none; font-weight: 730; line-height: 1.22; font-size: .95rem; cursor: pointer; text-align: center; }
.primary { color: var(--on-orange); background: var(--orange); }
.primary:hover { background: #ffa054; }
.hero-outline { color: #f1faff; background: #0a203675; border-color: #6fadc2; }
.hero-outline:hover { background: #163951; border-color: #73e8ff; }
.secondary { color: var(--foreground); background: var(--surface-high); border-color: var(--border); }
.secondary:hover { border-color: var(--cyan); }
.text-link { text-underline-offset: .24em; font-weight: 660; color: var(--cyan); }
.hero :is(.button, .hero-play, .hero-trailer-close, .hero-video):focus-visible { outline-color: #73e8ff; }
.hero-video:focus-visible { outline-offset: -4px; }
.hero-trailer { position: absolute; inset-block-start: 50%; inset-inline-end: clamp(1rem, 14vw, 10rem); transform: translateY(-50%); }
.hero[data-trailer-open] .hero-trailer { display: none; }
.hero-play { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 0; border-radius: 50%; background: var(--orange); color: var(--on-orange); cursor: pointer; }
.hero-play::after { content: ""; margin-inline-start: .14rem; border-block: .41rem solid transparent; border-inline-start: .66rem solid currentColor; }
.hero-play:hover { background: #ffa054; }
.hero-trailer-close { position: absolute; inset-block-start: .9rem; inset-inline-end: 0; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 1px solid #9fd7e68c; border-radius: 50%; background: #081b2cdb; color: #f3f9ff; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.hero-trailer-close:hover { border-color: #73e8ff; background: #102d43; }
.hero-trailer-error { position: absolute; inset-block-start: calc(100% + .4rem); inset-inline-end: 0; width: 12rem; margin: 0; padding: .4rem .62rem; border-radius: .4rem; background: #061426f2; color: #f3f9ff; font-size: .82rem; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--surface); border: 1px solid var(--border); border-radius: .9rem; box-shadow: 0 1rem 2.7rem #020b1440; }
.stats > div { padding: 1rem 1.3rem; min-width: 0; }
.stats > div + div { border-left: 1px solid var(--border); }
.stats dt { font-size: .875rem; font-weight: 600; color: var(--muted); }
.stats dd { font-size: clamp(1.02rem, 1.7vw, 1.45rem); font-weight: 740; letter-spacing: -.035em; line-height: 1.3; margin-top: .22rem; }
.stats dd a { text-decoration: none; }
.stats dd a:hover { color: var(--cyan); }
.overline { margin-bottom: .5rem; }

.guide-card { background: var(--surface); border: 1px solid var(--border); border-radius: .8rem; padding: 1.28rem; }
.guide-card:focus-within, .guide-card:hover { background: var(--surface-high); border-color: var(--cyan); }
.guide-card p { color: var(--muted); line-height: 1.55; margin-top: .55rem; }

.library { background: var(--surface); border-block: 1px solid var(--border); }
.guide-subnav + .library { margin-block-start: clamp(1.15rem, 3vw, 1.75rem); }
.library.section { padding-block-start: clamp(1.5rem, 3.4vw, 2.7rem); }
.section-lead { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: .9rem 1.5rem; align-items: center; }
.guide-overview p { max-width: 32rem; margin-block-start: .45rem; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.guide-search { display: flex; align-items: center; min-width: 0; gap: .65rem; padding: .32rem; padding-left: 1rem; background: var(--background); border: 1px solid var(--border); border-radius: .65rem; }
.guide-search:focus-within { border-color: var(--cyan); }
.guide-search .search-icon { flex: 0 0 .85rem; color: var(--muted); }
.guide-search input { flex: 1; border: 0; min-width: 0; padding: .6rem .2rem; color: var(--foreground); background: transparent; }
.guide-search input::placeholder { color: var(--muted); }
.guide-search input:focus-visible { outline: 0; }
.guide-search input::-webkit-search-cancel-button { display: none; }
.search-submit { background: var(--cyan); color: var(--on-cyan); min-height: 2.5rem; }
.search-submit:hover { filter: brightness(.9); }
.clear-search { border: 0; color: var(--muted); background: none; padding: .3rem; cursor: pointer; font-size: .875rem; }
.clear-search:hover { color: var(--cyan); }
.filters { display: none; flex-wrap: wrap; gap: .55rem; margin-top: 1.4rem; }
[data-js] .filters { display: flex; }
.filters button { background: var(--background); border: 1px solid var(--border); border-radius: 2rem; padding: .39rem .85rem; cursor: pointer; font-size: .875rem; font-weight: 630; }
.filters button:hover, .filters button[aria-pressed="true"] { border-color: var(--cyan); color: var(--cyan); }
.guide-status { color: var(--muted); font-size: .875rem; margin-top: .8rem; }
.guide-group { margin-top: 1.75rem; }
.guide-group > h3 { font-size: 1.21rem; margin-bottom: .6rem; }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; }
.guide-card { background: var(--background); position: relative; }
.guide-card h4 { font-size: 1.12rem; }
.guide-card h4 a { text-decoration: none; }
.guide-card h4 a::after { position: absolute; inset: 0; content: ""; }
.guide-card:hover h4 a { color: var(--cyan); }
.guide-card p { font-size: .95rem; }
.guide-edition { display: block; color: var(--muted); font-size: .875rem; font-weight: 650; margin-top: .65rem; }
.guide-edition.edition-new { color: var(--cyan); }

.update-feature { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); align-items: center; gap: 2rem 3.25rem; border-bottom: 1px solid var(--border); }
.update-label { color: #f9851f; }
[data-theme="light"] .update-label { color: #a64803; }
.update-copy h2 { font-size: clamp(2.5rem, 5.3vw, 4.85rem); }
.update-copy > p:not(.overline), .about-game p, .final-section p { color: var(--muted); margin-top: .9rem; }
.feature-actions { margin-top: 1.35rem; }
.atlas-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .4rem 1rem; }
.atlas-controls { display: flex; gap: .3rem; }
.atlas-controls button { min-width: 2.5rem; min-height: 2.5rem; padding-inline: .45rem; border: 1px solid var(--border); border-radius: .4rem; background: var(--surface); color: var(--foreground); cursor: pointer; }
.atlas-controls button:disabled { cursor: default; opacity: .45; }
.atlas-note { margin-bottom: .8rem; color: var(--muted); }
.atlas-viewport { overflow: auto; max-height: 39rem; border: 1px solid var(--border); border-radius: .65rem; background: #081827; }
.atlas-plot { display: block; width: 100%; min-width: 31rem; color: #e4f5fb; }
.atlas-plot text { fill: currentColor; font-size: 14px; font-weight: 700; paint-order: stroke; stroke: #081827; stroke-width: 3px; }
.atlas-water { fill: #081827; }
.atlas-grid { fill: none; stroke: #2d5164; stroke-dasharray: 4 5; }
.atlas-leader { fill: none; stroke: #8baebc; stroke-width: 1.25; }
.atlas-marker { fill: #4cdcf0; stroke: #081827; stroke-width: 1.5; }
.atlas-marker.atlas-origin { fill: #ffb472; }
.atlas-plot .atlas-scale { fill: #a8c4d0; font-size: 11px; }
.atlas-waypoints { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: .25rem 1rem; margin-top: .55rem; font-size: .9rem; }
.atlas-waypoints > div { padding: .35rem 0; }
.atlas-waypoints dt { font-weight: 700; }
.atlas-waypoints dd { color: var(--muted); }
.atlas-waypoints a { color: var(--cyan); text-underline-offset: .22em; }
.map-intro { margin-bottom: 1rem; color: var(--muted); }
.map-controls .filters { margin-top: 0; }
.map-controls .filters button { min-height: 2.75rem; }
.map-selection { margin-block: .65rem .85rem; color: var(--muted); font-size: .875rem; }
.map-route-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: 1rem; }
.map-route-card { display: grid; justify-items: start; align-content: start; gap: .6rem; padding: .9rem; background: var(--surface); border: 1px solid var(--border); border-radius: .65rem; }
.map-route-card h3, .map-update-routes h3 { font-size: 1.1rem; }
.map-route-card .route-steps { width: 100%; }
.map-update-routes { margin-top: 1.15rem; padding: .9rem 1rem; background: var(--surface); border: 1px solid var(--border); border-radius: .65rem; }
.map-update-routes p { margin-block: .3rem .65rem; color: var(--muted); font-size: .95rem; }
.map-route-links { display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem 1rem; }
.article-map-link { margin-bottom: 1.25rem; }

.about-game { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); align-items: start; gap: 2rem 4rem; }
.site-faq { display: grid; grid-template-columns: minmax(0, .55fr) minmax(0, 1fr); gap: 1.1rem 3rem; align-items: start; border-top: 1px solid var(--border); }
.faq-list { min-width: 0; border: 1px solid var(--border); border-radius: .85rem; background: var(--surface); }
.faq-list details + details { border-top: 1px solid var(--border); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 2.95rem; padding: .75rem 1rem; font-weight: 690; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: 0 0 .49rem; height: .49rem; margin-inline-end: .25rem; border-inline-end: 1px solid currentColor; border-block-end: 1px solid currentColor; transform: rotate(45deg) translateY(-.12rem); }
.faq-list summary:hover, .faq-list details[open] summary { color: var(--cyan); }
.faq-list details[open] summary::after { transform: rotate(225deg) translateY(-.12rem); }
.faq-list summary:focus-visible { outline-offset: -3px; border-radius: .4rem; }
.faq-answer { padding: 0 1rem .95rem; color: var(--muted); }
.faq-answer .text-link { display: inline-block; margin-block-start: .55rem; }
.game-facts { background: var(--surface); border: 1px solid var(--border); border-radius: .8rem; padding: .35rem 1.2rem; }
.game-facts > div { display: flex; justify-content: space-between; gap: 1rem; padding-block: .58rem; }
.game-facts > div + div { border-top: 1px solid var(--border); }
.game-facts dt { color: var(--muted); font-size: .9rem; }
.game-facts dd { text-align: right; font-size: .9rem; font-weight: 650; }

.final-section { display: flex; align-items: center; justify-content: space-between; gap: 1.4rem 3rem; padding: 2.1rem; margin-block: .5rem 4.5rem; border-radius: .85rem; border: 1px solid var(--border); background: var(--surface); }
.final-section h2 { font-size: clamp(1.65rem, 2.6vw, 2.35rem); }
.final-section p { max-width: 36rem; }
.final-section .feature-actions { flex: 0 0 auto; margin-top: 0; }
.site-footer { border-top: 1px solid var(--border); background: var(--header); padding-block: 2.15rem 1.25rem; }
.footer-main { display: flex; justify-content: space-between; gap: 1.4rem 3rem; }
.footer-main p { margin-top: .45rem; max-width: 34rem; color: var(--muted); }
.site-footer nav { display: flex; align-content: start; align-items: flex-start; flex-wrap: wrap; gap: .55rem 1.15rem; }
.site-footer nav a { text-decoration: none; color: var(--muted); font-size: .88rem; font-weight: 580; }
.site-footer nav a:hover { color: var(--cyan); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .55rem 2rem; border-top: 1px solid var(--border); padding-top: 1rem; margin-top: 1.5rem; font-size: .875rem; color: var(--muted); }

.article-hero { padding-block: 2.7rem 3rem; border-bottom: 1px solid var(--border); background: radial-gradient(ellipse at top right, var(--surface-high), var(--background) 65%); }
.breadcrumbs { display: flex; gap: .55rem; font-size: .92rem; color: var(--muted); margin-bottom: .8rem; }
.breadcrumbs a { color: var(--cyan); text-underline-offset: .22em; }
.article-hero h1, .simple-page h1 { font-weight: 800; font-size: clamp(2.65rem, 5.4vw, 4.55rem); }
.article-summary { max-width: 49rem; font-size: 1.19rem; color: var(--muted); margin-top: .8rem; }
.article-version { max-width: 49rem; border: 1px solid var(--border); border-left: 3px solid var(--cyan); border-radius: .45rem; background: var(--surface); padding: .75rem 1rem; margin-top: 1.15rem; }
.article-version.edition-legacy { border-left-color: var(--orange); }
.article-version strong { font-size: .94rem; }
.article-version p { color: var(--muted); margin-top: .18rem; }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(13rem, .35fr); align-items: start; gap: 2rem 3.4rem; padding-block: 2.5rem 4rem; }
.article-body section + section { margin-top: 2.1rem; }
.article-body h2, .simple-page h2 { font-size: clamp(1.43rem, 2.5vw, 2rem); margin-bottom: .7rem; }
.article-body section > p, .article-body section > ul { max-width: 72ch; }
.article-body p + p, .simple-page p + p { margin-top: .9rem; }
.article-body ul, .article-aside ul { padding-left: 1.3rem; }
.article-body li + li { margin-top: .38rem; }
.route-figure { margin: 0; max-width: 49rem; }
.route-image { border: 1px solid var(--border); border-radius: .85rem; width: min(100%, 45rem); }
.route-steps { display: none; }
.route-figure figcaption { margin-top: .65rem; color: var(--muted); font-size: .9rem; }
.route-figure figcaption p + p { margin-top: .25rem; }
.screenshot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.screenshot-card { margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: .7rem; }
.screenshot-card:only-child { grid-column: 1 / -1; }
.screenshot-card a { display: block; position: relative; border-radius: .7rem .7rem 0 0; background: #071522; cursor: zoom-in; }
.screenshot-card a:hover { outline: 1px solid var(--cyan); }
.screenshot-card img { width: 100%; height: auto; border-radius: inherit; }
.screenshot-zoom { position: absolute; bottom: .5rem; right: .5rem; padding: .23rem .5rem; border-radius: .3rem; background: #081426ee; color: #e8f1f7; font-size: .875rem; font-weight: 650; }
.screenshot-card figcaption { padding: .65rem .85rem .8rem; line-height: 1.5; }
.screenshot-caption { display: block; }
.screenshot-viewer { max-width: min(72rem, calc(100% - 2rem)); max-height: calc(100% - 2rem); padding: 0; border: 1px solid var(--border); border-radius: .8rem; background: var(--surface); color: var(--foreground); }
.screenshot-viewer::backdrop { background: #020817da; }
.screenshot-viewer-panel { padding: .8rem; }
.screenshot-viewer-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: .55rem; }
.screenshot-viewer-header h2 { font-size: 1.1rem; margin: 0; }
.screenshot-viewer img { width: auto; height: auto; max-height: 75vh; margin-inline: auto; object-fit: contain; }
.screenshot-viewer-caption { color: var(--muted); white-space: pre-line; padding-top: .6rem; }
.article-aside a { color: var(--cyan); text-underline-offset: .22em; }
.article-aside { background: var(--surface); border: 1px solid var(--border); border-radius: .8rem; padding: 1.2rem; }
.article-aside h2 { font-size: 1.21rem; }
.article-aside li { margin-block: .3rem; }
.article-contents { border-bottom: 1px solid var(--border); padding-bottom: .9rem; margin-bottom: 1.1rem; }
.article-contents ul { margin: .65rem 0 0; padding: 0; list-style: none; }
.article-contents a { display: block; line-height: 1.4; padding-block: .25rem; }
.article-body h2[id] { scroll-margin-top: 1rem; }
.simple-page { padding-block: 3rem 4rem; }
.simple-page section { max-width: 48rem; margin-top: 1.75rem; }

@media (max-width: 1000px) {
  .wrap { width: min(100% - 3rem, 72rem); }
  .site-nav { gap: .8rem; }
  .article-grid { gap: 1.8rem; }
  .final-section { flex-wrap: wrap; }
}

@media (max-width: 900px) {
  .hero-description { max-width: min(35rem, 100%); }
  .hero-trailer { position: relative; inset: auto; transform: none; margin-block-start: .85rem; }
  .hero-trailer-error { inset-inline: 0 auto; }
}

@media (max-width: 790px) {
  html { scroll-padding-top: 1rem; }
  .wrap { width: min(100% - 2rem, 72rem); }
  .section { padding-block: 3rem; }
  .topbar { min-height: 4rem; gap: .6rem; }
  .site-header { position: relative; }
  .topbar { flex-wrap: wrap; }
  .site-nav { order: 3; width: 100%; flex-wrap: wrap; gap: .62rem 1rem; padding-bottom: .85rem; }
  .site-nav .nav-guides { display: none; }
  .mobile-guides { display: inline-flex; }
  [data-js] .menu-toggle { display: grid; }
  [data-js] [data-site-nav][data-nav-open="false"] { display: none; }
  .hero { --hero-position: 63% 50%; }
  .hero[data-trailer-open]::after { background: linear-gradient(90deg, #061426e0, #06142683); }
  .hero-copy { min-height: 23rem; padding-bottom: 3.6rem; }
  .hero h1 { font-size: clamp(3rem, 9.3vw, 5.5rem); }
  .hero-description { max-width: 29rem; }
  .guide-directory { --guide-overlap: 1.4rem; }
  .guide-subnav ul { display: flex; flex-wrap: wrap; gap: .12rem .2rem; }
  .guide-subnav li + li { border-inline-start: 0; }
  .guide-subnav a { min-height: 2.75rem; padding: .35rem .52rem; font-size: .83rem; }
  .guide-subnav a::after { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats > div { padding: .85rem 1rem; }
  .stats > div:nth-child(3) { border-left: 0; }
  .stats > div:nth-child(n + 3) { border-top: 1px solid var(--border); }
  .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-lead, .update-feature, .about-game, .site-faq, .article-grid { grid-template-columns: minmax(0, 1fr); }
  .final-section { padding: 1.3rem; margin-bottom: 3rem; }
  .footer-main { flex-wrap: wrap; }
  .article-hero { padding-block: 2rem; }
}

@media (max-width: 440px) {
  .brand { gap: .42rem; font-size: 1rem; }
  .brand img { width: 38px; height: 38px; }
  .header-actions { gap: .3rem; }
  .icon-button { width: 2.22rem; height: 2.22rem; }
  .locale-picker summary { min-width: 2.22rem; min-height: 2.22rem; }
  .nav-guides { min-height: 2.22rem; padding-inline: .47rem; font-size: .83rem; }
  .hero { --hero-position: 58% 50%; }
  .hero-actions { gap: .55rem; margin-top: 1.35rem; }
  .hero-actions .button { min-height: 2.7rem; font-size: .87rem; padding: .59rem .7rem; }
  .guide-grid { grid-template-columns: minmax(0, 1fr); }
  .guide-search { gap: .4rem; padding-left: .7rem; }
  .search-submit { font-size: .875rem; padding-inline: .65rem; }
  .final-section .feature-actions { flex: auto; }
}

@media (max-width: 620px) {
  .screenshot-grid { grid-template-columns: minmax(0, 1fr); }
  .screenshot-viewer { max-width: calc(100% - 1rem); }
  .route-image { display: none; }
  .route-steps { display: block; list-style: none; counter-reset: checkpoint; padding: .9rem .9rem 0; margin: 0; border-radius: .75rem; border: 1px solid var(--border); background: var(--surface); }
  .article-body .route-steps li { position: relative; padding: 0 0 1.15rem 2.55rem; margin: 0; counter-increment: checkpoint; }
  .route-steps li::before { content: counter(checkpoint); position: absolute; z-index: 1; inset: .03rem auto auto 0; display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border: 1px solid var(--cyan); border-radius: 50%; background: var(--background); color: var(--cyan); font-weight: 750; }
  .route-steps li:not(:last-child)::after { content: ''; position: absolute; inset: 0 auto 0 .88rem; border-left: 1px dashed var(--cyan); }
  .route-steps li:last-child::before { border-color: var(--orange); }
  .route-steps strong, .route-steps span { display: block; }
  .route-steps span { color: var(--muted); }
}
