/* Content begins in the space left by the original advertising slots. */
body[data-design-site] main {
  padding-block: 0 16px;
  margin-top: -8px;
}
body[data-design-site] main > .breadcrumb {
  margin: 0 0 4px;
  font-size: 13px;
  line-height: 18px;
}
body[data-design-site] main > h1:not(.sr-only, .visually-hidden) {
  font-size: 18px;
  line-height: 24px;
  margin: 0 0 6px;
}
body[data-design-site] .detail-toolbar {
  margin: 0;
}
body[data-design-site] .search-tools {
  margin: 0 0 6px;
  padding-block: 0;
}
body[data-design-site] .result-grid {
  row-gap: 14px;
  grid-auto-rows: auto;
  align-content: start;
}
body[data-design-site] .result-grid .catalogue-content-group {
  row-gap: 14px;
  align-content: start;
}
body[data-design-site] :is(.entry-copy, .complete-copy) {
  min-height: 0;
}
body[data-design-site] .result-grid :is(h3, .entry-copy h3) {
  min-height: 0;
}
body[data-design-site] .page-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 12px;
  margin-bottom: 6px;
}
body[data-design-site] .page-heading :is(h1, h2) {
  font-size: 18px;
  line-height: 24px;
  margin: 0;
}
body[data-design-site] .page-heading h2 {
  font-size: 16px;
  font-weight: 400;
}
body[data-design-site] .page-heading + section {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
body[data-design-site] .page-heading + section > p:first-child {
  margin-top: 0;
}
body[data-design-site] .information-section {
  padding-block: 10px;
  margin-block: 0 14px;
}
body[data-design-site] .information-section h2 {
  margin-bottom: 6px;
}
body[data-design-site] .reading-main {
  padding-block: 0 16px;
}
body[data-design-site] .reading-intro {
  margin: 0 0 8px;
}
body[data-design-site] .reading-intro h1 {
  font-size: 18px;
  line-height: 1.35;
  margin: 0 0 8px;
}
body[data-design-site] .reading-directory .reading-card {
  padding-block: 8px;
  margin-block: 0;
  gap: 8px;
  align-content: start;
}
body[data-design-site] .reading-directory .reading-summary {
  display: block;
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.5;
}
body[data-design-site] .reading-directory .reading-copy > .reading-context {
  margin: 6px 0 0;
}
body[data-design-site] .reading-directory .reading-card :is(h2, h3) {
  margin-block: 6px 0;
}
body[data-design-page="article"] .reading-intro > .article-lead {
  display: block;
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.55;
}
body[data-design-page="article"] .reading-intro > .reading-context {
  margin: 0 0 8px;
}
body[data-design-page="article"] .reading-body > section {
  margin: 0 0 16px;
  padding-block: 0;
}
body[data-design-page="article"] .reading-back {
  margin: 16px auto 0;
  max-width: 70ch;
}
body[data-design-site] .compact-index-heading {
  display: flex;
  gap: 10px;
  align-items: baseline;
  margin: 0 0 6px;
}
body[data-design-site] .compact-index-heading h1 {
  font-size: 18px;
  line-height: 24px;
  margin: 0;
}
body[data-design-site] .compact-index-heading span {
  font-size: 14px;
}
body[data-design-site] .compact-game-index .complete-grid {
  grid-auto-rows: auto;
  gap: 14px 12px;
  margin: 0;
  align-items: start;
}
body[data-design-site] .compact-game-index .complete-copy {
  padding: 6px 0 0;
}
body[data-design-site] .compact-game-index .complete-copy strong {
  min-height: 0;
  font-size: 16px;
  line-height: 1.35;
}
body[data-design-site] .compact-game-index .complete-card {
  gap: 0;
  padding: 0;
}
body[data-design-site] .compact-game-index .complete-card:last-child {
  grid-column: auto;
}
body[data-design-site] .compact-index-tail {
  margin-top: 14px;
  display: flex;
  gap: 12px;
  align-items: center;
}
body[data-design-site] .compact-index-tail p {
  font-size: 14px;
}
@media (max-width: 699px) {
  body[data-design-site] .compact-game-index .complete-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Preserve the approved reference picture/text pairs. Only surrounding space changes. */
body[data-design-site="Game49"] [data-home-reference-block] {
  margin-top: 0;
  padding-top: 0;
}
body[data-design-site="Game49"] .selection-receipt {
  margin-block: 12px;
}

/* A complete, readable headline leads straight into the original opening paragraph. */
body[data-design-page="article"] .reading-intro {
  margin: 0 0 6px;
}
body[data-design-page="article"] .reading-intro h1 {
  font-size: 18px;
  line-height: 22px;
  margin: 0;
  font-weight: 500;
}
body[data-design-page="article"] .reading-body > section:first-child {
  display: flow-root;
}
body[data-design-page="article"] .reading-body > section:first-child > h2 {
  float: left;
  width: 96px;
  font-size: 16px;
  line-height: 22px;
  margin: 0 12px 6px 0;
  font-weight: 500;
}
body[data-design-page="article"] .reading-body > section:first-child > p {
  margin-top: 0;
}
body[data-design-page="article"] .article-metadata {
  margin-block: 16px;
}
body[data-design-page="article"] .article-metadata .article-lead {
  margin-bottom: 8px;
}

body[data-design-page="information"] main > section {
  max-width: 70ch;
}
body[data-design-page="information"] main > p {
  max-width: 70ch;
}
body[data-design-site] .compact-game-index.index-rows .complete-grid {
  grid-template-columns: 1fr;
}
body[data-design-site] .compact-game-index.index-rows .complete-art {
  min-height: 96px;
}
body[data-design-site] .result-grid :is(.entry-image, .image-cell, .paired-picture) {
  min-height: 96px;
}
body[data-design-site] .category-example-pair .entry-image {
  min-height: 96px;
}
body[data-design-site] .error-note {
  padding: 0;
  margin: 0 0 12px;
}
body[data-design-site] .error-note h1 {
  font-size: 18px;
  line-height: 24px;
  margin-bottom: 6px;
}
@media (min-width: 768px) {
  body[data-design-site] .compact-game-index.index-rows .complete-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

body[data-design-page="article"] .long-article-heading > button {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  width: 100%;
  min-height: 44px;
  max-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  font: inherit;
  line-height: 22px;
  text-align: left;
  color: inherit;
  background: transparent;
  text-decoration: underline dotted;
  text-underline-offset: 3px;
}
body[data-design-page="information"] .information-section {
  margin-bottom: 12px;
  padding-block: 6px;
}
body[data-design-page="information"] .information-section p {
  margin-block: 0;
}
body[data-design-page="information"] .information-section h2 {
  margin-block: 0 6px;
}
body[data-design-site] main > h1 + section {
  margin-top: 0;
  padding-top: 0;
}
body[data-design-site] main > h1 + section > h2 {
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 22px;
}
body[data-design-site="Game49"] [data-sheet-entries] > section {
  margin: 0 0 12px;
  padding-block: 0;
}
body[data-design-site="Game49"] [data-sheet-entries] > section h2 {
  font-size: 16px;
  margin-bottom: 6px;
}

/* An empty slot leaves a small, deliberate gap below the shared navigation. */
body[data-design-site] [id^="ad-banner"][hidden] + main {
  margin-top: 10px;
}
body[data-design-site] header nav[aria-label="Main navigation"] a {
  text-decoration: none;
  position: relative;
  isolation: isolate;
}
body[data-design-site] header nav[aria-label="Main navigation"] a[aria-current="page"] {
  box-shadow: none;
}
body[data-design-site] header nav[aria-label="Main navigation"] a[aria-current="page"]::before {
  content: "";
  position: absolute;
  inset: 7px -5px;
  z-index: -1;
  pointer-events: none;
  background: #edf0f2;
  border-radius: 1px;
  border: 1px solid #b6c0c8;
}

body[data-compact-error] main > section:first-child {
  padding: 0;
  margin: 0 0 6px;
  border: 0;
}
body[data-compact-error] main > section:first-child h1 {
  font-size: 18px;
  line-height: 24px;
  margin: 0;
}
body[data-compact-error] .page-support {
  margin-top: 0;
}
@media (min-width: 768px) {
  body[data-design-page="information"] .information-section > h2 {
    float: left;
    width: 144px;
    font-size: 16px;
    line-height: 24px;
    margin: 0 14px 6px 0;
  }
  body[data-design-page="information"] .information-section {
    display: flow-root;
    padding-block: 0;
  }
}
body[data-design-site="Game49"] main:has([data-sheet-entries]) .page-support {
  margin-top: 8px;
}
body[data-design-site="Game49"] [data-sheet-entries] > section:not(.sheet-group) > h2 {
  display: inline;
  font-size: 16px;
  line-height: 24px;
  margin-right: 6px;
}
body[data-design-site="Game49"] [data-sheet-entries] > section:not(.sheet-group) > p {
  display: inline;
  font-size: 16px;
  line-height: 24px;
}

/* Balanced visual padding is stable for every navigation state. */
body[data-design-site] header nav[aria-label="Main navigation"] {
  gap: 0 4px;
}
body[data-design-site] header nav[aria-label="Main navigation"] a {
  padding-inline: 8px;
}
body[data-design-site] header nav[aria-label="Main navigation"] a[aria-current="page"]::before {
  inset-inline: 0;
}
body[data-design-site] .reading-directory {
  border-top: 0;
}
body[data-design-site] .reading-directory > li:first-child,
body[data-design-site] .reading-directory > li:first-child > .reading-card {
  border-top: 0;
}

/* A tall panel keeps the close control fixed and the actual categories compact. */
.native-categories {
  min-height: 70dvh;
  max-height: calc(100dvh - 24px);
}
.native-categories .dialog-inner {
  min-height: calc(70dvh - 2px);
  max-height: calc(100dvh - 26px);
}
.native-categories .dialog-head {
  flex: none;
}
.native-categories .category-destinations {
  flex: 1;
  min-height: 0;
  align-content: start;
  overflow-y: auto;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
}
.native-categories .category-destinations a {
  gap: 10px;
}
.native-categories .category-label {
  flex: 1;
  min-width: 0;
}
.native-categories .category-mark {
  display: inline-flex;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  align-items: center;
  justify-content: center;
  border: 1px solid #b9c1c8;
  border-radius: 0;
  background: #f4f6f7;
}
.native-categories .category-mark svg {
  display: block;
}

/* The normal phone header is one 56px row; navigation alone can scroll. */
@media (min-width: 380px) and (max-width: 699px) {
  body[data-design-site] header {
    display: grid;
    grid-template-columns: max-content 44px minmax(0, 1fr);
    grid-template-rows: 44px;
    align-items: center;
    gap: 6px;
    min-height: 56px;
    height: 56px;
    padding: 5px 12px 6px;
  }
  body[data-design-site] header .identity-row {
    display: contents;
  }
  body[data-design-site] header .wordmark {
    grid-column: 1;
    grid-row: 1;
    min-height: 44px;
    margin: 0;
    white-space: nowrap;
    max-width: none;
    font-size: 16px;
    line-height: 20px;
  }
  body[data-design-site] header .discovery-trigger {
    grid-column: 2;
    grid-row: 1;
    width: 44px;
    height: 44px;
    margin: 0;
  }
  body[data-design-site] header nav[aria-label="Main navigation"] {
    grid-column: 3;
    grid-row: 1;
    width: 100%;
    min-width: 0;
    height: 44px;
    border: 0;
  }
}
body[data-design-site] .detail-toolbar {
  display: flex;
  height: 44px;
  min-height: 44px;
  align-items: center;
  gap: 6px;
}
body[data-design-site] .detail-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  flex: 0 0 44px;
  padding: 0;
  margin: 0;
  position: relative;
  border: 0;
  background: transparent;
  box-shadow: none;
  text-decoration: none;
}
body[data-design-site] .detail-back svg {
  display: block;
}
body[data-design-site] .detail-toolbar h1 {
  display: flex;
  align-items: center;
  height: 44px;
  min-width: 0;
  margin: 0;
}
body[data-design-site] .detail-toolbar h1 button {
  height: 44px;
  min-height: 44px;
  margin: 0;
  padding-block: 0;
  line-height: 44px;
}

@media (min-width: 380px) and (max-width: 699px) {
  body[data-design-site="Game49"] header {
    gap: 4px;
  }
}

body[data-design-site="Game49"] .player-toolbar button {
  color: inherit;
}

/* The game window leads; its shape is a UI choice, not thumbnail metadata. */
body[data-design-site] .player {
  overflow: visible;
}
body[data-design-site] .player .frame-surface {
  width: min(100%, 96dvh);
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: 4 / 3;
  margin-inline: auto;
  flex: none;
  background: #111820;
}
body[data-design-site] .player .frame-surface iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  transform: none;
}
body[data-design-site] .player .player-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  padding: 4px 0 0;
  background: var(--paper);
  color: var(--ink);
  flex-wrap: nowrap;
}
body[data-design-site] .player :is(.player-primary, .player-secondary) {
  display: flex;
  align-items: center;
  gap: 2px;
}
body[data-design-site] .player .player-toolbar button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 8px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 3px;
  box-shadow: none;
  cursor: pointer;
  white-space: nowrap;
}
body[data-design-site] .player .player-primary button {
  background: var(--ink);
  color: var(--paper);
  padding-inline: 12px;
  min-width: 76px;
}
body[data-design-site] .player .player-toolbar button:disabled {
  opacity: 0.55;
  cursor: default;
}
body[data-design-site] .player .player-toolbar svg {
  flex: 0 0 18px;
}
body[data-design-site] .player .player-status {
  padding: 5px 0;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 13px;
  line-height: 20px;
  font-weight: 400;
}
body[data-design-site] .player:fullscreen {
  background: var(--paper);
  justify-content: flex-start;
  align-items: stretch;
  gap: 0;
  overflow-y: auto;
  padding: max(4px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right))
    max(4px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
}
body[data-design-site] .player:fullscreen .frame-surface {
  width: 100%;
  height: 0;
  min-width: 0;
  max-width: none;
  min-height: 0;
  max-height: none;
  aspect-ratio: auto;
  flex: 1 1 0;
  margin: 0;
}
body[data-design-site] .player:fullscreen .player-toolbar {
  flex: none;
}
@media (min-width: 700px) {
  body[data-design-site] .player .frame-surface {
    width: min(100%, 1152px, 128dvh);
    aspect-ratio: 16 / 9;
  }
}
@media (max-width: 359px) {
  body[data-design-site] .player .player-toolbar button {
    gap: 4px;
    padding-inline: 6px;
    font-size: 13px;
  }
  body[data-design-site] .player .player-primary button {
    min-width: 66px;
  }
}

/* Game Reference: One-column reference slips; icon, title and dotted leader to the count. */
body[data-design-site="Game49"] header nav[aria-label="Main navigation"] a[aria-current]::before {
  content: none;
}
body[data-design-site="Game49"] header nav[aria-label="Main navigation"] a[aria-current] {
  background: color-mix(in srgb, var(--ink) 6%, transparent);
}
body[data-design-site="Game49"] header nav[aria-label="Main navigation"] a[aria-current]::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 8px;
  width: 4px;
  height: 6px;
  background: var(--accent);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 70%, 0 100%);
}
body[data-design-site="Game49"] .native-categories {
  width: min(480px, calc(100% - 24px));
  inset: 12px 12px auto auto;
  border-radius: 0;
}
body[data-design-site="Game49"] .native-categories .category-destinations {
  gap: 8px;
}
body[data-design-site="Game49"] .native-categories .category-destinations a {
  padding: 12px 8px;
  min-height: 56px;
  border: 1px solid var(--line);
  border-left: 0;
  border-right: 0;
  gap: 8px;
}
body[data-design-site="Game49"] .native-categories .category-mark {
  width: 26px;
  flex-basis: 26px;
  background: transparent;
  border: 0;
}
body[data-design-site="Game49"] .native-categories .category-label {
  flex: 0 1 auto;
}
body[data-design-site="Game49"] .native-categories small {
  flex: 1;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
body[data-design-site="Game49"] .native-categories small::before {
  content: "";
  flex: 1;
  border-bottom: 1px dotted var(--line);
}

/* Three existing, exclusively allocated stories follow the first games. */
body[data-design-page="home"][data-design-site="Game49"] .reading-home > ol {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
body[data-design-page="home"][data-design-site="Game49"] .reading-home .reading-card {
  padding: 10px 0;
  min-height: 44px;
  border: 0;
  border-bottom: 1px solid var(--line);
}
body[data-design-page="home"][data-design-site="Game49"] .reading-home .reading-context {
  display: none;
}
body[data-design-page="home"][data-design-site="Game49"] .reading-home .reading-card h3 {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
  max-height: none;
  white-space: normal;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  margin: 0 0 5px;
}
body[data-design-page="home"][data-design-site="Game49"] .reading-home .reading-summary {
  display: block;
  -webkit-line-clamp: unset;
  max-height: none;
  overflow: visible;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  margin: 0;
}
body[data-design-page="home"][data-design-site="Game49"] .reading-home .reading-card {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) 16px;
  gap: 10px;
}
body[data-design-page="home"][data-design-site="Game49"] .reading-home .reading-number,
body[data-design-page="home"][data-design-site="Game49"] .reading-home .reading-arrow {
  display: block;
  font-size: 12px;
}
body[data-design-page="home"][data-design-site="Game49"] .reading-home .reading-art {
  display: none;
}

/* A real right drawer, flush with the viewport edge. */
body[data-design-site="Game49"] .native-categories {
  margin: 0;
  inset: 0 0 0 auto;
  width: min(88vw, 360px);
  max-width: 100vw;
  height: 100dvh;
  min-height: 100dvh;
  max-height: 100dvh;
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0;
}
body[data-design-site="Game49"] .native-categories .dialog-inner {
  height: 100%;
  min-height: 0;
  max-height: 100%;
}
body[data-design-site="Game49"] .native-categories .dialog-head {
  padding-top: max(6px, env(safe-area-inset-top));
  flex: none;
}
body[data-design-site="Game49"] .native-categories .category-destinations {
  min-height: 0;
  flex: 1;
  overflow-y: auto;
}
@media (min-width: 700px) {
  body[data-design-site="Game49"] .native-categories {
    width: 380px;
  }
}

/* Desktop keeps the compact shared frame instead of adding a second header row. */
@media (min-width: 700px) {
  body[data-design-site="Game49"] header {
    display: grid;
    grid-template-columns: max-content 44px minmax(0, 1fr);
    grid-template-rows: 44px;
    align-items: center;
    min-height: 56px;
    height: 56px;
    gap: 10px;
    padding: 5px 16px 6px;
  }
  body[data-design-site="Game49"] header .identity-row {
    display: contents;
  }
  body[data-design-site="Game49"] header .wordmark {
    grid-column: 1;
    grid-row: 1;
    min-height: 44px;
    max-width: none;
    white-space: nowrap;
  }
  body[data-design-site="Game49"] header .discovery-trigger {
    grid-column: 2;
    grid-row: 1;
  }
  body[data-design-site="Game49"] header nav[aria-label="Main navigation"] {
    grid-column: 3;
    grid-row: 1;
    width: 100%;
    height: 44px;
    padding: 0;
  }
}

/* Game Reference Sheets: a book-spine identity beside two rows of page tabs. */
body[data-design-site="Game49"] header.reference-header {
  display: grid;
  grid-template-rows: auto;
  grid-template-columns: 106px minmax(0, 1fr) 44px;
  gap: 10px;
  align-items: center;
  height: auto;
  min-height: 96px;
  padding: 4px 12px;
}
body[data-design-site="Game49"] header.reference-header .wordmark {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  min-height: 88px;
  padding: 0 10px 0 0;
  margin: 0;
  border-right: 0;
  font-size: 12px;
  line-height: 1.1;
  max-width: none;
  white-space: normal;
}
body[data-design-site="Game49"] header.reference-header .wordmark::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 1px;
  height: 24px;
  transform: translateY(-50%);
  background: var(--line);
}
body[data-design-site="Game49"] header.reference-header .wordmark strong {
  font:
    500 18px/1.15 Georgia,
    serif;
}
body[data-design-site="Game49"] header.reference-header nav[aria-label="Main navigation"] {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 44px;
  gap: 0;
  width: auto;
  height: auto;
  overflow: visible;
  border: 0;
  padding: 0;
  margin: 0;
  white-space: normal;
}
body[data-design-site="Game49"] header.reference-header nav[aria-label="Main navigation"] a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 44px;
  font-size: 13px;
  padding: 0 6px;
}
body[data-design-site="Game49"] header.reference-header .discovery-trigger {
  width: 44px;
  height: 44px;
  margin: 0;
}
@media (max-width: 359px) {
  body[data-design-site="Game49"] header.reference-header {
    grid-template-columns: 94px minmax(0, 1fr) 44px;
    gap: 4px;
    padding-inline: 8px;
  }
  body[data-design-site="Game49"] header.reference-header nav[aria-label="Main navigation"] a {
    font-size: 12px;
    padding-inline: 4px;
  }
}
@media (min-width: 900px) {
  body[data-design-site="Game49"] header.reference-header {
    grid-template-columns: 220px minmax(0, 1fr) 44px;
    gap: 24px;
    min-height: 92px;
  }
  body[data-design-site="Game49"] header.reference-header .wordmark {
    min-height: 80px;
    font-size: 14px;
  }
  body[data-design-site="Game49"] header.reference-header .wordmark strong {
    font-size: 24px;
  }
  body[data-design-site="Game49"] header.reference-header .wordmark br {
    display: none;
  }
  body[data-design-site="Game49"] header.reference-header nav[aria-label="Main navigation"] {
    display: flex !important;
    gap: 14px;
  }
  body[data-design-site="Game49"] header.reference-header nav[aria-label="Main navigation"] a {
    font-size: 14px;
    padding-inline: 12px;
  }
}

body[data-design-site="Game49"] header.reference-header > .wordmark {
  grid-column: 1;
  grid-row: 1;
}
body[data-design-site="Game49"] header.reference-header > .reference-tabs {
  grid-column: 2;
  grid-row: 1;
}
body[data-design-site="Game49"] header.reference-header > .discovery-trigger {
  grid-column: 3;
  grid-row: 1;
}

/* Only game-list excerpts are bounded. Allocated article summaries remain complete. */
body[data-design-site="Game49"]
  :is(.listing-summary, .supplement-summary, .support-copy > span, .exercise-copy p) {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 0;
  max-height: none;
}
body[data-design-site="Game49"] .supplement-summary {
  font-size: 14px;
  line-height: 1.45;
  font-weight: 400;
  margin-top: 6px;
}
body[data-design-site="Game49"]
  :is(.supplement-copy strong, .support-copy strong, .exercise-copy h2, .complete-copy strong) {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 0;
}
body[data-design-site="Game49"] .supplement-copy {
  min-width: 0;
}
body[data-design-site="Game49"] .supplement-game {
  align-items: stretch;
}

body[data-design-site="Game49"][data-design-page="article"] .reading-intro {
  margin-bottom: 4px;
}

body[data-design-site="Game49"] header.reference-header nav[aria-label="Main navigation"] {
  grid-auto-rows: minmax(44px, auto);
}
body[data-design-site="Game49"] header.reference-header .wordmark strong {
  overflow-wrap: anywhere;
  max-width: 100%;
}
body[data-design-site="Game49"] header.reference-header nav[aria-label="Main navigation"] a {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.3;
}

/* 2026-10-22: the decoration stays smaller than the touch target. */
body[data-design-site] header :is(a, button, summary):focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
body[data-design-site] header .wordmark {
  position: relative;
}
body[data-design-site] header nav[aria-label="Main navigation"] a[aria-current] {
  box-shadow: none;
}

body[data-design-site="Game49"] header.reference-header {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) 44px;
  gap: 8px;
  min-height: 56px;
  height: auto;
  padding: 4px 12px;
  align-items: center;
}
body[data-design-site="Game49"] header.reference-header .wordmark {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  min-height: 44px;
  padding: 0;
  border: 0;
  font-size: 12px;
  line-height: 1.1;
}
body[data-design-site="Game49"] header.reference-header .wordmark::after {
  content: none;
}
body[data-design-site="Game49"] header.reference-header .wordmark strong {
  font:
    500 23px/1 Georgia,
    serif;
}
body[data-design-site="Game49"] header.reference-header .wordmark strong span {
  color: #8d4e3b;
}
body[data-design-site="Game49"] header .wordmark[aria-current] strong {
  text-decoration: underline;
  text-decoration-color: #b2aaa2;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
body[data-design-site="Game49"] .reference-tabs {
  min-width: 0;
}
body[data-design-site="Game49"] header.reference-header nav[aria-label="Main navigation"] {
  display: flex !important;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  width: 100%;
  height: auto;
  min-height: 44px;
  gap: 0;
  padding: 0;
}
body[data-design-site="Game49"] header.reference-header nav::-webkit-scrollbar {
  display: none;
}
body[data-design-site="Game49"] header.reference-header nav[aria-label="Main navigation"] a {
  flex: 0 0 50%;
  justify-content: center;
  min-height: 44px;
  padding: 0 3px;
  font-size: 13px;
  line-height: 1.2;
  scroll-snap-align: start;
  word-break: normal;
}
body[data-design-site="Game49"] header.reference-header nav a[aria-current] {
  background: transparent;
  color: #653f31;
}
body[data-design-site="Game49"] header.reference-header nav a[aria-current]::after {
  content: "";
  position: absolute;
  top: auto;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 3px;
  background: currentColor;
  clip-path: none;
}
@media (min-width: 380px) {
  body[data-design-site="Game49"] header.reference-header nav[aria-label="Main navigation"] a {
    flex-basis: 25%;
  }
}
@media (min-width: 900px) {
  body[data-design-site="Game49"] header.reference-header {
    grid-template-columns: 180px minmax(0, 1fr) 44px;
    gap: 24px;
  }
  body[data-design-site="Game49"] header.reference-header .wordmark {
    font-size: 13px;
  }
  body[data-design-site="Game49"] header.reference-header .wordmark strong {
    font-size: 25px;
  }
  body[data-design-site="Game49"] header.reference-header nav[aria-label="Main navigation"] {
    justify-content: flex-end;
  }
  body[data-design-site="Game49"] header.reference-header nav[aria-label="Main navigation"] a {
    flex: 0 0 auto;
    min-width: 70px;
    font-size: 14px;
  }
}

/* Two complete reference tabs fit a phone; the index continues horizontally. */
@media (max-width: 479px) {
  body[data-design-site="Game49"] header.reference-header nav[aria-label="Main navigation"] a {
    flex-basis: 50%;
    font-size: 14px;
    white-space: normal;
  }
}
body[data-design-site="Game49"] header.reference-header nav[aria-label="Main navigation"] {
  scrollbar-width: thin;
  scrollbar-color: #b6ada6 transparent;
}
body[data-design-site="Game49"] header.reference-header nav::-webkit-scrollbar {
  display: block;
  height: 2px;
}
body[data-design-site="Game49"] header.reference-header nav::-webkit-scrollbar-thumb {
  background: #b6ada6;
}

/* Text enlargement may wrap existing actions without changing player behavior. */
body[data-design-site] .player .player-toolbar {
  flex-wrap: wrap;
}
body[data-design-site] .player .player-secondary {
  min-width: 0;
  flex-wrap: wrap;
}

/* A small pair of reference leaves makes the complete brand one compact unit. */
body[data-design-site="Game49"] header.reference-header {
  grid-template-columns: 124px minmax(0, 1fr) 44px;
}
body[data-design-site="Game49"] header.reference-header .wordmark {
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 7px;
}
body[data-design-site="Game49"] header .reference-symbol {
  flex: none;
  color: #6d574a;
}
body[data-design-site="Game49"] header .reference-brand-copy {
  display: block;
  min-width: 0;
}
body[data-design-site="Game49"] header .reference-brand-copy small {
  display: block;
  font:
    500 11px/1.25 Arial,
    sans-serif;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
body[data-design-site="Game49"] header.reference-header .wordmark strong {
  font:
    500 21px/1.05 Georgia,
    serif;
  text-decoration: none;
}
body[data-design-site="Game49"] header .wordmark[aria-current] .reference-symbol {
  fill: #f0ebe4;
}
body[data-design-site="Game49"] .native-categories .category-destinations {
  gap: 0;
  padding: 8px 14px 14px;
}
body[data-design-site="Game49"] .native-categories .category-destinations a {
  min-height: 48px;
  padding: 5px 8px;
  border: 0;
  border-bottom: 1px solid #e0e3e5;
  gap: 10px;
  background: transparent;
  position: relative;
}
body[data-design-site="Game49"] .native-categories .category-destinations a[aria-current] {
  color: #5b4436;
  background: transparent;
}
body[data-design-site="Game49"] .native-categories .category-destinations a[aria-current]::after {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 3px;
  height: 18px;
  background: #80604c;
}
body[data-design-site="Game49"] .native-categories .category-label {
  flex: 1;
  font-size: 15px;
}
body[data-design-site="Game49"] .native-categories .category-mark {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}
body[data-design-site="Game49"] .native-categories .category-mark svg {
  width: 20px;
  height: 20px;
}
body[data-design-site="Game49"] .native-categories small {
  flex: 0 0 auto;
  font-size: 12px;
  color: #687078;
}
body[data-design-site="Game49"] .native-categories small::before {
  content: none;
}
body[data-design-site="Game49"] .reference-slip {
  border: 0;
  border-bottom: 1px solid #d8dce0;
  background: transparent;
  gap: 0;
}
body[data-design-site="Game49"] .include-reference {
  min-height: 44px;
  padding: 0 8px;
  border: 0;
  font-size: 13px;
  gap: 7px;
}
body[data-design-site="Game49"] .include-reference input {
  width: 16px;
  height: 16px;
}
body[data-design-site="Game49"] .reference-tail {
  margin: 0;
}
body[data-design-site="Game49"] .reference-tail button {
  border: 0;
  background: transparent;
  padding: 0 8px;
  text-decoration: underline;
  text-underline-offset: 3px;
  min-height: 44px;
  font-size: 14px;
}
body[data-design-site="Game49"] .selection-receipt {
  padding: 0 !important;
  gap: 0 14px;
  margin-block: 8px;
  border: 0;
  border-bottom: 1px solid #d8dce0;
  font-size: 14px;
}
body[data-design-site="Game49"] .reference-copy h3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-height: 1.35;
}
@media (max-width: 359px) {
  body[data-design-site="Game49"] header.reference-header {
    grid-template-columns: 114px minmax(0, 1fr) 44px;
    gap: 6px;
    padding-inline: 8px;
  }
  body[data-design-site="Game49"] header .reference-symbol {
    width: 18px;
  }
  body[data-design-site="Game49"] header .wordmark {
    gap: 5px;
  }
}
@media (min-width: 900px) {
  body[data-design-site="Game49"] header.reference-header {
    grid-template-columns: 190px minmax(0, 1fr) 44px;
  }
}

body[data-design-site="Game49"] #discovery-dialog.native-categories {
  inset: 12px 12px auto auto;
  height: auto;
  min-height: 70dvh;
  max-height: calc(100dvh - 24px);
}
body[data-design-site="Game49"] #discovery-dialog .dialog-inner {
  height: auto;
  min-height: calc(70dvh - 2px);
  max-height: calc(100dvh - 26px);
}

/* Enlarged text keeps complete words and may move the tab strip to a new row. */
body[data-design-site="Game49"] header.reference-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
body[data-design-site="Game49"] header.reference-header .wordmark {
  flex: 0 0 auto;
  width: max-content;
}
body[data-design-site="Game49"] header.reference-header .wordmark strong {
  white-space: nowrap;
}
body[data-design-site="Game49"] header.reference-header .reference-tabs {
  flex: 1 1 100px;
  min-width: 100px;
}
body[data-design-site="Game49"] header.reference-header nav[aria-label="Main navigation"] {
  min-width: 100px;
  width: 100%;
  justify-content: flex-start;
}
body[data-design-site="Game49"] header.reference-header nav[aria-label="Main navigation"] a {
  min-width: max-content;
  white-space: nowrap;
}
body[data-design-site="Game49"] header.reference-header .discovery-trigger {
  flex: 0 0 44px;
}
@media (min-width: 900px) {
  /* Auto margin aligns fitting tabs right without creating negative overflow. */
  body[data-design-site="Game49"] header.reference-header nav a:first-child {
    margin-inline-start: auto;
  }
}

/* Text-only enlargement scales heading leading and the opening article layout. */
body[data-design-site] main > h1:not(.sr-only, .visually-hidden),
body[data-design-site] .compact-index-heading h1,
body[data-design-site] .error-note h1,
body[data-design-site] .page-heading h1 {
  line-height: 1.333333;
}
body[data-design-site] main > h1 + section > h2,
body[data-design-site] .status-band > h2 {
  line-height: 1.375;
}
body[data-design-site][data-design-page="article"] .reading-intro h1 {
  line-height: 1.222222;
}
body[data-design-site][data-design-page="article"] .reading-body > section:first-child {
  display: flex;
  flex-wrap: wrap;
  gap: 0 12px;
}
body[data-design-site][data-design-page="article"] .reading-body > section:first-child > h2 {
  flex: 1 1 6em;
  float: none;
  width: auto;
  margin-right: 0;
  line-height: 1.375;
}
body[data-design-site][data-design-page="article"] .reading-body > section:first-child > p {
  flex: 3 1 12em;
  min-width: 0;
}

@media (min-width: 900px) {
  body[data-design-site="Game49"]
    header.reference-header
    nav[aria-label="Main navigation"]
    a:is([href$="sheet.html"], [href$="sheet-help.html"], [href$="articles.html"]) {
    min-width: 44px;
  }
}

/* Menu state stays inside the existing 44px control, with centered SVG artwork. */
body[data-design-site="Game49"] [data-discovery-open] {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
body[data-design-site="Game49"] [data-discovery-open] > svg {
  display: block;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
}
body[data-design-site="Game49"] [data-discovery-open]::before {
  content: "";
  position: absolute;
  inset: 7px 3px;
  border-radius: 3px;
  z-index: -1;
}
body[data-design-site="Game49"] [data-discovery-open][data-menu-current]::before {
  background: #f3ece5;
}
body[data-design-site="Game49"] [data-discovery-open][aria-expanded="true"]::before {
  background: #e9dbce;
  box-shadow: inset 0 -2px #79543c;
}
body[data-design-site="Game49"] [data-discovery-open]:hover::before {
  background: #f3ece5;
}
body[data-design-site="Game49"] [data-discovery-open]:focus-visible,
body[data-design-site="Game49"] .native-categories a:focus-visible {
  outline: 2px solid #79543c;
  outline-offset: 2px;
}
body[data-design-site="Game49"] .native-categories .category-mark {
  display: grid;
  place-items: center;
  align-self: center;
}
body[data-design-site="Game49"] .native-categories .category-mark svg {
  display: block;
  flex: none;
}
body[data-design-site="Game49"] .native-categories .category-destinations a {
  text-decoration: none;
}
body[data-design-site="Game49"] .native-categories .category-label {
  min-width: 0;
  overflow-wrap: anywhere;
}
body[data-design-site="Game49"] .native-categories .category-destinations small {
  margin: 0;
  font-variant-numeric: tabular-nums;
}

/* A warm paper slip and margin mark identify the current reference shelf. */
body[data-design-site="Game49"] .native-categories .category-destinations a {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 10px;
}
body[data-design-site="Game49"] .native-categories .category-label {
  font-size: 16px;
}
body[data-design-site="Game49"] .native-categories .category-destinations a[aria-current] {
  background: #f3ece5;
  color: #64432e;
  font-weight: 600;
}
body[data-design-site="Game49"] .native-categories .category-destinations a[aria-current]::after {
  top: 50%;
  transform: translateY(-50%);
  height: 20px;
}
body[data-design-site="Game49"]
  .native-categories
  .category-destinations
  a[aria-current]
  .category-mark {
  color: #79543c;
}
body[data-design-site="Game49"] .native-categories .category-destinations a[aria-current] svg {
  stroke-width: 1.9;
}
body[data-design-site="Game49"] .native-categories .category-destinations a:hover {
  background: #f8f3ef;
}

/* Remove empty space around the real selection receipt and retain touch-sized actions. */
body[data-design-site="Game49"] main [data-home-reference-block] {
  margin-bottom: 0;
  padding-bottom: 0;
}
body[data-design-site="Game49"] main .reference-tail {
  padding-block: 0;
}
body[data-design-site="Game49"] main .selection-receipt {
  min-height: 0;
  margin: 0 0 4px;
  gap: 0 12px;
}
body[data-design-site="Game49"] main .selection-receipt > p {
  margin: 0;
}
body[data-design-site="Game49"] main .selection-receipt + .reading-home {
  margin-top: 0;
  padding-top: 0;
}
/* Keep one small current-page mark without a second scrollbar line. */
body[data-design-site="Game49"] header.reference-header nav[aria-label="Main navigation"] {
  scrollbar-width: none;
}
body[data-design-site="Game49"] header.reference-header nav::-webkit-scrollbar {
  display: none;
}
body[data-design-site="Game49"] header.reference-header nav a[aria-current]::after {
  height: 2px;
}
/* Every article opens in a full-width heading-then-paragraph reading flow. */
body[data-design-site="Game49"][data-design-page="article"] .reading-body > section:first-child {
  display: block;
}
body[data-design-site="Game49"][data-design-page="article"]
  .reading-body
  > section:first-child
  > h2 {
  float: none;
  width: auto;
  margin: 0 0 8px;
}
body[data-design-site="Game49"][data-design-page="article"]
  .reading-body
  > section:first-child
  > p {
  width: auto;
  margin-top: 0;
}

/* Game preview titles occupy one line; the full title remains accessible. */
body[data-design-site][data-design-page]
  a.game-link
  :is(h3, .supplement-copy strong, .support-copy strong),
body[data-design-site][data-design-page] .complete-card .complete-copy strong {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: unset;
  min-height: 0;
  max-height: none;
  line-height: 1.35;
}
body[data-design-site]
  a.game-link
  :is(.listing-summary, .supplement-summary, .support-copy > span) {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 0;
  max-height: 2.9em;
  line-height: 1.45;
}
/* Concise article previews retain the original full text on their article pages. */
body[data-design-site]
  :is(.reading-home, .reading-directory)
  .reading-card:not(.game-link)
  :is(h2, h3) {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-height: 1.4;
  max-height: 2.8em;
}
body[data-design-site]
  :is(.reading-home, .reading-directory)
  .reading-card:not(.game-link)
  .reading-summary {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-height: 1.45;
  max-height: 2.9em;
}
body[data-design-site] :is([data-game-grid], .visit-games, .reference-samples) {
  align-items: stretch;
}

body[data-design-site="Game49"] .reference-slip {
  display: flex;
  flex-direction: column;
}
body[data-design-site="Game49"] .reference-slip .reference-game {
  flex: 1 1 auto;
}
body[data-design-site="Game49"] .reference-slip .include-reference {
  margin-top: auto;
}

/* The final preview policy is one title line and at most two excerpt lines. */
body[data-design-site][data-design-page]
  :is(.reading-home, .reading-directory)
  .reading-card:not(.game-link)
  :is(h2, h3) {
  display: block;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  -webkit-line-clamp: unset;
  min-height: 0;
  max-height: 1.4em;
  line-height: 1.4;
}
body[data-design-site] :is(.reading-home > ol, .reading-directory) {
  align-items: stretch;
}
body[data-design-site] :is(.reading-home > ol, .reading-directory) > li {
  display: flex;
  min-width: 0;
}
body[data-design-site] :is(.reading-home, .reading-directory) .reading-card:not(.game-link) {
  width: 100%;
}
/* Unframed controls and status align with the content, without a second outer inset. */
body[data-design-site] .player .player-toolbar,
body[data-design-site] .player .player-status {
  padding-inline: 0;
}

/* Status leading grows with font size so every message remains readable. */
body[data-design-site] .player .player-status {
  line-height: 1.45;
  height: auto;
  min-height: 0;
  max-height: none;
}

/* The right panel retains its inset position at seventy percent of the viewport. */
body[data-design-site="Game49"] #discovery-dialog.native-categories {
  width: 70vw;
  max-width: 70vw;
}
body[data-design-site="Game49"] .native-categories .dialog-head {
  flex-wrap: wrap;
  gap: 4px 10px;
}
body[data-design-site="Game49"] .native-categories .dialog-head h2 {
  flex: 1 1 6em;
  overflow-wrap: normal;
  word-break: normal;
}
body[data-design-site="Game49"] .native-categories .category-destinations a {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  height: auto;
}
body[data-design-site="Game49"] .native-categories .category-label {
  flex: 1 1 7em;
  min-width: min(100%, 7em);
  overflow-wrap: normal;
  word-break: normal;
}
body[data-design-site="Game49"] .native-categories .category-destinations small {
  flex: 0 0 auto;
  white-space: nowrap;
}

/* Existing short-page recommendations use their own native links. */
body[data-design-site] a.support-game .support-copy strong {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 0;
  max-height: none;
  line-height: 1.35;
}
body[data-design-site] a.support-game .support-copy > span {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 0;
  max-height: 2.9em;
  line-height: 1.45;
}

/* Intrinsic category rows scroll inside the drawer without compressing their text. */
body[data-design-site="Game49"] .native-categories .category-destinations a {
  flex: 0 0 auto;
}
html:has(body[data-design-site="Game49"] #discovery-dialog[open]),
body[data-design-site="Game49"]:has(#discovery-dialog[open]) {
  overflow: hidden;
}

/* Secondary actions retain the content's right edge when enlarged controls wrap. */
body[data-design-site] .player .player-secondary {
  margin-left: auto;
  justify-content: flex-end;
}

body[data-design-site="Game49"] .native-categories .category-destinations {
  grid-template-rows: none;
  grid-auto-rows: max-content;
  align-content: start;
}

/* An empty sheet has one short status and one useful editing destination. */
body[data-design-site="Game49"] main:has(.sheet-actions[data-sheet-empty]) > h1 {
  margin-bottom: 6px;
}
body[data-design-site="Game49"] .sheet-actions[data-sheet-empty] {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  margin: 0 0 12px;
  padding: 0;
  border: 0;
}
body[data-design-site="Game49"] .sheet-actions[data-sheet-empty] > p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}
body[data-design-site="Game49"] .sheet-actions[data-sheet-empty] > nav {
  margin: 0;
}
body[data-design-site="Game49"] .sheet-actions[data-sheet-empty] [data-edit-sheet] {
  display: inline-flex;
  align-items: center;
  min-width: 44px;
  min-height: 44px;
}
body[data-design-site="Game49"] main:has(.sheet-actions[data-sheet-empty]) [data-page-support] {
  margin-top: 12px;
}

/* A real, compact article-list destination remains available on a direct visit. */
body[data-design-site="Game49"][data-design-page="article"] .reading-back {
  display: flex;
  align-items: center;
  max-width: 70ch;
  min-height: 44px;
  margin: 0 auto 4px;
  padding: 0;
}
body[data-design-site="Game49"] .article-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 44px;
  min-height: 44px;
  max-width: 100%;
  padding: 0;
  color: var(--accent);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 500;
}
body[data-design-site="Game49"] .article-back-link > svg {
  display: block;
  flex: 0 0 20px;
}
body[data-design-site="Game49"] .article-back-link > span {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
body[data-design-site="Game49"] .article-back-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
body[data-design-site="Game49"][data-design-page="article"] .long-article-heading > button {
  display: block;
  max-height: none;
  height: auto;
  overflow: visible;
  white-space: normal;
  -webkit-line-clamp: unset;
  line-height: inherit;
}
body[data-design-site="Game49"][data-design-page="article"] .reading-browse {
  max-width: 70ch;
  margin: 12px auto 0;
}
body[data-design-site="Game49"] .reading-browse > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* Only an actually clipped game title becomes a full-name action. */
body[data-design-site] .detail-toolbar h1 [data-title-copy] {
  display: block;
  width: 100%;
  min-width: 0;
  height: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: 44px;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body[data-design-site] .detail-toolbar h1 span[data-title-copy] {
  cursor: default;
}
body[data-design-site] .detail-toolbar h1 button[data-title-copy]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}
body[data-design-site] [data-full-title]:not([open]) {
  display: none;
}
body[data-design-site][data-design-page="article"] .long-article-heading > span {
  display: block;
  font: inherit;
  white-space: normal;
  overflow: visible;
}

/* A small reference-note shelf follows the four existing game recommendations. */
body[data-design-site="Game49"] .sheet-reading {
  margin: 16px 0 0;
  padding: 0;
  border-top: 1px solid #d8dce0;
}
body[data-design-site="Game49"] .sheet-reading-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 12px;
}
body[data-design-site="Game49"] .sheet-reading-head h2 {
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
}
body[data-design-site="Game49"] .sheet-reading-head > a {
  display: inline-flex;
  align-items: center;
  min-width: 44px;
  min-height: 44px;
  font-size: 14px;
}
body[data-design-site="Game49"] .sheet-reading > ul {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  align-items: stretch;
}
body[data-design-site="Game49"] .sheet-reading li {
  display: flex;
  min-width: 0;
}
body[data-design-site="Game49"] .sheet-reading-card {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 8px 10px;
  border-left: 2px solid #c2ab98;
  background: #f8f5f1;
  color: inherit;
  text-decoration: none;
}
body[data-design-site="Game49"] .sheet-reading-card h3 {
  display: block;
  margin: 0 0 4px;
  font-size: 15px;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body[data-design-site="Game49"] .sheet-reading-card p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}
body[data-design-site="Game49"] .sheet-reading a:focus-visible {
  outline: 2px solid #79543c;
  outline-offset: 2px;
}
@media (min-width: 700px) {
  body[data-design-site="Game49"] .sheet-reading > ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media print {
  body[data-design-site="Game49"] .sheet-reading {
    display: none;
  }
}

/* Root reading guides use the same compact article-list destination. */
body[data-reading-guide] main > .reading-back {
  display: flex;
  align-items: center;
  min-height: 44px;
  margin: 0 0 4px;
  padding: 0;
}
body[data-reading-guide] main > h1 {
  display: block;
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.4;
  white-space: normal;
  overflow: visible;
}
body[data-reading-guide] main > .information-section {
  display: block;
  margin: 0 0 18px;
  padding: 0;
}
body[data-reading-guide] main > .information-section > h2 {
  float: none;
  width: auto;
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.4;
}
body[data-reading-guide] main > .information-section > p {
  display: block;
  width: auto;
  margin: 0 0 10px;
  line-height: 1.65;
  max-height: none;
  overflow: visible;
  -webkit-line-clamp: unset;
}

/* A borderless return arrow and a complete H1 share one naturally sized heading block. */
body[data-design-site][data-design-page] .article-heading-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin: 0 0 12px;
}
body[data-design-site][data-design-page] .article-heading-row > .reading-back {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
}
body[data-design-site][data-design-page] .article-heading-row .article-back-link {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
body[data-design-site][data-design-page] .article-heading-row > h1 {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  height: auto;
  min-height: 0;
  max-height: none;
  margin: 0;
  padding: 0;
  font-size: 18px;
  line-height: 1.4;
  white-space: normal;
  overflow: visible;
  -webkit-line-clamp: unset;
}

/* The complete article title stays in the H1; its visual preview uses one line. */
body[data-design-site][data-design-page] .article-heading-row > h1 {
  display: block;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: unset;
}
body[data-design-site][data-design-page] .article-heading-row > h1 > span {
  display: block;
  min-width: 0;
  font: inherit;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: unset;
}

/* A clear editorial title row, with a transparent native return target. */
body[data-design-site][data-design-page] .article-heading-row {
  gap: 4px;
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
body[data-design-site][data-design-page] .article-heading-row > h1 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  border: 0;
  box-shadow: none;
}
body[data-design-site][data-design-page] .article-heading-row .article-back-link svg {
  flex: none;
  width: 20px;
  height: 20px;
  stroke-width: 1.8;
}
body[data-design-site][data-design-page="article"] .reading-intro {
  margin: 0 0 8px;
  padding: 0;
  border: 0;
}
body[data-design-site][data-design-page="article"] .reading-intro .article-heading-row {
  margin: 0;
}
body[data-design-site][data-design-page="article"] .reading-body > section:first-child,
body[data-reading-guide] .article-heading-row + .information-section {
  border-top: 0;
}

/* The full-name fallback is an ordinary disclosure in the document flow. */
body[data-design-site] [data-full-title][data-title-fallback][open] {
  display: block;
  position: static;
  width: 100%;
  max-height: none;
  margin: 8px 0;
}
