:root {
  --paper: #f0f0eb;
  --white: #fafaf7;
  --ink: #23251f;
  --muted: #606256;
  --line: #bfc0b5;
  --accent: #bc3d0a;
  --tint: #e6e7dd;
  --mono: ui-monospace, 'SFMono-Regular', Consolas, monospace;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: auto;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    16px/1.55 -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Arial,
    sans-serif;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
a:hover {
  color: var(--accent);
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
summary {
  -webkit-tap-highlight-color: transparent;
}
button,
select {
  cursor: pointer;
}
button {
  color: inherit;
}
a,
button,
p,
h1,
h2,
h3,
label {
  overflow-wrap: anywhere;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 20;
  padding: 10px 18px;
  background: var(--ink);
  color: white;
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: translateY(0);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.site-header,
main,
.site-footer {
  width: min(1100px, calc(100% - 48px));
  margin-inline: auto;
}
.site-header {
  padding-top: 24px;
}
.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 5px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 16px 0;
}
.brand {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 11px;
  font-size: 27px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -1.4px;
  text-decoration: none;
}
.brand-mark {
  display: inline-flex;
  width: 38px;
  height: 38px;
  background: var(--accent);
  color: white;
  align-items: center;
  justify-content: center;
  font: 700 17px/1 var(--mono);
  letter-spacing: -1px;
}
.site-nav {
  display: flex;
  gap: 20px;
}
.site-nav a {
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  font-size: 15px;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.site-nav a[aria-current='page'] {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.header-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0 10px;
  font: 11px/1.5 var(--mono);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
}
main {
  padding-top: 14px;
}
.content-block {
  margin: 0 0 24px;
  padding: 22px 0;
  border-top: 1px solid var(--ink);
}
.eyebrow {
  margin: 0 0 10px;
  color: var(--muted);
  font: 12px/1.5 var(--mono);
  letter-spacing: 1.1px;
  text-transform: uppercase;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.07;
  letter-spacing: -1.8px;
  font-weight: 750;
}
h2 {
  margin-bottom: 12px;
  font-size: 25px;
  line-height: 1.2;
  letter-spacing: -0.6px;
}
h3 {
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: -0.3px;
}
p {
  margin-bottom: 16px;
}
p:last-child {
  margin-bottom: 0;
}
.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 15px;
  border: 1px solid var(--ink);
  background: transparent;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
}
.button:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--white);
}
.button.primary {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.button.primary:hover {
  background: #993108;
}
.button:disabled {
  cursor: default;
  opacity: 0.58;
}
.button.text-button {
  border-color: transparent;
  text-decoration: underline;
}
.text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-weight: 650;
  font-size: 15px;
}
.block-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.block-heading h2,
.block-heading p {
  margin: 0;
}
.block-heading .eyebrow {
  white-space: nowrap;
}
.page-heading {
  padding-bottom: 18px;
}
.page-heading h1 {
  max-width: 720px;
}
.page-heading p:not(.eyebrow) {
  max-width: 660px;
}
.cover-heading {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: end;
  gap: 40px;
}
.cover-heading h1 {
  max-width: 560px;
  margin-bottom: 0;
}
.cover-heading p {
  margin-bottom: 2px;
  max-width: 340px;
}
.lead-story {
  display: grid;
  grid-template-columns: 1fr 43%;
  gap: 42px;
}
.story-copy {
  align-self: center;
  max-width: 500px;
}
.story-copy h2 {
  font-size: 38px;
  line-height: 1.08;
  letter-spacing: -1.5px;
}
.story-copy .story-deck {
  color: var(--muted);
}
.story-image {
  margin: 0;
  position: relative;
  align-self: start;
}
.story-image img {
  width: 100%;
  aspect-ratio: 1.95;
  object-fit: cover;
}
.story-image figcaption {
  margin-top: 10px;
  font: 12px/1.5 var(--mono);
  color: var(--muted);
}
.story-index {
  color: var(--accent);
  font: 700 14px var(--mono);
}
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.comparison {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px;
  align-items: start;
}
.comparison img {
  width: 80px;
  height: 80px;
  object-fit: cover;
}
.comparison h3 {
  margin-bottom: 5px;
}
.comparison p {
  color: var(--muted);
  margin-bottom: 6px;
}
.comparison a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.index-invitation {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  background: var(--tint);
  padding: 22px;
}
.index-invitation h2 {
  margin-bottom: 8px;
}
.index-invitation p {
  max-width: 620px;
}
.reading-entry {
  display: grid;
  grid-template-columns: 55px 1fr 160px;
  gap: 24px;
  align-items: start;
}
.reading-entry h2 {
  font-size: 30px;
}
.reading-entry p {
  max-width: 650px;
}
.reading-entry img {
  width: 160px;
  aspect-ratio: 1.4;
  object-fit: cover;
}
.reading-entry .story-index {
  padding-top: 7px;
  white-space: nowrap;
}
.prose {
  max-width: 760px;
}
.prose p {
  max-width: 69ch;
}
.prose h2 {
  max-width: 620px;
}
.article-heading {
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 30px;
  align-items: center;
}
.article-heading h1 {
  font-size: clamp(32px, 4vw, 44px);
}
.article-heading img {
  width: 180px;
  aspect-ratio: 1;
  object-fit: cover;
}
.article-section {
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 20px;
  max-width: 850px;
}
.article-section .story-index {
  padding-top: 5px;
}
.article-section p {
  max-width: 67ch;
}
.article-next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.game-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 28px;
  row-gap: 20px;
}
.game-card {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto auto 1fr auto;
  text-decoration: none;
  border-top: 1px solid var(--line);
  padding-top: 8px;
  align-content: start;
  min-width: 0;
}
.game-card .card-number {
  font: 11px/1.6 var(--mono);
  color: var(--muted);
  margin-bottom: 6px;
}
.game-card img {
  grid-column: 1 / -1;
  width: 100%;
  aspect-ratio: 3;
  object-fit: cover;
  margin-bottom: 10px;
  background: var(--tint);
}
.game-card .card-meta {
  grid-column: 1 / -1;
  font: 11px/1.6 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--muted);
  margin-bottom: 3px;
}
.game-card h3 {
  grid-column: 1 / -1;
  margin: 0 0 4px;
  font-size: 18px;
  line-height: 1.25;
}
.card-link {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-top: 3px;
}
.related-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 850px;
}
.related-grid img {
  aspect-ratio: 4;
}
.batch-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
}
.batch-footer p {
  color: var(--muted);
  font: 12px/1.5 var(--mono);
  margin: 0;
}
.batch-footer .end-note {
  color: var(--ink);
  font-weight: 700;
}
.index-batch .block-heading h2 {
  font-size: 18px;
}
.index-batch .block-heading {
  margin-bottom: 10px;
}
.content-block.filter-bar {
  padding: 8px 0;
  margin-bottom: 8px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(230px, 1fr);
  gap: 20px;
  align-items: center;
}
.query-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px 86px;
  gap: 8px;
}
.query-tools input {
  width: 100%;
  min-width: 0;
  height: 44px;
  border: 1px solid var(--ink);
  background: var(--white);
  border-radius: 0;
  padding: 8px 10px;
  font-size: 16px;
}
.query-tools .button {
  padding-inline: 8px;
}
#open-filters[data-active='true'] {
  background: var(--ink);
  color: white;
}
.filter-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}
.filter-status p {
  margin: 0;
  font: 12px/1.5 var(--mono);
}
.filter-status .button {
  flex-shrink: 0;
  padding-inline: 9px;
  border-color: transparent;
  text-decoration: underline;
}
.filter-dialog {
  width: min(460px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  overscroll-behavior: contain;
}
.filter-dialog::backdrop {
  background: rgb(20 22 16 / 60%);
}
.dialog-inner {
  padding: max(20px, env(safe-area-inset-top)) 24px
    max(24px, env(safe-area-inset-bottom));
}
.dialog-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.dialog-heading h2 {
  flex: 1 1 160px;
  margin: 0;
}
.dialog-heading > .button {
  flex: 0 0 auto;
}
.filter-group {
  border-block: 1px solid var(--line);
  margin-top: 12px;
}
.filter-group summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  min-height: 64px;
  padding: 12px 30px 12px 0;
  font-size: 16px;
  line-height: 1.5;
}
.filter-group summary::-webkit-details-marker {
  display: none;
}
.filter-group summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 17px;
  font: 22px/1 var(--mono);
}
.filter-group[open] summary::after {
  content: '−';
}
.filter-group-title,
.filter-selection {
  display: block;
}
.filter-group-title {
  font-weight: 700;
}
.filter-selection {
  color: var(--muted);
}
.filter-group fieldset {
  min-width: 0;
  margin: 0;
  padding: 0 0 12px;
  border: 0;
}
.filter-dialog .filter-choice {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  margin: 6px 0 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 16px;
  line-height: 1.5;
  cursor: pointer;
}
.filter-choice:has(input:checked) {
  border-color: var(--accent);
  background: var(--tint);
}
.filter-choice:focus-within {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.filter-choice input[type='radio'] {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--accent);
  font-size: 16px;
}
.choice-copy {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0 12px;
  align-items: baseline;
}
.choice-name,
.choice-count {
  font-size: 16px;
  overflow-wrap: anywhere;
}
.choice-count {
  color: var(--muted);
}
.filter-dialog p {
  margin-top: 18px;
}
.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.dialog-caption {
  color: var(--muted);
  font-size: 14px;
}
.modal-open {
  overflow: hidden;
}
.empty-results {
  padding: 24px;
  background: var(--tint);
}
.game-heading {
  max-width: 900px;
}
.game-heading h1 {
  max-width: 850px;
}
.control-line {
  font-size: 16px;
}
.control-line strong {
  margin-right: 10px;
}
/* Play entry heading: minimal vertical rhythm and a smaller title. */
[data-page="play"] .game-heading {
  margin-bottom: 4px;
  padding: 6px 0 4px;
}
[data-page="play"] .game-heading .eyebrow {
  margin-bottom: 2px;
}
[data-page="play"] .game-heading h1 {
  margin-bottom: 3px;
  font-size: clamp(22px, 3.2vw, 30px);
  line-height: 1.05;
  letter-spacing: -0.8px;
}
[data-page="play"] .game-heading .control-line {
  font-size: 13px;
}
.player-block {
  padding: 0 0 18px;
  border-top: 0;
}
.stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #20221d;
}
.player-preview {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.player-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.preview-label {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  width: fit-content;
  padding: 8px 12px;
  background: rgb(20 22 16 / 90%);
  color: white;
  font: 12px/1.5 var(--mono);
}
.stage-exit {
  display: none;
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  background: var(--white);
}
.stage:fullscreen .stage-exit {
  display: inline-flex;
}
.stage iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.player-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 12px;
}
.player-status {
  margin: 12px 0 0;
  font-size: 15px;
  color: var(--muted);
  max-width: 850px;
  min-height: 24px;
}
.stage:fullscreen {
  aspect-ratio: auto;
  width: 100%;
  height: 100%;
}
.stage:fullscreen iframe {
  width: 100%;
  height: 100%;
}
.stage:fullscreen::backdrop {
  background: #20221d;
}
.caption {
  font-size: 14px;
  color: var(--muted);
}
.image-unavailable {
  font-size: 14px;
  color: var(--muted);
  background: var(--tint);
}
.site-footer {
  border-top: 3px solid var(--ink);
  padding: 22px 0 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px 32px;
  margin-top: 26px;
}
.footer-brand {
  font-weight: 800;
  letter-spacing: -0.5px;
  font-size: 18px;
  margin: 0;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 20px;
}
.site-footer nav a {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 14px;
}
.site-footer .caption {
  grid-column: 1 / -1;
  margin: 0;
}
@media (max-width: 899px) {
  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
  .content-block.filter-bar {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .filter-status {
    min-height: 44px;
  }
  .related-grid img {
    aspect-ratio: 3;
  }
  .lead-story {
    gap: 24px;
  }
  .story-copy h2 {
    font-size: 32px;
  }
}
@media (max-width: 599px) {
  .site-header,
  main,
  .site-footer {
    width: calc(100% - 32px);
  }
  .site-header {
    padding-top: 14px;
  }
  .masthead {
    flex-wrap: wrap;
    gap: 8px;
    padding: 13px 0 3px;
  }
  .brand {
    font-size: 25px;
  }
  .brand-mark {
    width: 34px;
    height: 34px;
    font-size: 15px;
  }
  .site-nav {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }
  .site-nav a {
    font-size: 14px;
  }
  .header-line {
    font-size: 10px;
    letter-spacing: 0.5px;
    gap: 8px;
  }
  main {
    padding-top: 7px;
  }
  .content-block {
    margin-bottom: 18px;
    padding-block: 18px;
  }
  h1 {
    font-size: 33px;
    letter-spacing: -1.1px;
  }
  h2 {
    font-size: 23px;
  }
  .eyebrow {
    font-size: 11px;
    margin-bottom: 8px;
  }
  .cover-heading {
    display: block;
  }
  .cover-heading h1 {
    font-size: 36px;
    max-width: 340px;
    margin-bottom: 14px;
  }
  .cover-heading p {
    max-width: 350px;
  }
  .lead-story {
    grid-template-columns: minmax(0, 1fr) 95px;
    gap: 16px;
  }
  .story-copy {
    display: contents;
  }
  .story-copy .eyebrow {
    grid-column: 1 / -1;
    margin-bottom: -6px;
  }
  .story-copy h2 {
    font-size: 28px;
    letter-spacing: -0.8px;
    margin-bottom: 0;
  }
  .story-copy .story-deck {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }
  .story-copy .text-link {
    grid-column: 1 / -1;
    justify-self: start;
  }
  .story-image {
    grid-column: 2;
    grid-row: 2;
  }
  .story-image img {
    aspect-ratio: 1;
  }
  .story-image figcaption {
    display: none;
  }
  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .comparison {
    grid-template-columns: 60px 1fr;
    gap: 12px;
    padding-top: 12px;
  }
  .comparison img {
    width: 60px;
    height: 60px;
  }
  .comparison h3 {
    font-size: 18px;
  }
  .comparison p {
    font-size: 15px;
  }
  .index-invitation {
    display: block;
    padding: 18px;
  }
  .index-invitation .button {
    margin-top: 16px;
  }
  .block-heading {
    align-items: flex-start;
    gap: 10px;
  }
  .block-heading h2 {
    font-size: 22px;
  }
  .block-heading .text-link {
    padding-top: 0;
    min-width: 80px;
    font-size: 14px;
  }
  .reading-entry {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
  }
  .reading-entry img {
    display: none;
  }
  .reading-entry h2 {
    font-size: 27px;
  }
  .article-heading {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .article-heading img {
    width: 100%;
    aspect-ratio: 3.5;
  }
  .article-heading h1 {
    font-size: 33px;
  }
  .article-section {
    grid-template-columns: 24px 1fr;
    gap: 12px;
  }
  .article-next {
    display: block;
  }
  .article-next .button {
    margin-top: 14px;
  }
  .game-grid {
    column-gap: 16px;
    row-gap: 16px;
  }
  .game-card img {
    aspect-ratio: 2.4;
    margin-bottom: 8px;
  }
  .game-card h3 {
    font-size: 16px;
    line-height: 1.25;
  }
  .card-link {
    font-size: 12px;
  }
  .game-card .card-meta {
    font-size: 10px;
    letter-spacing: 0.3px;
  }
  .game-card .card-number {
    font-size: 10px;
  }
  .related-grid img {
    aspect-ratio: 2.4;
  }
  .batch-footer {
    gap: 8px;
  }
  .batch-footer .button {
    padding-inline: 10px;
  }
  .content-block.filter-bar {
    padding-block: 8px;
    gap: 4px;
  }
  .filter-status p {
    font-size: 11px;
  }
  .filter-status {
    gap: 8px;
  }
  .query-tools {
    gap: 6px;
  }
  .query-tools .button {
    font-size: 14px;
  }
  .player-block {
    padding-top: 0;
  }
  .player-toolbar .button {
    padding-inline: 11px;
    font-size: 14px;
  }
  .stage {
    aspect-ratio: 4/3;
  }
  .preview-label {
    bottom: 8px;
    left: 8px;
    right: 8px;
    padding: 5px 8px;
    font-size: 11px;
  }
  .site-footer {
    display: block;
    margin-top: 18px;
  }
  .site-footer nav {
    margin: 8px 0;
    gap: 0 18px;
  }
  .dialog-inner {
    padding-inline: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}

/* The cover leads with real game entries; editorial reading follows. */
.cover-heading {
  padding-block: 16px;
  gap: 20px;
  align-items: center;
}
.cover-heading h1 {
  font-size: clamp(28px, 3vw, 36px);
  letter-spacing: -1px;
}
.cover-heading p {
  max-width: none;
  margin: 0;
}
.desk-grid {
  max-width: none;
}
.desk-grid .game-card img {
  aspect-ratio: 4.2;
}
.cover-games .block-heading {
  margin-bottom: 12px;
}
@media (max-width: 599px) {
  .cover-heading {
    padding-block: 12px;
  }
  .cover-heading h1 {
    font-size: 29px;
    margin-bottom: 8px;
  }
  .desk-grid .game-card img {
    aspect-ratio: 2.4;
  }
}
