:root {
  --bg: #eef6f4;
  --surface: #ffffff;
  --soft: #ddeee6;
  --ink: #14241e;
  --muted: #476258;
  --border: #233931;
  --primary: #22f166;
  --on-primary: #050608;
  --secondary: #c53ff3;
  --on-secondary: #050608;
  --accent: #efdb4d;
  --on-accent: #050608;
}

/* Shared foundations for every generated layout. Layout files own composition. */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  width: 100%;
  min-width: 320px;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

body,
button,
input,
select,
textarea {
  letter-spacing: 0;
}

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

button,
[role="button"] {
  cursor: pointer;
}

button:disabled,
[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.55;
}

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

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
.brand,
.game-card__title,
.ranking-row__title,
.rank-row__title {
  overflow-wrap: anywhere;
}

[hidden] {
  display: none !important;
}

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

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.page-shell {
  width: min(100%, 1440px);
  min-width: 0;
  margin-inline: auto;
  padding: 28px clamp(16px, 3vw, 40px) 64px;
}

.page-shell > *,
.detail-layout > *,
.header-inner > * {
  min-width: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.header-inner {
  display: flex;
  width: min(100%, 1440px);
  min-height: 72px;
  margin-inline: auto;
  padding: 12px clamp(16px, 3vw, 40px);
  align-items: center;
  gap: 16px;
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1.375rem;
  font-weight: 850;
  line-height: 1.1;
}

.brand-mark {
  display: inline-grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  overflow: hidden;
  border: 2px solid var(--border);
  border-radius: 8px;
  background: var(--primary);
  color: var(--on-primary);
  font-size: 1rem;
  font-weight: 900;
}

.search-shell {
  position: relative;
  display: flex;
  width: min(100%, 520px);
  min-width: 180px;
  margin-left: auto;
  align-items: center;
  gap: 8px;
}

.search-shell input,
.search-shell [type="search"] {
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0 46px 0 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  outline: 0;
  background: var(--soft);
  color: var(--ink);
  font-size: 0.9375rem;
}

.search-shell input::placeholder,
.search-shell [type="search"]::placeholder {
  color: var(--muted);
  opacity: 1;
}

.search-shell input:focus,
.search-shell [type="search"]:focus {
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 0 3px var(--soft);
}

.search-shell > button,
.search-shell > [role="button"] {
  position: absolute;
  right: 5px;
  display: grid;
  width: 34px;
  height: 34px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 6px;
  background: var(--primary);
  color: var(--on-primary);
}

.search-results {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  z-index: 70;
  max-height: min(440px, calc(100vh - 112px));
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 24px rgb(0 0 0 / 0.16);
}

.search-result {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  min-height: 68px;
  padding: 8px;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border);
}

.search-result:last-child {
  border-bottom: 0;
}

.search-result:hover,
.search-result:focus-visible {
  background: var(--soft);
}

.search-result__image {
  width: 52px;
  height: 52px;
  border-radius: 6px;
  object-fit: cover;
}

.search-result__body {
  min-width: 0;
}

.search-result__title,
.search-result__meta {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-result__title {
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 750;
}

.search-result__meta,
.search-empty {
  color: var(--muted);
  font-size: 0.75rem;
}

.search-empty {
  padding: 18px;
  text-align: center;
}

.menu-button {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
}

.menu-button span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 2px auto;
  border-radius: 999px;
  background: currentColor;
}

.header-categories {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 4px;
}

.drawer-head {
  display: flex;
  margin-bottom: 18px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.drawer-head button {
  min-height: 38px;
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--soft);
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 750;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 79;
  visibility: hidden;
  background: var(--ink);
  opacity: 0;
  transition: opacity 160ms ease, visibility 160ms ease;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 80;
  width: min(330px, calc(100vw - 48px));
  max-width: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 24px 18px;
  border-right: 1px solid var(--border);
  background: var(--surface);
  transform: translateX(-102%);
  visibility: hidden;
  transition: transform 180ms ease, visibility 180ms ease;
}

.mobile-drawer.is-open,
.mobile-drawer[data-open="true"],
body.drawer-open .mobile-drawer {
  visibility: visible;
  transform: translateX(0);
}

.drawer-overlay.is-open,
.drawer-overlay[data-open="true"],
body.drawer-open .drawer-overlay {
  visibility: visible;
  opacity: 0.56;
}

.nav-link,
.drawer-link {
  display: inline-flex;
  min-height: 40px;
  padding: 8px 11px;
  align-items: center;
  border-radius: 6px;
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 700;
}

.nav-link:hover,
.drawer-link:hover,
.nav-link[aria-current="page"],
.drawer-link[aria-current="page"] {
  background: var(--soft);
  color: var(--primary);
}

.category-pills {
  display: flex;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 2px 0 6px;
  gap: 8px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
}

.category-pills::-webkit-scrollbar {
  display: none;
}

.category-pills a,
.category-pills button,
.category-link {
  display: inline-flex;
  min-height: 38px;
  flex: 0 0 auto;
  padding: 8px 13px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 750;
  line-height: 1;
  white-space: nowrap;
}

.category-pills a:hover,
.category-pills button:hover,
.category-pills .is-active,
.category-pills [aria-current="page"],
.category-link:hover,
.category-link--active {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--on-primary);
}

.category-list {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
}

.category-list .category-link {
  width: 100%;
  justify-content: space-between;
  border-radius: 6px;
  white-space: normal;
}

.category-link__count {
  display: inline-grid;
  min-width: 26px;
  min-height: 22px;
  padding: 2px 6px;
  place-items: center;
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  font-size: 0.6875rem;
  font-variant-numeric: tabular-nums;
}

.category-link--active .category-link__count {
  background: var(--on-primary);
  color: var(--primary);
}

.game-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.game-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.game-card__media {
  position: relative;
  width: 100%;
  min-width: 0;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--soft);
}

.game-card__image,
.game-card__media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

.game-card:hover .game-card__image,
.game-card:hover .game-card__media > img {
  transform: scale(1.025);
}

.game-card__placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  background: var(--soft);
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
}

.game-card__badge,
.game-card__hot {
  position: absolute;
  top: 8px;
  z-index: 2;
  display: inline-flex;
  min-height: 25px;
  padding: 4px 7px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 5px;
  font-size: 0.6875rem;
  font-weight: 850;
  line-height: 1;
}

.game-card__badge {
  right: 8px;
  background: var(--secondary);
  color: var(--on-secondary);
}

.game-card__hot {
  left: 8px;
  background: var(--accent);
  color: var(--on-accent);
}

.game-card__body {
  display: flex;
  min-width: 0;
  min-height: 68px;
  padding: 11px 12px 12px;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.game-card__title {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.game-card__meta {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.25;
}

.game-card__category {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-card__rating {
  flex: 0 0 auto;
  color: var(--primary);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.game-card__note {
  display: -webkit-box;
  margin-top: 6px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.game-card--wide .game-card__media,
.game-card--hero-main .game-card__media,
.game-card--hero-secondary .game-card__media {
  aspect-ratio: 16 / 9;
}

.game-card--compact {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
}

.game-card--compact .game-card__media {
  height: 100%;
  min-height: 88px;
  aspect-ratio: auto;
}

.game-grid {
  display: grid;
  width: 100%;
  min-width: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.game-list {
  display: flex;
  width: 100%;
  min-width: 0;
  flex-direction: column;
  gap: 10px;
}

.rail {
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.rail > [data-game-list],
.rail[data-game-list],
.rail > .game-list,
.related-list {
  display: grid;
  width: 100%;
  min-width: 0;
  padding: 2px 2px 10px;
  grid-auto-columns: minmax(174px, 22%);
  grid-auto-flow: column;
  gap: 12px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

.rail > [data-game-list] > *,
.rail[data-game-list] > *,
.rail > .game-list > *,
.related-list > * {
  scroll-snap-align: start;
}

.hero-main,
.hero-secondary,
.side-panel {
  min-width: 0;
}

.hero-main .game-card {
  width: 100%;
}

.hero-secondary > [data-game-list],
.hero-secondary.game-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.side-panel {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.section-heading {
  display: flex;
  min-width: 0;
  margin-bottom: 16px;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.section-heading h1,
.section-heading h2,
.section-heading h3 {
  margin: 0;
  color: var(--ink);
  line-height: 1.15;
}

.section-heading h2 {
  font-size: 1.375rem;
}

.section-heading > a {
  flex: 0 0 auto;
  color: var(--primary);
  font-size: 0.8125rem;
  font-weight: 750;
}

.section-label,
.side-label {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
}

.breadcrumbs {
  display: flex;
  min-width: 0;
  margin-bottom: 18px;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.8125rem;
  white-space: nowrap;
}

.breadcrumbs a {
  color: var(--primary);
  font-weight: 750;
}

.breadcrumbs span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
}

.ranking-list,
.ranking-list__items {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ranking-list__items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ranking-row,
.rank-row {
  display: grid;
  min-width: 0;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--surface);
}

.ranking-row__position,
.rank-row__position {
  display: grid;
  min-height: 76px;
  place-items: center;
  border-right: 1px solid var(--border);
  background: var(--soft);
  color: var(--primary);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.ranking-row__link,
.rank-row__link {
  display: grid;
  min-width: 0;
  grid-template-columns: 88px minmax(0, 1fr);
  align-items: center;
}

.ranking-row__image,
.rank-row__image {
  width: 88px;
  height: 100%;
  min-height: 76px;
  object-fit: cover;
}

.ranking-row__body,
.rank-row__body {
  min-width: 0;
  padding: 10px 12px;
}

.ranking-row__title,
.rank-row__title,
.ranking-row__meta,
.rank-row__meta {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ranking-row__title,
.rank-row__title {
  font-size: 0.875rem;
  font-weight: 800;
}

.ranking-row__meta,
.rank-row__meta {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.75rem;
}

.player-shell {
  position: relative;
  width: 100%;
  min-width: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--ink);
}

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

.game-player__preview,
.game-player__frame-host,
.game-player__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.game-player__preview {
  overflow: hidden;
  background: var(--primary);
  color: var(--on-primary);
}

.game-player__image,
.game-player__placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.game-player__image {
  object-fit: cover;
  opacity: 0.64;
}

.game-player__placeholder {
  background: var(--primary);
}

.game-player__preview-content {
  position: absolute;
  bottom: 24px;
  left: 24px;
  z-index: 2;
  width: min(430px, calc(100% - 48px));
  padding: 18px;
  border: 1px solid var(--on-primary);
  border-radius: 7px;
  background: var(--primary);
  color: var(--on-primary);
}

.game-player__eyebrow {
  margin: 0 0 5px;
  color: var(--on-primary);
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
}

.game-player__title {
  margin: 0 0 14px;
  color: var(--on-primary);
  font-size: 1.5rem;
  line-height: 1.12;
}

.game-player__play,
.game-player__fullscreen {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 800;
}

.game-player__error {
  margin: 10px 0 0;
  color: var(--on-primary);
  font-size: 0.8125rem;
}

.game-player__frame-host {
  z-index: 3;
  background: var(--ink);
}

.game-player__iframe {
  border: 0;
  background: var(--ink);
}

.game-player__fullscreen {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 5;
  background: var(--secondary);
  color: var(--on-secondary);
}

.game-info {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
}

.game-info__heading {
  display: flex;
  min-width: 0;
  margin-bottom: 16px;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.game-info__title {
  margin: 0;
  color: var(--ink);
  font-size: 1.375rem;
  line-height: 1.15;
}

.game-info__meta {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.game-info__rating {
  display: inline-flex;
  min-height: 32px;
  flex: 0 0 auto;
  padding: 6px 9px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--secondary);
  color: var(--on-secondary);
  font-size: 0.8125rem;
  font-weight: 850;
}

.game-info__description {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.7;
}

.editorial-note,
.play-tip {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.editorial-note h2,
.play-tip h2 {
  margin: 0 0 7px;
  font-size: 1rem;
  line-height: 1.2;
}

.editorial-note p,
.play-tip p,
.source-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.6;
}

.play-tip__small {
  margin-top: 8px !important;
}

.source-note {
  margin-top: 18px;
  padding: 12px;
  border-left: 4px solid var(--primary);
  background: var(--soft);
}

.info-page {
  width: min(calc(100% - 32px), 920px);
  margin: 42px auto 72px;
}

.info-page > article {
  padding: clamp(24px, 5vw, 58px);
  border: 1px solid var(--border);
  background: var(--surface);
}

.info-page h1 {
  max-width: 760px;
  margin: 6px 0 20px;
  font-size: clamp(2.25rem, 7vw, 4.75rem);
  line-height: 1;
}

.info-kicker {
  margin: 0;
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 850;
  text-transform: uppercase;
}

.info-lede {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.65;
}

.info-block {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}

.info-block h2 {
  margin-bottom: 10px;
  font-size: 1.45rem;
}

.info-block p {
  max-width: 740px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.info-nav {
  display: flex;
  gap: 18px;
  color: var(--primary);
  font-weight: 750;
}

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

.guide-index .guide-card {
  border-bottom: 1px solid var(--border);
}

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

.guide-index__link {
  display: flex;
  min-height: 52px;
  padding: 9px 11px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid var(--border);
  background: var(--soft);
  font-weight: 750;
}

.guide-index__link small {
  color: var(--muted);
  font-weight: 600;
}

.game-stats {
  display: grid;
  width: 100%;
  min-width: 0;
  margin: 24px 0;
  padding: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--border);
}

.game-stats__item {
  min-width: 0;
  padding: 14px;
  background: var(--surface);
}

.game-stats__item dt {
  color: var(--muted);
  font-size: 0.6875rem;
}

.game-stats__item dd {
  margin: 4px 0 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-shell button,
.player-shell [role="button"] {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 800;
}

.detail-layout {
  display: grid;
  width: 100%;
  min-width: 0;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 0.85fr);
  align-items: start;
  gap: 24px;
}

.related-list {
  grid-auto-columns: minmax(164px, 20%);
}

.load-more {
  display: flex;
  width: max-content;
  min-width: 132px;
  min-height: 44px;
  max-width: 100%;
  margin: 28px auto 0;
  padding: 10px 18px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--primary);
  color: var(--on-primary);
  font-size: 0.875rem;
  font-weight: 800;
}

.load-more:hover {
  background: var(--secondary);
  color: var(--on-secondary);
}

.google-slot-empty:empty {
  display: none;
}

.google-slot-empty:not(:empty) {
  display: grid;
  width: 100%;
  min-width: 0;
  min-height: 90px;
  margin-block: 24px;
  place-items: center;
  overflow: hidden;
}

.empty-state {
  width: 100%;
  padding: 48px 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  text-align: center;
}

.site-footer {
  width: 100%;
  border-top: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
}

.site-footer > * {
  width: min(100%, 1440px);
  min-width: 0;
  margin-inline: auto;
  padding: 28px clamp(16px, 3vw, 40px);
}

@media (min-width: 600px) {
  .game-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (min-width: 900px) {
  .menu-button {
    display: none;
  }

  .game-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (min-width: 1240px) {
  .game-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 899px) {
  .header-inner {
    min-height: 64px;
    gap: 10px;
  }

  .brand {
    max-width: calc(100% - 54px);
    font-size: 1.25rem;
  }

  .search-shell {
    width: min(100%, 420px);
    min-width: 0;
  }

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

  .related-list,
  .rail > [data-game-list],
  .rail[data-game-list],
  .rail > .game-list {
    grid-auto-columns: minmax(160px, 42%);
  }
}

@media (max-width: 639px) {
  .page-shell {
    padding: 20px 14px 48px;
  }

  .header-inner {
    padding-inline: 14px;
  }

  .header-inner > .search-shell {
    order: 3;
    width: 100%;
    flex-basis: 100%;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .search-results {
    position: fixed;
    top: 116px;
    right: 14px;
    left: 14px;
    max-height: calc(100vh - 132px);
  }

  .game-card__body {
    min-height: 62px;
    padding: 9px 10px 10px;
  }

  .game-card__title {
    font-size: 0.8125rem;
  }

  .game-card__meta {
    font-size: 0.6875rem;
  }

  .hero-secondary > [data-game-list],
  .hero-secondary.game-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .rail > [data-game-list],
  .rail[data-game-list],
  .rail > .game-list,
  .related-list {
    grid-auto-columns: minmax(150px, 72%);
  }

  .side-panel {
    padding: 14px;
  }

  .section-heading {
    align-items: center;
  }

  .section-heading h2 {
    font-size: 1.1875rem;
  }

  .game-player__preview-content {
    right: 12px;
    bottom: 12px;
    left: 12px;
    width: auto;
    padding: 14px;
  }

  .game-player__title {
    margin-bottom: 10px;
    font-size: 1.125rem;
  }

  .game-info {
    padding: 16px;
  }

  .game-info__heading {
    flex-direction: column;
  }

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

  .ranking-row__link,
  .rank-row__link {
    grid-template-columns: 74px minmax(0, 1fr);
  }

  .ranking-row__image,
  .rank-row__image {
    width: 74px;
  }

  .info-page {
    width: calc(100% - 28px);
    margin-top: 24px;
  }

  .info-page > article {
    padding: 22px 18px;
  }

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

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

/* Curated Journal: a ruled broadsheet with a field-guide reading order. */

body.layout-curated-journal {
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.layout-curated-journal h1,
.layout-curated-journal h2,
.layout-curated-journal h3,
.layout-curated-journal .brand,
.layout-curated-journal .game-card__title,
.layout-curated-journal .static-pick__body strong {
  font-family: Georgia, "Times New Roman", serif;
}

.journal-utility {
  display: flex;
  width: min(calc(100% - 32px), 1240px);
  min-height: 30px;
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.6875rem;
  letter-spacing: 0;
  line-height: 1.3;
  text-transform: uppercase;
}

.journal-header {
  position: relative;
  border-top: 6px solid var(--primary);
  border-bottom: 1px solid var(--ink);
  background: var(--surface);
}

.journal-masthead,
.journal-nav-row,
.journal-main {
  width: min(calc(100% - 32px), 1240px);
  margin-inline: auto;
}

.journal-header__inner {
  display: grid;
  width: min(calc(100% - 32px), 1240px);
  min-height: 82px;
  margin-inline: auto;
  grid-template-columns: auto minmax(0, auto) minmax(240px, 1fr) minmax(220px, 340px);
  align-items: center;
  gap: 22px;
}

.journal-header__inner .brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.75rem;
}

.journal-nav {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.journal-nav a {
  min-height: 38px;
  padding: 8px 10px;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 750;
}

.journal-nav a:hover {
  color: var(--primary);
}

.journal-header__inner .search-shell {
  width: 100%;
}

.journal-masthead {
  display: grid;
  min-height: 112px;
  grid-template-columns: 52px minmax(0, 1fr) minmax(190px, 1fr);
  align-items: center;
  gap: 22px;
}

.journal-masthead .menu-button {
  grid-column: 1;
  border-radius: 0;
  background: var(--surface);
}

.journal-masthead .brand {
  grid-column: 2;
  justify-self: center;
  max-width: 100%;
  color: var(--ink);
  font-size: 2.7rem;
  font-weight: 800;
  line-height: 1;
}

.journal-masthead .brand-mark {
  width: 42px;
  height: 42px;
  flex-basis: 42px;
  border-radius: 0;
  border-color: var(--ink);
  background: var(--primary);
  color: var(--on-primary);
}

.masthead-note {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-self: end;
  gap: 3px;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.8125rem;
  line-height: 1.35;
  text-align: right;
}

.masthead-note__label,
.journal-kicker,
.section-label,
.contents-number,
.method-steps > li > span,
.disclosure-label {
  color: var(--primary);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.25;
  text-transform: uppercase;
}

.masthead-note__label {
  color: var(--ink);
}

.journal-nav-row {
  display: flex;
  min-height: 52px;
  padding-block: 7px;
  align-items: center;
  gap: 20px;
  border-top: 1px solid var(--border);
}

.journal-nav-row .header-categories {
  min-width: 0;
  flex: 1 1 auto;
  gap: 2px;
  overflow: hidden;
}

.journal-nav-row .nav-link {
  min-height: 34px;
  padding: 6px 9px;
  border-radius: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.8125rem;
  font-weight: 700;
}

.journal-nav-row .nav-link:hover,
.journal-nav-row .nav-link[aria-current="page"] {
  background: var(--soft);
  color: var(--primary);
}

.journal-nav-row .search-shell {
  width: min(31%, 320px);
  min-width: 190px;
  margin-left: auto;
}

.journal-nav-row .search-shell input,
.journal-nav-row .search-shell [type="search"] {
  height: 36px;
  padding-right: 12px;
  border: 0;
  border-bottom: 2px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.75rem;
}

.journal-nav-row .search-shell input:focus,
.journal-nav-row .search-shell [type="search"]:focus {
  border-color: var(--primary);
  background: var(--soft);
  box-shadow: none;
}

.journal-nav-row .search-results {
  top: calc(100% + 5px);
  border-radius: 0;
  box-shadow: 8px 8px 0 var(--soft);
}

.journal-main {
  padding: 0 0 72px;
}

.category-journal,
.game-journal {
  padding-top: 34px;
}

.category-intro {
  display: grid;
  padding: 30px 0 34px;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  column-gap: 52px;
  border-top: 5px solid var(--primary);
  border-bottom: 1px solid var(--ink);
}

.category-intro .journal-kicker,
.category-intro h1 {
  grid-column: 1;
}

.category-intro h1 {
  margin: 8px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 0.95;
}

.category-intro #category-summary {
  grid-column: 1;
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  line-height: 1.55;
}

.category-intro__method {
  grid-column: 2;
  grid-row: 1 / 4;
  margin: 0;
  padding-left: 26px;
  align-self: end;
  border-left: 1px solid var(--ink);
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.65;
}

.category-journal > .category-pills {
  margin: 12px 0 0;
}

.category-reading {
  display: grid;
  margin-top: 42px;
  padding: 26px 0;
  grid-template-columns: minmax(210px, 0.75fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--border);
}

.category-reading h2 {
  margin: 5px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  line-height: 1.1;
}

.category-reading > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.65;
}

.category-reading__note {
  padding-left: 24px;
  border-left: 1px solid var(--border);
}

.category-catalog {
  margin-top: 54px;
}

.category-catalog .game-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px 15px;
}

.category-catalog .game-card {
  border-width: 1px 0 0;
  border-radius: 0;
  background: transparent;
}

.category-catalog .game-card__media {
  aspect-ratio: 4 / 3;
}

.game-story {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(300px, 0.8fr);
  align-items: start;
  gap: 30px;
}

.game-story .player-shell,
.game-story .game-info {
  border-radius: 0;
}

.game-story .game-info {
  border-top: 5px solid var(--primary);
}

.game-story .game-info__title,
.editorial-note h2,
.play-tip h2 {
  font-family: Georgia, "Times New Roman", serif;
}

.before-play {
  display: grid;
  margin: 38px 0 54px;
  padding: 24px 0;
  grid-template-columns: 170px minmax(220px, 0.7fr) minmax(0, 1fr);
  gap: 24px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--border);
}

.before-play h2,
.before-play p {
  margin: 0;
}

.before-play h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
}

.before-play > p:last-child {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.65;
}

.game-journal .detail-section {
  margin-top: 54px;
}

.journal-brief {
  display: grid;
  padding: 52px 0 38px;
  grid-template-columns: minmax(0, 1.6fr) minmax(240px, 0.8fr);
  align-items: end;
  gap: 52px;
  border-bottom: 4px solid var(--ink);
}

.journal-brief h1 {
  max-width: 760px;
  margin: 8px 0 16px;
  color: var(--ink);
  font-size: 5rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.97;
}

.brief-pitch {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  line-height: 1.55;
}

.brief-lens {
  padding: 18px 0 0 24px;
  border-left: 1px solid var(--ink);
}

.brief-lens .section-label {
  margin: 0 0 10px;
}

.lens-value {
  margin: 0 0 10px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  line-height: 1.12;
}

.lens-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.55;
}

.journal-pills {
  min-height: 48px;
  padding: 10px 0;
  gap: 0;
  border-bottom: 1px solid var(--border);
}

.journal-pills a,
.journal-pills button,
.journal-pills .category-link {
  min-height: 30px;
  padding: 5px 12px;
  border-width: 0 1px 0 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
}

.journal-pills a:first-child {
  padding-left: 0;
}

.journal-pills a:hover,
.journal-pills button:hover,
.journal-pills .is-active,
.journal-pills [aria-current="page"],
.journal-pills .category-link--active {
  border-color: var(--border);
  background: var(--primary);
  color: var(--on-primary);
  text-decoration: none;
}

.front-page {
  display: grid;
  margin-top: 34px;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.8fr);
  align-items: start;
  gap: 34px;
}

.front-notes {
  min-width: 0;
  padding-left: 26px;
  border-left: 1px solid var(--ink);
}

.section-rule-heading {
  display: flex;
  min-width: 0;
  margin-bottom: 14px;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.section-rule-heading .section-label,
.section-rule-heading .journal-kicker {
  margin: 0;
}

.section-rule-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: 1.65rem;
  line-height: 1.1;
}

.section-rule-heading > p:last-child {
  max-width: 700px;
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.55;
}

.front-lead,
.front-notes {
  min-width: 0;
}

.front-lead > .section-rule-heading,
.front-notes > .section-rule-heading {
  padding-bottom: 11px;
  border-bottom: 2px solid var(--ink);
}

.front-lead .hero-main .game-card {
  border: 0;
  border-radius: 0;
  background: var(--surface);
  box-shadow: 10px 10px 0 var(--soft);
}

.front-lead .hero-main .game-card__media {
  aspect-ratio: 16 / 9;
  border: 0;
  border-bottom: 5px solid var(--primary);
}

.front-lead .hero-main .game-card__body {
  min-height: 132px;
  padding: 18px 18px 18px 0;
  justify-content: flex-start;
  gap: 7px;
}

.front-lead .hero-main .game-card__title {
  color: var(--ink);
  font-size: 2.8rem;
  line-height: 1.03;
}

.front-lead .hero-main .game-card__meta {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.6875rem;
  text-transform: uppercase;
}

.front-notes .hero-secondary {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.front-notes .hero-secondary .game-card {
  display: grid;
  grid-template-columns: 98px minmax(0, 1fr);
  min-height: 98px;
  border-width: 0 0 1px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.front-notes .hero-secondary .game-card:hover {
  border-color: var(--primary);
  transform: none;
}

.front-notes .hero-secondary .game-card__media {
  height: 74px;
  aspect-ratio: 4 / 3;
  align-self: center;
  border: 0;
}

.front-notes .hero-secondary .game-card__body {
  min-height: 98px;
  padding: 12px 0 12px 12px;
  justify-content: center;
}

.front-notes .hero-secondary .game-card__title {
  font-size: 1.02rem;
  line-height: 1.08;
}

.front-notes .hero-secondary .game-card__meta {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.625rem;
  text-transform: uppercase;
}

.front-notes__tail {
  margin: 16px 0 0;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.875rem;
  line-height: 1.5;
}

.contents-strip {
  display: grid;
  margin-top: 52px;
  padding: 15px 0 14px;
  grid-template-columns: minmax(170px, 1.2fr) repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.contents-title {
  padding-right: 18px;
}

.contents-title .section-label {
  margin: 0 0 5px;
}

.contents-title h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  line-height: 1.1;
}

.contents-strip > a {
  display: flex;
  min-width: 0;
  padding: 2px 14px;
  align-items: flex-start;
  gap: 9px;
  border-left: 1px solid var(--border);
}

.contents-strip > a:hover {
  background: var(--soft);
}

.contents-number {
  flex: 0 0 auto;
  font-size: 0.625rem;
}

.contents-strip b,
.contents-strip small {
  display: block;
}

.contents-strip b {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.875rem;
  line-height: 1.1;
}

.contents-strip small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.6875rem;
  line-height: 1.35;
}

.method-section {
  display: grid;
  margin-top: 58px;
  padding: 30px 0 34px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 52px;
  border-top: 5px solid var(--primary);
  border-bottom: 1px solid var(--border);
}

.method-heading h2 {
  max-width: 480px;
  margin: 8px 0 14px;
  font-size: 2.7rem;
  line-height: 1.03;
}

.method-heading > p:last-child {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  line-height: 1.55;
}

.method-steps {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  list-style: none;
}

.method-steps > li {
  min-width: 0;
  padding: 15px 12px 13px 0;
  border-top: 1px solid var(--ink);
}

.method-steps > li > span {
  display: block;
  margin-bottom: 17px;
}

.method-steps h3 {
  margin: 0 0 7px;
  font-size: 1.05rem;
  line-height: 1.12;
}

.method-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.guides-section,
.picks-section,
.archive-section,
.faq-section {
  margin-top: 60px;
}

.section-rule-heading--wide {
  padding-bottom: 16px;
  border-bottom: 3px solid var(--ink);
}

.section-rule-heading--wide h2 {
  font-size: 3rem;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-bottom: 1px solid var(--border);
}

.guide-card {
  min-width: 0;
  padding: 18px 18px 20px 0;
  border-right: 1px solid var(--border);
  overflow-wrap: anywhere;
}

.guide-card:not(:first-child) {
  padding-left: 18px;
}

.guide-card:nth-child(4n) {
  border-right: 0;
}

.guide-card__kicker {
  margin: 0 0 9px;
  color: var(--primary);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.625rem;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
}

.guide-card h3 {
  margin: 0 0 9px;
  font-size: 1.3rem;
  line-height: 1.05;
}

.guide-card h3 a:hover {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.guide-card > p:not(.guide-card__small) {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 0.875rem;
  line-height: 1.45;
}

.guide-card__small {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.45;
}

.guide-card__small b {
  color: var(--ink);
}

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

.static-pick {
  min-width: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--border);
}

.static-pick__link {
  display: grid;
  min-width: 0;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 14px;
  padding: 14px 0 16px;
}

.static-pick__link:hover {
  background: var(--soft);
}

.static-pick__image,
.static-pick__link > img {
  width: 104px;
  height: 104px;
  object-fit: cover;
  background: var(--soft);
}

.static-pick__body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.static-pick__body strong {
  color: var(--ink);
  font-size: 1.1rem;
  line-height: 1.08;
}

.static-pick__meta {
  color: var(--primary);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.625rem;
  font-weight: 800;
  text-transform: uppercase;
}

.static-pick__note,
.static-pick__tip {
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.4;
}

.static-pick__tip b {
  color: var(--ink);
}

.archive-heading {
  display: flex;
  flex-direction: row;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.archive-heading > a {
  flex: 0 0 auto;
  padding-bottom: 4px;
  color: var(--primary);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
}

.archive-heading > a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.journal-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px 15px;
  border-top: 0;
}

.journal-grid .game-card {
  border-width: 1px 0 0;
  border-radius: 0;
  background: transparent;
}

.journal-grid .game-card:hover {
  border-color: var(--primary);
  transform: none;
}

.journal-grid .game-card__media {
  aspect-ratio: 4 / 3;
  border: 0;
  background: var(--soft);
}

.journal-grid .game-card__body {
  min-height: 74px;
  padding: 11px 0 12px;
  justify-content: flex-start;
}

.journal-grid .game-card__title {
  font-size: 1.05rem;
  line-height: 1.08;
}

.journal-grid .game-card__meta {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.625rem;
  text-transform: uppercase;
}

.journal-load-more {
  width: auto;
  min-width: 190px;
  margin: 30px auto 0;
  padding: 11px 18px;
  border: 2px solid var(--ink);
  border-radius: 0;
  background: var(--primary);
  color: var(--on-primary);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
}

.journal-load-more:hover:not(:disabled) {
  border-color: var(--primary);
  background: var(--ink);
  color: var(--surface);
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  border-bottom: 1px solid var(--border);
}

.faq-list details {
  min-width: 0;
  border-top: 1px solid var(--ink);
}

.faq-list summary {
  padding: 16px 28px 16px 0;
  color: var(--ink);
  cursor: pointer;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.2;
  list-style-position: outside;
}

.faq-list details p {
  max-width: 550px;
  margin: -3px 0 18px;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.55;
}

.disclosure-section {
  display: grid;
  margin-top: 60px;
  padding: 28px 30px 30px;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 28px;
  background: var(--ink);
  color: var(--surface);
}

.disclosure-section .disclosure-label {
  color: var(--accent);
}

.disclosure-section h2 {
  margin: 0 0 12px;
  color: var(--surface);
  font-size: 1.65rem;
  line-height: 1.08;
}

.disclosure-section p {
  max-width: 800px;
  margin: 0 0 10px;
  color: var(--surface);
  font-size: 0.8125rem;
  line-height: 1.55;
  opacity: 0.9;
}

.disclosure-section p:last-child {
  margin-bottom: 0;
}

.journal-footer {
  display: flex;
  width: 100%;
  margin: 0;
  padding: 28px max(16px, calc((100% - 1240px) / 2)) 34px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  border-top: 5px solid var(--ink);
  background: var(--surface);
}

.journal-footer p {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.9375rem;
}

.journal-footer .footer-small {
  max-width: 430px;
  margin-top: 6px;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.6875rem;
  line-height: 1.45;
}

.journal-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.journal-footer nav a {
  color: var(--primary);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
}

.journal-footer nav a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.layout-curated-journal .drawer-overlay {
  background: var(--ink);
}

.layout-curated-journal .mobile-drawer {
  border-right: 3px solid var(--primary);
  border-radius: 0;
}

.layout-curated-journal .drawer-head button {
  border-radius: 0;
}

.layout-curated-journal .drawer-link {
  border-radius: 0;
  font-family: Georgia, "Times New Roman", serif;
}

@media (max-width: 999px) {
  .journal-masthead {
    grid-template-columns: 52px minmax(0, 1fr) minmax(150px, 0.8fr);
  }

  .journal-masthead .brand {
    font-size: 2.2rem;
  }

  .journal-nav-row .header-categories {
    overflow-x: auto;
  }

  .journal-nav-row .search-shell {
    width: min(35%, 280px);
  }

  .journal-brief {
    grid-template-columns: minmax(0, 1.35fr) minmax(210px, 0.8fr);
    gap: 30px;
  }

  .journal-brief h1 {
    font-size: 4rem;
  }

  .front-lead .hero-main .game-card__title {
    font-size: 2.35rem;
  }

  .method-heading h2 {
    font-size: 2.25rem;
  }

  .section-rule-heading--wide h2 {
    font-size: 2.45rem;
  }

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

  .contents-title {
    grid-column: 1 / -1;
    padding: 0 0 12px;
  }

  .contents-strip > a:nth-of-type(3) {
    border-left: 0;
  }

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

  .guide-card:nth-child(4n) {
    border-right: 1px solid var(--border);
  }

  .guide-card:nth-child(2n) {
    border-right: 0;
  }

  .guide-card:nth-child(n + 3) {
    border-top: 1px solid var(--border);
  }

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

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

  .journal-header__inner .menu-button {
    display: grid;
  }

  .journal-nav {
    display: none;
  }

  .category-catalog .game-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 799px) {
  .journal-utility {
    width: calc(100% - 28px);
    padding-block: 7px;
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .journal-masthead,
  .journal-nav-row,
  .journal-main {
    width: calc(100% - 28px);
  }

  .journal-masthead {
    min-height: 86px;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 10px;
  }

  .journal-masthead .brand {
    justify-self: center;
    font-size: 1.65rem;
  }

  .journal-masthead .brand-mark {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .masthead-note {
    display: none;
  }

  .journal-nav-row {
    min-height: 0;
    padding-block: 8px;
  }

  .journal-nav-row .header-categories {
    display: none;
  }

  .journal-nav-row .search-shell {
    display: flex;
    width: 100%;
  }

  .journal-brief {
    display: block;
    padding-top: 36px;
  }

  .journal-brief h1 {
    max-width: 600px;
    font-size: 3.35rem;
  }

  .brief-lens {
    margin-top: 28px;
    padding: 18px 0 0;
    border-top: 1px solid var(--ink);
    border-left: 0;
  }

  .front-page,
  .method-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  .front-notes {
    padding: 26px 0 0;
    border-top: 1px solid var(--ink);
    border-left: 0;
  }

  .method-section {
    gap: 24px;
  }

  .front-lead .hero-main .game-card__title {
    font-size: 2.1rem;
  }

  .method-heading h2 {
    font-size: 2.15rem;
  }

  .section-rule-heading--wide h2 {
    font-size: 2.25rem;
  }

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

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

  .disclosure-section {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .journal-header__inner {
    width: calc(100% - 28px);
    min-height: 72px;
    grid-template-columns: 44px minmax(0, auto) minmax(180px, 1fr);
    gap: 10px;
  }

  .journal-header__inner .brand-mark {
    display: none;
  }

  .game-story,
  .category-intro,
  .category-reading,
  .before-play {
    grid-template-columns: minmax(0, 1fr);
  }

  .category-intro__method {
    grid-column: 1;
    grid-row: auto;
    margin-top: 22px;
    padding: 18px 0 0;
    border-top: 1px solid var(--ink);
    border-left: 0;
  }

  .category-reading__note {
    padding: 20px 0 0;
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .before-play {
    gap: 12px;
  }
}

@media (max-width: 639px) {
  .journal-pills a:first-child {
    padding-left: 0;
  }

  .contents-strip {
    display: block;
  }

  .contents-title {
    padding-bottom: 10px;
  }

  .contents-strip > a {
    min-height: 54px;
    padding: 10px 0;
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .method-steps,
  .guide-grid,
  .pick-grid,
  .faq-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .method-steps > li {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
  }

  .method-steps > li > span {
    margin: 0;
  }

  .guide-card,
  .guide-card:not(:first-child) {
    padding: 17px 0 18px;
    border-top: 1px solid var(--border);
    border-right: 0;
  }

  .guide-card:first-child {
    border-top: 0;
  }

  .journal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 10px;
  }

  .journal-grid .game-card__title {
    font-size: 0.98rem;
  }

  .archive-heading {
    display: block;
  }

  .archive-heading > a {
    display: inline-block;
    margin-top: 5px;
  }

  .disclosure-section {
    padding: 23px 18px 25px;
  }

  .journal-footer {
    padding: 24px 14px 28px;
    flex-direction: column;
  }

  .journal-header__inner {
    padding-block: 10px;
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .journal-header__inner .search-shell {
    grid-column: 1 / -1;
  }

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