:root {
  color-scheme: dark;
  --bg: #061426;
  --bg-deep: #04101e;
  --surface: #0b1b2e;
  --surface-2: #10243a;
  --surface-3: #152a42;
  --line: #263a51;
  --line-soft: #1a3047;
  --text: #f4f7fb;
  --muted: #95abc2;
  --muted-2: #7088a0;
  --danger: #ff8f86;
  --header-height: 72px;
  --content: 1320px;
  --radius: 18px;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: Georgia, "Times New Roman", serif;
  font-family: var(--sans);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  min-width: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 84% -10%, color-mix(in srgb, var(--accent) 7%, transparent), transparent 32rem),
    var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
}

body.is-locked {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

svg .fill {
  fill: currentColor;
  stroke: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
}

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 78%, white);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 300;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-160%);
  border-radius: 9px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1;
}

.root-header,
.game-header {
  position: relative;
  z-index: 90;
  height: var(--header-height);
  border-bottom: 1px solid var(--line-soft);
  background: color-mix(in srgb, var(--bg-deep) 88%, transparent);
  backdrop-filter: blur(18px);
}

.root-header {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 clamp(20px, 4vw, 68px);
}

.root-header p {
  margin: 0 auto 0 0;
  color: var(--muted-2);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.icon-button,
.search-button,
.explore-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.game-header {
  position: sticky;
  top: 0;
}

.game-header-inner {
  display: flex;
  align-items: center;
  width: min(100% - 40px, 1580px);
  height: 100%;
  margin: 0 auto;
}

.brand-divider {
  width: 1px;
  height: 28px;
  margin: 0 22px;
  background: var(--line);
}

.game-identity {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  margin-right: 34px;
  font-size: 15px;
  font-weight: 800;
}

.game-identity i,
.game-card-state i {
  width: 9px;
  height: 9px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px color-mix(in srgb, var(--accent) 65%, transparent);
}

.desktop-nav {
  display: flex;
  flex: 1 1 auto;
  align-items: stretch;
  min-width: 0;
  height: 100%;
}

.nav-group {
  position: relative;
  display: flex;
  min-width: 0;
  align-items: center;
  padding: 0 6px 0 14px;
}

.nav-group:hover,
.nav-group:focus-within,
.nav-group.active {
  background: color-mix(in srgb, var(--game-surface) 64%, transparent);
}

.category-link {
  display: block;
  max-width: 140px;
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  font-weight: 720;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-group.active .category-link {
  color: var(--accent);
}

.nav-group > button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  background: transparent;
  color: var(--muted-2);
  cursor: pointer;
}

.nav-group > button svg {
  width: 15px;
  transition: transform 160ms ease;
}

.nav-group > button[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.nav-menu {
  position: absolute;
  top: calc(100% - 5px);
  left: 4px;
  width: 330px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #0b1b2f;
  box-shadow: 0 24px 70px #0009;
}

.nav-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  padding: 10px 12px;
  border-radius: 9px;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  background: var(--surface-2);
}

.nav-menu span {
  overflow: hidden;
  font-size: 13px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-menu small {
  color: var(--muted-2);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.search-button,
.explore-button {
  padding: 0 13px;
  font-weight: 700;
}

.explore-button {
  display: inline-flex;
}

.play-button,
.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 10px;
  font-weight: 850;
}

.play-button,
.primary-action {
  background: var(--accent);
  color: var(--accent-ink);
}

.play-button {
  padding: 0 19px;
}

.content-width {
  width: min(100% - 48px, var(--content));
  margin-inline: auto;
}

.eyebrow,
.section-kicker {
  color: var(--accent);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.root-main {
  width: min(100% - clamp(32px, 8vw, 136px), 1500px);
  margin: 0 auto;
  padding: 34px 0 100px;
}

.all-games-intro {
  display: grid;
  grid-template-columns: minmax(420px, 1.1fr) minmax(340px, 0.8fr);
  align-items: end;
  gap: 8px 64px;
  margin-bottom: 24px;
}

.all-games-intro h1,
.game-hero h1,
.article-head h1,
.not-found h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.94;
}

.all-games-intro h1 {
  max-width: 780px;
  font-size: clamp(44px, 4.8vw, 70px);
}

.all-games-intro p {
  max-width: 420px;
  margin: 12px 0 0;
  color: var(--muted);
}

.all-games-search,
.search-input {
  display: flex;
  align-items: center;
  gap: 13px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.all-games-search {
  align-self: center;
  min-height: 68px;
}

.all-games-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 16px;
}

.all-games-sort {
  display: grid;
  gap: 3px;
  min-width: 150px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line);
}

.all-games-sort span {
  color: var(--muted-2);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.all-games-sort select {
  border: 0;
  outline: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

.all-games-search input,
.search-input input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
}

.all-games-search input {
  font-size: 22px;
}

.all-games-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.game-card {
  min-width: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #07182a;
}

.game-card[hidden] {
  display: none;
}

.game-card > a {
  display: block;
  height: 100%;
  padding: clamp(18px, 2.2vw, 30px);
}

.game-card figure {
  position: relative;
  aspect-ratio: 4 / 3;
  min-height: 250px;
  margin: 0;
  overflow: hidden;
  background: var(--surface-2);
}

.game-card figure::before {
  position: absolute;
  z-index: 1;
  inset: 38% 0 0;
  background: linear-gradient(transparent, #020b14e8);
  content: "";
}

.game-card figure::after {
  position: absolute;
  z-index: 2;
  inset: auto 0 0;
  height: 4px;
  background: var(--accent);
  content: "";
}

.game-card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(.2,.7,.2,1), filter 300ms ease;
}

.game-card:hover figure img {
  filter: saturate(1.12) contrast(1.04);
  transform: scale(1.025);
}

.game-card-identity {
  position: absolute;
  z-index: 2;
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: grid;
  gap: 9px;
  align-items: end;
}

.game-card-identity h2 {
  max-width: 13ch;
  margin: 0;
  color: white;
  font-size: clamp(27px, 2.5vw, 40px);
  letter-spacing: -0.045em;
  line-height: 1;
  text-wrap: balance;
}

.game-card-identity span {
  justify-self: start;
  padding: 5px 9px;
  border: 1px solid #ffffff25;
  border-radius: 999px;
  background: #061426ba;
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(9px);
}

.game-card-copy {
  padding-top: 23px;
}

.game-card-state {
  display: flex;
  align-items: center;
  color: var(--accent);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.game-card-state time {
  margin-left: 0;
  color: var(--muted-2);
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}

.game-card p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.game-card-foot {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 29px;
  padding-top: 15px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 12px;
}

.game-card-foot > span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-card-foot span:last-child {
  display: flex;
  gap: 8px;
  color: var(--accent);
  font-weight: 760;
}

.game-card-foot svg,
.task-row svg,
.category-row svg,
.category-page-list svg,
.related-pages svg,
.latest-update svg {
  width: 17px;
}

.home-search-results {
  margin-top: 35px;
  border-top: 1px solid var(--line);
}

.home-search-results a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 24px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line-soft);
}

.home-search-results strong {
  font-size: 18px;
}

.home-search-results span,
.home-search-results p {
  margin: 0;
  color: var(--muted-2);
  font-size: 12px;
}

.game-hero {
  position: relative;
  display: flex;
  align-items: end;
  min-height: min(760px, calc(100svh - var(--header-height)));
  overflow: hidden;
  background-color: var(--game-surface);
  background-image: var(--hero-image);
  background-position: center;
  background-size: cover;
}

.game-hero::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, #04101df5 8%, #061426b8 50%, #06142628 82%);
  content: "";
}

.game-hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(transparent, var(--bg));
  content: "";
}

.game-hero-shade {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, transparent, #03101e72 72%);
}

.game-hero-copy {
  position: relative;
  z-index: 2;
  width: min(100% - 48px, var(--content));
  margin: 0 auto;
  padding: 120px 0 92px;
}

.game-hero h1 {
  max-width: 880px;
  margin-top: 19px;
  font-size: clamp(72px, 10vw, 152px);
}

.game-hero-copy > p {
  max-width: 630px;
  margin: 25px 0 0;
  color: #d9e5ef;
  font-size: clamp(18px, 2vw, 26px);
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.primary-action,
.secondary-action {
  gap: 12px;
  min-height: 52px;
  padding: 0 20px;
}

.secondary-action {
  border: 1px solid #ffffff42;
  background: #0614268c;
  backdrop-filter: blur(12px);
}

.primary-action svg {
  width: 18px;
}

.status-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.status-line span {
  padding: 6px 9px;
  border: 1px solid #ffffff22;
  border-radius: 5px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.game-home-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(480px, 1.22fr);
  gap: clamp(48px, 8vw, 120px);
  align-items: center;
  padding: 110px 0;
}

.home-copy h2,
.section-title h2,
.latest-update h2,
.category-page-list h2,
.article-section h2,
.related-pages h2,
.planner h2,
.entity-facts h2,
.evidence-block h2 {
  margin: 10px 0 20px;
  font-size: clamp(32px, 4vw, 58px);
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.home-copy > p,
.section-title + p {
  color: var(--muted);
}

.start-list {
  padding: 0;
  margin: 38px 0 0;
  list-style: none;
}

.start-list li {
  border-top: 1px solid var(--line-soft);
}

.start-list li:last-child {
  border-bottom: 1px solid var(--line-soft);
}

.start-list a {
  display: grid;
  grid-template-columns: 40px 1fr 22px;
  align-items: center;
  gap: 12px;
  min-height: 64px;
}

.start-list a > span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 850;
}

.start-list strong {
  font-size: 15px;
}

.start-list svg {
  color: var(--muted-2);
}

.video-block {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent) 34%, var(--line));
  border-radius: var(--radius);
  background: #020b12;
}

.video-block img,
.video-block iframe {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.video-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: end;
  gap: 6px;
  padding: 24px 24px 58px;
  background:
    radial-gradient(circle at 72% 24%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 34%),
    linear-gradient(145deg, color-mix(in srgb, var(--game-surface) 86%, #020b12), #020b12);
}

.video-placeholder span {
  color: var(--accent);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.video-placeholder strong {
  max-width: 34ch;
  color: white;
  font-size: clamp(16px, 2vw, 23px);
  line-height: 1.18;
}

.video-block::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(transparent 55%, #020b12dc);
  content: "";
}

.video-block.is-loaded::after {
  display: none;
}

.video-block > button {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  cursor: pointer;
  transition: transform 180ms ease;
}

.video-block > button:hover {
  transform: translate(-50%, -50%) scale(1.07);
}

.video-caption {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 14px;
  left: 18px;
  display: flex;
  justify-content: space-between;
  color: white;
  font-size: 11px;
  font-weight: 760;
}

.video-summary {
  display: flex;
  gap: 18px;
  padding: 18px 2px 0;
  color: var(--muted);
  font-size: 13px;
}

.video-summary strong {
  min-width: max-content;
  color: var(--text);
}

.video-summary p {
  margin: 0;
}

.task-section,
.category-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.56fr) minmax(0, 1fr);
  gap: 70px;
  padding: 80px 0;
  border-top: 1px solid var(--line);
}

.task-list,
.category-list {
  border-top: 1px solid var(--line);
}

.task-row,
.category-row {
  display: grid;
  align-items: center;
  min-height: 84px;
  border-bottom: 1px solid var(--line);
  transition: padding 160ms ease, background 160ms ease;
}

.task-row {
  grid-template-columns: 1fr 22px;
  gap: 18px;
}

.task-row:hover,
.category-row:hover {
  padding-inline: 14px;
  background: color-mix(in srgb, var(--game-surface) 55%, transparent);
}

.task-row div {
  display: flex;
  flex-direction: column;
}

.task-row strong {
  font-size: 19px;
}

.task-row span,
.category-row p {
  margin: 1px 0 0;
  color: var(--muted-2);
  font-size: 13px;
}

.category-row {
  grid-template-columns: minmax(130px, 0.38fr) 1fr 36px 22px;
  gap: 22px;
}

.category-row > span {
  font-size: 18px;
  font-weight: 800;
}

.category-row > strong {
  color: var(--accent);
  font-size: 12px;
}

.latest-update {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-top: 70px;
  margin-bottom: 110px;
  padding: 48px;
  border-left: 3px solid var(--accent);
  background: var(--game-surface);
}

.latest-update h2 {
  font-size: clamp(30px, 3.5vw, 48px);
}

.latest-update p {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
}

.latest-update > a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  color: var(--accent);
  font-weight: 800;
}

.subsite-main {
  width: min(100% - 48px, 1580px);
  margin: 0 auto;
  padding: 42px 0 100px;
}

.breadcrumbs {
  display: flex;
  gap: 10px;
  align-items: center;
  overflow: hidden;
  margin-bottom: 42px;
  color: var(--muted-2);
  font-size: 12px;
  white-space: nowrap;
}

.breadcrumbs a {
  display: inline-flex;
  align-items: center;
  min-width: 44px;
  min-height: 44px;
  color: var(--accent);
}

.breadcrumbs span:last-child {
  overflow: hidden;
  color: var(--muted);
  text-overflow: ellipsis;
}

.subsite-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 240px);
  gap: clamp(36px, 4vw, 64px);
  align-items: start;
}

.article-column {
  min-width: 0;
  max-width: 1080px;
}

.article-head {
  padding: 22px 0 48px;
  border-bottom: 1px solid var(--line);
}

.article-head h1 {
  max-width: 900px;
  font-size: clamp(50px, 6.2vw, 94px);
}

.article-head > p {
  max-width: 760px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 20px);
}

.action-first-page .article-head {
  padding: 16px 0 24px;
}

.action-first-page .article-head h1 {
  max-width: 760px;
  font-size: clamp(42px, 4.5vw, 68px);
}

.article-meta {
  display: flex;
  gap: 9px;
  margin-bottom: 24px;
}

.article-meta span {
  padding: 5px 8px;
  border-radius: 4px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-head .status-line span {
  border-color: var(--line);
}

.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 15px;
  align-items: center;
  margin-top: 20px;
  color: var(--muted-2);
  font-size: 11px;
}

.trust-line strong {
  color: var(--accent);
}

.trust-line span + span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quick-answer {
  margin: 44px 0 20px;
  padding: 26px 30px 30px;
  border-left: 3px solid var(--accent);
  background: linear-gradient(100deg, color-mix(in srgb, var(--accent) 10%, var(--surface)), var(--surface));
}

.quick-answer > span {
  color: var(--accent);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.quick-answer h2 {
  margin: 9px 0 0;
  font-size: clamp(20px, 2vw, 29px);
  letter-spacing: -0.025em;
  line-height: 1.4;
}

.task-brief {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 20px 0 6px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.task-brief > div {
  min-width: 0;
  padding: 18px 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--game-surface) 35%, transparent);
}

.task-brief span {
  color: var(--accent);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.task-brief p {
  margin: 8px 0 0;
  color: #c7d4e0;
  font-size: 14px;
  line-height: 1.55;
}

.category-page-list {
  padding: 48px 0 22px;
}

.category-guidance {
  max-width: 680px;
  color: var(--muted);
}

.category-page-list > a {
  display: grid;
  grid-template-columns: 1fr 24px;
  gap: 20px;
  align-items: center;
  padding: 22px 0;
  border-top: 1px solid var(--line-soft);
}

.category-page-list > a:last-child {
  border-bottom: 1px solid var(--line-soft);
}

.category-page-list > a span {
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.category-page-list > a strong {
  display: block;
  margin-top: 3px;
  font-size: 19px;
}

.category-page-list > a p {
  margin: 4px 0 0;
  color: var(--muted-2);
  font-size: 13px;
}

.category-page-list time {
  display: block;
  margin-top: 8px;
  color: var(--muted-2);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.article-section {
  padding: 58px 0 56px;
  border-bottom: 1px solid var(--line-soft);
}

.reference-scope {
  display: flex;
  gap: 12px 20px;
  align-items: baseline;
  margin-top: 28px;
  padding: 17px 20px;
  border-left: 3px solid var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, var(--surface));
}

.reference-scope strong {
  flex: 0 0 auto;
  color: var(--accent);
  font-size: 12px;
}

.reference-scope p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.article-section h2,
.related-pages h2,
.planner h2,
.entity-facts h2,
.evidence-block h2 {
  font-size: clamp(30px, 3.4vw, 48px);
}

.article-section > p {
  max-width: 760px;
  color: #bdccda;
  font-size: 17px;
  line-height: 1.85;
}

.guide-steps {
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
  counter-reset: guide-step;
}

.guide-steps li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 18px;
  padding: 17px 0;
  border-top: 1px solid var(--line-soft);
  counter-increment: guide-step;
}

.guide-steps li:last-child {
  border-bottom: 1px solid var(--line-soft);
}

.guide-steps li > span::after {
  color: var(--accent);
  font-size: 11px;
  font-weight: 850;
  content: counter(guide-step, decimal-leading-zero);
}

.guide-steps p {
  margin: 0;
  color: #c7d4e0;
}

.table-scroll {
  max-width: 100%;
  margin-top: 28px;
  overflow-x: auto;
  border-top: 1px solid var(--line);
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 13px;
}

@media (max-width: 640px) {
  [data-comparison] .table-scroll {
    overflow: visible;
    border-top: 0;
  }

  [data-comparison] table,
  [data-comparison] thead,
  [data-comparison] tbody,
  [data-comparison] tr,
  [data-comparison] th,
  [data-comparison] td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  [data-comparison] thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  [data-comparison] tbody {
    display: grid;
    gap: 14px;
  }

  [data-comparison] tbody tr {
    padding: 4px 14px 10px;
    border: 1px solid var(--line-soft);
    border-radius: 10px;
    background: #071629b8;
  }

  [data-comparison] tbody th {
    padding: 14px 0 10px;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }

  [data-comparison] tbody td {
    display: grid;
    grid-template-columns: minmax(92px, .42fr) minmax(0, 1fr);
    gap: 12px;
    padding: 10px 0;
  }

  [data-comparison] tbody td::before {
    color: var(--muted-2);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
  }

  [data-comparison] tbody td:nth-child(2)::before { content: "Cost"; }
  [data-comparison] tbody td:nth-child(3)::before { content: "Benefit"; }
  [data-comparison] tbody td:nth-child(4)::before { content: "Prerequisites"; }
  [data-comparison] tbody td:nth-child(5)::before { content: "Opportunity cost"; }
  [data-comparison] tbody td:nth-child(6)::before { content: "Alternatives"; }
  [data-comparison] tbody td:nth-child(7)::before { content: "Skip when"; }
}

th,
td {
  padding: 14px 13px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  vertical-align: top;
}

thead th {
  color: var(--muted-2);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

tbody th {
  color: var(--text);
  font-weight: 750;
}

tbody td {
  color: var(--muted);
}

.faq-list {
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line-soft);
}

.faq-list summary {
  padding: 16px 0;
  cursor: pointer;
  font-weight: 750;
}

.faq-list p {
  max-width: 700px;
  margin: -2px 0 20px;
  color: var(--muted);
}

.wiki-navigation {
  position: sticky;
  top: calc(var(--header-height) + 28px);
  max-height: calc(100svh - var(--header-height) - 56px);
  overflow: auto;
  border-left: 1px solid var(--line);
  scrollbar-width: thin;
}

.local-toc {
  margin: 28px 0 8px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line-soft);
}

.local-toc > button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 13px 0 11px;
  background: transparent;
  color: var(--accent);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.local-toc > button svg {
  display: none;
}

.local-toc ol {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line-soft);
  list-style: none;
}

.local-toc li + li {
  border-left: 1px solid var(--line-soft);
}

.local-toc a {
  display: grid;
  grid-template-columns: 27px 1fr;
  gap: 7px;
  min-height: 50px;
  padding: 11px 13px;
  color: var(--muted-2);
  font-size: 12px;
  line-height: 1.35;
}

.local-toc a span {
  color: #55708a;
  font-size: 9px;
  font-weight: 800;
}

.local-toc a.is-active,
.local-toc a:hover {
  background: color-mix(in srgb, var(--accent) 7%, transparent);
  color: var(--text);
}

.local-toc a.is-active {
  box-shadow: inset 0 -2px var(--accent);
}

.local-toc a.is-active span {
  color: var(--accent);
}

.wiki-title {
  padding: 4px 0 17px 18px;
  border-bottom: 1px solid var(--line);
}

.wiki-title span {
  display: block;
  color: var(--accent);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wiki-title strong {
  display: block;
  margin-top: 4px;
  color: var(--muted-2);
  font-size: 12px;
}

.wiki-navigation nav {
  padding: 10px 0 10px 12px;
}

.wiki-navigation section > a {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 720;
}

.wiki-navigation section > a span {
  color: var(--muted-2);
  font-size: 10px;
}

.wiki-navigation section.active > a {
  background: color-mix(in srgb, var(--accent) 13%, transparent);
  color: var(--accent);
}

.wiki-navigation section > div {
  margin: 2px 0 7px 12px;
  padding-left: 8px;
  border-left: 1px solid color-mix(in srgb, var(--accent) 46%, var(--line));
}

.wiki-navigation section > div a {
  display: block;
  padding: 7px 8px;
  border-radius: 5px;
  color: var(--muted-2);
  font-size: 11px;
  line-height: 1.35;
}

.wiki-navigation section > div a[aria-current="page"] {
  background: color-mix(in srgb, var(--accent) 11%, transparent);
  color: var(--accent);
  font-weight: 750;
}

.planner,
.checklist,
.codes-tool,
.entity-facts,
.evidence-block {
  margin: 50px 0 10px;
  padding: 34px;
  border: 1px solid color-mix(in srgb, var(--accent) 25%, var(--line));
  border-radius: var(--radius);
  background: linear-gradient(145deg, color-mix(in srgb, var(--game-surface) 76%, var(--surface)), var(--surface));
}

.planner,
.checklist,
.codes-tool {
  margin-top: 24px;
  padding: 22px;
}

.planner-head > p {
  margin: -8px 0 0;
  color: var(--muted);
}

.guide-media {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin: 34px 0 12px;
}

.guide-media-gallery {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.guide-media figure {
  margin: 0;
}

.guide-media figure:has(.video-block) {
  grid-column: 1 / -1;
}

.guide-media figure > img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
  object-fit: contain;
}

.guide-media-gallery figure > img {
  aspect-ratio: 1;
}

.guide-media figcaption {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 12px 2px 0;
  color: var(--muted-2);
  font-size: 11px;
}

.guide-media figcaption a {
  display: inline-flex;
  align-items: center;
  min-width: 44px;
  min-height: 44px;
  color: var(--accent);
}

.checklist-note {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 12px;
}

.checklist-overview {
  display: grid;
  grid-template-columns: auto minmax(160px, 1fr);
  gap: 16px;
  align-items: center;
  margin: 0 0 16px;
}

.checklist-overview progress {
  width: 100%;
  height: 10px;
  accent-color: var(--accent);
}

.checklist-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, .35fr);
  gap: 12px;
  margin-bottom: 12px;
}

.checklist-controls label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 11px;
}

.checklist-controls input,
.checklist-controls select {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--text);
}

.checklist-group {
  margin-top: 26px;
}

.checklist-group > h3 {
  display: flex;
  justify-content: space-between;
  margin: 0;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 18px;
}

.checklist-group > h3 span {
  color: var(--muted-2);
  font-size: 12px;
  font-weight: 600;
}

.checklist form {
  border-top: 1px solid var(--line-soft);
}

.checklist form label {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
  cursor: pointer;
}

.checklist-item-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  border-bottom: 1px solid var(--line-soft);
}

.checklist-item-row > label {
  border-bottom: 0;
}

.checklist-guide-link {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 10px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 760;
}

.checklist-guide-link svg {
  width: 15px;
}

.checklist-grid .checklist-group > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
}

.checklist form label.has-image {
  grid-template-columns: 24px 48px minmax(0, 1fr);
  align-items: center;
}

.checklist form label.has-image > img {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: var(--surface-2);
  object-fit: cover;
}

.checklist input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--accent);
}

.checklist label span {
  display: grid;
  gap: 2px;
}

.checklist label small {
  color: var(--muted);
}

@media (max-width: 720px) {
  .checklist-grid .checklist-group > div,
  .checklist-controls,
  .checklist-overview {
    grid-template-columns: 1fr;
  }
}

.checklist-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.checklist-actions button {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  cursor: pointer;
}

.checklist-actions span {
  color: var(--muted);
  font-size: 12px;
}

.codes-scope {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.codes-list {
  border-top: 1px solid var(--line-soft);
}

.code-row {
  display: grid;
  grid-template-columns: minmax(150px, 0.7fr) minmax(240px, 1.6fr) auto;
  gap: 18px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-soft);
}

.code-row > div,
.code-row > p {
  display: grid;
  gap: 5px;
  margin: 0;
}

.code-row code {
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 19px;
  font-weight: 800;
}

.code-row span,
.code-row small,
.codes-status {
  color: var(--muted);
  font-size: 12px;
}

.code-row button {
  min-width: 72px;
  min-height: 44px;
  border: 1px solid color-mix(in srgb, var(--accent) 38%, var(--line));
  border-radius: 8px;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  font-weight: 750;
}

.codes-status {
  min-height: 18px;
  margin: 14px 0 0;
}

@media (max-width: 640px) {
  .code-row {
    grid-template-columns: 1fr auto;
  }

  .code-row > p {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

.planner form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 0;
}

.planner label {
  display: grid;
  gap: 3px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #071629b8;
  font-size: 12px;
  font-weight: 750;
}

.planner label span {
  color: var(--muted-2);
  font-size: 10px;
  font-weight: 500;
}

.planner label small {
  min-height: 14px;
  color: var(--danger);
  font-size: 10px;
  font-weight: 650;
}

.planner input {
  min-width: 0;
  padding: 6px 0 1px;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 24px;
  font-weight: 800;
}

.planner-calculate {
  grid-column: 1 / -1;
  min-height: 44px;
  border: 0;
  border-radius: 9px;
  background: var(--accent);
  color: var(--accent-ink);
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
}

.planner form > button:not(.planner-calculate) {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 11px;
  font-weight: 760;
}

.planner-example {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin: 0 0 16px;
  padding: 10px 12px;
  border-left: 2px solid var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  color: var(--muted);
  font-size: 11px;
}

.planner-example strong {
  color: var(--accent);
}

.planner-output {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 16px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.planner-output div {
  min-width: 0;
  padding: 15px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.planner-output-source,
.planner-output-limit {
  grid-column: 1 / -1;
  margin: 0;
  padding: 12px 15px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.planner-output span,
.planner-output strong {
  display: block;
}

.planner-output span {
  color: var(--muted-2);
  font-size: 10px;
  text-transform: uppercase;
}

.planner-output strong {
  overflow: hidden;
  margin-top: 4px;
  color: var(--accent);
  font-size: 19px;
  text-overflow: ellipsis;
}

.planner-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 16px;
}

.planner-actions button {
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  font-weight: 750;
}

.planner-actions span {
  color: var(--muted);
  font-size: 11px;
}

.planner-error {
  margin-top: 12px;
  padding: 9px 11px;
  border-left: 2px solid var(--danger);
  color: var(--danger);
  font-size: 12px;
}

.entity-facts {
  display: grid;
  grid-template-columns: 0.45fr 1fr;
  gap: 30px;
}

.entity-facts dl {
  margin: 0;
}

.entity-facts dl > div {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 20px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.entity-facts dt {
  color: var(--muted-2);
  font-size: 11px;
}

.entity-facts dd {
  margin: 0;
  font-size: 13px;
}

.evidence-block {
  margin-top: 60px;
}

.evidence-block > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 48px;
  cursor: pointer;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

.evidence-block > summary strong {
  color: var(--muted-2);
  font-size: 10px;
  font-weight: 700;
}

.evidence-block ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.evidence-block li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 18px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 11px;
}

.evidence-block li span {
  display: grid;
  gap: 2px;
  color: var(--muted);
}

.evidence-block li strong {
  color: var(--text);
  font-size: 11px;
}

.evidence-block li small {
  color: var(--muted-2);
  font-size: 9px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.evidence-block li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  color: var(--accent);
  font-weight: 750;
}

.evidence-block time {
  color: var(--muted-2);
}

.related-pages {
  padding: 48px 0 20px;
}

.related-pages h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 2.8vw, 40px);
}

.related-pages > a {
  display: grid;
  grid-template-columns: minmax(92px, .32fr) minmax(160px, .68fr) minmax(220px, 1.2fr) 22px;
  gap: 16px;
  align-items: center;
  min-height: 76px;
  padding: 14px 0;
  border-top: 1px solid var(--line-soft);
}

.related-pages > a > * {
  min-width: 0;
}

.related-pages > a:last-child {
  border-bottom: 1px solid var(--line-soft);
}

.related-pages > a small {
  color: var(--accent);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.related-pages > a strong {
  color: var(--text);
  font-size: 15px;
  line-height: 1.35;
}

.related-pages > a span {
  color: var(--muted-2);
  font-size: 14px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.correction-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 44px;
  color: var(--muted);
  font-size: 12px;
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 4px;
}

.ad-slot {
  width: 100%;
  min-width: 0;
  margin: clamp(38px, 6vw, 68px) auto;
  padding: 14px clamp(14px, 2vw, 24px) 18px;
  overflow: hidden;
  border-block: 1px solid var(--line-soft);
  background: color-mix(in srgb, var(--surface) 55%, transparent);
}

.ad-slot-label {
  display: block;
  margin-bottom: 10px;
  color: var(--muted-2);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.ad-slot-content,
.ad-slot-content > div {
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.ad-slot-content > div {
  min-height: 90px;
}

.ad-slot iframe,
.ad-slot img {
  max-width: 100%;
}

.drawer-backdrop,
.dialog-backdrop {
  position: fixed;
  z-index: 180;
  inset: 0;
  background: #0009;
  backdrop-filter: blur(5px);
}

.explore-drawer,
.search-dialog {
  position: fixed;
  z-index: 200;
  background: #091a2d;
  box-shadow: -28px 0 80px #000a;
  transition: transform 220ms cubic-bezier(.2,.7,.2,1), opacity 180ms ease;
}

.explore-drawer {
  top: 0;
  right: 0;
  bottom: 0;
  width: min(92vw, 420px);
  overflow-y: auto;
  transform: translateX(105%);
}

.explore-drawer.is-open {
  transform: translateX(0);
}

.drawer-head,
.search-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px;
  border-bottom: 1px solid var(--line);
}

.drawer-head span,
.search-dialog-head span {
  display: block;
  color: var(--accent);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.drawer-head strong,
.search-dialog-head strong {
  display: block;
  margin-top: 3px;
}

.drawer-head button,
.search-dialog-head button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.explore-drawer nav {
  padding: 14px 22px 40px;
}

.explore-drawer section {
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
}

.explore-drawer section a {
  display: block;
  padding: 7px 0;
  color: var(--muted);
  font-size: 13px;
}

.explore-drawer .drawer-category {
  color: var(--text);
  font-size: 18px;
  font-weight: 800;
}

.search-dialog {
  top: 50%;
  left: 50%;
  width: min(92vw, 760px);
  max-height: min(84vh, 800px);
  overflow-y: auto;
  transform: translate(-50%, -46%) scale(.98);
  border: 1px solid var(--line);
  border-radius: 18px;
  opacity: 0;
  pointer-events: none;
}

.search-dialog.is-open {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.search-dialog > h2,
.search-scope-switch,
.search-input,
.search-status,
.search-results {
  margin-inline: 28px;
}

.search-scope-switch {
  min-height: 44px;
  padding: 0;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.search-dialog > h2 {
  margin-top: 28px;
  margin-bottom: 16px;
  font-family: var(--display);
  font-size: clamp(36px, 6vw, 58px);
  letter-spacing: -0.05em;
  line-height: 1;
}

.search-input {
  min-height: 58px;
}

.search-input input {
  font-size: 18px;
}

.search-status {
  color: var(--muted-2);
  font-size: 11px;
}

.search-results {
  margin-bottom: 28px;
}

.search-results a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 16px;
  padding: 13px 0;
  border-top: 1px solid var(--line-soft);
}

.search-results strong {
  font-size: 14px;
}

.search-results span,
.search-results p {
  color: var(--muted-2);
  font-size: 10px;
}

.search-results p {
  grid-column: 1 / -1;
  margin: 3px 0 0;
}

.search-suggestion {
  min-height: 44px;
  padding: 0 15px;
  border: 1px solid color-mix(in srgb, var(--accent) 50%, var(--line));
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  color: var(--accent);
  font-weight: 800;
}

.not-found {
  display: grid;
  place-content: center;
  min-height: calc(100svh - var(--header-height));
  padding: 80px 24px;
  text-align: center;
}

.not-found h1 {
  max-width: 800px;
  font-size: clamp(54px, 9vw, 112px);
}

.not-found p {
  color: var(--muted);
}

.not-found > div {
  display: grid;
  max-width: 620px;
  margin: 25px auto;
  border-top: 1px solid var(--line);
}

.not-found > div a {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px;
  border-bottom: 1px solid var(--line-soft);
}

.not-found .primary-action {
  justify-self: center;
  margin-top: 20px;
}

.trust-page {
  width: min(100% - 48px, 1180px);
  min-height: calc(100svh - var(--header-height));
  margin: 0 auto;
  padding: 42px 0 100px;
}

.trust-head {
  max-width: 900px;
  padding: 34px 0 54px;
  border-bottom: 1px solid var(--line);
}

.trust-head h1 {
  margin: 16px 0 24px;
  font-family: var(--display);
  font-size: clamp(54px, 8vw, 104px);
  letter-spacing: -.055em;
  line-height: .96;
}

.trust-head p,
.trust-head time,
.trust-layout p {
  color: var(--muted);
}

.trust-head p {
  max-width: 720px;
  font-size: clamp(17px, 2vw, 22px);
}

.trust-head time {
  display: block;
  margin-top: 24px;
  font-size: 12px;
}

.trust-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: clamp(46px, 8vw, 110px);
  padding-top: 54px;
}

.trust-layout > article > section {
  padding: 0 0 38px;
  border-bottom: 1px solid var(--line-soft);
}

.trust-layout > article > section + section {
  padding-top: 38px;
}

.trust-layout h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: -.035em;
}

.trust-layout p {
  max-width: 720px;
  margin: 0;
}

.trust-action {
  position: sticky;
  top: calc(var(--header-height) + 28px);
  align-self: start;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.trust-action h2 {
  margin-top: 8px;
}

.trust-action .primary-action {
  margin-top: 22px;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 35px;
  padding: 36px clamp(24px, 4vw, 68px);
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
}

.site-footer p,
.site-footer nav {
  margin: 0;
  color: var(--muted-2);
  font-size: 11px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 20px;
}

.site-footer nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
}

[data-hero-enter] {
  animation: hero-enter 650ms 80ms cubic-bezier(.2,.7,.2,1) both;
}

@keyframes hero-enter {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 1280px) {
  .desktop-nav {
    display: none;
  }

  .explore-button {
    display: inline-flex;
  }

  .subsite-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .article-column {
    max-width: none;
  }

  .wiki-navigation {
    display: none;
  }

  .all-games-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 900px) {
  .related-pages > a {
    grid-template-columns: minmax(100px, .4fr) minmax(0, 1fr) 22px;
    gap: 8px 18px;
  }

  .related-pages > a span {
    grid-column: 2 / 4;
    padding-right: 40px;
  }

  .related-pages > a svg {
    grid-column: 3;
    grid-row: 1 / 3;
  }

  :root {
    --header-height: 64px;
  }

  .brand {
    font-size: 23px;
  }

  .root-header p,
  .brand-divider,
  .game-identity {
    display: none;
  }

  .game-header-inner {
    width: calc(100% - 28px);
  }

  .search-button span {
    display: none;
  }

  .all-games-intro,
  .game-home-grid,
  .task-section,
  .category-section {
    grid-template-columns: 1fr;
  }

  .all-games-intro {
    gap: 24px;
  }

  .game-home-grid {
    gap: 54px;
  }

  .task-section,
  .category-section {
    gap: 30px;
  }

  .game-card figure {
    min-height: 250px;
  }

  .game-hero {
    min-height: calc(100svh - var(--header-height));
    background-position: 62% center;
  }

  .game-hero::before {
    background: linear-gradient(180deg, #04101e1c, #04101ee8 70%, #04101ef8);
  }

  .game-hero-copy {
    padding-bottom: 56px;
  }

  .game-hero h1 {
    font-size: clamp(60px, 18vw, 108px);
  }

  .subsite-grid {
    display: flex;
    flex-direction: column;
  }

  .article-column {
    order: 2;
    width: 100%;
  }

  .local-toc {
    position: static;
    width: 100%;
    max-height: none;
  }

  .local-toc > button svg {
    display: block;
    width: 16px;
  }

  .local-toc.is-collapsed ol {
    display: none;
  }

  .local-toc.is-collapsed > button svg {
    transform: rotate(-90deg);
  }

  .planner-output {
    grid-template-columns: repeat(2, 1fr);
  }

  .entity-facts {
    grid-template-columns: 1fr;
  }

  .trust-layout {
    grid-template-columns: 1fr;
  }

  .trust-action {
    position: static;
  }
}

@media (max-width: 600px) {
  .root-main,
  .content-width,
  .game-hero-copy,
  .subsite-main,
  .trust-page {
    width: calc(100% - 32px);
  }

  .root-main {
    padding-top: 45px;
  }

  .root-header {
    padding-inline: 16px;
  }

  .play-button {
    padding-inline: 13px;
  }

  .explore-button {
    padding-inline: 10px;
  }

  .explore-button span {
    display: none;
  }

  .all-games-intro h1 {
    font-size: clamp(52px, 17vw, 80px);
  }

  .all-games-search input {
    font-size: 17px;
  }

  .all-games-tools {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .all-games-sort {
    width: 100%;
  }

  .all-games-grid {
    grid-template-columns: 1fr;
  }

  .game-card > a {
    padding: 14px;
  }

  .game-card figure {
    aspect-ratio: 4 / 3;
    min-height: 0;
  }

  .game-card-identity h2 {
    font-size: 31px;
  }

  .game-card-foot {
    flex-direction: column;
    gap: 5px;
  }

  .game-hero-copy > p {
    font-size: 18px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions a {
    width: 100%;
  }

  .game-home-grid,
  .task-section,
  .category-section {
    padding: 72px 0;
  }

  .video-summary {
    flex-direction: column;
    gap: 4px;
  }

  .category-row {
    grid-template-columns: 1fr 24px;
    gap: 4px 16px;
    padding: 15px 0;
  }

  .category-row p {
    grid-column: 1;
  }

  .category-row > strong {
    grid-column: 2;
    grid-row: 1;
  }

  .category-row svg {
    grid-column: 2;
    grid-row: 2;
  }

  .latest-update {
    align-items: start;
    flex-direction: column;
    padding: 28px 22px;
  }

  .article-head {
    padding-top: 5px;
  }

  .action-first-page .breadcrumbs {
    margin-bottom: 14px;
  }

  .action-first-page .article-head {
    padding: 5px 0 24px;
  }

  .action-first-page .article-meta {
    margin-bottom: 14px;
  }

  .article-head h1 {
    font-size: clamp(44px, 14vw, 68px);
  }

  .action-first-page .article-head h1 {
    font-size: clamp(30px, 9vw, 44px);
    line-height: 0.98;
  }

  [data-page-template="reference"] .article-head h1 {
    font-size: 48px;
  }

  .article-meta {
    flex-wrap: wrap;
  }

  .reference-scope {
    display: block;
    margin-top: 22px;
    padding: 14px 16px;
  }

  .reference-scope p {
    margin-top: 4px;
    font-size: 13px;
    line-height: 1.5;
  }

  [data-page-template="reference"] #primary-keys {
    padding-top: 12px;
  }

  [data-page-template="reference"] #primary-keys h2 {
    font-size: 26px;
  }

  [data-page-template="reference"] #primary-keys .table-scroll {
    margin-top: 10px;
  }

  .local-toc ol {
    grid-template-columns: 1fr;
  }

  .local-toc li + li {
    border-top: 1px solid var(--line-soft);
    border-left: 0;
  }

  .quick-answer,
  .planner,
  .checklist,
  .entity-facts,
  .evidence-block {
    padding: 23px 19px;
  }

  .quick-answer h2 {
    font-size: 19px;
  }

  .checklist-controls {
    grid-template-columns: minmax(0, 1.45fr) minmax(112px, .55fr);
  }

  .task-brief {
    grid-template-columns: 1fr;
  }

  .task-brief > div {
    padding: 14px 16px;
  }

  .checklist-item-row {
    grid-template-columns: 1fr;
  }

  .checklist-guide-link {
    justify-content: flex-start;
    padding: 0 0 10px 32px;
  }

  .planner form {
    grid-template-columns: 1fr;
  }

  .planner-output {
    grid-template-columns: 1fr 1fr;
  }

  .entity-facts dl > div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .evidence-block li {
    grid-template-columns: 1fr auto;
  }

  .evidence-block time {
    grid-column: 1 / -1;
  }

  .related-pages > a {
    grid-template-columns: 1fr 22px;
    padding: 15px 0;
  }

  .related-pages > a span {
    grid-column: 1;
  }

  .related-pages > a svg {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .search-dialog {
    inset: 0;
    width: 100%;
    max-height: 100svh;
    transform: translateY(15px);
    border: 0;
    border-radius: 0;
  }

  .search-dialog.is-open {
    transform: none;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* Game subsite editorial system — game homes, collections and guide pages only. */
.game-subsite {
  --display: var(--sans);
  --radius: 14px;
  background:
    radial-gradient(circle at 82% 0%, color-mix(in srgb, var(--accent) 6%, transparent), transparent 34rem),
    #050b14;
}

.game-subsite .game-header {
  border-color: #ffffff12;
  background: #050b14e8;
}

.game-subsite [data-reveal] {
  animation: section-enter 560ms cubic-bezier(.2,.7,.2,1) both;
  animation-timeline: view();
  animation-range: entry 0% entry 28%;
}

@keyframes section-enter {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

.game-subsite .brand {
  font-size: 22px;
}

.game-subsite .game-identity i {
  border-radius: 3px;
  box-shadow: none;
}

.game-subsite .game-wiki-hero {
  align-items: center;
  min-height: min(660px, calc(100svh - var(--header-height)));
  isolation: isolate;
  background-position: 65% center;
}

.game-subsite .game-wiki-hero::before {
  z-index: -1;
  background:
    linear-gradient(90deg, #050b14 0%, #050b14ed 31%, #050b149c 58%, #050b1426 86%),
    linear-gradient(0deg, #050b14 0%, transparent 30%);
}

.game-subsite .game-wiki-hero::after {
  z-index: -1;
  height: 30%;
  background: linear-gradient(transparent, #050b14);
}

.game-subsite .game-hero-shade {
  z-index: -1;
  background: linear-gradient(180deg, #050b1424, transparent 44%, #050b14b3);
}

.game-subsite .game-wiki-hero .game-hero-copy {
  width: min(100% - 64px, 1380px);
  padding: 90px 0 130px;
}

.game-subsite .hero-label {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border: 1px solid color-mix(in srgb, var(--accent) 34%, #ffffff1a);
  border-radius: 999px;
  background: #050b1499;
  color: #dce7f2;
  font-size: 11px;
  font-weight: 760;
  letter-spacing: .07em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.game-subsite .game-wiki-hero h1 {
  max-width: 960px;
  margin-top: 22px;
  font-family: var(--sans);
  font-size: clamp(62px, 8vw, 118px);
  font-weight: 880;
  letter-spacing: -.075em;
  line-height: .91;
}

.game-subsite .game-wiki-hero h1 em {
  color: var(--accent);
  font-style: normal;
  font-weight: 580;
}

.game-subsite .game-wiki-hero .game-hero-copy > p {
  max-width: 670px;
  margin-top: 24px;
  color: #b7c5d3;
  font-size: clamp(17px, 1.55vw, 22px);
  line-height: 1.52;
}

.game-proof {
  position: absolute;
  z-index: 2;
  right: max(32px, calc((100vw - 1380px) / 2));
  bottom: 42px;
  left: max(32px, calc((100vw - 1380px) / 2));
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid #ffffff20;
  border-left: 1px solid #ffffff14;
  background: #050b1491;
  backdrop-filter: blur(16px);
}

.game-proof > div {
  min-width: 0;
  padding: 15px 18px;
  border-right: 1px solid #ffffff14;
}

.game-proof dt {
  overflow: hidden;
  color: var(--accent);
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 850;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-proof dd {
  margin: 5px 0 0;
  color: #8fa1b2;
  font-size: 10px;
  font-weight: 740;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.wiki-guide-section,
.latest-guides-section {
  padding: 104px 0;
}

.wiki-section-heading {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(260px, 430px);
  gap: 48px;
  align-items: end;
  margin-bottom: 38px;
}

.wiki-section-heading h2,
.collection-masthead h1,
.article-masthead h1 {
  margin: 9px 0 0;
  font-family: var(--sans);
  font-weight: 850;
  letter-spacing: -.055em;
  line-height: .98;
}

.wiki-section-heading h2 {
  max-width: 760px;
  font-size: clamp(40px, 5vw, 72px);
}

.wiki-section-heading > p {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
}

.guide-directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.guide-card {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 22px;
  gap: 16px;
  min-height: 190px;
  padding: 27px 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #07111d;
  transition: background 180ms ease, transform 180ms ease;
}

.guide-card:hover {
  z-index: 1;
  background: color-mix(in srgb, var(--accent) 8%, #07111d);
  transform: translateY(-3px);
}

.guide-card-number,
.guide-card small,
.latest-guide-row span {
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.guide-card h3 {
  max-width: 18ch;
  margin: 9px 0 8px;
  font-size: clamp(21px, 2vw, 28px);
  letter-spacing: -.035em;
  line-height: 1.12;
}

.guide-card p {
  max-width: 54ch;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.guide-card svg {
  align-self: center;
  color: var(--muted-2);
}

.game-subsite .game-home-grid {
  align-items: start;
  padding: 104px 0;
  border-top: 1px solid var(--line);
}

.game-subsite .home-copy h2,
.game-subsite .section-title h2 {
  font-family: var(--sans);
  font-weight: 850;
}

.game-subsite .video-block {
  border-color: #ffffff1e;
  border-radius: 14px;
}

.latest-guides-section {
  border-top: 1px solid var(--line);
}

.latest-guides-section .wiki-section-heading {
  grid-template-columns: 1fr auto;
}

.latest-guides-section .status-line {
  justify-content: flex-end;
  margin: 0;
}

.latest-guide-list {
  border-top: 1px solid var(--line);
}

.latest-guide-row {
  display: grid;
  grid-template-columns: minmax(240px, .8fr) minmax(280px, 1.2fr) auto 20px;
  gap: 24px;
  align-items: center;
  min-height: 100px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-soft);
}

.latest-guide-row strong {
  display: block;
  margin-top: 3px;
  font-size: 18px;
}

.latest-guide-row p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.latest-guide-row time {
  color: var(--muted-2);
  font-size: 11px;
  white-space: nowrap;
}

.game-subsite .category-section {
  margin-bottom: 70px;
}

.collection-masthead,
.article-masthead {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(120deg, color-mix(in srgb, var(--game-surface) 58%, #050b14), #050b14 66%);
}

.collection-masthead {
  padding: 58px max(24px, calc((100vw - 1320px) / 2)) 68px;
}

.collection-masthead .breadcrumbs,
.article-masthead .breadcrumbs {
  margin-bottom: 30px;
}

.collection-masthead h1 {
  max-width: 1000px;
  font-size: clamp(58px, 8vw, 106px);
}

.collection-masthead > p,
.article-masthead > p {
  max-width: 780px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.7vw, 21px);
}

.category-page.subsite-main,
.guide-detail-page.subsite-main {
  padding-top: 0;
}

.category-page .subsite-grid,
.guide-detail-page .subsite-grid {
  margin-top: 56px;
}

.article-masthead {
  padding: 50px max(24px, calc((100vw - 1320px) / 2)) 64px;
}

.article-masthead h1 {
  max-width: 1050px;
  font-size: clamp(50px, 6.6vw, 88px);
}

.article-masthead .article-meta {
  margin-bottom: 18px;
}

.article-masthead .trust-line {
  margin-top: 24px;
}

.guide-detail-page .article-column {
  max-width: 920px;
}

.guide-detail-page .quick-answer {
  margin-top: 0;
  padding: 26px 30px;
  border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--line));
  border-left: 3px solid var(--accent);
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 7%, #07111d);
}

.guide-detail-page .task-brief,
.guide-detail-page .planner,
.guide-detail-page .checklist,
.guide-detail-page .codes-tool {
  margin-top: 0;
}

[data-theme="sovereign"] {
  --bg: #120b10;
  --bg-deep: #0b070a;
  --surface: #20131a;
  --surface-2: #2a1921;
  --surface-3: #35202a;
  --line: #49313a;
  --line-soft: #35242c;
  --muted: #c2abb0;
  --muted-2: #957d83;
}

[data-theme="sovereign"] .game-header {
  background: #0b070aeb;
}

[data-theme="sovereign"] .game-wiki-hero::before {
  background:
    linear-gradient(90deg, #120b10 0%, #120b10e8 34%, #120b1090 58%, #120b101f 84%),
    linear-gradient(0deg, #120b10 0%, transparent 32%);
}

[data-theme="sovereign"] .game-wiki-hero::after {
  background: linear-gradient(transparent, #120b10);
}

[data-theme="sovereign"] .game-hero-shade {
  background: radial-gradient(circle at 72% 34%, transparent 0 22%, #120b1070 64%, #120b10d6 100%);
}

[data-theme="sovereign"] .game-wiki-hero h1 {
  max-width: 11ch;
  text-shadow: 0 8px 38px #0b070ac7;
}

[data-theme="sovereign"] .game-wiki-hero h1 em {
  color: #ffe1b8;
}

[data-theme="sovereign"] .game-proof,
[data-theme="sovereign"] .hero-label,
[data-theme="sovereign"] .secondary-action {
  background-color: #120b10a6;
}

[data-theme="sovereign"] .guide-card {
  background: #180e14;
}

[data-theme="sovereign"] .guide-card:hover {
  background: color-mix(in srgb, var(--accent) 9%, #180e14);
}

[data-theme="sovereign"] .collection-masthead,
[data-theme="sovereign"] .article-masthead {
  background:
    radial-gradient(circle at 88% 15%, #7e30312b, transparent 28rem),
    linear-gradient(120deg, #301820, #120b10 68%);
}

[data-theme="sovereign"] .home-overview {
  padding-block: clamp(3.5rem, 7vw, 6.5rem);
}

[data-theme="sovereign"] .home-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2rem;
  border-block: 1px solid rgba(241, 179, 107, 0.25);
}

[data-theme="sovereign"] .home-overview-grid article {
  padding: 2rem;
  border-right: 1px solid rgba(241, 179, 107, 0.2);
}

[data-theme="sovereign"] .home-overview-grid article:last-child {
  border-right: 0;
}

[data-theme="sovereign"] .home-overview-grid article > span {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
}

[data-theme="sovereign"] .home-overview-grid h3 {
  margin: 1.4rem 0 0.7rem;
  font-family: var(--display);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

[data-theme="sovereign"] .home-overview-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

@media (max-width: 760px) {
  [data-theme="sovereign"] .home-overview-grid {
    grid-template-columns: 1fr;
  }

  [data-theme="sovereign"] .home-overview-grid article {
    border-right: 0;
    border-bottom: 1px solid rgba(241, 179, 107, 0.2);
  }

  [data-theme="sovereign"] .home-overview-grid article:last-child {
    border-bottom: 0;
  }
}

[data-native-video-block] > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

[data-native-video-block]::after {
  display: none;
}

.steam-video-link {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.7rem;
  color: #fff;
  background: linear-gradient(transparent 35%, rgba(11, 7, 10, 0.7));
  text-decoration: none;
}

.steam-video-link svg {
  width: 4rem;
  height: 4rem;
  padding: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  fill: currentColor;
  background: rgba(11, 7, 10, 0.72);
  transition: transform 160ms ease, background 160ms ease;
}

.steam-video-link:hover svg {
  transform: scale(1.06);
  background: var(--accent);
  color: var(--accent-ink);
}

.steam-video-link span {
  font-weight: 800;
  text-shadow: 0 2px 12px #000;
}

@media (max-width: 900px) {
  .game-subsite .game-wiki-hero {
    align-items: end;
    min-height: 720px;
  }

  .game-subsite .game-wiki-hero::before {
    background: linear-gradient(0deg, #050b14 0%, #050b14e8 42%, #050b143d 88%);
  }

  .game-subsite .game-wiki-hero .game-hero-copy {
    width: min(100% - 40px, 680px);
    margin-bottom: 96px;
    padding: 240px 0 36px;
  }

  .game-proof {
    right: 20px;
    bottom: 20px;
    left: 20px;
  }

  .game-proof > div {
    padding: 12px;
  }

  .guide-directory,
  .wiki-section-heading {
    grid-template-columns: 1fr;
  }

  .wiki-section-heading {
    gap: 18px;
  }

  .latest-guide-row {
    grid-template-columns: minmax(0, 1fr) auto 20px;
  }

  .latest-guide-row p {
    grid-column: 1 / 4;
    grid-row: 2;
  }
}

@media (max-width: 600px) {
  .game-subsite .game-header-inner {
    width: calc(100% - 24px);
  }

  .game-subsite .header-actions {
    gap: 6px;
  }

  .game-subsite .search-button {
    display: none;
  }

  .game-subsite .game-wiki-hero {
    min-height: 700px;
    background-position: 62% top;
  }

  .game-subsite .game-wiki-hero .game-hero-copy {
    width: calc(100% - 32px);
    margin-bottom: 152px;
    padding-top: 260px;
  }

  .game-subsite .game-wiki-hero h1 {
    font-size: clamp(50px, 15vw, 74px);
  }

  .game-subsite .game-wiki-hero .game-hero-copy > p {
    font-size: 16px;
  }

  .game-proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    right: 16px;
    bottom: 18px;
    left: 16px;
  }

  .game-proof dt {
    font-size: 17px;
  }

  .wiki-guide-section,
  .latest-guides-section {
    padding: 72px 0;
  }

  .guide-directory {
    border-left: 0;
  }

  .guide-card {
    grid-template-columns: 28px minmax(0, 1fr) 18px;
    min-height: 0;
    padding: 22px 0;
    border-right: 0;
    background: transparent;
  }

  .guide-card:hover {
    transform: none;
  }

  .guide-card h3 {
    font-size: 21px;
  }

  .latest-guides-section .wiki-section-heading {
    grid-template-columns: 1fr;
  }

  .latest-guides-section .status-line {
    justify-content: flex-start;
  }

  .latest-guide-row {
    grid-template-columns: minmax(0, 1fr) 18px;
    gap: 10px 14px;
    padding: 18px 0;
  }

  .latest-guide-row time {
    grid-column: 1;
    grid-row: 2;
  }

  .latest-guide-row p {
    grid-column: 1 / 3;
    grid-row: 3;
  }

  .latest-guide-row svg {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .collection-masthead,
  .article-masthead {
    padding-inline: 16px;
  }

  .collection-masthead {
    padding-top: 34px;
    padding-bottom: 48px;
  }

  .collection-masthead h1 {
    font-size: clamp(48px, 15vw, 68px);
  }

  .article-masthead {
    padding-top: 30px;
    padding-bottom: 44px;
  }

  .article-masthead h1 {
    font-size: clamp(42px, 12vw, 60px);
  }

  .category-page .subsite-grid,
  .guide-detail-page .subsite-grid {
    margin-top: 36px;
  }
}
