/* Find Your Game: directory handle, wordmark, and the separate tab shortlist. */
.refined-header {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 1180px;
  margin: auto;
  padding: 4px 12px;
  box-sizing: border-box;
  min-height: 56px;
  border-bottom: 1px solid #b6c1cc;
}
.refined-header .refined-brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 19px;
  line-height: 1.15;
  font-weight: 700;
  white-space: normal;
  min-width: 0;
  flex: 1;
  text-decoration: none !important;
  color: inherit;
}
.refined-header nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.refined-header nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0 6px;
  box-sizing: border-box;
  color: inherit;
  font-size: 14px;
  text-decoration: none;
}
.refined-header .discovery-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  border: 0;
  background: transparent;
  text-decoration: none;
  border-radius: 0;
  padding: 8px !important;
}
.refined-header a[aria-current="page"]:not(.refined-brand) {
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
}
.refined-header .identity-action {
  gap: 4px;
  background: transparent !important;
  box-shadow: none !important;
  border: 0;
}
.refined-header a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -3px;
}
main#main {
  padding-top: 10px;
}
.route-context {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 400;
  text-transform: capitalize;
}
dialog.category-dialog[data-filters] {
  position: fixed;
  inset: 0 0 0 auto;
  margin: 0;
  width: min(88vw, 380px);
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  border: 0;
  border-radius: 0;
}
dialog.category-dialog[data-filters] .dialog-panel {
  height: 100%;
  min-height: 100%;
  max-height: 100%;
  border: 0;
  border-radius: 0;
  padding-bottom: env(safe-area-inset-bottom);
  box-sizing: border-box;
}
.category-dialog .category-menu {
  flex: 1;
  align-content: start;
  min-height: 0;
  overflow-y: auto;
}
.category-menu .category-number {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.category-menu a {
  min-height: 52px;
}
.category-menu svg {
  display: block;
  flex: none;
}
.game-heading {
  height: 44px !important;
  min-height: 44px !important;
  padding: 0 !important;
  margin: 0 !important;
  display: grid !important;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0;
}
.game-heading h1 {
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin: 0 !important;
  min-width: 0;
}
.game-heading [data-player-return] {
  display: flex !important;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  color: inherit;
  text-decoration: none;
}
.game-heading [data-player-return]::before,
.game-heading [data-player-return]::after {
  content: none !important;
}
.game-heading svg {
  display: block;
  width: 20px;
  height: 20px;
}
.game-heading button {
  min-height: 44px;
  min-width: 44px;
  border: 0;
  background: transparent;
  color: inherit;
}
.player-block {
  margin: 0 0 16px !important;
}
.stage {
  background: transparent;
  color: inherit;
  border: 0;
}
.game-surface {
  aspect-ratio: 4 / 3;
  min-height: 0;
  max-height: min(65dvh, 600px);
  background: #172536;
}
.player-tools {
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  padding: 6px 0 0;
  align-items: center;
}
.player-tools button {
  min-height: 44px;
  min-width: 44px;
  padding: 6px 10px;
  color: inherit;
  background: transparent;
  border: 0;
}
.player-tools :is([data-play], [data-stop]) {
  border-radius: 3px;
  background: #1b557c;
  color: white;
  min-width: 86px;
}
.player-tools [data-restart] {
  margin-left: auto;
  font-size: 22px;
}
.player-tools [data-fullscreen] {
  font-size: 22px;
}
.stage [data-player-status] {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  padding: 4px 0 0;
  margin: 0;
}
.stage:fullscreen {
  background: #172536;
  color: white;
  gap: 0;
  border: 0;
}
.stage:fullscreen .game-surface {
  flex: 1;
  height: auto;
  max-height: none;
  min-height: 0;
  aspect-ratio: auto;
}
.stage:fullscreen .player-tools {
  padding: 0 6px;
}
.stage:fullscreen [data-player-status] {
  padding: 0 8px 4px;
}
[hidden] {
  display: none !important;
}
.game-grid [data-card-title] {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8em;
}
.complete-categories {
  display: none;
}
.reading-home .reading-card,
.reading-directory .reading-card {
  border-top: 0;
}
.reading-summary {
  display: block !important;
}
@media (max-width: 350px) {
  .refined-header {
    gap: 2px;
    padding-inline: 8px;
  }
  .refined-header .refined-brand {
    font-size: 17px;
  }
  .refined-header nav a {
    padding-inline: 4px;
  }
}
@media (min-width: 768px) {
  .refined-header {
    padding-inline: 20px;
    gap: 16px;
  }
  .refined-header .refined-brand {
    font-size: 22px;
  }
  .game-heading h1 {
    font-size: 15px !important;
  }
  .game-surface {
    aspect-ratio: 16 / 10;
    max-height: 600px;
  }
}
/* Film masthead over the contact-sheet navigation. */
.refined-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  gap: 0;
  border-bottom: 1px solid #a99051;
  padding: 0 12px;
}
.refined-header .refined-brand {
  grid-column: 1/-1;
  min-height: 48px;
  font-size: 24px;
  letter-spacing: 0.04em;
  font-weight: 650;
  border-bottom: 1px solid #625d4d;
}
.refined-header nav {
  margin: 0;
  justify-content: flex-start;
  gap: 14px;
  min-width: 0;
}
.refined-header nav a {
  padding-inline: 4px;
}
.refined-header > .discovery-trigger {
  grid-column: 2;
  grid-row: 2;
}
dialog.category-dialog[data-filters] {
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: min(92vw, 620px);
  height: 82dvh;
  max-height: calc(100dvh - 16px);
}
dialog.category-dialog[data-filters] .dialog-panel {
  border: 1px solid #9e8750;
}
.category-menu {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 8px;
  padding: 16px 12px;
}
.category-menu a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  min-height: 102px;
  padding: 10px 6px;
  border: 0;
  border-bottom: 1px solid #625d4d;
  gap: 7px;
}
.category-menu small {
  margin-left: 0;
}
.player-tools {
  background: #292923;
  border-bottom: 1px solid #6e623c;
  padding: 4px 8px;
}
.player-tools :is([data-play], [data-stop]) {
  background: #f1d58c;
  color: #222;
}
.stage [data-player-status] {
  background: transparent;
  color: #ddd6c3;
}
.local-slide > .route-context {
  margin: 0 0 6px;
  font-size: 14px;
}
@media (max-width: 350px) {
  .category-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .refined-header nav {
    gap: 6px;
  }
}

/* Game excerpts use only original supplied descriptions, at most two visual lines. */
.recommendation-copy p,
.round-game-copy p,
.game-card-link > p,
.game-card-link .game-description,
.fact-card p,
.choice-card p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 0;
  height: auto;
  line-height: 1.45;
  margin: 6px 0 0;
}
.recommendation-copy h3 {
  min-height: 0;
}
.recommendation-copy {
  padding: 8px 10px;
}
.recommendation-cta {
  display: none;
}
[data-list-discovery] > h2 {
  font-size: 16px;
  line-height: 1.4;
  margin: 0 0 10px;
}
[data-list-discovery] {
  margin-block: 20px;
}

dialog.category-dialog[data-filters] {
  inset: 0 auto 0 0;
  transform: none;
  margin: 0;
  width: min(90vw, 480px);
  height: 100dvh;
  max-height: 100dvh;
}

a.thumbnail-item {
  color: inherit;
  text-decoration: none;
  padding: 0;
  border: 0;
  border-bottom: 1px solid #625d4d;
}
a.thumbnail-item[aria-current="true"] {
  outline: 1px solid #e4c979;
  outline-offset: 3px;
}

/* The complete article title leads directly into the original body. */
body[data-design-page="article"] .reading-intro {
  margin: 0 0 8px;
}
body[data-design-page="article"] .reading-intro h1 {
  margin: 0;
}
body[data-design-page="article"] .reading-body > section {
  padding-top: 0;
}
body[data-design-page="article"] .reading-body h2 {
  margin-top: 0;
  margin-bottom: 4px;
}
.reading-summary-end {
  margin: 16px 0;
  line-height: 1.6;
}
.reading-summary-end p {
  margin: 8px 0;
}
body[data-design-page="information"] main > .reading {
  padding-top: 0;
}
body[data-design-page="information"] main > .reading h2 {
  margin-top: 0;
  margin-bottom: 8px;
}

/* Recovery: remove redundant spacing before real information; retain full readable text. */
body[data-design-page="information"] main#main {
  padding-top: 0;
}
body[data-design-page="information"] main > .policy-section {
  margin-block: 0 12px;
  padding-block: 0;
}
body[data-design-page="information"] main > .policy-section h2 {
  margin: 0 0 4px;
}
body[data-design-page="information"] main > .policy-section p {
  margin: 0;
}

body[data-design-page="article"] main#main {
  padding-top: 0;
}
body[data-design-page="article"] .reading-intro {
  margin-bottom: 4px;
}
body[data-design-page="article"] .reading-intro h1 {
  line-height: 1.2;
}
body[data-design-page="article"] .reading-summary-lead {
  font-size: 1rem;
  line-height: 1.55;
  margin: 0 0 8px;
}

/* Retain the film masthead and contact strip with full 44px controls. */
.refined-header .refined-brand {
  min-height: 44px;
}
.refined-header nav {
  gap: 10px;
}

/* V2: a film identity with its own category control and a separate compact navigation strip. */
body > header.refined-header {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 0;
  gap: 0;
  padding: 0 12px;
}
.refined-header .film-identity {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  border-bottom: 1px solid #514c40;
}
.refined-header .refined-brand {
  display: flex;
  flex: 0 1 auto;
  gap: 9px;
  min-width: 0;
  min-height: 44px;
  border: 0;
  font-size: 21px;
  font-weight: 450;
  letter-spacing: -0.025em;
}
.refined-header .refined-brand strong {
  font-weight: 720;
}
.refined-header .brand-mark {
  color: #dcc78e;
  flex: none;
}
.refined-header .refined-brand[aria-current="page"] .brand-mark {
  stroke-width: 2;
}
.refined-header .discovery-trigger {
  box-sizing: border-box;
  min-height: 44px;
  height: 44px;
}
.refined-header nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0 8px;
  margin: 0;
  width: 100%;
}
.refined-header nav a {
  padding-inline: 8px;
  min-height: 44px;
  position: relative;
  text-decoration: none;
}
.refined-header nav a[aria-current="page"]:not(.refined-brand) {
  text-decoration: none;
}
.refined-header nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 8px;
  right: 8px;
  height: 2px;
  background: #dcc78e;
}
.refined-header .discovery-trigger[aria-current="page"] {
  color: #f7df9b;
  background: radial-gradient(circle at 50% 88%, #dcc78e 2px, transparent 2.5px);
}
.category-menu {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 10px;
  padding: 14px;
}
.category-menu a {
  min-height: 0;
  padding: 0 0 10px;
  gap: 6px;
}
.category-menu a:first-child {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  min-height: 44px;
  padding: 0 4px 6px;
  gap: 10px;
}
.category-menu a:first-child small {
  margin-left: auto;
}
.category-menu .category-preview {
  display: block;
  width: 100%;
  aspect-ratio: 2.25;
  overflow: hidden;
  margin-bottom: 2px;
}
.category-menu .category-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.category-menu .category-caption {
  display: flex;
  gap: 7px;
  align-items: center;
}
.category-menu .category-caption .category-number {
  width: 20px;
  height: 20px;
}
.category-menu .category-caption svg {
  width: 19px;
  height: 19px;
}
.category-menu a[aria-current="page"] {
  background: #343229;
  outline: 1px solid #9e8750;
  outline-offset: 3px;
}
@media (min-width: 768px) {
  body > header.refined-header {
    flex-direction: row;
    align-items: center;
    padding: 4px 20px;
    gap: 32px;
    min-height: 56px;
  }
  .refined-header .film-identity {
    border: 0;
    flex: 0 1 auto;
    justify-content: flex-start;
  }
  .refined-header .refined-brand {
    font-size: 23px;
  }
  .refined-header nav {
    flex: 1 1 auto;
    width: auto;
    justify-content: flex-end;
    gap: 10px;
  }
}

/* List previews are two lines each; the original full text remains in the link and article. */
body[data-design-site="Game74"] :is(.reading-home, .reading-directory) .reading-card :is(h2, h3),
body[data-design-site="Game74"]
  :is(.reading-home, .reading-directory)
  .reading-card
  .reading-summary {
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
body[data-design-site="Game74"] :is(.reading-home, .reading-directory) .reading-card :is(h2, h3) {
  line-height: 1.35;
  min-block-size: 0;
}
body[data-design-site="Game74"]
  :is(.reading-home, .reading-directory)
  .reading-card
  .reading-summary {
  line-height: 1.55;
  min-block-size: 0;
}
body[data-design-site="Game74"] .reading-directory > li .reading-card {
  height: 100%;
  box-sizing: border-box;
}

/* Error recovery stays a compact native link row, leaving room for real recommendations. */
body.error-page main > .reading {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 12px;
  min-height: 44px;
  padding: 0;
  margin: 0 0 8px;
  border: 0;
}
body.error-page main > .reading p {
  margin: 0;
}
body.error-page main > .reading a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
body.error-page main > .reading > h2,
body.error-page [data-round-recommendations] > h2 {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
body.error-page [data-round-recommendations] {
  margin-top: 0;
}

/* Supplemental reading keeps the same two-line preview budget as the article directory. */
.round-reading :is(h3, p) {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.round-reading li > a {
  height: 100%;
  box-sizing: border-box;
}

/* Six tracks keep three thumbnail columns and distribute the final partial row. */
body[data-design-site="Game74"] [data-thumbnails] [data-local-items] {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
}
body[data-design-site="Game74"] .thumbnail-grid > [data-local-entry] {
  grid-column: span 2;
}
body[data-design-site="Game74"]
  .thumbnail-grid
  > :nth-last-child(1 of [data-local-entry]):nth-child(3n + 1 of [data-local-entry]) {
  grid-column: span 6;
}
body[data-design-site="Game74"]
  .thumbnail-grid:has(
    > :nth-last-child(1 of [data-local-entry]):nth-child(3n + 2 of [data-local-entry])
  )
  > :nth-last-child(-n + 2 of [data-local-entry]) {
  grid-column: span 3;
}
@media (min-width: 1100px) {
  body[data-design-site="Game74"] .thumbnail-art {
    aspect-ratio: 3;
    max-height: 136px;
  }
}

/* Film directory: a lit handle and a caption strip, without a large selected frame. */
body[data-design-site="Game74"] .refined-header [data-open-filters] {
  position: relative;
  isolation: isolate;
  color: #ded0a8;
  background: transparent;
  box-shadow: none;
  text-decoration: none !important;
  line-height: 1;
}
body[data-design-site="Game74"] .refined-header [data-open-filters]::before {
  content: "";
  position: absolute;
  inset: auto;
  top: 50%;
  left: 50%;
  width: 32px;
  height: 30px;
  transform: translate(-50%, -50%);
  border-radius: 2px;
  background: transparent;
  z-index: -1;
  pointer-events: none;
}
body[data-design-site="Game74"] .refined-header [data-current-section]::before {
  background: #403b2e;
  box-shadow: inset 0 -2px #c3aa68;
}
body[data-design-site="Game74"] .refined-header [aria-expanded="true"] {
  color: #242525;
}
body[data-design-site="Game74"] .refined-header [aria-expanded="true"]::before {
  background: #dcc78e;
  box-shadow: none;
}
.refined-header [data-open-filters] > svg {
  display: block;
  flex: none;
  width: 22px;
  height: 22px;
  align-self: center;
}
.refined-header [data-open-filters]::after {
  content: none !important;
}
.category-menu a {
  position: relative;
}
.category-menu {
  grid-auto-rows: max-content;
}
.category-menu .category-caption {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 2px 4px;
  line-height: 1.4;
  font-weight: 500;
}
.category-menu .category-caption .category-number {
  flex: 0 0 20px;
  align-self: center;
}
.category-menu small {
  padding-left: 31px;
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
}
.category-menu a:first-child {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32px;
  padding: 4px 6px;
}
.category-menu a:first-child small {
  margin: 0;
  padding-left: 0;
  justify-self: end;
}
.category-menu a[aria-current="page"] {
  color: #f7ebca;
  background: transparent;
  outline: none;
  box-shadow: none;
  text-decoration: none !important;
}
.category-menu a[aria-current="page"] .category-caption,
.category-menu a:first-child[aria-current="page"] {
  background: #51462e;
  color: #fff0bf;
}
.category-menu a[aria-current="page"] .category-preview {
  position: relative;
}
.category-menu a[aria-current="page"] .category-preview::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: #dcc78e;
}
.category-menu a[aria-current="page"] svg {
  stroke-width: 2;
}
.category-menu a:not([aria-current]):hover .category-caption,
.category-menu a:first-child:not([aria-current]):hover {
  background: #34342e;
}
.category-menu a:focus-visible {
  outline: 2px solid #dcc78e;
  outline-offset: 2px;
}

/* Compact preview budgets. Padding sits outside clipped title line boxes. */
body[data-design-site="Game74"] :is(.game-card-link, .category-signpost) [data-card-title],
body[data-design-site="Game74"] .thumbnail-label,
body[data-design-site="Game74"] .recommendation-copy h3,
body[data-design-site="Game74"] :is(.complete-copy, .row-completion-copy) strong {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  min-height: 0;
  min-block-size: 0;
  max-height: none;
  padding-block: 0 !important;
  line-height: 1.4;
}
body[data-design-site="Game74"] :is(.game-card-link, .category-signpost) [data-card-title] {
  margin-block: 8px;
}
body[data-design-site="Game74"] :is(.recommendation-copy, .complete-copy, .row-completion-copy) p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 0;
}
body[data-design-site="Game74"] :is(.reading-home, .reading-directory) .reading-card :is(h2, h3),
body[data-design-site="Game74"] .round-reading h3 {
  -webkit-line-clamp: 1;
  min-block-size: 0;
  padding-block: 0;
}
/* Unframed player controls meet the image/content edges; button padding stays intact. */
.stage .player-tools {
  padding-inline: 0;
  box-sizing: border-box;
}
.stage [data-player-status] {
  box-sizing: border-box;
  overflow-wrap: anywhere;
}

.stage [data-player-status] {
  padding-inline: 0;
}

body[data-design-site="Game74"] dialog.category-dialog[data-filters] {
  width: 70vw;
  max-width: 70vw;
}
.thumbnail-label {
  margin-top: 6px;
}
@media (max-width: 639px) {
  .category-menu {
    grid-template-columns: minmax(0, 1fr);
    padding-inline: 10px;
  }
  .category-menu a:first-child {
    grid-template-columns: minmax(0, 1fr);
    padding-inline: 0;
  }
  .category-menu a:first-child small {
    justify-self: start;
    padding-left: 31px;
  }
}

/* Keep drawer heading and Close whole when large text needs a second row. */
.category-dialog .dialog-panel > header {
  flex-wrap: wrap;
  gap: 4px 8px;
}
.category-dialog .dialog-panel > header h2 {
  flex: 1 1 max-content;
  white-space: nowrap;
}
.category-dialog .dialog-panel > header button[data-close] {
  flex: none;
  white-space: nowrap;
}

/* One return arrow shares a single title line; complete title text stays in the H1. */
.article-title-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 44px;
}
.article-title-row > [data-article-back] {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  box-sizing: border-box;
  text-decoration: none;
}
.article-title-row > [data-article-back] svg {
  display: block;
  width: 20px;
  height: 20px;
}
.article-title-row > [data-article-back]:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
.article-title-row > h1 {
  min-width: 0;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.guide-article-return {
  margin-bottom: 8px;
}
.guide-article-return > h1 {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
}
.reading-game-back {
  max-inline-size: 70ch;
  margin-inline: auto;
}
.reading-game-back a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* A short set heading and one metadata/action row keep the contact sheets compact. */
.preview-sets-title {
  margin: 0 0 8px;
}
.set-contents {
  padding: 0 0 8px;
  margin: 0 0 12px;
}
.set-contents h2 {
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.3;
}
.set-meta {
  max-width: 380px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 12px;
}
.set-meta p {
  margin: 0;
}
.set-meta .set-open {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 44px;
  min-height: 44px;
  line-height: 1.3;
  color: inherit;
  text-underline-offset: 4px;
}
.set-meta .set-open:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

/* The optional title disclosure shares the return arrow's geometric center. */
.game-heading [data-full-title-open] {
  display: grid;
  place-items: center;
  padding: 0;
  line-height: 1;
}

/* Closed dialogs remain hidden when the browser has no native dialog implementation. */
dialog:not([open]) {
  display: none;
}
dialog[data-dialog-fallback][open] {
  display: block;
  position: fixed;
  z-index: 10001;
  max-height: calc(100vh - 24px);
  overflow: auto;
}
[data-dialog-backdrop] {
  position: fixed;
  z-index: 10000;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}
