

@font-face { font-family: 'Archivo'; src: url(/fonts/archivo-variable.woff2?v=e892156de4bd) format('woff2'); font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #0d131e;
  --bg-dark: #090e17;
  --panel: #141c2a;
  --panel-2: #1b2537;
  --border: #253046;
  --border-2: #36435c;
  --text: #ece6d8;
  --text-2: #c2bba9;
  --text-3: #938d7f;
  --gold: #f2c66a;
  --gold-light: #f7d68f;
  --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --wrap: 1180px;
  --gutter: 20px;
  --header: 60px;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header) + 16px); }
body { margin: 0; min-height: 100vh; font: 400 1rem/1.6 var(--font); color: var(--text-2); background: var(--bg); overflow-x: hidden; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; color: var(--text); font-weight: 700; line-height: 1.25; }
h1 { font-size: 2rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.1rem; }
p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.skip { position: absolute; z-index: 100; left: 12px; top: -60px; padding: 8px 14px; background: var(--gold); color: #1d1507; font-weight: 600; }
.skip:focus { top: 12px; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap.narrow { width: min(820px, 100% - 2 * var(--gutter)); }

.btn { display: inline-block; padding: 9px 18px; border: 1px solid transparent; border-radius: 4px; font-weight: 600; font-size: 1rem; line-height: 1.3; text-align: center; white-space: nowrap; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--gold); color: #1d1507; }
.btn-primary:hover { background: var(--gold-light); }
.btn-secondary { background: transparent; border-color: var(--border-2); color: var(--text); }
.btn-secondary:hover { background: var(--panel-2); }
.btn-small { padding: 6px 14px; font-size: .95rem; }
.btn-block { display: block; width: 100%; }
.btn .discord-icon { display: inline-block; width: 18px; height: 18px; margin-right: 7px; vertical-align: -3px; }
.buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.note { font-size: .92rem; color: var(--text-3); }
.spots { font-weight: 600; color: var(--text); }

.site-header { position: sticky; top: 0; z-index: 20; background: var(--bg-dark); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header); width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.logo { display: flex; align-items: center; gap: 10px; flex: none; color: var(--text); font-weight: 700; font-size: 1.1rem; }
.logo:hover { text-decoration: none; }
.logo img { width: 36px; height: 36px; }
.site-nav { display: flex; gap: 22px; margin-left: auto; }
.site-nav a { color: var(--text-2); }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--text); }
.site-nav a[aria-current] { text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--gold); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-discord { display: flex; color: var(--text-2); }
.header-discord:hover { color: var(--text); }
.header-discord svg { width: 22px; height: 22px; }
.menu-button { display: none; padding: 6px 12px; border: 1px solid var(--border-2); border-radius: 4px; background: none; font-size: .95rem; }


.intro { position: relative; display: flex; align-items: center; min-height: clamp(540px, 80vh, 860px); background: var(--bg-dark); border-bottom: 1px solid var(--border); overflow: hidden; }
.intro-media { position: absolute; inset: 0; background: #000; }
.intro-still, .intro-video { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.intro-media::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(9, 14, 23, .94) 0%, rgba(9, 14, 23, .88) 28%, rgba(9, 14, 23, .55) 46%, rgba(9, 14, 23, .12) 64%, rgba(9, 14, 23, 0) 78%), linear-gradient(0deg, rgba(9, 14, 23, .7) 0%, rgba(9, 14, 23, 0) 20%); }
.intro-note { position: absolute; z-index: 2; right: 56px; bottom: 16px; max-width: calc(100% - 80px); padding: 3px 9px; border-radius: 4px; background: rgba(9, 14, 23, .72); font-size: .82rem; color: var(--text-2); }
.intro .pause-button { z-index: 2; right: 14px; bottom: 12px; }
.intro-grid { position: relative; z-index: 1; padding: 48px 0 56px; }
.intro-text { max-width: 470px; }
.wordmark { width: 100%; max-width: 420px; margin-left: -6px; }
.tagline { margin-top: 2px; color: var(--text-2); font-style: italic; }
.intro-line { margin-top: 16px; font-size: 1.2rem; color: var(--text); }
.intro .buttons { margin-top: 22px; }
.intro-watch { margin-top: 12px; }
.btn-watch { display: inline-flex; align-items: center; gap: 10px; border-color: var(--border-2); background: rgba(9, 14, 23, .6); color: var(--text); }
.btn-watch::before { content: ''; width: 11px; height: 13px; background: var(--gold); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.btn-watch:hover { background: var(--panel-2); }
.intro .spots, .intro .note { margin-top: 12px; }
.players { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; margin-top: 12px; font-size: .92rem; color: var(--text-3); }
.intro .players { justify-content: flex-start; }
.players b { color: var(--text); font-weight: 600; }
.lamp { display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: #6d7686; vertical-align: 1px; }
.lamp.is-online { background: #58d67f; }

.video-box { position: relative; background: #000; border-radius: 4px; overflow: hidden; }
.video-box video { position: relative; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.video-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pause-button { position: absolute; right: 10px; bottom: 10px; display: none; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 4px; background: rgba(0, 0, 0, .6); color: #fff; }
.pause-button:hover { background: rgba(0, 0, 0, .85); }

.intro-video, .video-box video { visibility: hidden; }
.js .intro-video, .js .video-box video { visibility: visible; }
.js .pause-button { display: grid; }
.pause-button::before { content: ''; width: 12px; height: 14px; background: currentColor; clip-path: polygon(0 0, 35% 0, 35% 100%, 0 100%, 0 0, 65% 0, 100% 0, 100% 100%, 65% 100%, 65% 0); }
.pause-button[aria-pressed="true"]::before { clip-path: polygon(10% 0, 100% 50%, 10% 100%); }
figcaption { margin-top: 8px; font-size: .88rem; color: var(--text-3); }
.section-media img { width: 100%; border-radius: 4px; }

.section { padding: 56px 0; border-bottom: 1px solid var(--border); }
.section > .wrap > h2 { margin-bottom: 18px; }
.section-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: start; }
.section-grid.is-flipped { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.section-grid.is-flipped .section-media { order: -1; }
.tag-soon { margin-left: 6px; vertical-align: 5px; background: #3b2e12; color: var(--gold); }
.section-text h2 { margin-bottom: 12px; }
.section-text p + p { margin-top: 10px; }


.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 12px; }
.gallery img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; }
.gallery a:hover img { opacity: .85; }
.gallery span { display: block; margin-top: 6px; font-size: .88rem; color: var(--text-3); }
.gallery + .note { margin-top: 16px; }
.gallery-trailer { grid-column: span 2; grid-row: span 2; }
.trailer-tile { position: relative; display: block; height: 100%; border-radius: 4px; overflow: hidden; background: #000; }
.trailer-tile:hover { text-decoration: none; }
.gallery .trailer-tile img { height: 100%; aspect-ratio: auto; border-radius: 0; }
.trailer-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(9, 14, 23, .9) 0%, rgba(9, 14, 23, 0) 42%); }
.gallery .trailer-label { position: absolute; z-index: 1; left: 18px; bottom: 16px; display: grid; grid-template-columns: 48px auto; column-gap: 14px; align-items: center; margin: 0; color: var(--text-2); font-size: .92rem; }
.trailer-label::before { content: ''; grid-row: span 2; width: 48px; height: 48px; border-radius: 50%; background: var(--gold); }
.trailer-label::after { content: ''; position: absolute; left: 19px; top: 50%; width: 14px; height: 17px; margin-top: -8px; background: #1d1507; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.trailer-label b { color: var(--text); font-size: 1.2rem; font-weight: 700; line-height: 1.2; }
.trailer-tile:hover .trailer-label::before { background: var(--gold-light); }


.viewer { width: min(1280px, 100vw - 32px); max-width: none; max-height: calc(100vh - 32px); padding: 0; border: 1px solid var(--border-2); border-radius: 6px; background: var(--bg-dark); color: var(--text-2); overflow: hidden; }
.viewer::backdrop { background: rgba(5, 8, 14, .88); }
.viewer-bar, .viewer-foot { display: flex; align-items: center; gap: 12px; padding: 8px 10px 8px 16px; }
.viewer-bar { justify-content: space-between; border-bottom: 1px solid var(--border); }
.viewer-bar p { color: var(--text); font-weight: 600; }
.viewer-close, .viewer-step { padding: 6px 12px; border: 1px solid var(--border-2); border-radius: 4px; background: none; font-size: .95rem; }
.viewer-close:hover, .viewer-step:hover { background: var(--panel-2); }
.viewer-stage { display: grid; place-items: center; background: #000; }
.viewer-stage video, .viewer-stage img { width: 100%; height: auto; max-height: calc(100vh - 140px); object-fit: contain; }
.viewer-foot { border-top: 1px solid var(--border); }
.viewer-note { flex: 1; text-align: center; font-size: .9rem; color: var(--text-3); }
.viewer.is-video .viewer-step { display: none; }

.skill-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
.skill-list h3 { margin-bottom: 6px; font-size: .95rem; color: var(--text-3); font-weight: 600; }
.skill-list li { display: flex; align-items: center; gap: 8px; padding: 2px 0; color: var(--text); font-size: .95rem; }
.skill-list img { width: 22px; height: 22px; flex: none; }

.gear-title { margin-top: 36px; font-size: 1.05rem; }
.gear-row { margin-top: 18px; }
.gear-row h4 { font-size: .95rem; font-weight: 600; color: var(--text-3); }
.gear-list { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.gear-list li { font-size: .85rem; line-height: 1.35; text-align: center; color: var(--text); }
.gear-list img { width: 64px; height: 64px; margin: 0 auto 4px; object-fit: contain; }
.gear-list span { display: block; color: var(--text-3); }

.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: .9rem; color: var(--text-3); }
.tag { padding: 1px 7px; border-radius: 3px; background: var(--panel-2); color: var(--text-2); font-size: .8rem; font-weight: 600; }
.tag-major { background: #3b2e12; color: var(--gold); }
.tag-hotfix { background: #3b1c19; color: #f2a79d; }
.news-list, .more-links, .play p { max-width: 760px; }
.news-list li { padding: 16px 0; border-top: 1px solid var(--border); }
.news-list h3 { margin-top: 4px; font-size: 1.15rem; }
.news-list h3 a { color: var(--text); }
.news-list p:last-child { margin-top: 4px; }
.more-links { display: flex; flex-wrap: wrap; gap: 20px; padding-top: 16px; border-top: 1px solid var(--border); }
.play { background: var(--bg-dark); border-bottom: 0; }
.play h2 { margin-bottom: 10px; }
.play .buttons { margin-top: 18px; }
.play .spots, .play .note { margin-top: 12px; }

.site-footer { padding: 28px 0 36px; background: var(--bg-dark); border-top: 1px solid var(--border); font-size: .9rem; color: var(--text-3); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-links a { color: var(--text-2); }
.site-footer p { margin-top: 14px; }

.page { padding: 40px 0 72px; }
.page-head { max-width: 760px; margin-bottom: 28px; }
.page-head p { margin-top: 10px; font-size: 1.05rem; }
.page-note { margin-top: 32px; color: var(--text-3); }
.buttons + .prose { margin-top: 32px; }

.prose { max-width: 760px; }
.prose section + section { margin-top: 30px; }
.prose h2 { margin-bottom: 10px; font-size: 1.35rem; }
.prose p + p { margin-top: 12px; }
.prose ul { margin-top: 10px; padding-left: 22px; list-style: disc; }
.prose li + li { margin-top: 6px; }
.prose li::marker { color: var(--text-3); }
.table-wrap { margin-top: 14px; overflow-x: auto; border: 1px solid var(--border); border-radius: 4px; }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { padding: 8px 12px; text-align: left; border-bottom: 1px solid var(--border); }
th { color: var(--text); font-weight: 600; background: var(--panel); }
td { color: var(--text-2); }
tr:last-child td { border-bottom: 0; }

.guide-search { max-width: 560px; margin-bottom: 32px; }
.guide-search label { display: block; margin-bottom: 6px; font-weight: 600; color: var(--text); }
.search-row { display: flex; gap: 8px; }
.search-row input { flex: 1; min-width: 0; padding: 8px 12px; background: var(--panel); border: 1px solid var(--border-2); border-radius: 4px; color: var(--text); }
.search-row input::placeholder { color: var(--text-3); }
#search-status { margin-top: 6px; font-size: .88rem; color: var(--text-3); }
.guide-layout { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 40px; }
.guide-nav { position: sticky; top: calc(var(--header) + 20px); align-self: start; display: grid; gap: 6px; }
.guide-nav a { color: var(--text-2); }
.guide-group + .guide-group { margin-top: 32px; }
.guide-group h2 { margin-bottom: 6px; font-size: 1.3rem; }
.guide-list li { padding: 10px 0; border-top: 1px solid var(--border); }
.guide-list a { font-weight: 600; font-size: 1.05rem; }
.guide-list p { margin-top: 2px; font-size: .95rem; }
.empty-search { margin-top: 24px; }

.article-layout { display: grid; grid-template-columns: 210px minmax(0, 760px); gap: 48px; }
.article-side { position: sticky; top: calc(var(--header) + 20px); align-self: start; }
.back-link { display: inline-block; margin-bottom: 18px; }
.toc-title { margin-bottom: 6px; font-weight: 600; color: var(--text); font-size: .95rem; }
.toc a { display: block; padding: 3px 0 3px 10px; border-left: 2px solid var(--border); color: var(--text-2); font-size: .92rem; }
.toc a:hover { color: var(--text); text-decoration: none; }
.toc a[aria-current] { border-left-color: var(--gold); color: var(--text); }
.crumbs { font-size: .9rem; color: var(--text-3); }
.crumbs a { color: var(--text-2); }
.article h1 { margin-top: 6px; }
.summary { margin-top: 10px; font-size: 1.1rem; }
.article-image { margin: 24px 0 28px; }
.article-image img { width: 100%; border-radius: 4px; }
.related { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--border); }
.related h2 { margin-bottom: 6px; font-size: 1.1rem; }
.related li { padding: 3px 0; }
.article-foot { margin-top: 36px; padding-top: 16px; border-top: 1px solid var(--border); font-size: .92rem; color: var(--text-3); }

.roadmap-item { padding: 22px 0; border-top: 1px solid var(--border); }
.status { font-size: .92rem; font-weight: 600; color: var(--text-3); }
.status-now { color: #86d39c; }
.status-next { color: var(--gold); }
.roadmap-item h2 { margin-top: 4px; font-size: 1.4rem; }
.roadmap-item > p { margin-top: 6px; }
.roadmap-item ul { margin-top: 10px; padding-left: 22px; list-style: disc; }
.roadmap-item li + li { margin-top: 4px; }

.patch-list > li { padding: 22px 0; border-top: 1px solid var(--border); }
.patch-list h2 { margin-top: 4px; font-size: 1.35rem; }
.patch-list h2 a { color: var(--text); }
.patch-list p:not(.meta) { margin-top: 6px; }
.patch-latest { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px; align-items: start; }
.patch-latest img { width: 100%; border-radius: 4px; }

.needs { margin-top: 4px; border: 1px solid var(--border); border-radius: 4px; }
.needs li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-top: 1px solid var(--border); }
.needs li:first-child { border-top: 0; }
.needs b { color: var(--text); font-weight: 600; }
.needs + .note, .needs ~ .note { margin-top: 10px; }
.account-box { margin-top: 20px; padding: 20px; background: var(--panel); border: 1px solid var(--border); border-radius: 4px; }
.account-box h2 { font-size: 1.25rem; margin-bottom: 8px; }
.account-box .spots, .account-box .note { margin-top: 12px; }
.account-switch { margin-top: 18px; }
.account-tabs { display: flex; margin-bottom: 8px; border-bottom: 1px solid var(--border); }
.account-tabs a { padding: 8px 14px; color: var(--text-2); }
.account-tabs a[aria-current] { color: var(--text); box-shadow: inset 0 -2px 0 var(--gold); }
.field { display: grid; gap: 4px; margin-top: 12px; }
.field > span { font-weight: 600; color: var(--text); font-size: .95rem; }
.field input { padding: 9px 12px; background: var(--bg-dark); border: 1px solid var(--border-2); border-radius: 4px; color: var(--text); }
.form-message { min-height: 1.4em; margin: 12px 0 10px; color: #f2a79d; }
.form-message.is-good { color: #86d39c; }
button[type="submit"][disabled] { opacity: .6; cursor: progress; }

.lost-page { text-align: center; }
.lost-page img { margin: 0 auto 16px; }
.lost-page p { margin-top: 8px; }
.lost-page .buttons { justify-content: center; margin-top: 22px; }

@media (max-width: 1000px) {
  .section-grid, .section-grid.is-flipped { grid-template-columns: 1fr; gap: 24px; }
  .section-grid.is-flipped .section-media { order: 0; }
  .wordmark { max-width: 360px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-trailer { grid-column: 1 / -1; grid-row: auto; }
  .gallery .trailer-tile img { aspect-ratio: 16 / 9; height: auto; }
  .gear-list { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px 8px; }
  .guide-layout, .article-layout { grid-template-columns: 1fr; gap: 24px; }
  .guide-nav, .article-side { position: static; }
  .guide-nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
  .toc, .back-link { display: none; }
}
@media (max-width: 860px) {
  .site-nav { position: absolute; top: var(--header); left: 0; right: 0; display: none; flex-direction: column; gap: 0; padding: 4px var(--gutter) 12px; background: var(--bg-dark); border-bottom: 1px solid var(--border); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 10px 0; border-top: 1px solid var(--border); }
  .site-nav a:first-child { border-top: 0; }
  .menu-button { display: block; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 700px) {
  .intro { display: block; min-height: 0; }
  .intro-media { position: relative; aspect-ratio: 16 / 9; }
  .intro-media::after { background: linear-gradient(0deg, var(--bg-dark) 0%, rgba(9, 14, 23, 0) 28%); }
  .intro-note { right: auto; left: 10px; bottom: 8px; max-width: calc(100% - 64px); font-size: .75rem; }
  .intro .pause-button { bottom: 8px; right: 10px; }
  .intro-grid { padding: 14px 0 30px; }
  .intro-text { max-width: none; text-align: center; }
  .wordmark { max-width: 300px; margin: 0 auto; }
  .intro .buttons, .intro .players { justify-content: center; }
}
@media (max-width: 600px) {
  :root { --gutter: 16px; }
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.4rem; }
  .gallery .trailer-label { left: 12px; bottom: 10px; }
  .buttons .btn { flex: 1 1 auto; }
  .section { padding: 40px 0; }
  .skill-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gear-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .gear-list img { width: 52px; height: 52px; }
  .patch-latest { grid-template-columns: 1fr; }
  .header-discord { display: none; }
  .logo span { font-size: 1rem; }
}
@media (max-width: 360px) {
  .logo span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
