/* Phone is the baseline. Each site's local stylesheet supplies its composition. */
body[data-design-site] main {
  min-width: 0;
}
.independent-reading-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding-inline: 6px;
  flex: none;
  font-size: 14px;
  white-space: nowrap;
}
body[data-design-page="home"] main > h1:not(.visually-hidden, .sr-only),
body[data-design-page="directory"] main > h1:not(.visually-hidden, .sr-only) {
  font-size: 1.1rem;
  line-height: 1.25;
  margin-block: 4px 10px;
}
body[data-design-site] .reading-home {
  margin-block: 16px;
  padding-block: 12px 0;
}
body[data-design-site] .reading-section-heading {
  gap: 12px;
  margin-bottom: 8px;
}
body[data-design-site] .reading-section-heading h2,
body[data-design-site] .reading-intro h1 {
  font-size: 1.15rem;
  line-height: 1.3;
}
body[data-design-site] .reading-card {
  min-width: 0;
  gap: 10px;
  padding-block: 12px;
}
body[data-design-site] .reading-card :is(h2, h3) {
  font-size: 16px;
  line-height: 1.35;
}
body[data-design-site] .reading-home .reading-summary {
  display: none;
}
body[data-design-site] .reading-art {
  display: block;
  position: relative;
  overflow: hidden;
  flex: none;
  border-radius: 5px;
  width: 88px;
  aspect-ratio: 4/3;
}
body[data-design-site] .reading-art img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
body[data-design-site] .reading-directory {
  margin: 0;
  padding: 0;
}
body[data-design-page="article-index"] .reading-intro {
  margin-block: 0 12px;
}
body[data-design-page="article-index"] .reading-intro > p {
  display: none;
}
body[data-design-page="article"] .reading-intro {
  margin-block: 8px 16px;
}
body[data-design-page="article"] .reading-intro > p:last-child {
  display: none;
}
body[data-design-page="article"] .reading-body > section {
  padding-block: 12px;
}
body[data-design-site] .reading-context {
  margin-bottom: 4px;
}
.complete-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.complete-heading h1 {
  font-size: 1.2rem;
}
.complete-heading > span {
  font-size: 14px;
  color: inherit;
  opacity: 0.75;
}
.complete-categories {
  display: flex;
  flex-wrap: nowrap;
  gap: 14px;
  overflow-x: auto;
  max-width: 100%;
  scrollbar-width: thin;
}
.complete-categories a {
  display: inline-flex;
  flex: none;
  align-items: center;
  min-height: 44px;
}
.complete-index > section {
  margin-block: 16px 24px;
  scroll-margin-top: 12px;
}
.complete-index h2 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 16px;
}
.complete-index h2 small {
  font-weight: 400;
}
.complete-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.complete-card,
.row-completion {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  text-decoration: none;
  border-radius: 5px;
  padding: 0 0 4px;
}
.complete-art,
.row-completion-art {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 5px;
}
.complete-art img,
.row-completion-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.complete-copy,
.row-completion-copy {
  display: block;
  padding: 8px 2px 0;
  min-width: 0;
}
body[data-design-site] [data-row-completion] {
  grid-column: auto !important;
  grid-row: auto !important;
}
.complete-copy strong,
.row-completion-copy strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
  font-size: 16px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.row-completion-copy small {
  display: block;
  font-size: 12px;
  margin-bottom: 3px;
}
.complete-grid > .complete-card:last-child:nth-child(odd) {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}
.complete-card:focus-visible,
.row-completion:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
}
.index-rows .complete-grid {
  grid-template-columns: 1fr;
}
.index-rows .complete-card,
.index-rows .complete-grid > .complete-card:last-child:nth-child(odd) {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}
.index-rows .complete-art {
  aspect-ratio: 16/9;
}
.index-landscape .complete-art {
  aspect-ratio: 16/9;
}
.index-numbered .complete-grid {
  counter-reset: game-index;
}
.index-numbered .complete-copy {
  display: flex;
  gap: 8px;
  counter-increment: game-index;
}
.index-numbered .complete-copy::before {
  content: counter(game-index, decimal-leading-zero);
  font-size: 12px;
  opacity: 0.7;
  padding-top: 3px;
}
.index-contact .complete-art {
  aspect-ratio: 1;
}
[data-independent-opening][hidden] {
  display: none !important;
}
@media (min-width: 768px) {
  .complete-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .index-rows .complete-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .complete-grid > .complete-card:last-child:nth-child(odd) {
    grid-column: span 2;
  }
  .complete-grid > .complete-card:last-child:nth-child(4n + 1) {
    grid-column: 1/-1;
  }
}

/* Title Register: aligned image shelves, small letter keys and numbered reading notes. */
body[data-design-site="Game55"] .register-leaves {
  display: grid;
  gap: 14px 12px;
}
body[data-design-site="Game55"] .register-record {
  display: block;
  border: 0;
  border-radius: 0;
  padding: 0;
  text-decoration: none;
}
body[data-design-site="Game55"] .register-record .image-cell {
  height: 100px !important;
  min-height: 0;
  aspect-ratio: auto !important;
}
body[data-design-site="Game55"] .register-record > div {
  display: grid;
  grid-template-columns: 13px minmax(0, 1fr);
  gap: 4px;
  padding-top: 7px;
}
body[data-design-site="Game55"] .register-record .register-initial {
  font:
    500 12px/1.6 Georgia,
    serif;
  color: #596370;
}
body[data-design-site="Game55"] .register-record h3 {
  margin: 0;
  min-height: 2.7em;
  max-height: 2.7em;
  font:
    500 14px/1.35 Arial,
    sans-serif;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
body[data-design-site="Game55"] .reading-card {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 16px;
  gap: 10px;
  padding: 12px 0;
}
body[data-design-site="Game55"] .reading-number {
  display: block;
}
body[data-design-site="Game55"] .reading-card :is(h2, h3) {
  font-weight: 500;
}
body[data-design-site="Game55"] .reading-home > ol,
body[data-design-site="Game55"] .reading-directory {
  display: block;
}
@media (min-width: 768px) {
  body[data-design-site="Game55"] .register-record .image-cell {
    height: 150px !important;
  }
  body[data-design-site="Game55"] .reading-directory,
  body[data-design-site="Game55"] .reading-home > ol {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 24px;
  }
}
/* Current mobile baseline: stable shared header and native category navigation. */
body[data-design-site] .site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 12px;
  padding-block: 2px;
  border-top-width: 0;
}
body[data-design-site] .site-header .wordmark {
  flex: 1;
  max-width: calc(100% - 56px);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 16px;
  line-height: 1.2;
}
body[data-design-site] .site-header .catalogue-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  min-width: 44px;
  min-height: 44px;
  border: 0;
  background: transparent;
}
body[data-design-site] .site-header .primary-nav {
  display: flex;
  flex: 1 1 100%;
  max-width: 100%;
  min-width: 0;
  gap: 0 18px;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
  justify-content: flex-start;
  overflow-x: auto;
  border: 0;
  scrollbar-width: none;
}
body[data-design-site] .site-header .primary-nav a {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 400;
}
body[data-design-site] [data-filter-dialog] {
  color: inherit;
  background: var(--menu-surface);
  border: 1px solid var(--menu-line);
  padding: 0;
  max-width: calc(100vw - 24px);
  max-height: calc(100dvh - 24px);
}
body[data-design-site] [data-filter-dialog] .modal-layout {
  display: flex;
  flex-direction: column;
  max-height: calc(100dvh - 26px);
  min-height: 0;
}
body[data-design-site] [data-filter-dialog] .modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: none;
  gap: 12px;
  padding: 6px 14px;
  border-bottom: 1px solid var(--menu-line);
}
body[data-design-site] [data-filter-dialog] .modal-head h2 {
  font-size: 16px;
  margin: 0;
}
body[data-design-site] [data-filter-dialog] .modal-body {
  min-height: 0;
  overflow-y: auto;
  padding: 12px 14px;
}
body[data-design-site] .category-menu {
  display: grid;
  gap: 6px;
  margin: 0;
}
body[data-design-site] .category-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  min-width: 44px;
  padding: 4px 10px;
  font-size: 16px;
  line-height: 1.35;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--menu-line);
}
body[data-design-site] .category-menu a span {
  flex: 1;
  min-width: 0;
}
body[data-design-site] .category-menu small {
  font-size: 13px;
  font-weight: 400;
}
body[data-design-site] .category-menu a[aria-current] {
  background: var(--menu-active);
}
body[data-design-site] .category-menu a:hover {
  background: var(--menu-active);
}
body[data-design-site] .category-menu img {
  width: 62px;
  height: 46px;
  object-fit: cover;
  aspect-ratio: auto;
  flex: none;
}
body[data-design-site] [id^="ad-banner"][hidden] {
  display: none !important;
}
body[data-design-site] .reading-home {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}
body[data-design-site] .reading-home .reading-section-heading {
  width: 100%;
  padding-inline: 0;
}
body[data-design-site] .reading-home > ol {
  width: 100%;
  margin-inline: 0;
  padding-inline: 0;
}
body[data-design-site] .image-cell img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
}
body[data-design-site] .stage-screen > img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  aspect-ratio: auto;
}
body[data-design-site] :is(.record-actions, .browser-actions, .picture-actions) {
  padding-block: 0;
}
body[data-design-site] :is(.record-actions, .browser-actions, .picture-actions) :is(button, a) {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  font-size: 13px;
  background: transparent;
  border: 0;
  text-decoration: underline;
}
body[data-design-site] .stage-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
body[data-design-site] .stage-tools button {
  min-height: 44px;
  padding-inline: 8px;
  font-size: 14px;
}
@media (min-width: 1000px) {
  body[data-design-site] .site-header {
    flex-wrap: nowrap;
  }
  body[data-design-site] .site-header .wordmark {
    flex: 0 0 auto;
    max-width: none;
  }
  body[data-design-site] .site-header .primary-nav {
    flex: 1;
    order: 1;
  }
  body[data-design-site] .site-header .catalogue-trigger {
    order: 2;
  }
}

body[data-design-site="Game55"] {
  --menu-surface: #ffffff;
  --menu-line: #b4b8b5;
  --menu-active: #e2e8e6;
}
.category-menu {
  gap: 0;
}
.category-menu a {
  border-inline-start: 3px solid var(--menu-line);
  margin-block: 3px;
  padding-inline-start: 14px;
}
.category-menu a span {
  font-family: Georgia, serif;
}
.category-menu small {
  font-variant-numeric: tabular-nums;
}

body[data-design-site] .site-header .catalogue-trigger {
  order: 0;
  margin: 0;
}
body[data-design-site] .site-header .primary-nav {
  order: 1;
}
@media (min-width: 1000px) {
  body[data-design-site] .site-header .catalogue-trigger {
    order: 2;
  }
}

body[data-design-site] .primary-nav a[aria-current] {
  box-shadow: inset 0 -2px currentColor;
  text-decoration: none;
  background: color-mix(in srgb, currentColor 7%, transparent);
}
body[data-design-site] .site-footer a[aria-current] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}
body[data-design-site] .primary-nav a:focus-visible {
  outline: 3px solid #a74d00;
  outline-offset: -3px;
}

@media (min-width: 768px) {
  body[data-design-page="home"]
    main
    :is(
      [data-discovery-grid],
      [data-catalogue-list],
      [data-quote-home],
      [data-home-frames],
      [data-picture-entries],
      [data-notice-board]
    )
    .image-cell {
    height: 160px !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
  }
}

body[data-design-site] .reading-home .reading-summary {
  display: block;
  font-size: 14px;
  line-height: 1.45;
  margin-top: 5px;
}

/* Latest UI addendum: finite original articles keep every summary readable. */
body[data-design-site="Game55"] :is(.reading-home, .reading-directory) .reading-summary {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
  max-height: none;
}

/* Finite selections for short pages; their contents remain native local links. */
.fullness-supplement {
  margin-top: 20px;
}
.local-fullness {
  margin: 20px 0;
}
.local-fullness > h2 {
  font-size: 1.15rem;
  margin: 0 0 8px;
}
.fullness-intro {
  margin: 0 0 14px;
  color: inherit;
}
.fullness-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 14px;
}
.fullness-card {
  display: block;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}
.fullness-art {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.fullness-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fullness-copy {
  display: block;
  padding: 10px 12px;
}
.fullness-category {
  display: block;
  color: inherit;
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 4px;
}
.fullness-copy h3,
.fullness-note h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.fullness-copy p {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.5;
}
.fullness-card:hover,
.fullness-note:hover {
  background: color-mix(in srgb, currentColor 7%, transparent);
}
.fullness-card:focus-visible,
.fullness-note:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
.fullness-note-list {
  display: grid;
  gap: 12px;
}
.fullness-note {
  display: block;
  padding: 14px;
  border-top: 1px solid color-mix(in srgb, currentColor 25%, transparent);
  color: inherit;
  text-decoration: none;
}
.fullness-summary {
  display: block;
  margin: 8px 0;
  line-height: 1.55;
  overflow: visible;
}
.fullness-note-cta {
  display: inline-block;
  min-height: 44px;
  padding-top: 10px;
  font-size: 14px;
  color: currentColor;
}
.fullness-numbered .fullness-grid {
  counter-reset: listings;
}
.fullness-numbered .fullness-copy {
  counter-increment: listings;
  border-top: 1px solid color-mix(in srgb, currentColor 25%, transparent);
}
.fullness-numbered .fullness-category::before {
  content: counter(listings, decimal-leading-zero) " / ";
}
.fullness-checklist .fullness-card {
  border-bottom: 1px dashed currentColor;
}
.fullness-tickets .fullness-card {
  border-left: 2px solid currentColor;
}
.fullness-shades .fullness-grid {
  gap: 18px 10px;
}
.fullness-notebook .fullness-card {
  border-bottom: 1px solid color-mix(in srgb, currentColor 25%, transparent);
}
.fullness-gateways .fullness-category {
  color: currentColor;
}
.fullness-contact .fullness-copy {
  padding: 8px 4px;
}
.fullness-facts .fullness-copy {
  border-bottom: 1px solid color-mix(in srgb, currentColor 25%, transparent);
}
@media (min-width: 768px) {
  .fullness-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  :is(.fullness-pairs, .fullness-tickets, .fullness-facts, .fullness-notebook) .fullness-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  :is(.fullness-pairs, .fullness-tickets, .fullness-facts, .fullness-notebook) .fullness-card {
    display: grid;
    grid-template-columns: minmax(96px, 30%) minmax(0, 1fr);
    align-items: stretch;
  }
  :is(.fullness-pairs, .fullness-tickets, .fullness-facts, .fullness-notebook) .fullness-art {
    height: 100%;
    aspect-ratio: auto;
  }
  .fullness-note-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .fullness-copy p {
    display: none;
  }
}
