/* 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;
}
.category-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 8px;
  padding: 0;
  border: 0;
}
.category-summary-row > [data-count] {
  flex: none;
  margin: 0;
  line-height: 1.4;
  white-space: nowrap;
}
.category-summary-row > h1.route-context {
  flex: 1;
  min-width: 0;
  margin: 0;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
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;
  }
}
/* Candidate sheets: masthead and comparison, with a separate low navigation strip. */
.refined-header {
  display: block;
  padding: 0 12px;
  border-bottom: 1px solid #9cad9e;
}
.candidate-masthead {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
}
.refined-header .refined-brand {
  font-size: 21px;
  font-weight: 700;
}
.refined-header .compare-entrance {
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 44px;
  padding: 0 4px;
  color: inherit;
  font-size: 14px;
  text-decoration: none;
}
.refined-header nav {
  margin: 0;
  justify-content: flex-start;
  min-height: 44px;
  border-top: 1px solid #d3ded5;
  gap: 16px;
}
.refined-header nav .discovery-trigger {
  margin-left: auto;
  gap: 7px;
  font-size: 14px;
}
.refined-header nav a {
  padding-inline: 6px;
}
/* The small selected surface is independent of the full 44px hit area. */
.refined-header nav a[aria-current="page"]:not(.discovery-trigger) {
  position: relative;
  isolation: isolate;
  text-decoration: none;
}
.refined-header nav a[aria-current="page"]:not(.discovery-trigger)::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset-inline: 0;
  top: 50%;
  height: calc(1.3em + 8px);
  max-height: calc(100% - 8px);
  transform: translateY(-50%);
  background: #e7efe8;
  border-radius: 3px;
}
dialog.category-dialog[data-filters] {
  inset: 0 auto 0 0;
  width: min(90vw, 460px);
}
.category-menu {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 12px;
}
.category-menu a {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-content: start;
  gap: 8px;
  min-height: 80px;
  border: 1px solid #c0d0c3;
  padding: 12px 10px;
  border-radius: 2px;
}
.category-menu small {
  grid-column: 2;
  margin-left: 0;
}
.category-menu a:first-child {
  grid-column: 1 / -1;
  min-height: 52px;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
}
.category-menu a:first-child small {
  grid-column: auto;
}
.player-tools {
  border-bottom: 1px solid #c0d0c3;
  padding-block: 4px;
}
.player-tools :is([data-play], [data-stop]) {
  background: #285444;
  border-radius: 2px;
}
.player-tools [data-restart] {
  margin-left: 8px;
}
.player-tools [data-fullscreen] {
  margin-left: auto;
}
.stage [data-player-status] {
  padding-top: 6px;
  color: #445c50;
}
@media (min-width: 768px) {
  .refined-header {
    padding-inline: 20px;
  }
  .candidate-masthead {
    min-height: 44px;
  }
  .refined-header .compare-entrance {
    min-width: 132px;
    justify-content: flex-end;
  }
}

/* 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: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: min(92vw, 560px);
  height: 84dvh;
}

body[data-design-site="Game72"] .choice-actions button {
  font-size: 22px !important;
  line-height: 1;
}
body[data-design-site="Game72"] .choice-actions button::before {
  content: none !important;
}
.comparison-game dd:last-child {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 0;
}

/* 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;
}
/* Enlarged labels retain whole words and can use a further line naturally. */
.candidate-masthead {
  flex-wrap: wrap;
}
.candidate-masthead .refined-brand {
  flex: 1 1 max-content;
  overflow-wrap: normal;
  word-break: normal;
}
.refined-header .compare-entrance {
  flex: 0 0 auto;
  min-width: max-content;
  line-height: 1.3;
}
.refined-header nav {
  flex-wrap: wrap;
}
.refined-header nav a {
  flex-shrink: 0;
  white-space: nowrap;
}

body[data-design-site="Game72"] > .refined-header nav {
  flex-wrap: wrap;
}
.refined-header .compare-entrance svg {
  width: 20px;
  height: 20px;
  flex: none;
}
/* Keep the real comparison utility close to the list it belongs to. */
main > a.reading[href="shortlist.html"] {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 4px 10px;
  margin-block: 8px;
  padding: 8px 12px;
}
main > a.reading[href="shortlist.html"] h2,
main > a.reading[href="shortlist.html"] p {
  margin: 0;
}
main > a.reading[href="shortlist.html"] .reading-cta {
  grid-column: 1 / -1;
}
main > a.reading[href="shortlist.html"] + .choice-info {
  margin-block: 8px;
}
@media (max-width: 350px) {
  main > a.reading[href="shortlist.html"] {
    grid-template-columns: 1fr;
  }
}

/* V2: comparison is part of the candidate masthead, with compact reading/catalogue tools. */
body > .refined-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 8px;
  min-height: 56px;
  padding: 4px 12px;
}
.refined-header .candidate-masthead {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 44px;
  flex-wrap: nowrap;
}
.refined-header .refined-brand {
  gap: 7px;
  flex: 1 1 auto;
  min-width: 0;
}
.refined-header .brand-mark {
  color: #285444;
  flex: none;
}
.refined-header .brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.05;
}
.refined-header .brand-copy > span {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.07em;
}
.refined-header .brand-copy > strong {
  font-size: 19px;
  font-weight: 720;
  letter-spacing: -0.02em;
}
.refined-header .refined-brand[aria-current="page"] .brand-mark rect {
  fill: #dce9df;
  stroke-width: 2;
}
.refined-header .compare-entrance {
  min-width: 44px;
  padding: 0 4px;
  justify-content: center;
  position: relative;
}
.refined-header .compare-label {
  display: none;
}
.refined-header nav {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  min-height: 44px;
  border: 0;
  gap: 0;
  margin: 0;
}
.refined-header nav a {
  gap: 6px;
  box-sizing: border-box;
  min-width: 44px;
  padding-inline: 8px;
}
.refined-header nav .games-entrance {
  display: none;
}
.refined-header .nav-label {
  display: none;
}
.refined-header nav .discovery-trigger {
  margin-left: 0;
}
.refined-header nav a[aria-current="page"]::before {
  inset-inline: 3px;
  height: 30px;
  border-radius: 4px;
}
.refined-header .compare-entrance[aria-current="page"]::after {
  content: "";
  position: absolute;
  bottom: 5px;
  width: 22px;
  height: 2px;
  background: #285444;
}
dialog.category-dialog[data-filters] {
  height: 74dvh;
}
.category-menu {
  gap: 6px 12px;
  padding: 12px 16px;
  grid-auto-rows: max-content;
}
.category-dialog .dialog-panel > header {
  flex-wrap: wrap;
}
.category-dialog h2 {
  flex: 1 1 max-content;
}
.category-dialog button {
  flex: none;
  white-space: nowrap;
}
.category-menu a {
  border: 0;
  border-bottom: 1px solid #cfdbd1;
  min-height: 76px;
  padding: 10px 4px;
  gap: 5px 8px;
}
.category-menu a:first-child {
  min-height: 48px;
  padding: 6px 4px;
}
.category-menu a[aria-current="page"] {
  background: #e5eee5;
  box-shadow: inset 2px 0 #285444;
}
@media (max-width: 350px) {
  .category-menu {
    grid-template-columns: 1fr;
  }
  .refined-header .candidate-masthead {
    display: contents;
  }
  .refined-header .refined-brand {
    flex-basis: max-content;
  }
}
@media (min-width: 640px) {
  body > .refined-header {
    gap: 24px;
    padding-inline: 20px;
  }
  .refined-header .candidate-masthead {
    gap: 28px;
  }
  .refined-header .brand-copy {
    display: block;
    font-size: 21px;
  }
  .refined-header .brand-copy > span,
  .refined-header .brand-copy > strong {
    font-size: 21px;
    letter-spacing: -0.02em;
    font-weight: 700;
  }
  .refined-header .compare-label,
  .refined-header .nav-label {
    display: inline;
  }
  .refined-header nav .games-entrance {
    display: inline-flex;
  }
  .refined-header .compare-entrance {
    min-width: 0;
  }
}
body[data-design-site="Game72"] .reading-directory > li:first-child .reading-card {
  grid-template-columns: 76px minmax(0, 1fr);
}
body[data-design-site="Game72"] .reading-directory > li:first-child .reading-art {
  aspect-ratio: auto;
  height: 100%;
}
@media (min-width: 768px) {
  body[data-design-site="Game72"] .reading-directory .reading-card {
    grid-template-columns: 112px minmax(0, 1fr);
  }
}

/* List previews are two lines each; the original full text remains in the link and article. */
body[data-design-site="Game72"] :is(.reading-home, .reading-directory) .reading-card :is(h2, h3),
body[data-design-site="Game72"]
  :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="Game72"] :is(.reading-home, .reading-directory) .reading-card :is(h2, h3) {
  line-height: 1.35;
  min-block-size: 0;
}
body[data-design-site="Game72"]
  :is(.reading-home, .reading-directory)
  .reading-card
  .reading-summary {
  line-height: 1.55;
  min-block-size: 0;
}
body[data-design-site="Game72"] .reading-directory > li .reading-card {
  height: 100%;
  box-sizing: border-box;
}

@media (min-width: 351px) and (max-width: 639px) {
  .refined-header .brand-copy {
    display: block;
  }
  .refined-header .brand-copy > span,
  .refined-header .brand-copy > strong {
    font-size: 18px;
    letter-spacing: -0.025em;
  }
  .refined-header .brand-copy > span {
    font-weight: 500;
  }
}

/* Give enlarged inline wordmarks enough line height for WebKit font metrics. */
.refined-header .brand-copy > span,
.refined-header .brand-copy > strong {
  line-height: 1.2;
}

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

/* The error notice can wrap beside its two distinct recovery destinations. */
body.error-page main > .reading {
  column-gap: 6px;
}
body.error-page main > .reading p {
  flex: 1 1 150px;
}

/* The former featured article no longer reserves two directory rows. */
body[data-design-site="Game72"] .reading-directory > li:first-child {
  grid-row: auto;
}
@media (min-width: 768px) {
  body[data-design-site="Game72"] .reading-directory > li:first-child .reading-card {
    grid-template-columns: 112px minmax(0, 1fr);
  }
}

/* Candidate tools: a local category tab and a selected candidate tile. */
body[data-design-site="Game72"] .refined-header [data-open-filters] {
  position: relative;
  isolation: isolate;
  color: #315b43;
  background: transparent;
  box-shadow: none;
  text-decoration: none !important;
  line-height: 1.25;
  gap: 7px;
}
body[data-design-site="Game72"] .refined-header [data-open-filters]::before {
  content: "";
  position: absolute;
  inset: 6px 2px;
  border-radius: 3px;
  background: transparent;
  z-index: -1;
  pointer-events: none;
}
body[data-design-site="Game72"] .refined-header [data-current-section]::before {
  background: #dceadd;
}
body[data-design-site="Game72"] .refined-header [aria-expanded="true"] {
  color: #fff;
}
body[data-design-site="Game72"] .refined-header [aria-expanded="true"]::before {
  background: #315b43;
}
.refined-header [data-open-filters] > svg {
  display: block;
  flex: none;
  width: 21px;
  height: 21px;
  align-self: center;
}
.refined-header [data-open-filters]::after {
  content: none !important;
}
.category-menu a {
  position: relative;
}
.category-menu a > span:nth-child(2) {
  line-height: 1.4;
  font-weight: 500;
}
.category-menu small {
  width: auto;
  padding-left: 0;
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
}
.category-menu .category-number {
  align-self: center;
}
.category-menu a[aria-current="page"] {
  color: #234c35;
  background: #dcebdc;
  box-shadow: inset 0 -2px #527b5a;
  text-decoration: none !important;
}
.category-menu a[aria-current="page"] svg {
  stroke-width: 2;
}
.category-menu a:not([aria-current]):hover {
  background: #edf4eb;
}
.category-menu a:focus-visible {
  outline: 2px solid #315b43;
  outline-offset: -2px;
}

/* Compact preview budgets. Padding sits outside clipped title line boxes. */
body[data-design-site="Game72"] :is(.game-card-link, .category-signpost) [data-card-title],
body[data-design-site="Game72"] .thumbnail-label,
body[data-design-site="Game72"] .recommendation-copy h3,
body[data-design-site="Game72"] :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="Game72"] :is(.game-card-link, .category-signpost) [data-card-title] {
  margin-block: 8px;
}
body[data-design-site="Game72"] :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="Game72"] :is(.reading-home, .reading-directory) .reading-card :is(h2, h3),
body[data-design-site="Game72"] .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="Game72"] .choice-card > .choice-actions {
  height: 44px;
}
@media (min-width: 640px) {
  .refined-header [data-open-filters] {
    box-sizing: border-box;
    width: 132px;
    gap: 8px;
  }
  .refined-header [data-open-filters] [data-current-label] {
    display: block;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  body[data-design-site="Game72"] .refined-header [data-open-filters]::before {
    inset: 4px 2px;
    width: auto;
    height: auto;
    transform: none;
  }
  body[data-design-site="Game72"]:has(.refined-header [data-has-current-label])
    main
    > h1.route-context {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    padding: 0;
    margin: -1px;
  }
}
@media (min-width: 768px) {
  body[data-design-page="home"] .two-plus-one {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  body[data-design-site="Game72"] .reading-directory > li:first-child {
    grid-row: auto;
  }
}

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

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