:root,
html[data-gsh-theme="dark"] {
  color-scheme: dark;
  --gsh-ink: #e1e3e6;
  --gsh-muted: #d0c5af;
  --gsh-muted-2: #99907c;
  --gsh-panel: #101416;
  --gsh-paper: #191c1e;
  --gsh-surface: #1d2022;
  --gsh-surface-high: #272a2d;
  --gsh-surface-bright: #323538;
  --gsh-line: #4d4635;
  --gsh-line-soft: #323538;
  --gsh-strong: #f2ca50;
  --gsh-accent: #f2ca50;
  --gsh-accent-2: #e9c349;
  --gsh-gold: #f2ca50;
  --gsh-on-accent: #241a00;
  --gsh-shadow: none;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--gsh-panel);
  color: var(--gsh-ink);
}

html[data-gsh-theme="light"] {
  color-scheme: light;
  --gsh-ink: #171713;
  --gsh-muted: #5d625c;
  --gsh-muted-2: #6c695f;
  --gsh-panel: #f7f3e8;
  --gsh-paper: #ffffff;
  --gsh-surface: #fdfaf2;
  --gsh-surface-high: #f0eadc;
  --gsh-surface-bright: #ebe0ca;
  --gsh-line: #d0c5af;
  --gsh-line-soft: #e5dac4;
  --gsh-strong: #243f39;
  --gsh-accent: #8f6e18;
  --gsh-accent-2: #2f6f8f;
  --gsh-gold: #a57c19;
  --gsh-on-accent: #fffaf0;
  --gsh-shadow: none;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgb(255 255 255 / 70%), rgb(255 255 255 / 0) 28rem),
    var(--gsh-panel);
  color: var(--gsh-ink);
}

a {
  color: inherit;
}

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

img {
  max-width: 100%;
  height: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  transform: translateY(-160%);
  background: var(--gsh-ink);
  color: var(--gsh-panel);
  padding: 0.6rem 0.8rem;
}

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

.site-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid var(--gsh-line);
  background: color-mix(in srgb, var(--gsh-panel) 96%, var(--gsh-paper));
}

.header-inner,
.main-shell,
.footer-inner {
  width: min(1180px, calc(100vw - 2rem));
  margin: 0 auto;
}

.header-inner {
  min-height: 72px;
  display: grid;
  grid-template-columns: minmax(230px, auto) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.25rem);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  text-decoration: none;
  font-weight: 800;
}

.brand span {
  white-space: nowrap;
}

.brand img {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  min-width: 0;
}

.nav > a,
.nav-dropdown summary,
.button,
.search-form button[type="submit"] {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 0.6rem 0.8rem;
  border: 1px solid transparent;
  text-decoration: none;
  color: var(--gsh-muted);
  font-weight: 700;
  font-size: 0.91rem;
}

.nav > a:hover,
.nav-dropdown summary:hover,
.nav-dropdown[open] summary,
.nav-dropdown:focus-within summary,
.button:hover,
.search-form button[type="submit"]:hover {
  color: var(--gsh-ink);
  border-color: var(--gsh-line);
  background: var(--gsh-paper);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown summary {
  gap: 0.5rem;
  cursor: pointer;
  list-style: none;
}

.nav-dropdown summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown summary:focus-visible,
.nav > a:focus-visible,
.nav-menu a:focus-visible {
  outline: 2px solid var(--gsh-accent-2);
  outline-offset: 3px;
}

.nav-caret {
  width: 0.48rem;
  height: 0.48rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 160ms ease;
}

.nav-dropdown[open] .nav-caret {
  transform: translateY(1px) rotate(225deg);
}

.nav-menu {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 50%;
  z-index: 15;
  min-width: 17rem;
  max-width: min(22rem, calc(100vw - 2rem));
  margin: 0;
  padding: 0.45rem;
  display: grid;
  gap: 0.15rem;
  list-style: none;
  border: 1px solid var(--gsh-line);
  border-radius: 8px;
  background: var(--gsh-paper);
  box-shadow: var(--gsh-shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -0.25rem);
  visibility: hidden;
  transition:
    opacity 160ms ease,
    transform 160ms ease,
    visibility 160ms ease;
}

.nav-dropdown[open] .nav-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
  visibility: visible;
}

.nav-menu a {
  width: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0.65rem 0.7rem;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--gsh-ink);
  text-decoration: none;
}

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

.nav-menu small {
  display: block;
  margin-top: 0.18rem;
  color: var(--gsh-muted);
  font-weight: 600;
  line-height: 1.35;
}

.search-form {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.site-search-form {
  position: relative;
}

.site-search-head,
.header-actions,
.mobile-menu-head,
.header-backdrop {
  display: none;
}

.header-icon-button,
.header-close-button {
  min-height: 42px;
  width: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gsh-line);
  border-radius: 8px;
  background: var(--gsh-paper);
  color: var(--gsh-ink);
  cursor: pointer;
}

.header-icon-button:hover,
.header-icon-button:focus-visible,
.header-close-button:hover,
.header-close-button:focus-visible {
  border-color: var(--gsh-accent-2);
  background: color-mix(in srgb, var(--gsh-accent-2) 11%, var(--gsh-paper));
  outline: none;
}

.search-icon {
  position: relative;
  width: 1rem;
  height: 1rem;
  border: 2px solid currentColor;
  border-radius: 999px;
}

.search-icon::after {
  position: absolute;
  right: -0.42rem;
  bottom: -0.2rem;
  width: 0.52rem;
  height: 2px;
  content: "";
  border-radius: 999px;
  background: currentColor;
  transform: rotate(45deg);
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  width: 1.25rem;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: currentColor;
}

.menu-icon {
  position: relative;
}

.menu-icon::before,
.menu-icon::after {
  position: absolute;
  left: 0;
  content: "";
}

.menu-icon::before {
  top: -0.43rem;
}

.menu-icon::after {
  top: 0.43rem;
}

.header-close-button {
  position: relative;
  flex: 0 0 auto;
}

.header-close-button span::before,
.header-close-button span::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.1rem;
  height: 2px;
  content: "";
  border-radius: 999px;
  background: currentColor;
}

.header-close-button span::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.header-close-button span::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.site-search-control {
  position: relative;
  display: block;
}

.search-form input {
  width: clamp(12rem, 22vw, 18rem);
  min-height: 40px;
  border: 1px solid var(--gsh-line);
  border-radius: 6px;
  padding: 0.55rem 0.75rem;
  background: var(--gsh-paper);
  color: var(--gsh-ink);
}

.button,
.search-form button[type="submit"] {
  background: var(--gsh-ink);
  color: var(--gsh-panel);
  border-color: var(--gsh-ink);
  cursor: pointer;
}

.button-secondary {
  background: var(--gsh-paper);
  color: var(--gsh-ink);
  border-color: var(--gsh-line);
}

.search-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.search-label,
.filter-label {
  margin: 0 0 0.38rem;
  color: var(--gsh-ink);
  font-size: 0.8rem;
  font-weight: 900;
}

.field-hint {
  margin: 0.38rem 0 0;
  color: var(--gsh-muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.search-suggestions {
  position: absolute;
  z-index: 35;
  top: calc(100% + 0.45rem);
  right: 0;
  width: clamp(23rem, 35vw, 34rem);
  max-width: calc(100vw - 2rem);
  max-height: min(70vh, 30rem);
  display: grid;
  gap: 0.35rem;
  padding: 0.45rem;
  overflow: auto;
  border: 1px solid var(--gsh-line);
  border-radius: 8px;
  background: var(--gsh-paper);
  box-shadow: var(--gsh-shadow);
}

.search-suggestions[hidden] {
  display: none;
}

.search-suggestion-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 0.65rem;
  align-items: center;
  min-height: 76px;
  padding: 0.45rem;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--gsh-ink);
  text-decoration: none;
}

.search-suggestion-card:hover,
.search-suggestion-card:focus-visible,
.search-suggestion-card.is-active {
  border-color: var(--gsh-line);
  background: color-mix(in srgb, var(--gsh-accent) 11%, var(--gsh-paper));
  outline: none;
}

.search-suggestion-thumb {
  display: block;
  overflow: hidden;
  border-radius: 6px;
  background: var(--gsh-panel);
}

.search-suggestion-thumb img {
  display: block;
  width: 72px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.search-suggestion-copy {
  display: grid;
  min-width: 0;
  gap: 0.18rem;
}

.search-suggestion-copy strong,
.search-suggestion-copy small {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}

.search-suggestion-copy strong {
  -webkit-line-clamp: 2;
  font-size: 0.92rem;
  line-height: 1.22;
}

.search-suggestion-copy small {
  -webkit-line-clamp: 2;
  color: var(--gsh-muted);
  line-height: 1.32;
}

.main-shell {
  padding: 3rem 0 4rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 2rem;
  align-items: stretch;
  min-height: 460px;
  padding: 3.5rem 0;
}

.hero-copy {
  align-self: center;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--gsh-accent);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1,
h2,
h3 {
  letter-spacing: 0;
  line-height: 1.08;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 5.8rem);
  max-width: 11ch;
}

.dek {
  max-width: 58ch;
  margin: 1.25rem 0 0;
  color: var(--gsh-muted);
  font-size: 1.2rem;
  line-height: 1.7;
}

.hero-panel,
.panel {
  border: 1px solid var(--gsh-line);
  border-radius: 8px;
  background: var(--gsh-paper);
  box-shadow: var(--gsh-shadow);
}

.hero-panel {
  display: grid;
  align-content: end;
  min-height: 360px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgb(36 63 57 / 88%), rgb(184 63 36 / 72%)),
    url("/assets/atlas/images/atlas-home-hero-strategy-room.jpg") center / cover;
  color: #fffaf0;
}

.hero-panel-content {
  padding: 1.4rem;
}

.home-hero {
  position: relative;
  width: 100vw;
  min-height: clamp(500px, 58vh, 620px);
  margin-top: -3rem;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  padding: clamp(3.75rem, 7vw, 6rem) max(1rem, calc((100vw - 1180px) / 2 + 1rem)) clamp(3rem, 6vw, 5rem);
  grid-template-columns: minmax(0, 0.98fr) minmax(270px, 0.62fr);
  overflow: hidden;
  color: #fffaf0;
  background:
    linear-gradient(90deg, rgb(7 12 18 / 96%) 0%, rgb(7 12 18 / 86%) 41%, rgb(7 12 18 / 48%) 100%),
    linear-gradient(180deg, rgb(7 12 18 / 54%) 0%, rgb(7 12 18 / 8%) 42%, rgb(7 12 18 / 78%) 100%),
    url("/assets/atlas/images/atlas-home-hero-strategy-room.jpg") center / cover no-repeat;
}

.home-hero::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 82% 52%, rgb(47 111 143 / 24%), transparent 32rem),
    linear-gradient(180deg, transparent 72%, rgb(255 250 240 / 9%) 100%);
}

.home-hero .hero-copy,
.home-hero .hero-panel {
  position: relative;
  z-index: 1;
}

.home-hero .hero-copy {
  max-width: 710px;
  align-self: end;
}

.home-hero h1 {
  color: #ffffff;
  text-shadow: 0 2px 28px rgb(0 0 0 / 44%);
}

.home-hero .dek {
  color: rgb(255 250 240 / 88%);
  text-shadow: 0 1px 18px rgb(0 0 0 / 36%);
}

.home-hero .hero-panel {
  min-height: 0;
  align-self: end;
  border-color: rgb(255 255 255 / 20%);
  background: rgb(7 12 18 / 48%);
  box-shadow: 0 18px 52px rgb(0 0 0 / 26%);
  backdrop-filter: blur(10px);
}

.home-hero .hero-panel-content {
  padding: clamp(1rem, 2vw, 1.35rem);
}

.home-hero .hero-panel h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.35rem, 2vw, 1.6rem);
  line-height: 1.2;
}

.home-hero .eyebrow {
  color: #ff926d;
  text-shadow: 0 1px 16px rgb(0 0 0 / 36%);
}

.hero-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  max-width: 46rem;
  margin-top: 1.35rem;
}

.hero-shortcuts a,
.chip-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, currentColor 28%, transparent);
  border-radius: 999px;
  padding: 0.5rem 0.76rem;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 850;
}

.hero-shortcuts a {
  color: #fffaf0;
  background: rgb(255 250 240 / 9%);
  box-shadow: 0 10px 26px rgb(0 0 0 / 18%);
}

.hero-shortcuts a:hover,
.hero-shortcuts a:focus-visible {
  color: #ffffff;
  border-color: rgb(255 250 240 / 58%);
  background: rgb(47 111 143 / 42%);
  outline: none;
}

.section {
  margin: 3rem 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1rem;
}

.section-header h2 {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.5rem);
}

.section-header-stack {
  align-items: start;
}

.section-dek {
  max-width: 68ch;
  margin: 0.55rem 0 0;
  color: var(--gsh-muted);
  line-height: 1.65;
}

.discovery-panel {
  padding: clamp(1rem, 2.5vw, 1.35rem);
  border: 1px solid var(--gsh-line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--gsh-accent-2) 9%, transparent), transparent 54%),
    var(--gsh-paper);
  box-shadow: 0 16px 36px rgb(23 23 19 / 8%);
}

.discovery-search {
  align-self: start;
}

.guide-finder-panel,
.hub-search-block,
.archive-link-groups,
.search-quick-panel {
  display: grid;
  gap: 1rem;
}

.guide-finder-panel {
  grid-template-columns: minmax(17rem, 0.95fr) minmax(18rem, 1.05fr);
  align-items: start;
  margin: 1rem 0;
}

.articles-inline-search,
.hub-search-form,
.archive-search-form,
.home-guide-search {
  display: grid;
  gap: 0;
}

.articles-inline-search .search-row,
.hub-search-form .search-row,
.archive-search-form .search-row,
.home-guide-search .search-row {
  width: 100%;
}

.articles-inline-search input,
.hub-search-form input,
.archive-search-form input,
.home-guide-search input {
  width: 100%;
  min-width: 0;
}

.filter-panel {
  display: grid;
  gap: 0.8rem;
}

.filter-group {
  min-width: 0;
}

.filter-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-chip {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--gsh-accent-2) 22%, var(--gsh-line));
  border-radius: 999px;
  padding: 0.45rem 0.7rem;
  background: color-mix(in srgb, var(--gsh-accent-2) 7%, var(--gsh-paper));
  color: var(--gsh-ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 850;
}

.filter-chip:hover,
.filter-chip:focus-visible,
.filter-chip[aria-pressed="true"] {
  border-color: var(--gsh-accent-2);
  background: color-mix(in srgb, var(--gsh-accent-2) 16%, var(--gsh-paper));
  outline: none;
}

.articles-results-status {
  max-width: 62ch;
  margin: 0.45rem 0 0;
  color: var(--gsh-muted);
  font-weight: 800;
  line-height: 1.5;
}

.articles-result[hidden],
.articles-no-results[hidden] {
  display: none;
}

.articles-no-results {
  margin: 1rem 0 0;
  padding: 1rem;
  border: 1px solid var(--gsh-line);
  border-radius: 8px;
  background: var(--gsh-paper);
  color: var(--gsh-muted);
}

.articles-clear-button {
  align-self: start;
}

.articles-clear-button[hidden] {
  display: none;
}

.hub-search-block {
  grid-template-columns: minmax(18rem, 0.9fr) minmax(0, 1.1fr);
  align-items: end;
  margin-top: 1rem;
}

.hub-search-chips,
.archive-search-chips {
  align-content: end;
}

.archive-link-groups {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1rem;
}

.archive-chip-nav {
  margin-top: 0;
}

.archive-empty-state {
  padding: 1.1rem;
}

.search-quick-panel {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 820px;
  margin-top: 1.25rem;
}

.search-quick-links {
  margin-top: 0;
}

.home-guide-finder {
  margin-top: -1rem;
}

.home-guide-chips {
  margin-top: 0.35rem;
}

.article-next-steps {
  padding: clamp(1rem, 2.5vw, 1.25rem);
  border: 1px solid var(--gsh-line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--gsh-accent) 8%, transparent), transparent 52%),
    var(--gsh-paper);
}

.next-step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.next-step-link {
  min-height: 104px;
}

.chip-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.chip-nav a {
  min-height: 36px;
  color: var(--gsh-ink);
  background: color-mix(in srgb, var(--gsh-accent-2) 8%, var(--gsh-paper));
}

.chip-nav a:hover,
.chip-nav a:focus-visible {
  border-color: var(--gsh-accent-2);
  background: color-mix(in srgb, var(--gsh-accent-2) 14%, var(--gsh-paper));
  outline: none;
}

.task-link-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.task-link-grid-compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.task-link {
  display: grid;
  gap: 0.25rem;
  min-height: 92px;
  padding: 0.82rem;
  border: 1px solid color-mix(in srgb, var(--gsh-line) 88%, transparent);
  border-radius: 8px;
  background: color-mix(in srgb, var(--gsh-paper) 84%, var(--gsh-panel));
  color: var(--gsh-ink);
  text-decoration: none;
}

.task-link span {
  font-weight: 900;
}

.task-link small {
  color: var(--gsh-muted);
  line-height: 1.36;
}

.task-link:hover,
.task-link:focus-visible {
  border-color: var(--gsh-accent-2);
  background: color-mix(in srgb, var(--gsh-accent-2) 10%, var(--gsh-paper));
  outline: none;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1rem;
  border: 1px solid var(--gsh-line);
  border-radius: 8px;
  background: var(--gsh-paper);
  text-decoration: none;
}

.card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 0.8rem;
}

.card h3 {
  margin: 0;
  font-size: 1.12rem;
}

.card p {
  color: var(--gsh-muted);
  line-height: 1.55;
}

.card-meta {
  margin-top: auto;
  color: var(--gsh-accent-2);
  font-weight: 800;
  font-size: 0.86rem;
}

.content-list {
  display: grid;
  gap: 0.8rem;
}

.content-list-dense {
  gap: 0.65rem;
}

.content-card {
  min-width: 0;
  display: flex;
  min-height: 100%;
  border: 1px solid var(--gsh-line);
  border-radius: 8px;
  background: var(--gsh-paper);
  color: var(--gsh-ink);
  text-decoration: none;
  overflow: hidden;
}

.content-card:hover,
.content-card:focus-visible {
  border-color: var(--gsh-accent-2);
  background: color-mix(in srgb, var(--gsh-accent-2) 7%, var(--gsh-paper));
  outline: none;
}

.content-card-grid {
  flex-direction: column;
}

.content-card-list {
  display: grid;
  grid-template-columns: minmax(116px, 168px) minmax(0, 1fr);
  align-items: stretch;
}

.content-card-sidebar {
  padding: 0.85rem;
}

.content-card-compact {
  flex-direction: column;
}

.content-card-media {
  display: block;
  overflow: hidden;
  background: var(--gsh-panel);
}

.content-card-grid .content-card-media {
  width: 100%;
}

.content-card-media img {
  width: 100%;
  height: 100%;
  min-height: 112px;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 180ms ease;
}

.content-card-list .content-card-media img {
  min-height: 100%;
  aspect-ratio: 4 / 3;
}

.content-card-compact .content-card-media img {
  min-height: 96px;
  aspect-ratio: 16 / 9;
}

@media (prefers-reduced-motion: no-preference) {
  .content-card:hover .content-card-media img,
  .content-card:focus-visible .content-card-media img {
    transform: scale(1.025);
  }
}

.content-card-copy {
  min-width: 0;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.95rem;
}

.content-card-compact .content-card-copy,
.content-card-sidebar .content-card-copy {
  padding: 0;
}

.content-card-compact .content-card-copy {
  padding: 0.78rem;
}

.content-card h3,
.content-card p {
  margin: 0;
}

.content-card h3 {
  font-size: 1.08rem;
}

.content-card p {
  color: var(--gsh-muted);
  line-height: 1.52;
}

.content-card-list p,
.content-card-sidebar p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
}

.content-card-list p {
  -webkit-line-clamp: 2;
}

.content-card-sidebar p {
  -webkit-line-clamp: 3;
}

.content-card-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.75rem;
  align-items: center;
  margin-top: auto;
  color: var(--gsh-muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.content-card-cta {
  color: var(--gsh-accent-2);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem;
  min-width: 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.45rem;
  border: 1px solid color-mix(in srgb, var(--gsh-accent-2) 22%, var(--gsh-line));
  border-radius: 999px;
  padding: 0.16rem 0.45rem;
  color: var(--gsh-accent-2);
  background: color-mix(in srgb, var(--gsh-accent-2) 8%, transparent);
  font-size: 0.69rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.game-path-panel {
  padding: 1rem;
}

.game-path-panel h3 {
  margin: 0 0 0.75rem;
}

.mini-card-list {
  display: grid;
  gap: 0.55rem;
}

.text-link-strong,
.sidebar-link-list a {
  color: var(--gsh-accent-2);
  font-weight: 850;
  text-underline-offset: 0.18em;
}

.text-link-strong {
  display: inline-flex;
  margin-top: 0.85rem;
}

.sidebar-link-list {
  display: grid;
  gap: 0.45rem;
}

.contact-action-panel {
  padding: clamp(1rem, 2.4vw, 1.35rem);
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 900px) 280px;
  gap: 2rem;
  align-items: start;
}

.article-layout {
  grid-template-columns: minmax(0, 900px) 280px;
}

.page-layout {
  grid-template-columns: minmax(0, 860px) 280px;
}

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

.content-main {
  min-width: 0;
}

.article-header {
  margin-bottom: 2rem;
}

.article-header h1 {
  max-width: 960px;
  font-size: clamp(2.35rem, 5vw, 4.5rem);
}

.content-main-post .article-header h1 {
  font-size: clamp(2.25rem, 4.6vw, 4.15rem);
}

.article-meta {
  color: var(--gsh-muted);
  font-weight: 700;
  margin: 1rem 0 0;
}

.hub-header {
  margin-bottom: 1.35rem;
}

.article-meta-subtle {
  max-width: 62ch;
}

.article-toc {
  margin: 0 0 1.6rem;
  border: 1px solid var(--gsh-line);
  border-left: 4px solid var(--gsh-strong);
  border-radius: 8px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--gsh-strong) 10%, transparent), transparent 48%),
    var(--gsh-paper);
  box-shadow: 0 12px 30px rgb(23 23 19 / 8%);
  overflow: hidden;
}

.article-toc summary {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  cursor: pointer;
  color: var(--gsh-ink);
  font-weight: 800;
  list-style: none;
}

.article-toc summary::-webkit-details-marker {
  display: none;
}

.article-toc summary::after {
  content: "";
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  background:
    linear-gradient(currentColor, currentColor) center / 14px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 14px no-repeat;
  color: var(--gsh-accent-2);
  transition: transform 160ms ease, background-size 160ms ease;
}

.article-toc[open] summary::after {
  background-size: 14px 2px, 0 0;
  transform: rotate(180deg);
}

.article-toc-count {
  margin-left: auto;
  color: var(--gsh-muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.article-toc nav {
  max-height: min(52vh, 520px);
  overflow: auto;
  padding: 0 1rem 1rem;
}

.article-toc ol {
  display: grid;
  gap: 0.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-toc li {
  min-width: 0;
}

.article-toc a {
  display: block;
  border-radius: 6px;
  padding: 0.36rem 0.45rem;
  color: var(--gsh-muted);
  text-decoration: none;
  line-height: 1.35;
}

.article-toc-level-3 a {
  padding-left: 1.35rem;
  font-size: 0.94rem;
}

.article-toc a:hover,
.article-toc a:focus-visible {
  background: color-mix(in srgb, var(--gsh-accent-2) 10%, transparent);
  color: var(--gsh-accent-2);
  outline: 0;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.article-toc-mobile {
  display: none;
}

.article-toc-list {
  display: grid;
  gap: 0.55rem;
  margin: 0 0 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gsh-line);
}

.article-toc-list-title {
  margin: 0;
  color: var(--gsh-ink);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.article-toc-list ol {
  display: grid;
  gap: 0.12rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-toc-list a {
  display: block;
  border-radius: 6px;
  padding: 0.32rem 0.42rem;
  color: var(--gsh-muted);
  font-size: 0.9rem;
  line-height: 1.35;
  text-decoration: none;
}

.article-toc-list .article-toc-level-3 a {
  padding-left: 1.1rem;
  font-size: 0.84rem;
}

.article-toc-list a:hover,
.article-toc-list a:focus-visible {
  background: color-mix(in srgb, var(--gsh-accent-2) 10%, transparent);
  color: var(--gsh-accent-2);
  outline: 0;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.article-body :where(h2, h3)[id],
.article-priority-answer :where(h2, h3)[id] {
  scroll-margin-top: 96px;
}

.article-priority-answer {
  margin: 0 0 1.1rem;
}

.article-priority-answer :where(p, li) {
  color: color-mix(in srgb, var(--gsh-ink) 88%, var(--gsh-muted));
  line-height: 1.72;
}

.article-body {
  --article-prose: min(72ch, 100%);
  display: grid;
  grid-template-columns:
    [full-start] minmax(0, 1fr)
    [content-start] minmax(0, var(--article-prose))
    [content-end] minmax(0, 1fr)
    [full-end];
  row-gap: 1rem;
  font-size: 1.05rem;
  line-height: 1.78;
}

.article-body > * {
  grid-column: content;
  min-width: 0;
  margin-top: 0;
  margin-bottom: 0;
}

.article-body > :where(.gsh-hero, .gsh-section, .gsh-quick-answer, .gsh-callout, .gsh-update-notice, .gsh-related-guides, .article-table-scroll, .wp-block-table, table, figure, details, blockquote) {
  grid-column: full;
}

.article-body :where(p, li) {
  color: color-mix(in srgb, var(--gsh-ink) 88%, var(--gsh-muted));
}

.article-body a {
  color: var(--gsh-accent-2);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.article-body h2,
.article-body h3 {
  margin-top: 1.8rem;
  margin-bottom: 0;
  color: var(--gsh-ink);
  scroll-margin-top: 96px;
}

.article-body h2 {
  padding-top: 1.1rem;
  border-top: 1px solid color-mix(in srgb, var(--gsh-line) 72%, transparent);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.article-body h3 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
}

.article-body blockquote {
  margin: 0.45rem 0;
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--gsh-gold);
  border-radius: 8px;
  background: color-mix(in srgb, var(--gsh-gold) 12%, var(--gsh-paper));
}

.article-body blockquote > :last-child {
  margin-bottom: 0;
}

.article-body code,
.article-body kbd {
  border: 1px solid var(--gsh-line);
  border-radius: 5px;
  background: color-mix(in srgb, var(--gsh-strong) 9%, var(--gsh-paper));
  color: var(--gsh-strong);
  padding: 0.12rem 0.32rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
}

.article-body .gsh-hero {
  margin-bottom: 0.6rem;
  padding: clamp(1.15rem, 3vw, 1.8rem);
  border: 1px solid var(--gsh-line);
  border-left: 5px solid var(--gsh-accent);
  border-radius: 8px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--gsh-accent-2) 13%, transparent), transparent 52%),
    var(--gsh-paper);
  box-shadow: 0 14px 34px rgb(23 23 19 / 8%);
}

.article-body .gsh-eyebrow {
  margin: 0 0 0.35rem;
  color: var(--gsh-accent);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.article-body .gsh-dek {
  max-width: 72ch;
  margin: 0;
  color: var(--gsh-muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.article-body .gsh-section {
  margin: 0.65rem 0;
  padding: 1.15rem 0 0;
  border-top: 1px solid var(--gsh-line);
}

.article-body .gsh-section-header h2,
.article-body .gsh-section h2:first-child {
  margin-top: 0;
  border-top: 0;
  padding-top: 0;
}

.article-body .wp-block-group__inner-container > :first-child,
.article-body .gsh-section > :first-child {
  margin-top: 0;
}

.article-body .wp-block-group__inner-container > :last-child,
.article-body .gsh-section > :last-child {
  margin-bottom: 0;
}

.article-priority-answer .gsh-quick-answer,
.article-body .gsh-quick-answer,
.article-body .gsh-callout,
.article-body .gsh-update-notice,
.article-body .gsh-related-guides {
  position: relative;
  margin: 0.7rem 0;
  padding: clamp(1rem, 2.6vw, 1.35rem);
  border: 1px solid var(--gsh-line);
  border-radius: 8px;
  background: var(--gsh-paper);
  box-shadow: 0 12px 28px rgb(23 23 19 / 8%);
}

.article-priority-answer .gsh-quick-answer,
.article-body .gsh-quick-answer {
  border-color: color-mix(in srgb, var(--gsh-strong) 42%, var(--gsh-line));
  border-left: 5px solid var(--gsh-strong);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--gsh-strong) 13%, transparent), transparent 58%),
    var(--gsh-paper);
}

.article-priority-answer .gsh-quick-answer--blocks,
.article-body .gsh-quick-answer--blocks {
  --qa-row-bg: color-mix(in srgb, var(--gsh-paper) 88%, var(--gsh-panel));
}

.gsh-answer-blocks {
  display: grid;
  gap: 0.72rem;
  margin: 0.95rem 0 0;
  padding: 0;
  list-style: none;
}

.gsh-answer-block {
  display: grid;
  grid-template-columns: minmax(8.5rem, 0.62fr) minmax(0, 1.7fr);
  gap: 0.65rem 1rem;
  align-items: start;
  padding: 0.9rem 1rem;
  border: 1px solid color-mix(in srgb, var(--gsh-line) 82%, transparent);
  border-radius: 8px;
  background: var(--qa-row-bg);
}

.gsh-answer-kicker,
.gsh-answer-title,
.gsh-answer-body,
.gsh-answer-facts,
.gsh-answer-facts dd {
  margin: 0;
}

.gsh-answer-kicker {
  color: var(--gsh-strong);
  font-weight: 850;
  line-height: 1.25;
}

.gsh-answer-kicker span,
.gsh-answer-facts dt {
  display: block;
  margin: 0 0 0.18rem;
  color: var(--gsh-muted);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.gsh-answer-copy {
  min-width: 0;
}

.gsh-answer-title {
  color: var(--gsh-ink);
  font-weight: 850;
  line-height: 1.28;
}

.gsh-answer-body {
  margin-top: 0.28rem;
  color: color-mix(in srgb, var(--gsh-ink) 88%, var(--gsh-muted));
  line-height: 1.58;
}

.gsh-answer-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr));
  gap: 0.55rem 0.85rem;
  margin-top: 0.55rem;
}

.gsh-answer-facts div,
.gsh-answer-facts dd {
  min-width: 0;
}

.gsh-answer-facts dd {
  color: color-mix(in srgb, var(--gsh-ink) 88%, var(--gsh-muted));
  line-height: 1.45;
}

.article-body .gsh-callout,
.article-body .gsh-update-notice {
  border-left: 5px solid var(--gsh-accent-2);
}

.article-body .gsh-callout-warning {
  border-left-color: var(--gsh-gold);
}

.article-body .gsh-callout-danger {
  border-left-color: var(--gsh-accent);
}

.article-priority-answer .gsh-quick-answer h2,
.article-priority-answer .gsh-quick-answer h3,
.article-body .gsh-quick-answer h2,
.article-body .gsh-quick-answer h3,
.article-body .gsh-callout h2,
.article-body .gsh-callout h3,
.article-body .gsh-related-guides h2 {
  margin-top: 0;
  border-top: 0;
  padding-top: 0;
}

.article-priority-answer .gsh-quick-answer > :last-child,
.article-body .gsh-quick-answer > :last-child,
.article-body .gsh-callout > :last-child,
.article-body .gsh-update-notice > :last-child,
.article-body .gsh-related-guides > :last-child {
  margin-bottom: 0;
}

.article-body .article-link-list,
.article-body .wp-block-latest-posts {
  display: grid;
  gap: 0.55rem;
  padding-left: 0;
  list-style: none;
}

.article-body .article-link-list li,
.article-body .wp-block-latest-posts li {
  padding: 0.72rem 0.85rem;
  border: 1px solid color-mix(in srgb, var(--gsh-line) 84%, transparent);
  border-radius: 8px;
  background: color-mix(in srgb, var(--gsh-paper) 86%, var(--gsh-panel));
}

.article-body .wp-block-latest-posts__post-title {
  display: block;
  color: var(--gsh-ink);
  font-weight: 800;
  line-height: 1.35;
}

.article-body .wp-block-latest-posts__post-date {
  display: block;
  margin-top: 0.2rem;
  color: var(--gsh-muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.article-body .article-source-list {
  border-left: 3px solid var(--gsh-line);
  padding-left: 1rem;
  color: var(--gsh-muted);
  font-size: 0.96rem;
}

.article-body figure.wp-block-image,
.article-body figure.gsh-article-image {
  width: 100%;
  margin: 1rem 0;
}

.article-body figure.wp-block-image img,
.article-body figure.gsh-article-image img,
.article-body > figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--gsh-line);
  border-radius: 8px;
  background: var(--gsh-paper);
}

.article-body figcaption,
.article-body figure + p:has(> em:only-child) {
  margin-top: 0.55rem;
  color: var(--gsh-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.article-body details {
  border: 1px solid var(--gsh-line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--gsh-paper) 88%, var(--gsh-panel));
  overflow: hidden;
}

.article-body .gsh-faq-title {
  margin-bottom: 0.35rem;
}

.article-body .gsh-faq-list {
  display: grid;
  gap: 0.85rem;
  margin: 0.35rem 0 1rem;
}

.article-body .gsh-faq-list .gsh-faq-item {
  margin: 0;
}

.article-body .gsh-faq-list .gsh-faq-item[id] {
  scroll-margin-top: 96px;
}

.article-body .gsh-faq-list .gsh-faq-item[open] {
  border-color: color-mix(in srgb, var(--gsh-accent-2) 45%, var(--gsh-line));
  background: color-mix(in srgb, var(--gsh-paper) 94%, var(--gsh-panel));
}

.article-body .gsh-faq-question-text {
  display: block;
}

.article-body details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 48px;
  padding: 0.8rem 1rem;
  cursor: pointer;
  color: var(--gsh-ink);
  font-weight: 800;
  list-style: none;
}

.article-body details summary::-webkit-details-marker {
  display: none;
}

.article-body details summary::after {
  content: "+";
  color: var(--gsh-accent-2);
  font-weight: 900;
}

.article-body details[open] summary::after {
  content: "-";
}

.article-body details > :not(summary) {
  margin: 0 1rem 1rem;
}

.article-body details > :last-child {
  margin-bottom: 1rem;
}

.article-body table,
.article-priority-answer table {
  width: 100%;
  min-width: 620px;
  border-collapse: separate;
  border-spacing: 0;
  margin: 0;
  border: 1px solid var(--gsh-line);
  border-radius: 8px;
  background: var(--gsh-paper);
  overflow: hidden;
  font-size: 0.95rem;
}

.article-body .article-table-scroll,
.article-body .wp-block-table,
.article-body > table,
.article-priority-answer .article-table-scroll,
.article-priority-answer .wp-block-table {
  position: relative;
  display: block;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.article-body > table {
  min-width: 0;
}

.article-body .article-table-scroll:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--gsh-accent-2) 48%, transparent);
  outline-offset: 3px;
}

.article-body .article-table-scroll::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 2.6rem;
  display: none;
  pointer-events: none;
  content: "";
  background: linear-gradient(90deg, transparent, var(--gsh-paper));
}

.article-body th,
.article-body td,
.article-priority-answer th,
.article-priority-answer td {
  border-bottom: 1px solid var(--gsh-line);
  padding: 0.7rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.article-body th + th,
.article-body td + td,
.article-priority-answer th + th,
.article-priority-answer td + td {
  border-left: 1px solid var(--gsh-line);
}

.article-body tr:last-child td,
.article-priority-answer tr:last-child td {
  border-bottom: 0;
}

.article-body th,
.article-priority-answer th {
  background: color-mix(in srgb, var(--gsh-strong) 10%, transparent);
  color: var(--gsh-ink);
  font-size: 0.8rem;
  font-weight: 800;
}

.article-body tbody tr:hover,
.article-priority-answer tbody tr:hover {
  background: color-mix(in srgb, var(--gsh-accent-2) 8%, transparent);
}

.sidebar {
  position: sticky;
  top: 92px;
  padding: 1rem;
}

.article-sidebar {
  max-height: calc(100vh - 112px);
  overflow: auto;
}

.sidebar-related {
  display: grid;
  gap: 0.7rem;
  margin-top: 1rem;
}

.sidebar h2 {
  margin-top: 0;
  font-size: 1.25rem;
}

.sidebar p,
.sidebar li {
  color: var(--gsh-muted);
  line-height: 1.55;
}

.sidebar ul {
  margin: 0;
  padding-left: 1.2rem;
}

.site-footer {
  border-top: 1px solid var(--gsh-line);
  padding: 2rem 0;
  color: var(--gsh-muted);
}

.search-results {
  display: grid;
  gap: 0.8rem;
}

.search-panel {
  max-width: 960px;
}

.search-result-list {
  display: grid;
  gap: 0.75rem;
}

.search-results-status {
  margin: 0;
  color: var(--gsh-muted);
  font-weight: 800;
}

.search-empty-state {
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
  border: 1px solid var(--gsh-line);
  border-radius: 8px;
  background: var(--gsh-paper);
}

.search-empty-state p {
  margin: 0;
  color: var(--gsh-muted);
}

.search-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.search-chips a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--gsh-line);
  border-radius: 999px;
  padding: 0.42rem 0.68rem;
  color: var(--gsh-ink);
  background: color-mix(in srgb, var(--gsh-accent) 8%, var(--gsh-paper));
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.search-chips a:hover,
.search-chips a:focus-visible {
  border-color: var(--gsh-accent-2);
  outline: none;
}

.search-result-card {
  display: grid;
  grid-template-columns: minmax(108px, 148px) minmax(0, 1fr);
  gap: 0.95rem;
  align-items: stretch;
  padding: 0.8rem;
}

.search-result-card:hover,
.search-result-card:focus-visible {
  border-color: var(--gsh-accent-2);
  background: color-mix(in srgb, var(--gsh-accent) 8%, var(--gsh-paper));
  outline: none;
}

.search-result-thumb {
  display: block;
  min-height: 100%;
  overflow: hidden;
  border-radius: 6px;
  background: var(--gsh-panel);
}

.search-result-thumb img {
  width: 100%;
  height: 100%;
  min-height: 92px;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
  margin: 0;
  transition: transform 180ms ease;
}

@media (prefers-reduced-motion: no-preference) {
  .search-result-card:hover .search-result-thumb img,
  .search-result-card:focus-visible .search-result-thumb img {
    transform: scale(1.03);
  }
}

.search-result-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
}

.search-result-kicker {
  color: var(--gsh-accent-2);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.search-result-card h3,
.search-result-card p {
  margin: 0;
}

.search-result-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.search-result-skeleton {
  border: 1px solid var(--gsh-line);
  border-radius: 8px;
  background: var(--gsh-paper);
}

.search-result-skeleton .search-result-thumb,
.skeleton-line {
  background: color-mix(in srgb, var(--gsh-muted) 18%, transparent);
}

.skeleton-line {
  display: block;
  height: 0.8rem;
  border-radius: 999px;
}

.skeleton-line.short {
  width: 34%;
}

.skeleton-line.medium {
  width: 68%;
}

@media (max-width: 1120px) {
  .header-inner {
    min-height: 64px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
    padding: 0.55rem 0;
  }

  .brand {
    min-width: 0;
  }

  .brand span {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.45rem;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    width: min(21rem, calc(100vw - 3rem));
    max-width: calc(100vw - 3rem);
    display: none;
    align-content: start;
    gap: 0.5rem;
    padding: 0.85rem 0.85rem calc(1rem + env(safe-area-inset-bottom));
    overflow-y: auto;
    border-left: 1px solid var(--gsh-line);
    background: var(--gsh-paper);
    box-shadow: -22px 0 60px rgb(0 0 0 / 22%);
    transform: translateX(100%);
    transition: transform 180ms ease;
  }

  .site-header.is-menu-open .nav {
    display: grid;
    transform: translateX(0);
  }

  .mobile-menu-head {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.25rem;
    font-weight: 800;
  }

  .nav > a,
  .nav-dropdown {
    width: 100%;
  }

  .nav > a {
    justify-content: flex-start;
    border-color: var(--gsh-line);
    background: color-mix(in srgb, var(--gsh-panel) 58%, var(--gsh-paper));
  }

  .nav-dropdown summary {
    width: 100%;
    justify-content: space-between;
    border-color: var(--gsh-line);
    background: color-mix(in srgb, var(--gsh-panel) 58%, var(--gsh-paper));
  }

  .nav-menu {
    position: static;
    min-width: 0;
    width: 100%;
    display: none;
    margin-top: 0.25rem;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    visibility: visible;
  }

  .nav-dropdown[open] .nav-menu {
    display: grid;
    transform: none;
  }

  .site-search-form {
    position: fixed;
    top: calc(64px + env(safe-area-inset-top));
    right: 0.5rem;
    left: 0.5rem;
    z-index: 75;
    display: none;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.65rem;
    max-height: calc(100dvh - 80px);
    margin: 0;
    padding: 0.75rem;
    overflow: auto;
    border: 1px solid var(--gsh-line);
    border-radius: 8px;
    background: var(--gsh-paper);
    box-shadow: var(--gsh-shadow);
  }

  .site-header.is-search-open .site-search-form {
    display: grid;
  }

  .site-search-head {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
  }

  .site-search-head p {
    margin: 0;
    font-weight: 800;
  }

  .search-form input {
    width: 100%;
  }

  .search-suggestions {
    position: static;
    grid-column: 1 / -1;
    width: 100%;
    max-width: none;
    max-height: min(52dvh, 28rem);
  }

  .header-backdrop {
    position: fixed;
    inset: 0;
    z-index: 65;
    display: block;
    background: rgb(15 17 13 / 48%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms ease;
  }

  .site-header.is-menu-open .header-backdrop,
  .site-header.is-search-open .header-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .gsh-header-layer-open {
    overflow: hidden;
  }

  .hero,
  .content-layout {
    grid-template-columns: 1fr;
  }

  .home-hero {
    min-height: auto;
    background-position: center, center, 54% center;
  }

  .article-header h1 {
    font-size: clamp(2.1rem, 8vw, 3.35rem);
  }

  .article-toc nav {
    max-height: 55svh;
  }

  .article-toc-mobile {
    display: block;
  }

  .article-sidebar {
    max-height: none;
    overflow: visible;
  }

  .article-sidebar .article-toc-list {
    display: none;
  }

  .task-link-grid,
  .task-link-grid-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-finder-panel,
  .hub-search-block,
  .archive-link-groups,
  .search-quick-panel {
    grid-template-columns: 1fr;
  }

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

  .content-card-list {
    grid-template-columns: minmax(98px, 132px) minmax(0, 1fr);
  }

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

  .sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  .header-inner,
  .main-shell,
  .footer-inner {
    width: min(100vw - 1rem, 1180px);
  }

  .nav > a,
  .nav-dropdown {
    flex: 1 1 100%;
  }

  .search-form {
    width: auto;
  }

  .search-row {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .search-form input {
    flex: 1;
    width: auto;
  }

  .search-row input,
  .search-row button[type="submit"] {
    width: 100%;
  }

  .site-search-control {
    flex: 1;
  }

  .search-suggestions {
    width: calc(100vw - 1rem);
  }

  .search-suggestion-card {
    grid-template-columns: 64px minmax(0, 1fr);
    min-height: 72px;
  }

  .search-suggestion-thumb img {
    width: 64px;
  }

  .search-result-card {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 0.72rem;
    padding: 0.68rem;
  }

  .search-result-thumb img {
    min-height: 72px;
  }

  .search-result-kicker {
    font-size: 0.72rem;
  }

  .search-result-card h3 {
    font-size: 1rem;
  }

  .hero {
    min-height: auto;
    padding: 2rem 0;
  }

  .home-hero {
    min-height: auto;
    margin-top: -3rem;
    padding: 3rem 1rem 2rem;
    background:
      linear-gradient(90deg, rgb(7 12 18 / 97%) 0%, rgb(7 12 18 / 86%) 100%),
      linear-gradient(180deg, rgb(7 12 18 / 62%) 0%, rgb(7 12 18 / 18%) 42%, rgb(7 12 18 / 84%) 100%),
      url("/assets/atlas/images/atlas-home-hero-strategy-room.jpg") 56% center / cover no-repeat;
  }

  .home-hero .hero-panel {
    width: 100%;
  }

  .home-hero .dek {
    font-size: 1.05rem;
  }

  .hero-shortcuts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
  }

  .hero-shortcuts a {
    width: 100%;
    padding-right: 0.45rem;
    padding-left: 0.45rem;
    font-size: 0.82rem;
  }

  h1 {
    font-size: 2.75rem;
  }

  .article-header h1 {
    font-size: 2.18rem;
  }

  .article-body {
    font-size: 1rem;
    line-height: 1.72;
  }

  .article-body h2 {
    font-size: 1.55rem;
  }

  .article-priority-answer .gsh-quick-answer,
  .article-body .gsh-quick-answer,
  .article-body .gsh-callout,
  .article-body .gsh-update-notice,
  .article-body .gsh-related-guides,
  .article-body .gsh-hero {
    padding: 1rem;
  }

  .gsh-answer-block {
    grid-template-columns: 1fr;
    padding: 0.85rem;
  }

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

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

  .task-link-grid,
  .task-link-grid-compact {
    grid-template-columns: 1fr;
  }

  .filter-chip-group,
  .chip-nav,
  .search-chips {
    gap: 0.42rem;
  }

  .filter-chip,
  .chip-nav a,
  .search-chips a {
    min-height: 40px;
    padding-right: 0.58rem;
    padding-left: 0.58rem;
    font-size: 0.84rem;
  }

  .next-step-grid {
    grid-template-columns: 1fr;
  }

  .discovery-panel {
    padding: 0.9rem;
  }

  .content-card-list {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .content-card-copy {
    padding: 0.78rem;
  }

  .content-card h3 {
    font-size: 1rem;
  }

  .content-card-list p {
    -webkit-line-clamp: 2;
    font-size: 0.92rem;
  }

  .content-card-list .content-card-media img {
    min-height: 100%;
  }

  .article-body table {
    min-width: 620px;
    font-size: 0.9rem;
  }

  .article-body > table {
    min-width: 0;
  }

  .article-body th,
  .article-body td {
    padding: 0.62rem;
  }

  .article-body .article-table-scroll::after {
    width: 3.2rem;
    display: block;
  }

  .section-header {
    display: block;
  }
}

/* Strategy shell redesign: desktop-first graphite/brass command layout. */
body {
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgb(11 15 17 / 94%), rgb(16 20 22 / 100%) 18rem),
    var(--gsh-panel);
}

.site-shell {
  min-height: 100vh;
  background: var(--gsh-panel);
}

.site-header {
  height: 64px;
  border-bottom: 1px solid var(--gsh-line);
  background: color-mix(in srgb, var(--gsh-panel) 92%, #000 8%);
}

.header-inner {
  width: 100%;
  max-width: 1920px;
  min-height: 64px;
  display: grid;
  grid-template-columns: 280px minmax(360px, 720px) minmax(104px, 1fr);
  gap: 16px;
  align-items: center;
  margin: 0 auto;
  padding: 0 32px;
}

.brand {
  gap: 10px;
  color: var(--gsh-accent);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gsh-line);
  border-radius: 6px;
  background: var(--gsh-paper);
  color: var(--gsh-accent);
  font: 800 0.75rem/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.brand-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.brand-copy > span {
  color: var(--gsh-accent);
  font-size: 1.25rem;
  line-height: 1;
  white-space: nowrap;
}

.brand-copy small {
  color: var(--gsh-muted);
  font: 600 0.68rem/1.1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-transform: uppercase;
  letter-spacing: 0;
}

.header-inner > .nav {
  display: none;
}

.site-search-form {
  width: 100%;
  min-width: 0;
  gap: 8px;
}

.site-search-form .site-search-head,
.site-search-form > button[type="submit"] {
  display: none;
}

.site-search-control {
  width: 100%;
  display: block;
}

.site-search-icon {
  position: absolute;
  top: 50%;
  left: 14px;
  width: 16px;
  height: 16px;
  border: 2px solid var(--gsh-muted);
  border-radius: 999px;
  transform: translateY(-50%);
}

.site-search-icon::after {
  position: absolute;
  right: -6px;
  bottom: -3px;
  width: 8px;
  height: 2px;
  content: "";
  border-radius: 999px;
  background: var(--gsh-muted);
  transform: rotate(45deg);
}

.site-search-control input,
.search-form input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border: 1px solid var(--gsh-line);
  border-radius: 4px;
  background: var(--gsh-surface);
  color: var(--gsh-ink);
  box-shadow: none;
}

.site-search-control input {
  padding: 0 42px;
  font: 600 0.92rem/1.3 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.site-search-control input::placeholder {
  color: var(--gsh-muted);
  opacity: 0.9;
}

.site-search-control:focus-within input {
  border-color: var(--gsh-accent);
  outline: 1px solid var(--gsh-accent);
}

.site-search-control:focus-within .site-search-icon,
.site-search-control:focus-within .site-search-icon::after {
  border-color: var(--gsh-accent);
  background-color: var(--gsh-accent);
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.lang-switcher {
  position: relative;
}

.lang-switcher-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 11px;
  border: 1px solid var(--gsh-line);
  border-radius: 6px;
  background: var(--gsh-surface);
  color: var(--gsh-muted);
  font: 700 0.74rem/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.08em;
  cursor: pointer;
  list-style: none;
  transition: color 150ms ease, border-color 150ms ease, background 150ms ease;
}

.lang-switcher-toggle::-webkit-details-marker {
  display: none;
}

.lang-switcher-toggle:hover,
.lang-switcher-toggle:focus-visible,
.lang-switcher[open] .lang-switcher-toggle {
  color: var(--gsh-accent);
  border-color: color-mix(in srgb, var(--gsh-accent) 55%, var(--gsh-line));
  background: color-mix(in srgb, var(--gsh-accent) 8%, var(--gsh-surface));
}

.lang-switcher-globe {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.lang-switcher-caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform 200ms ease;
}

.lang-switcher[open] .lang-switcher-caret {
  transform: rotate(180deg);
}

.lang-switcher-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 80;
  min-width: 168px;
  margin: 0;
  padding: 6px;
  list-style: none;
  border: 1px solid var(--gsh-line);
  border-radius: 8px;
  background: var(--gsh-paper);
  box-shadow: 0 14px 34px rgb(0 0 0 / 45%);
  animation: lang-menu-in 170ms ease;
}

@keyframes lang-menu-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lang-switcher-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 10px;
  border-radius: 6px;
  color: var(--gsh-muted);
  font: 600 0.86rem/1.2 Inter, ui-sans-serif, system-ui, sans-serif;
  text-decoration: none;
  transition: background 140ms ease, color 140ms ease;
}

.lang-switcher-menu a:hover,
.lang-switcher-menu a:focus-visible {
  background: color-mix(in srgb, var(--gsh-accent) 12%, transparent);
  color: var(--gsh-accent);
}

.lang-switcher-menu a.is-active {
  color: var(--gsh-accent);
  font-weight: 700;
}

.lang-switcher-check {
  color: var(--gsh-accent);
  font-weight: 700;
}

.header-icon-button,
.header-close-button {
  width: 40px;
  min-height: 40px;
  border-color: transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--gsh-muted);
}

.theme-toggle span {
  color: currentColor;
  font: 800 0.68rem/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.search-toggle {
  display: none;
}

.nav-toggle {
  display: none;
}

.header-icon-button:hover,
.header-icon-button:focus-visible,
.header-close-button:hover,
.header-close-button:focus-visible {
  border-color: var(--gsh-line);
  background: var(--gsh-surface);
  color: var(--gsh-accent);
}

.search-suggestions {
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  width: 100%;
  border-color: var(--gsh-line);
  border-radius: 6px;
  background: var(--gsh-paper);
  box-shadow: none;
}

.site-frame {
  width: 100%;
  max-width: 1920px;
  display: flex;
  align-items: flex-start;
  margin: 0 auto;
}

.main-shell {
  width: auto;
  max-width: none;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  padding: 32px;
}

.site-rail {
  position: sticky;
  top: 64px;
  width: 280px;
  height: calc(100dvh - 64px);
  flex: 0 0 280px;
  overflow-y: auto;
  border-right: 1px solid var(--gsh-line);
  background: color-mix(in srgb, var(--gsh-panel) 96%, #000 4%);
  padding: 32px 20px;
}

.site-rail-nav {
  display: grid;
  gap: 26px;
}

.site-rail-section {
  display: grid;
  gap: 10px;
}

.site-rail-section h2 {
  margin: 0 0 4px;
  color: var(--gsh-muted);
  font: 700 0.82rem/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-transform: uppercase;
  letter-spacing: 0;
}

.site-rail-links {
  display: grid;
  gap: 2px;
}

.site-rail-link {
  min-height: 44px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border-left: 2px solid transparent;
  border-radius: 0 4px 4px 0;
  padding: 8px 10px 8px 12px;
  color: var(--gsh-muted);
  font: 700 0.92rem/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-decoration: none;
}

.site-rail-link small {
  display: block;
  margin-top: 2px;
  overflow: hidden;
  color: var(--gsh-muted-2);
  font-size: 0.68rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-rail-icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 4px;
  color: currentColor;
  font: 800 0.68rem/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.site-rail-link:hover,
.site-rail-link:focus-visible,
.site-rail-link.is-active {
  border-left-color: var(--gsh-accent);
  background: var(--gsh-surface-high);
  color: var(--gsh-accent);
  outline: none;
}

.site-rail-footer {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--gsh-line);
}

.strategy-home-shell {
  display: grid;
  grid-template-columns: minmax(640px, 800px) 320px;
  gap: 16px;
  align-items: start;
  max-width: 1136px;
}

.strategy-feed-column {
  min-width: 0;
  display: grid;
  gap: 24px;
}

.home-hero.strategy-command-intro {
  min-height: 0;
  width: auto;
  max-width: none;
  display: none;
  margin: 0;
  padding: 0 0 4px;
  background: none;
  transform: none;
}

.home-hero.strategy-command-intro::after {
  display: none;
}

.strategy-command-intro .eyebrow,
.eyebrow {
  color: var(--gsh-accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 700;
  letter-spacing: 0;
}

.strategy-command-intro .hero-tagline {
  max-width: 760px;
  margin: 0;
  color: var(--gsh-ink);
  font-weight: 700;
  font-size: clamp(2.15rem, 4vw, 3.65rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.strategy-command-intro .dek {
  max-width: 720px;
  margin: 14px 0 0;
  color: var(--gsh-muted);
  font-size: 1rem;
}

.strategy-shortcuts {
  margin-top: 18px;
}

.hero-shortcuts.strategy-shortcuts a,
.chip-nav a,
.search-chips a,
.filter-chip,
.button,
.search-form button[type="submit"] {
  border-color: var(--gsh-line);
  border-radius: 999px;
  background: transparent;
  color: var(--gsh-muted);
  box-shadow: none;
}

.hero-shortcuts.strategy-shortcuts a:hover,
.hero-shortcuts.strategy-shortcuts a:focus-visible,
.chip-nav a:hover,
.chip-nav a:focus-visible,
.search-chips a:hover,
.search-chips a:focus-visible,
.filter-chip:hover,
.filter-chip:focus-visible {
  border-color: var(--gsh-accent);
  background: color-mix(in srgb, var(--gsh-accent) 10%, transparent);
  color: var(--gsh-accent);
  outline: none;
}

.guide-feed-section {
  display: grid;
  gap: 14px;
}

.feed-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--gsh-line);
  padding-bottom: 10px;
}

.feed-toolbar h1,
.feed-toolbar h2 {
  margin: 0;
  color: var(--gsh-ink);
  font-size: 1.15rem;
  line-height: 1.2;
  max-width: none;
}

.guide-feed-list {
  overflow: hidden;
  border: 1px solid var(--gsh-line);
  border-radius: 6px;
  background: var(--gsh-surface);
}

.guide-feed-card {
  min-height: 132px;
  display: grid;
  grid-template-columns: minmax(132px, 168px) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--gsh-line);
  color: var(--gsh-ink);
  text-decoration: none;
}

.guide-feed-card:last-child {
  border-bottom: 0;
}

.guide-feed-card:hover,
.guide-feed-card:focus-visible {
  background: var(--gsh-surface-high);
  outline: none;
}

.guide-feed-card:focus-visible {
  box-shadow: inset 0 0 0 2px var(--gsh-accent);
}

.guide-feed-media {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 88px;
  border: 1px solid var(--gsh-line);
  border-radius: 5px;
  background: var(--gsh-panel);
}

.guide-feed-media img {
  width: 100%;
  height: 100%;
  min-height: 88px;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 180ms ease;
}

.guide-feed-game {
  position: absolute;
  top: 8px;
  left: 8px;
  min-width: 42px;
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gsh-line);
  border-radius: 4px;
  padding: 0 0.45rem;
  background: color-mix(in srgb, var(--gsh-paper) 82%, #000 18%);
  color: var(--gsh-accent);
  font: 900 0.74rem/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

@media (prefers-reduced-motion: no-preference) {
  .guide-feed-card:hover .guide-feed-media img,
  .guide-feed-card:focus-visible .guide-feed-media img {
    transform: scale(1.025);
  }
}

.guide-feed-game-hoi4 {
  color: #d4af37;
}

.guide-feed-game-stellaris {
  color: #c3c7cd;
}

html[data-gsh-theme="light"] .guide-feed-game-hoi4 {
  color: #6e5312;
}

html[data-gsh-theme="light"] .guide-feed-game-stellaris {
  color: #4a4f49;
}

.guide-feed-copy {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.guide-feed-kicker,
.guide-feed-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--gsh-muted-2);
  font: 700 0.78rem/1.3 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.guide-feed-kicker span:not(:last-child)::after,
.guide-feed-meta span:not(:last-child)::after {
  margin-left: 8px;
  color: var(--gsh-line);
  content: "/";
}

.guide-feed-label {
  color: var(--gsh-accent);
}

.guide-feed-title {
  overflow-wrap: anywhere;
  color: var(--gsh-ink);
  font-size: clamp(1.18rem, 2vw, 1.45rem);
  font-weight: 800;
  line-height: 1.2;
}

.guide-feed-card:hover .guide-feed-title,
.guide-feed-card:focus-visible .guide-feed-title {
  color: var(--gsh-accent);
}

.guide-feed-excerpt {
  display: -webkit-box;
  overflow: hidden;
  color: var(--gsh-muted);
  font-size: 0.98rem;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

/* --- Promo / partner slots -------------------------------------- */

.promo-slot {
  position: relative;
  background:
    radial-gradient(560px 190px at 100% 0%, color-mix(in srgb, var(--gsh-accent) 9%, transparent), transparent 72%),
    color-mix(in srgb, var(--gsh-surface) 93%, var(--gsh-accent) 4%);
}

.promo-slot::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--gsh-accent), color-mix(in srgb, var(--gsh-accent) 30%, transparent));
}

.promo-slot--feed {
  padding: 20px 20px 14px;
  border-bottom: 1px solid var(--gsh-line);
}

.promo-slot--feed:last-child {
  border-bottom: 0;
}

.promo-slot--article {
  margin: 2.2rem 0;
  padding: 20px 20px 14px;
  border: 1px solid var(--gsh-line);
  border-radius: 6px;
  overflow: hidden;
}

.promo-slot-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  color: var(--gsh-ink);
  text-decoration: none;
}

.promo-slot--has-media .promo-slot-card {
  grid-template-columns: minmax(132px, 168px) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
}

.promo-slot-media {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 88px;
  border: 1px solid var(--gsh-line);
  border-radius: 5px;
  background: var(--gsh-panel);
}

.promo-slot-media img {
  width: 100%;
  height: 100%;
  min-height: 88px;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 180ms ease;
}

.promo-slot-copy {
  min-width: 0;
  display: grid;
  gap: 8px;
  justify-items: start;
}

.promo-slot-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--gsh-muted-2);
  font: 700 0.78rem/1.3 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.promo-slot-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 3px;
  background: var(--gsh-accent);
  color: var(--gsh-on-accent);
  font: 900 0.68rem/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.promo-slot-title {
  overflow-wrap: anywhere;
  color: var(--gsh-ink);
  font-size: clamp(1.18rem, 2vw, 1.45rem);
  font-weight: 800;
  line-height: 1.2;
  transition: color 150ms ease;
}

.promo-slot-text {
  display: -webkit-box;
  overflow: hidden;
  color: var(--gsh-muted);
  font-size: 0.98rem;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.promo-slot-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  color: var(--gsh-accent);
  font: 700 0.85rem/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.02em;
}

.promo-slot-arrow {
  display: inline-block;
  transition: transform 180ms ease;
}

.promo-slot-disclosure {
  margin: 10px 0 0;
  color: var(--gsh-muted-2);
  font-size: 0.72rem;
  line-height: 1.4;
}

.promo-slot-card:hover .promo-slot-title,
.promo-slot-card:focus-visible .promo-slot-title {
  color: var(--gsh-accent);
}

.promo-slot-card:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--gsh-accent);
}

@media (prefers-reduced-motion: no-preference) {
  .promo-slot-card:hover .promo-slot-arrow,
  .promo-slot-card:focus-visible .promo-slot-arrow {
    transform: translateX(4px);
  }

  .promo-slot-card:hover .promo-slot-media img,
  .promo-slot-card:focus-visible .promo-slot-media img {
    transform: scale(1.025);
  }
}

@media (max-width: 720px) {
  .promo-slot--has-media .promo-slot-card {
    grid-template-columns: minmax(0, 1fr);
  }
}

.discovery-rail {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 24px;
}

.discovery-widget,
.panel,
.discovery-panel,
.card,
.content-card,
.sidebar {
  border-color: var(--gsh-line);
  border-radius: 6px;
  background: var(--gsh-paper);
  box-shadow: none;
}

.discovery-widget {
  border: 1px solid var(--gsh-line);
  padding: 18px;
}

.discovery-widget h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  border-bottom: 1px solid var(--gsh-line);
  padding-bottom: 12px;
  color: var(--gsh-accent);
  font: 800 0.94rem/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-transform: uppercase;
  letter-spacing: 0;
}

.discovery-widget h2 span {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gsh-line);
  border-radius: 4px;
  color: var(--gsh-accent);
  font-size: 0.68rem;
}

.discovery-list,
.ranked-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.discovery-list a,
.ranked-list a,
.compact-discovery-links a {
  display: grid;
  gap: 5px;
  color: var(--gsh-ink);
  text-decoration: none;
}

.discovery-list a:hover strong,
.discovery-list a:focus-visible strong,
.ranked-list a:hover strong,
.ranked-list a:focus-visible strong,
.compact-discovery-links a:hover span,
.compact-discovery-links a:focus-visible span {
  color: var(--gsh-accent);
}

.discovery-list span,
.compact-discovery-links small,
.ranked-list small {
  color: var(--gsh-muted-2);
  font-size: 0.82rem;
}

.discovery-list strong,
.ranked-list strong,
.compact-discovery-links span {
  color: var(--gsh-ink);
  font-size: 0.95rem;
  line-height: 1.35;
}

.ranked-list li a {
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
}

.ranked-list li a > span {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: var(--gsh-surface-high);
  color: var(--gsh-muted);
  font: 800 0.85rem/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.compact-discovery-links {
  display: grid;
  gap: 12px;
}

.section {
  margin: 32px 0 0;
}

.section-header h2,
.article-header h1,
.article-body h2,
.article-body h3 {
  letter-spacing: 0;
}

.grid {
  gap: 16px;
}

.card,
.content-card {
  background: var(--gsh-paper);
}

.card:hover,
.card:focus-visible,
.content-card:hover,
.content-card:focus-visible {
  border-color: var(--gsh-accent);
  background: var(--gsh-surface);
  box-shadow: none;
}

.badge {
  border-color: var(--gsh-line);
  background: var(--gsh-surface);
  color: var(--gsh-muted);
}

.footer-inner {
  width: min(1180px, calc(100vw - 2rem));
}

@media (max-width: 1320px) {
  .header-inner {
    grid-template-columns: 240px minmax(280px, 1fr) auto;
    padding: 0 20px;
  }

  .site-rail {
    width: 240px;
    flex-basis: 240px;
  }

  .strategy-home-shell {
    grid-template-columns: minmax(0, 820px);
    max-width: 900px;
  }

  .discovery-rail {
    display: none;
  }
}

@media (max-width: 1120px) {
  .site-header {
    height: auto;
  }

  .header-inner {
    min-height: 64px;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .site-search-form {
    grid-column: 1 / -1;
    display: none;
    padding-bottom: 14px;
  }

  .site-header.is-search-open .site-search-form {
    display: grid;
  }

  .site-header.is-search-open .site-search-form .site-search-head {
    grid-column: 1 / -1;
    display: flex;
  }

  .site-header.is-search-open .site-search-form > button[type="submit"] {
    display: inline-flex;
  }

  .site-search-form .search-suggestions {
    position: static;
    grid-column: 1 / -1;
    width: 100%;
    max-width: none;
    max-height: min(46dvh, 22rem);
  }

  .search-toggle,
  .nav-toggle {
    display: inline-flex;
  }

  .site-rail {
    display: none;
  }

  .main-shell {
    width: min(1180px, calc(100vw - 2rem));
    margin: 0 auto;
    padding: 24px 0;
  }

  .strategy-home-shell {
    max-width: none;
  }

  .home-hero.strategy-command-intro {
    display: block;
  }

  .site-header.is-menu-open .nav {
    display: grid;
  }
}

@media (max-width: 720px) {
  .header-inner {
    padding: 0 12px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .brand-copy > span {
    font-size: 1rem;
  }

  .brand-copy small,
  .theme-toggle {
    display: none;
  }

  .strategy-command-intro .hero-tagline {
    font-size: 2.2rem;
  }

  .feed-toolbar {
    display: grid;
    align-items: start;
  }

  .guide-feed-card {
    min-height: 0;
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
  }

  .guide-feed-media,
  .guide-feed-media img {
    min-height: 58px;
  }

  .guide-feed-game {
    top: 6px;
    left: 6px;
    min-width: 34px;
    min-height: 20px;
    padding: 0 0.32rem;
    font-size: 0.62rem;
  }

  .guide-feed-title {
    font-size: 1.02rem;
  }

  .guide-feed-excerpt {
    font-size: 0.9rem;
  }

}

/* Mobile display hardening for Telegram/iOS in-app browsers. */
@media (max-width: 640px) {
  .site-header {
    position: static;
  }

  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    overflow: clip;
  }

  .brand,
  .brand-copy {
    min-width: 0;
  }

  .brand-copy > span {
    max-width: min(50vw, 13rem);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .header-actions {
    flex: 0 0 auto;
    gap: 8px;
    min-width: max-content;
  }

  .header-icon-button {
    width: 42px;
    min-width: 42px;
    height: 42px;
  }

  .home-hero {
    margin-top: 0;
  }

  .home-hero .hero-copy,
  .home-hero .hero-panel,
  .hero-shortcuts {
    min-width: 0;
    width: 100%;
  }

  .hero-shortcuts a {
    min-width: 0;
    line-height: 1.2;
    overflow-wrap: anywhere;
    text-align: center;
    white-space: normal;
  }

  .article-body > .article-table-scroll,
  .article-body > .wp-block-table,
  .article-body > table,
  .article-priority-answer .article-table-scroll,
  .article-priority-answer .wp-block-table,
  .article-priority-answer .gsh-quick-answer:has(table) {
    justify-self: center;
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .article-body .article-table-scroll::after,
  .article-priority-answer .article-table-scroll::after {
    display: none;
  }

  .article-body table,
  .article-priority-answer table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
  }

  .article-body table:has(thead th:nth-child(4)),
  .article-body table:has(tr > :nth-child(4)),
  .article-priority-answer table:has(thead th:nth-child(4)),
  .article-priority-answer table:has(tr > :nth-child(4)) {
    width: max-content;
    min-width: max(720px, 100%);
    table-layout: auto;
  }

  .article-body th,
  .article-body td,
  .article-priority-answer th,
  .article-priority-answer td {
    padding: 0.58rem;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .article-body th code,
  .article-body td code,
  .article-body th kbd,
  .article-body td kbd,
  .article-priority-answer th code,
  .article-priority-answer td code,
  .article-priority-answer th kbd,
  .article-priority-answer td kbd {
    white-space: nowrap;
  }
}

@media (max-width: 400px) {
  .brand {
    gap: 8px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    font-size: 0.68rem;
  }

  .brand-copy > span {
    max-width: min(45vw, 10.5rem);
  }
}

@media (max-width: 390px) {
  .hero-shortcuts.strategy-shortcuts {
    grid-template-columns: 1fr;
  }
}


/* --- Auth pages (sign in / sign up / password reset) --- */
.header-signin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: auto !important;
  min-width: 0 !important;
  padding: 0 14px;
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--gsh-strong);
}

.auth-form {
  max-width: 420px;
  margin: 48px auto;
  padding: 32px;
  background: var(--gsh-panel);
  border: 1px solid var(--gsh-line);
  border-radius: 14px;
  box-shadow: 0 12px 32px var(--gsh-shadow);
}

.auth-form h1 {
  margin: 0 0 24px;
  font-size: 1.6rem;
  color: var(--gsh-strong);
}

.auth-form .field {
  margin-bottom: 16px;
}

.auth-form .field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gsh-muted);
}

.auth-form .field input {
  width: 100%;
  padding: 10px 12px;
  font-size: 0.95rem;
  color: var(--gsh-ink);
  background: var(--gsh-surface);
  border: 1px solid var(--gsh-line);
  border-radius: 8px;
  box-sizing: border-box;
}

.auth-form .field input:focus {
  outline: none;
  border-color: var(--gsh-accent);
}

.auth-form .actions {
  margin-top: 20px;
}

.auth-form input[type="submit"],
.auth-form button,
.auth-form form.button_to button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gsh-on-accent);
  background: var(--gsh-accent);
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.auth-form input[type="submit"]:hover,
.auth-form button:hover {
  filter: brightness(1.1);
}

.auth-form p {
  margin: 16px 0 0;
  font-size: 0.88rem;
}

.auth-form a {
  color: var(--gsh-accent);
}

.auth-form hr {
  margin: 24px 0;
  border: none;
  border-top: 1px solid var(--gsh-line-soft);
}

.auth-form form.button_to {
  margin: 0;
}

.auth-form .flash,
.flash-notice,
.flash-alert {
  padding: 12px 16px;
  margin: 16px auto;
  max-width: 420px;
  border-radius: 8px;
  font-size: 0.9rem;
}

.flash-notice {
  background: rgba(80, 160, 90, 0.15);
  border: 1px solid rgba(80, 160, 90, 0.4);
  color: var(--gsh-strong);
}

.flash-alert {
  background: rgba(200, 80, 70, 0.15);
  border: 1px solid rgba(200, 80, 70, 0.4);
  color: var(--gsh-strong);
}


/* --- Header account state (signed in) --- */
.account-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.account-menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 8px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  list-style: none;
  color: var(--gsh-muted);
  transition: color 150ms ease, border-color 150ms ease, background 150ms ease;
}

.account-menu-toggle::-webkit-details-marker {
  display: none;
}

.account-menu-toggle:hover,
.account-menu-toggle:focus-visible,
.account-menu[open] .account-menu-toggle {
  color: var(--gsh-accent);
  border-color: color-mix(in srgb, var(--gsh-accent) 55%, var(--gsh-line));
  background: color-mix(in srgb, var(--gsh-accent) 8%, var(--gsh-surface));
}

.header-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gsh-accent);
  color: var(--gsh-on-accent);
  font-size: 0.8rem;
  font-weight: 700;
}

.account-menu-caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform 200ms ease;
}

.account-menu[open] .account-menu-caret {
  transform: rotate(180deg);
}

.account-menu-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 80;
  min-width: 200px;
  padding: 6px;
  border: 1px solid var(--gsh-line);
  border-radius: 8px;
  background: var(--gsh-paper);
  box-shadow: 0 14px 34px rgb(0 0 0 / 45%);
  animation: lang-menu-in 170ms ease;
}

.account-menu-email {
  display: block;
  padding: 9px 10px;
  color: var(--gsh-muted);
  font: 600 0.78rem/1.3 Inter, ui-sans-serif, system-ui, sans-serif;
  word-break: break-all;
  border-bottom: 1px solid var(--gsh-line);
  margin-bottom: 6px;
}

.account-menu-signout,
.account-menu-dropdown form.button_to {
  margin: 0;
  display: block;
  width: 100%;
}

.account-menu-signout {
  padding: 9px 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--gsh-muted);
  font: 600 0.86rem/1.2 Inter, ui-sans-serif, system-ui, sans-serif;
  text-align: left;
  cursor: pointer;
  transition: background 140ms ease, color 140ms ease;
}

.account-menu-signout:hover,
.account-menu-signout:focus-visible {
  background: color-mix(in srgb, var(--gsh-accent) 12%, transparent);
  color: var(--gsh-accent);
}
