/* 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: 0;
}
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));
  }
}

/* Colour links keep their own bands, without an extra title gap. */
body[data-design-site="Game44"] .band-heading {
  margin-bottom: 2px;
}
body[data-design-site="Game44"] .band-heading h2 {
  margin: 0;
}
body[data-design-site="Game44"] .palette-card h3 {
  min-height: 0;
  padding: 6px 8px;
}
body[data-design-site="Game44"] .reading-directory .reading-art {
  max-height: 150px;
}

/* A complete, readable headline leads straight into the original opening paragraph. */
body[data-design-page="article"] .reading-intro {
  margin: 0 0 2px;
}
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;
}

/* 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: #e5ece7;
  border-top: 2px solid #778d7e;
  border-radius: 1px;
}

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;
  }
}

/* Let the longest real title determine this row, without reserving an empty line. */
body[data-design-site="Game44"] [data-game-grid] .palette-card.game-link h3 {
  min-height: 0;
  height: auto;
}
body[data-design-site="Game44"] .result-grid .palette-card.game-link h3 {
  min-height: 0;
  height: auto;
  padding: 6px 8px;
  margin: 0;
}

/* 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-bottom: 3px solid #91a697;
  background: #eef1e9;
}
.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;
}

/* 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;
  }
}

/* Palette Play: Full-width colour-band rows; narrow colour key, clear SVG and label. */
body[data-design-site="Game44"] header nav[aria-label="Main navigation"] a[aria-current]::before {
  content: none;
}
body[data-design-site="Game44"] header nav[aria-label="Main navigation"] a {
  border-top: 2px solid transparent;
}
body[data-design-site="Game44"] header nav[aria-label="Main navigation"] a[aria-current] {
  border-top-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 7%, transparent);
}
body[data-design-site="Game44"] .native-categories {
  width: min(550px, calc(100vw - 24px));
  margin: 0;
  inset: 50dvh auto auto 50vw;
  transform: translate(-50%, -50%);
  border-radius: 0;
}
body[data-design-site="Game44"] .native-categories .category-destinations {
  gap: 7px;
  padding-inline: 14px;
}
body[data-design-site="Game44"] .native-categories .category-destinations a {
  min-height: 58px;
  padding: 0 12px 0 0;
  border-bottom: 1px solid var(--line);
}
body[data-design-site="Game44"] .native-categories .category-mark {
  align-self: stretch;
  height: auto;
  width: 54px;
  flex-basis: 54px;
  border: 0;
  border-left: 5px solid #89a2a7;
  background: #edf1f1;
}
body[data-design-site="Game44"] .native-categories a:nth-child(3n + 2) .category-mark {
  border-color: #b7a083;
  background: #f3eee5;
}
body[data-design-site="Game44"] .native-categories a:nth-child(3n) .category-mark {
  border-color: #9997b2;
  background: #f0eef4;
}
@media (min-width: 380px) and (max-width: 699px) {
  body[data-design-site="Game44"] header {
    grid-template-columns: 44px max-content minmax(0, 1fr);
  }
  body[data-design-site="Game44"] header .discovery-trigger {
    grid-column: 1;
  }
  body[data-design-site="Game44"] header .wordmark {
    grid-column: 2;
  }
}

body[data-design-site="Game44"] .native-categories .category-destinations {
  grid-template-columns: 1fr;
}

/* Site-owned composition: brand / menu / nav; DOM and visual order agree. */
body[data-design-site="Game44"] header.composed-header {
  display: grid;
  grid-template-columns: max-content 44px minmax(0, 1fr);
  grid-template-rows: 44px;
  align-items: center;
  gap: 8px;
  min-height: 56px;
  height: 56px;
  padding: 5px 12px 6px;
}
body[data-design-site="Game44"] header.composed-header > * {
  grid-column: auto;
  grid-row: 1;
  margin: 0;
  min-width: 0;
}
body[data-design-site="Game44"] header.composed-header .wordmark {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
  min-height: 44px;
  max-width: none;
  white-space: nowrap;
  line-height: 17px;
  padding-inline: 0;
}
body[data-design-site="Game44"] .brand-upper {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
}
body[data-design-site="Game44"] .brand-lower {
  font-size: 15px;
  font-weight: 700;
}
body[data-design-site="Game44"] header.composed-header nav[aria-label="Main navigation"] {
  grid-column: 3;
  grid-row: 1;
  width: 100%;
  height: 44px;
  padding: 0;
  justify-content: flex-start;
}
body[data-design-site="Game44"] header.composed-header .discovery-trigger {
  grid-column: 2;
  grid-row: 1;
  width: 44px;
  height: 44px;
  justify-self: start;
}
body[data-design-site="Game44"] header.composed-header .wordmark {
  border-left: 4px solid #a65b55;
  padding-left: 8px;
}

/* Action with its note, independent utility group. */
body[data-design-site="Game44"] .player-controls {
  width: 100%;
  flex: none;
  background: var(--paper);
  color: var(--ink);
}

body[data-design-site="Game44"] .player .player-primary button {
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 2px;
  padding-inline: 0;
}

body[data-design-site="Game44"] .controls-action-note .player-toolbar {
  align-items: center;
  padding-top: 0;
}
body[data-design-site="Game44"] .controls-action-note .player-primary {
  display: block;
  min-width: 120px;
}
body[data-design-site="Game44"] .controls-action-note .player-primary button {
  justify-content: flex-start;
  padding-left: 0;
}
body[data-design-site="Game44"] .controls-action-note .player-status {
  padding: 0;
}
body[data-design-site="Game44"] .controls-action-note .player-secondary {
  gap: 8px;
}
@media (max-width: 359px) {
  body[data-design-site="Game44"] .controls-action-note .player-primary {
    min-width: 96px;
  }
  body[data-design-site="Game44"] .controls-action-note .player-secondary {
    gap: 0;
  }
  body[data-design-site="Game44"] .controls-action-note .player-secondary button {
    gap: 3px;
    padding-inline: 3px;
  }
  body[data-design-site="Game44"] .controls-action-note .player-status {
    font-size: 12px;
  }
}

/* A palette spine and a compact contents board share the masthead. */
body[data-design-site="Game44"] header.site-masthead {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  grid-template-rows: 88px;
  align-items: center;
  gap: 12px;
  height: auto;
  min-height: 0;
  padding: 6px 12px;
}
body[data-design-site="Game44"] .palette-identity {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  height: 88px;
}
body[data-design-site="Game44"] header.site-masthead .wordmark {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 44px;
  max-width: none;
  margin: 0;
  padding: 0 6px;
  line-height: 19px;
  white-space: nowrap;
}
body[data-design-site="Game44"] header.site-masthead .wordmark > span {
  font-size: 12px;
  font-weight: 400;
}
body[data-design-site="Game44"] header.site-masthead .wordmark strong {
  font-size: 24px;
  line-height: 25px;
}
body[data-design-site="Game44"] header.site-masthead .discovery-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  width: auto;
  height: 44px;
  min-width: 44px;
  margin: 0;
  padding: 0 6px;
  border: 0;
  background: transparent;
  font-size: 14px;
}
body[data-design-site="Game44"] header.site-masthead nav[aria-label="Main navigation"] {
  grid-column: 2;
  grid-row: 1;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, 44px);
  align-items: stretch;
  width: 100%;
  max-width: none;
  height: 88px;
  min-height: 88px;
  margin: 0;
  padding: 0 0 0 8px;
  gap: 0 4px;
  border-left: 1px solid var(--line);
  overflow: visible;
}
body[data-design-site="Game44"] header.site-masthead nav[aria-label="Main navigation"] a {
  grid-column: auto;
  grid-row: auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 44px;
  min-width: 0;
  padding: 0 6px;
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  white-space: nowrap;
  text-decoration: none;
  border: 0;
}
body[data-design-site="Game44"] header.site-masthead nav[aria-label="Main navigation"] a::after {
  display: none;
}
body[data-design-site="Game44"]
  header.site-masthead
  nav[aria-label="Main navigation"]
  a[aria-current]::before {
  inset: 7px 0;
}
@media (max-width: 359px) {
  body[data-design-site="Game44"] header.site-masthead {
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 4px;
  }
  body[data-design-site="Game44"] header.site-masthead .discovery-trigger {
    font-size: 13px;
    gap: 3px;
    padding-inline: 0;
  }
  body[data-design-site="Game44"] header.site-masthead nav[aria-label="Main navigation"] {
    gap: 0;
    padding-left: 4px;
  }
  body[data-design-site="Game44"] header.site-masthead nav[aria-label="Main navigation"] a {
    padding-inline: 3px;
    font-size: 13px;
  }
}
@media (min-width: 768px) {
  body[data-design-site="Game44"] header.site-masthead {
    padding-inline: 24px;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 24px;
  }
  body[data-design-site="Game44"] header.site-masthead nav[aria-label="Main navigation"] {
    padding-left: 24px;
  }
  body[data-design-site="Game44"] header.site-masthead nav[aria-label="Main navigation"] a {
    font-size: 15px;
    padding-inline: 12px;
  }
}

/* Game-list excerpts stay brief; article summaries and complete descriptions are untouched. */
body[data-design-site="Game44"]
  :is(.listing-summary, .palette-summary, .supplement-summary, .support-copy > span) {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  min-height: 0;
  height: auto;
  max-height: 2lh;
}
body[data-design-site="Game44"]
  :is(
    .game-link h3,
    .palette-card .palette-copy h3,
    .palette-band .palette-card h3,
    .supplement-copy > strong,
    .support-copy > strong,
    .complete-copy > strong
  ) {
  box-sizing: content-box;
  min-height: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  overflow: hidden;
  height: auto;
  max-height: 1lh;
}

/* The palette contents board grows with the user's text size. */
body[data-design-site="Game44"] header.site-masthead {
  grid-template-columns: minmax(116px, max-content) minmax(0, 1fr);
  grid-template-rows: auto;
}
body[data-design-site="Game44"] .palette-identity {
  height: auto;
  min-height: 88px;
}
body[data-design-site="Game44"] header.site-masthead .wordmark {
  max-width: 100%;
  white-space: normal;
  overflow: visible;
  line-height: 1.2;
}
body[data-design-site="Game44"] header.site-masthead .wordmark strong {
  line-height: 1.1;
}
body[data-design-site="Game44"] header.site-masthead .discovery-trigger {
  height: auto;
  min-height: 44px;
}
body[data-design-site="Game44"] header.site-masthead nav[aria-label="Main navigation"] {
  height: auto;
  grid-template-rows: repeat(2, minmax(44px, auto));
}
body[data-design-site="Game44"] header.site-masthead nav[aria-label="Main navigation"] a {
  height: auto;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.25;
}

/* Preserve complete navigation words as text grows; the route strip can scroll. */
body[data-design-site="Game44"] header.site-masthead nav[aria-label="Main navigation"] {
  grid-template-columns: repeat(2, minmax(max-content, 1fr));
  overflow-x: auto;
}
body[data-design-site="Game44"] header.site-masthead nav[aria-label="Main navigation"] a {
  white-space: nowrap;
  overflow-wrap: normal;
}

body[data-design-site="Game44"][data-design-page="information"] .page-heading + section {
  padding-top: 0;
}

/* A small colour key marks the current route; the contents board stays open. */
body[data-design-site="Game44"] header.site-masthead nav[aria-label="Main navigation"] {
  border-left: 0;
}
body[data-design-site="Game44"]
  header.site-masthead
  nav[aria-label="Main navigation"]
  a[aria-current] {
  position: relative;
  background: transparent;
}
body[data-design-site="Game44"]
  header.site-masthead
  nav[aria-label="Main navigation"]
  a[aria-current]::before {
  content: "";
  position: absolute;
  inset: 50% auto auto 0;
  width: 3px;
  height: 16px;
  border: 0;
  border-radius: 0;
  background: var(--accent);
  transform: translateY(-50%);
}

/* V2: the palette becomes a compact swatch signature with a small contents board. */
body[data-design-site="Game44"] header.site-masthead {
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  min-height: 54px;
  padding: 4px 12px;
  gap: 0 6px;
}
body[data-design-site="Game44"] header.site-masthead .wordmark {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 44px;
  padding: 0;
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
}
body[data-design-site="Game44"] .identity-mark {
  flex: 0 0 25px;
}
body[data-design-site="Game44"] header.site-masthead .wordmark strong {
  display: inline;
  font-size: 1em;
  line-height: inherit;
}
body[data-design-site="Game44"] .palette-directory {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 0;
  box-shadow: none;
}
body[data-design-site="Game44"] .palette-directory details {
  position: static;
  border: 0;
}
body[data-design-site="Game44"] .palette-directory summary {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  padding: 0 5px;
  font-size: 14px;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}
body[data-design-site="Game44"] .palette-directory summary::-webkit-details-marker {
  display: none;
}
body[data-design-site="Game44"] header.site-masthead .discovery-trigger {
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
}
body[data-design-site="Game44"] header.site-masthead nav[aria-label="Main navigation"] {
  position: absolute;
  inset: calc(100% - 2px) 12px auto auto;
  z-index: 50;
  display: none !important;
  width: min(340px, calc(100vw - 24px));
  height: auto;
  min-height: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(44px, auto));
  padding: 6px;
  gap: 0 6px;
  overflow: visible;
  border: 1px solid #d6dcdc;
  background: #f9fbfa;
  box-shadow: 0 8px 20px #263c4014;
}
body[data-design-site="Game44"] .palette-directory details[open] nav[aria-label="Main navigation"] {
  display: grid !important;
}
body[data-design-site="Game44"] header.site-masthead nav[aria-label="Main navigation"] a {
  position: relative;
  padding: 0 10px;
  font-size: 15px;
  isolation: isolate;
  white-space: normal;
  overflow-wrap: normal;
}
body[data-design-site="Game44"]
  header.site-masthead
  nav[aria-label="Main navigation"]
  a[aria-current] {
  font-weight: 600;
  background: transparent;
}
body[data-design-site="Game44"]
  header.site-masthead
  nav[aria-label="Main navigation"]
  a[aria-current]::before {
  content: "";
  position: absolute;
  inset: 7px 0;
  height: auto;
  width: auto;
  transform: none;
  background: #e8eff0;
  border: 0;
  border-left: 3px solid #537f88;
  z-index: -1;
}
/* Only list previews are clamped; the original article body remains complete. */
body[data-design-site="Game44"] :is(.reading-home, .reading-directory) .reading-card {
  height: 100%;
  box-sizing: border-box;
  align-items: stretch;
}
body[data-design-site="Game44"] :is(.reading-home, .reading-directory) .reading-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
body[data-design-site="Game44"] :is(.reading-home, .reading-directory) .reading-card :is(h2, h3),
body[data-design-site="Game44"] :is(.reading-home, .reading-directory) .reading-summary {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  height: auto;
  min-height: 0;
  max-height: 2lh;
  flex: none;
}
body[data-design-site="Game44"] :is(.reading-home, .reading-directory) .reading-art {
  align-self: stretch;
  object-fit: cover;
}
body[data-design-site="Game44"] .reading-home > ol > li {
  align-self: stretch;
}
body[data-design-site="Game44"] .reading-home > ol {
  align-items: stretch;
}

body[data-design-site="Game44"] header.site-masthead .wordmark {
  flex-direction: row;
}
body[data-design-site="Game44"] header.site-masthead .wordmark > .brand-text {
  font-size: inherit;
}
body[data-design-site="Game44"] header.site-masthead nav[aria-label="Main navigation"] {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 8em), 1fr));
  grid-template-rows: none;
  grid-auto-rows: minmax(44px, auto);
}

/* Palette journal uses aligned image rows instead of variable masonry spans. */
body[data-design-site="Game44"] .reading-directory {
  grid-auto-rows: auto;
  align-items: stretch;
}
body[data-design-site="Game44"] .reading-directory > li {
  align-self: stretch;
  grid-row-end: auto;
}
body[data-design-site="Game44"] .reading-directory > li .reading-art {
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: 16 / 9;
}

body[data-design-site="Game44"] .reading-directory > li:nth-child(n) .reading-art {
  aspect-ratio: 16 / 9;
  height: auto;
  max-height: none;
}

/* Full-size labels stay inside the player when text is enlarged. */
body[data-design-site] .player .player-toolbar,
body[data-design-site] .player :is(.player-primary, .player-secondary) {
  flex-wrap: wrap;
  min-width: 0;
  max-width: 100%;
}

/* The board is bounded by the header content box, including classic scrollbars. */
body[data-design-site="Game44"] header.site-masthead nav[aria-label="Main navigation"] {
  max-width: calc(100% - 24px);
}

/* Content line boxes grow with text-only enlargement, preserving normal spacing. */
body[data-design-site] main > .breadcrumb {
  line-height: 1.3846153846;
}
body[data-design-site] main > h1:not(.sr-only, .visually-hidden),
body[data-design-site] .page-heading h1,
body[data-design-site] .compact-index-heading h1,
body[data-design-site] .error-note h1,
body[data-compact-error] main > section:first-child h1 {
  line-height: 1.3333333333;
}
body[data-design-site] .page-heading h2 {
  line-height: 1.5;
}
body[data-design-page="article"] .reading-intro h1,
body[data-design-page="article"] .long-article-heading > button {
  line-height: 1.2222222222;
}
body[data-design-page="article"] .long-article-heading > button {
  max-height: 2lh;
}
body[data-design-page="article"] .reading-body > section:first-child > h2,
body[data-design-site] main > h1 + section > h2 {
  line-height: 1.375;
}
@media (min-width: 768px) {
  body[data-design-page="information"] .information-section > h2 {
    line-height: 1.5;
  }
}

/* Dropdown 2026-10-22: local states and optically aligned controls. */
body[data-design-site="Game44"] {
  --directory-ink: #244c55;
  --directory-soft: #e5eeeb;
  --directory-active: #d4e5df;
  --directory-edge: #aec8c0;
  --directory-accent: #457780;
}
body[data-design-site="Game44"] header.site-masthead :is(summary, [data-discovery-open]) {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  background: transparent;
  color: var(--directory-ink);
  line-height: 1.2;
  text-decoration: none;
}
body[data-design-site="Game44"] header.site-masthead :is(summary, [data-discovery-open])::before {
  content: "";
  position: absolute;
  inset: 6px 0;
  border-radius: 2px;
  background: transparent;
  z-index: -1;
  pointer-events: none;
}
body[data-design-site="Game44"] header.site-masthead summary {
  list-style: none;
}
body[data-design-site="Game44"] header.site-masthead summary::marker {
  content: "";
}
body[data-design-site="Game44"] header.site-masthead summary::-webkit-details-marker {
  display: none;
}
body[data-design-site="Game44"] header.site-masthead summary::after {
  content: none;
}
body[data-design-site="Game44"] header.site-masthead :is(summary, [data-discovery-open]) > svg {
  display: block;
  flex: none;
  vertical-align: middle;
  transform-origin: center;
}
body[data-design-site="Game44"] header.site-masthead summary > svg {
  width: 14px;
  height: 14px;
}
body[data-design-site="Game44"] header.site-masthead [data-discovery-open] > svg {
  width: 22px;
  height: 22px;
}
body[data-design-site="Game44"] header.site-masthead [data-site-menu][open] summary > svg {
  transform: rotate(180deg);
}
body[data-design-site="Game44"]
  header.site-masthead
  [data-site-menu]:has(a[aria-current="page"])
  summary::before,
body[data-design-site="Game44"]:has(.native-categories [data-category-link][aria-current="page"])
  header.site-masthead
  [data-discovery-open]::before {
  background: var(--directory-soft);
}
body[data-design-site="Game44"] header.site-masthead [data-site-menu][open] summary::before,
body[data-design-site="Game44"]:has(.native-categories[open])
  header.site-masthead
  [data-discovery-open]::before {
  background: var(--directory-active);
  box-shadow: inset 0 0 0 1px var(--directory-edge);
}
body[data-design-site="Game44"]
  header.site-masthead
  :is(summary, [data-discovery-open]):hover::before {
  background: var(--directory-active);
}
body[data-design-site="Game44"]
  :is(header.site-masthead, .native-categories)
  :is(a, summary, button):focus-visible {
  outline: 2px solid var(--directory-accent);
  outline-offset: 2px;
}
body[data-design-site="Game44"] .native-categories .category-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
body[data-design-site="Game44"] .native-categories .category-mark svg {
  display: block;
  width: 22px;
  height: 22px;
  flex: none;
}
body[data-design-site="Game44"] .native-categories .category-label {
  min-width: 0;
  line-height: 1.3;
}
body[data-design-site="Game44"] .native-categories .category-destinations small {
  line-height: 1.25;
  font-variant-numeric: tabular-nums;
}
body[data-design-site="Game44"] .native-categories .category-destinations a:hover {
  background: var(--directory-soft);
}
body[data-design-site="Game44"] .native-categories .category-destinations a[aria-current="page"] {
  background: var(--directory-active);
  color: var(--directory-ink);
  font-weight: 600;
}
body[data-design-site="Game44"] header.site-masthead summary {
  min-width: 84px;
  gap: 4px;
  padding: 0 6px;
  font-weight: 600;
}
body[data-design-site="Game44"] header.site-masthead nav[aria-label="Main navigation"] {
  padding: 7px;
  border-color: var(--directory-edge);
  box-shadow: 0 8px 22px #244c551c;
}
body[data-design-site="Game44"] header.site-masthead nav[aria-label="Main navigation"] a {
  align-items: center;
  min-height: 44px;
  height: auto;
  line-height: 1.3;
  text-decoration: none;
  border: 0;
  border-radius: 2px;
}
body[data-design-site="Game44"] header.site-masthead nav[aria-label="Main navigation"] a:hover {
  background: var(--directory-soft);
}
body[data-design-site="Game44"]
  header.site-masthead
  nav[aria-label="Main navigation"]
  a[aria-current="page"] {
  color: var(--directory-ink);
  background: var(--directory-active);
  font-weight: 600;
}
body[data-design-site="Game44"]
  header.site-masthead
  nav[aria-label="Main navigation"]
  a[aria-current]::before {
  inset: 8px auto 8px 0;
  width: 3px;
  height: auto;
  background: var(--directory-accent);
  border: 0;
}
body[data-design-site="Game44"]
  .native-categories
  .category-destinations
  a[aria-current]
  .category-mark {
  background: #bfd6cd;
  border-left-color: var(--directory-accent);
}

/* Selected names keep their full text; each site retains its own header layout. */
body[data-design-site="Game44"] header.site-masthead .trigger-caption {
  min-width: 0;
  line-height: 1.2;
  white-space: nowrap;
}
body[data-design-site="Game44"] header.site-masthead [data-discovery-open][data-visible-caption] {
  width: auto;
  height: auto;
  flex: 0 0 auto;
  padding-inline: 8px;
  gap: 6px;
  font-size: 14px;
}
body[data-design-site="Game44"] :is(.reading-home, .reading-directory) .reading-card :is(h2, h3),
body[data-design-site="Game44"] :is(.reading-home, .reading-directory) .reading-summary {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  height: auto;
  min-height: 0;
  max-height: 2lh;
}

body[data-design-site="Game44"] header.site-masthead .wordmark {
  flex: 1 1 0;
  min-width: 0;
}
@media (max-width: 699px) {
  body[data-design-site="Game44"] header.site-masthead .brand-text {
    min-width: 0;
    white-space: normal;
  }
  body[data-design-site="Game44"] header.site-masthead [data-discovery-open][data-visible-caption] {
    padding-inline: 6px;
    gap: 4px;
    font-size: 13px;
  }
  body[data-design-site="Game44"]
    header.site-masthead
    [data-discovery-open][data-visible-caption]
    > svg {
    width: 18px;
    height: 18px;
  }
}
@media (max-width: 360px) {
  body[data-design-site="Game44"] header.site-masthead {
    padding-inline: 8px;
    column-gap: 4px;
  }
  body[data-design-site="Game44"] header.site-masthead .wordmark {
    font-size: 16px;
    gap: 4px;
  }
  body[data-design-site="Game44"] header.site-masthead summary {
    font-size: 12px;
    gap: 4px;
  }
  body[data-design-site="Game44"] header.site-masthead [data-discovery-open][data-visible-caption] {
    padding-inline: 4px;
    gap: 4px;
    font-size: 12px;
  }
  body[data-design-site="Game44"]
    header.site-masthead
    [data-discovery-open][data-visible-caption]
    > svg {
    width: 16px;
    height: 16px;
  }
}

/* Preview headlines occupy one line; full article headings remain untouched. */
body[data-design-site="Game44"] :is(.reading-home, .reading-directory) .reading-card :is(h2, h3) {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  overflow: hidden;
  height: auto;
  min-height: 0;
  max-height: 1lh;
}
/* Keep every lifecycle control and status inset from the player edge. */
body[data-design-site="Game44"] .player .player-controls {
  box-sizing: border-box;
  padding-inline: 0;
}
body[data-design-site="Game44"] .player .player-status {
  line-height: 1.4;
  overflow-wrap: anywhere;
}

/* An enlarged wordmark keeps its intrinsic word width and can move to a row. */
body[data-design-site="Game44"] header.site-masthead .wordmark {
  min-width: min-content;
}

body[data-design-site="Game44"] .palette-directory {
  flex-wrap: wrap;
  max-width: 100%;
}

body[data-design-site="Game44"] header.site-masthead :is(.wordmark, .brand-text) {
  overflow-wrap: normal;
  word-break: normal;
}

/* Stable header slots: only text disclosures use a selected caption. */
body[data-design-site="Game44"] header.site-masthead .trigger-caption {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1 1 0;
}
body[data-design-site="Game44"] .player .player-toolbar {
  flex-wrap: wrap;
}
body[data-design-site="Game44"] .player :is(.player-primary, .player-secondary) {
  flex-wrap: wrap;
  min-width: 0;
  max-width: 100%;
}
body[data-design-site="Game44"] .player .player-secondary {
  margin-left: auto;
  justify-content: flex-end;
}
body[data-design-site="Game44"]
  :is(
    .game-link h3,
    .palette-card .palette-copy h3,
    .palette-band .palette-card h3,
    .supplement-copy > strong,
    .support-copy > strong,
    .complete-copy > strong
  ),
body[data-design-site="Game44"] :is(.reading-home, .reading-directory) .reading-card :is(h2, h3) {
  display: block;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  height: auto;
  min-height: 0;
  max-height: 1lh;
}
/* One finite related group uses original descriptions and its existing site treatment. */
body[data-design-site="Game44"] .page-support .support-group {
  align-items: stretch;
}
body[data-design-site="Game44"] .page-support .support-game {
  align-content: start;
  align-items: start;
}
body[data-design-site="Game44"] header.site-masthead summary {
  box-sizing: border-box;
  width: 102px;
  min-width: 102px;
  max-width: 102px;
  padding-inline: 8px;
  gap: 6px;
}
body[data-design-site="Game44"] header.site-masthead [data-discovery-open] {
  width: 44px;
  min-width: 44px;
  max-width: 44px;
  height: 44px;
  flex: 0 0 44px;
  padding: 0;
}
@media (max-width: 360px) {
  body[data-design-site="Game44"] header.site-masthead summary {
    width: 92px;
    min-width: 92px;
    max-width: 92px;
  }
}
body[data-design-site="Game44"] .result-grid .catalogue-content-group {
  align-items: stretch;
}

body[data-design-site="Game44"] .page-support .support-copy {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
