:root {
  --paper: #fcfcf9;
  --ink: #2c322c;
  --accent: #53704c;
  --line: #dbe0d4;
}
:root {
  font:
    16px/1.5 system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input {
  font: inherit;
}
a {
  color: inherit;
  text-underline-offset: 0.2em;
}
button,
a,
input,
summary {
  touch-action: manipulation;
}
button,
summary {
  cursor: pointer;
}
button,
input {
  min-height: 44px;
}
button {
  padding: 8px 12px;
  border: 1px solid currentColor;
  background: var(--paper);
  color: var(--ink);
}
button:disabled {
  opacity: 0.55;
  cursor: default;
}
input {
  min-width: 0;
  padding: 8px;
  max-width: 100%;
  font-size: 16px;
}
h1,
h2,
h3,
p {
  margin: 0 0 12px;
}
h1 {
  font-size: clamp(24px, 3vw, 36px);
}
h2 {
  font-size: 21px;
}
h3 {
  font-size: 18px;
}
img {
  max-width: 100%;
  object-fit: cover;
  object-position: center;
  height: auto;
}
a,
button,
h1,
h2,
h3,
p,
label {
  overflow-wrap: anywhere;
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
.site-header,
main,
footer {
  width: min(1180px, 100% - 32px);
  margin-inline: auto;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}
.wordmark {
  font-weight: 750;
  font-size: 20px;
}
.site-header nav,
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.site-header nav a,
footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 8px;
}
.content-group {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}
.game-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.game-card {
  min-width: 0;
}
.game-entry {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}
.game-entry img {
  width: 104px;
  height: 82px;
}
.game-card .category {
  font-size: 15px;
  margin: 6px 0;
}
.premise {
  font-size: 16px;
}
.result-batch > button {
  margin-top: 12px;
}
.search-region {
  padding: 8px 0;
  margin: 0 0 8px;
}
.search-region form {
  display: flex;
  gap: 6px;
}
.search-region input {
  flex: 1;
  min-width: 40px;
}
.search-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 28px;
}
.search-status button {
  border: 0;
  padding: 0 8px;
  min-height: 28px;
}
.search-status span {
  font-size: 15px;
}
dialog {
  padding: 0;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  width: min(500px, calc(100% - 20px));
  max-height: calc(100dvh - 20px);
}
dialog[open] {
  display: flex;
  flex-direction: column;
}
dialog::backdrop {
  background: #1119;
}
.dialog-heading,
.dialog-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px;
  flex: none;
}
.dialog-heading h2 {
  margin: 0;
}
.dialog-body {
  overflow: auto;
  min-height: 0;
  padding: 12px;
}
.dialog-actions {
  padding-bottom: max(12px, env(safe-area-inset-bottom));
}
fieldset {
  border: 0;
  margin: 8px 0;
  padding: 0;
}
fieldset label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 16px;
  padding: 8px;
}
fieldset input {
  min-height: 20px;
}
summary {
  min-height: 44px;
  padding: 8px;
}
.player-stage {
  padding: 12px;
  border: 1px solid var(--line);
  margin: 16px 0;
}
.game-screen {
  aspect-ratio: 16/9;
  background: #171a1d;
  display: grid;
  place-items: center;
  min-width: 0;
}
.game-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.game-screen iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.player-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 0;
}
.player-stage:fullscreen {
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  min-height: 0;
  aspect-ratio: auto;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom)
    env(safe-area-inset-left);
  display: flex;
  flex-direction: column;
  border: 0;
  background: var(--paper);
}
.player-stage:fullscreen .game-screen {
  flex: 1;
  min-height: 0;
  aspect-ratio: auto;
}
.player-stage:fullscreen .game-screen img {
  max-height: none;
  min-height: 0;
}
.player-stage:fullscreen .player-tools {
  flex: none;
}
.player-stage:fullscreen [data-player-status] {
  margin: 0;
  flex: none;
}
.sr-only,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  clip-path: none;
  padding: 12px;
  z-index: 100;
  background: var(--paper);
}
footer {
  padding: 24px 0;
}
.two-pictures {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.source-section {
  max-width: 75ch;
}
.helper-note {
  max-width: 70ch;
}
@media (max-width: 700px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    padding: 8px 0;
    margin-bottom: 10px;
  }
  .site-header nav {
    gap: 0;
  }
  .game-entry {
    display: block;
  }
  .game-entry img {
    width: 100%;
    height: 76px;
  }
  .game-entry h3 {
    font-size: 17px;
    margin: 6px 0;
  }
  .premise {
    font-size: 16px;
  }
  .content-group {
    padding: 12px 0;
    margin-bottom: 12px;
  }
  .game-grid {
    gap: 10px;
  }
  .game-screen {
    aspect-ratio: 4/3;
  }
  .search-region {
    padding: 4px 0;
  }
  .search-status {
    line-height: 1.2;
  }
  .two-pictures {
    gap: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}
@media print {
  .site-header,
  footer,
  button,
  .player-stage,
  dialog {
    display: none !important;
  }
  main {
    width: auto;
    color: #000;
  }
  .cue-sheet {
    break-after: page;
  }
  .content-group {
    break-inside: avoid;
    border: 0;
    margin: 0 0 12pt;
  }
  .cue-sheet img {
    max-width: 35mm;
  }
  a {
    text-decoration: none;
  }
}

.game-card .premise,
.game-card .category {
  display: none;
}
.source-alias {
  padding-top: 8px;
}
.game-card {
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}
.alias-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
}
.alias-toggle input {
  width: 20px;
}
.game-entry {
  grid-template-columns: 72px 1fr;
}
.game-entry img {
  width: 72px;
  height: 72px;
}
@media (max-width: 700px) {
  .game-entry {
    display: block;
  }
  .game-entry img {
    width: 100%;
    height: 68px;
  }
}

.search-region {
  padding: 4px 0;
  margin-bottom: 4px;
}
.search-status {
  min-height: 44px;
}
.search-status button {
  min-height: 44px;
}

/* Complete native links own the image, copy and inner space. */
.game-card {
  padding: 0;
  align-self: stretch;
}
.game-entry {
  height: 100%;
  padding: 8px;
  text-decoration: none;
  align-items: start;
  border: 1px solid transparent;
  gap: 12px;
}
.game-entry:hover,
.game-entry:focus-visible {
  background: color-mix(in srgb, var(--accent) 8%, var(--paper));
  border-color: var(--accent);
}
.game-copy {
  display: block;
  min-width: 0;
}
.game-copy h3 {
  margin-bottom: 6px;
}
.game-copy .category {
  margin: 0 0 6px;
}
.game-copy .premise {
  margin: 0;
}
.thumbnail {
  display: block;
  width: 104px;
  height: 82px;
  overflow: hidden;
}
.game-entry .thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  padding: 0;
  max-height: none;
}
.game-screen {
  position: relative;
}
.game-screen > img,
.game-screen > iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
}
main a:not(.game-entry) {
  min-height: 44px;
}
.image-error {
  display: grid;
  place-items: center;
  min-height: 76px;
  border: 1px solid var(--line);
  padding: 8px;
}
@media (max-width: 700px) {
  .thumbnail {
    width: 100%;
    height: 76px;
  }
  .game-entry {
    padding: 6px;
  }
  .game-copy h3 {
    margin-top: 6px;
  }
  .game-copy .category {
    font-size: 15px;
  }
  .game-copy .premise {
    font-size: 16px;
  }
}

.thumbnail {
  width: 72px;
  height: 72px;
}
.source-alias {
  margin: 0;
}
@media (max-width: 700px) {
  .thumbnail {
    width: 100%;
    height: 68px;
  }
}

/* Horizontal media stretches to the actual text row, including long titles. */
.game-card {
  display: flex;
  flex-direction: column;
}
.game-entry {
  flex: 1;
  height: auto;
  align-items: stretch;
}
.thumbnail {
  position: relative;
  height: auto;
  min-height: 82px;
  align-self: stretch;
}
.game-entry .thumbnail img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
}
.site-header {
  padding-block: 8px;
  margin-bottom: 8px;
}
.wordmark {
  font-size: 19px;
}
.site-header nav a {
  padding-inline: 6px;
}
h1 {
  font-size: clamp(23px, 2.6vw, 32px);
  margin-bottom: 8px;
}
@media (max-width: 700px) {
  .site-header {
    gap: 0;
    padding-block: 6px;
  }
  .site-header nav a {
    padding-block: 2px;
  }
  .thumbnail {
    height: 76px;
    min-height: 0;
  }
  .game-entry .game-copy {
    min-width: 0;
  }
}

.thumbnail {
  min-height: 72px;
}
@media (max-width: 700px) {
  .thumbnail {
    height: 68px;
    min-height: 0;
  }
}

@media (max-width: 700px) {
  .result-batch .game-entry {
    padding: 4px;
  }
  .result-batch .thumbnail {
    height: 64px;
    min-height: 0;
  }
  .result-batch .category {
    display: none;
  }
  .result-batch .game-copy h3 {
    font-size: 17px;
    line-height: 1.3;
  }
  .result-batch .game-copy .premise {
    line-height: 1.4;
  }
}

@media (max-width: 700px) {
  .game-grid > .game-card:last-child:nth-child(odd),
  .two-pictures > .game-card:last-child:nth-child(odd) {
    grid-column: 1/-1;
  }
  .game-grid > .game-card:only-child .game-entry {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
  }
  .game-grid > .game-card:only-child .thumbnail {
    height: auto;
    min-height: 90px;
  }
}

.game-grid > .game-card:last-child:nth-child(odd),
.two-pictures > .game-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.game-card {
  border: 0;
}
.game-entry {
  border-bottom-color: var(--line);
}

/* Content-first revision: original source facts and player styles are retained. */
:root {
  --image-ratio: 16 / 9;
}
.site-header,
main,
footer {
  width: min(1180px, calc(100% - 24px));
}
.site-header {
  display: block;
  padding: 0;
  margin: 0 auto 4px;
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 44px;
  align-items: center;
  gap: 12px;
  min-height: 44px;
}
.wordmark {
  font-size: 18px;
  text-decoration: none;
}
.site-header .primary-navigation {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-end;
  min-width: 0;
  gap: 4px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: thin;
}
.primary-navigation a {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 4px 8px;
}
.primary-navigation a:focus-visible {
  outline-offset: -3px;
}
.discovery-trigger {
  width: 44px;
  height: 44px;
  padding: 10px;
  border-color: transparent;
}
.discovery-trigger svg {
  display: block;
}
.game-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 10px;
}
.game-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 0;
}
.game-entry {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  flex: 1;
  height: 100%;
  gap: 6px;
  padding: 4px;
  border: 1px solid transparent;
  text-decoration: none;
  min-width: 0;
}
.game-entry:hover,
.game-entry:focus-visible {
  background: color-mix(in srgb, var(--accent) 8%, var(--paper));
  border-color: var(--accent);
}
.thumbnail {
  display: block;
  position: relative;
  align-self: stretch;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: var(--image-ratio);
  overflow: hidden;
}
.game-entry .thumbnail img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center;
  padding: 0;
  border: 0;
}
.game-entry .game-copy {
  display: block;
  min-width: 0;
}
.game-entry .game-copy h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 650;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.game-grid > .game-card:last-child:nth-child(odd) {
  grid-column: 1/-1;
}
.game-grid > .game-card:last-child:nth-child(odd) .game-entry {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
}
.game-grid > .game-card:last-child:nth-child(odd) .thumbnail {
  aspect-ratio: auto;
  min-height: 64px;
  height: 100%;
}
[data-more],
[data-phrase-more] {
  margin-top: 10px;
  min-width: 44px;
}
.listing-status {
  margin: 0 0 6px;
  font-size: 15px;
}

dialog[open] {
  display: block;
}
.discovery-form {
  display: flex;
  flex-direction: column;
  max-height: calc(100dvh - 22px);
  min-height: 0;
}
.dialog-heading,
.dialog-actions {
  flex: none;
  padding: 10px;
  gap: 8px;
}
.dialog-body {
  flex: 1 1 auto;
  overflow: auto;
  overscroll-behavior: contain;
  min-height: 0;
  padding: 10px;
}
.dialog-body > label {
  display: block;
}
.dialog-body > input {
  width: 100%;
  margin-bottom: 8px;
}
.dialog-actions {
  padding-bottom: max(10px, env(safe-area-inset-bottom));
}
.dialog-navigation {
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 8px;
}
.dialog-navigation a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 8px;
}
button {
  min-width: 44px;
}
@media (min-width: 900px) {
  [data-batches].game-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  [data-batches] > .game-card:last-child:nth-child(odd) {
    grid-column: auto;
  }
  [data-batches] > .game-card:last-child:nth-child(odd) .game-entry {
    display: flex;
  }
  [data-batches] > .game-card:last-child:nth-child(odd) .thumbnail {
    aspect-ratio: var(--image-ratio);
    height: auto;
  }
  [data-batches]:has(> .game-card:last-child:nth-child(4n + 2))
    > .game-card:nth-last-child(-n + 2) {
    grid-column: span 2;
  }
  [data-batches] > .game-card:last-child:nth-child(4n + 3) {
    grid-column: span 2;
  }
  [data-batches] > .game-card:last-child:nth-child(4n + 1) {
    grid-column: 1/-1;
  }
  [data-batches] > .game-card:last-child:nth-child(4n + 1) .game-entry {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
  }
  [data-batches] > .game-card:last-child:nth-child(4n + 1) .thumbnail {
    aspect-ratio: auto;
    min-height: 64px;
  }
}
@media (max-width: 700px) {
  .header-row {
    grid-template-columns: minmax(0, 1fr) 44px;
    gap: 8px;
  }
  .site-header .primary-navigation {
    display: none;
  }
  .wordmark {
    font-size: 17px;
  }
}
@media (max-height: 500px) and (min-width: 480px) {
  .header-row {
    grid-template-columns: minmax(0, 1fr) 44px;
  }
  .site-header .primary-navigation {
    display: none;
  }
  .game-grid,
  [data-batches].game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .game-grid .game-entry {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    align-items: stretch;
    gap: 8px;
  }
  .game-grid .thumbnail {
    aspect-ratio: auto;
    min-height: 56px;
    height: 100%;
  }
  [data-batches] > .game-card {
    grid-column: auto !important;
  }
  [data-batches] > .game-card:last-child:nth-child(odd) {
    grid-column: 1/-1 !important;
  }
  [data-batches] > .game-card:last-child:nth-child(odd) .game-entry {
    display: grid;
  }
  [data-batches] > .game-card:last-child:nth-child(odd) .thumbnail {
    aspect-ratio: auto;
  }
}
@media print {
  .game-entry .game-copy h3 {
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
  }
}
/* Pale green bilingual title index. */
:root {
  --image-ratio: 5/3;
}
.site-header {
  border-bottom: 2px solid var(--accent);
}
.game-entry {
  border-color: var(--line);
  background: #fff;
}
.source-alias {
  margin: 5px 0 0;
  font-size: 15px;
  line-height: 1.4;
}
.source-alias[hidden] {
  display: none;
}
.alias-toggle {
  padding: 8px 0;
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
}
footer nav a {
  font-size: 15px;
  font-weight: 400;
  padding: 4px 0;
}

/* Rules8-9: real rows are measured, with at most four initial rows. */
:root {
  --content-safe-bottom: env(safe-area-inset-bottom, 0px);
}
[data-home-more] {
  min-height: 44px;
  margin: 10px 0;
}
.dialog-body input[type="hidden"] {
  display: none;
}
.dialog-heading h2 {
  font-size: 18px;
  line-height: 1.3;
}
.dialog-heading button {
  flex: 0 0 auto;
}
dialog[data-filters] {
  inset: 0;
  margin: auto;
  width: min(480px, calc(100% - 24px));
  border: 2px solid var(--accent);
  border-radius: 4px;
}
[data-panel-kind="title-box"] .dialog-heading {
  border-bottom: 1px solid var(--line);
}

/* Web-rendered options share the dialog's existing paper, ink and line tokens. */
.condition-group {
  margin: 10px 0;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.condition-group > summary {
  min-height: 44px;
  padding: 10px 12px;
  cursor: pointer;
  font-size: 16px;
  overflow-wrap: anywhere;
}
.condition-group [data-condition-value] {
  display: block;
  padding-top: 4px;
  font-weight: normal;
  font-size: 16px;
}
.condition-group fieldset {
  min-width: 0;
  margin: 0;
  padding: 4px 8px 8px;
  border: 0;
}
.dialog-body .condition-choice {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  width: 100%;
  padding: 8px;
  font-size: 16px;
  line-height: 1.4;
  cursor: pointer;
}
.condition-choice input[type="radio"] {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--ink);
}
.condition-choice [data-choice-label] {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}
.condition-choice:has(input:checked) {
  background: var(--paper);
  outline: 1px solid var(--line);
  border-radius: 4px;
}
.condition-group > summary:focus-visible,
.condition-choice:focus-within {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

/* October refinement: compact identity, stable lists and quiet detail toolbar. */
.site-header {
  margin-bottom: 6px !important;
}
.header-row {
  min-height: 44px;
}
.game-entry {
  padding: 0 !important;
  border: 0 !important;
  gap: 0 !important;
}
.game-copy {
  padding: 8px 10px !important;
}
.game-entry .game-copy h3 {
  font-size: 14px !important;
  line-height: 1.4 !important;
  min-height: 0 !important;
  max-height: none !important;
}
.game-entry .thumbnail {
  border-radius: 4px 4px 0 0 !important;
}
.game-entry:hover {
  background: color-mix(in srgb, var(--accent) 7%, var(--paper));
}
button {
  border-color: var(--line);
  border-radius: 5px !important;
}
button:hover:not(:disabled) {
  background: color-mix(in srgb, var(--accent) 8%, var(--paper));
}
.detail-toolbar {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 44px;
  min-width: 0;
  margin: 0;
}
.detail-toolbar [data-return] {
  display: flex;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  height: 44px;
  text-decoration: none;
  font-size: 20px;
}
.detail-toolbar h1 {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 14px !important;
  line-height: 44px !important;
  font-weight: 500;
  margin: 0 !important;
  overflow-wrap: normal;
}
.detail-toolbar [data-title-toggle] {
  flex: 0 0 44px;
  height: 44px;
  border: 0;
  background: transparent;
  font-size: 20px;
  padding: 0;
}
[data-valid-game] > .player-stage {
  margin: 0 0 12px !important;
  padding: 0 !important;
}
[data-player-page] {
  margin: 0 !important;
  padding: 0 !important;
}
[data-title-popup] {
  width: min(480px, calc(100% - 24px));
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
[data-title-popup] p {
  overflow-wrap: anywhere;
  font-size: 17px;
}
.player-stage .game-screen {
  margin: 0;
  width: 100%;
  aspect-ratio: 16/9;
  min-height: 0;
}
.player-stage .game-screen > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.player-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.player-tools button {
  font-size: 14px;
  padding: 6px 10px;
}
.player-stage:fullscreen {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  min-height: 0;
  border: 0 !important;
  border-radius: 0 !important;
}
.player-stage:fullscreen .game-screen {
  flex: 1;
  aspect-ratio: auto !important;
  min-height: 0 !important;
  max-height: none;
}
.player-stage:fullscreen [data-player-status] {
  font-size: 12px;
  padding: 2px 10px;
}
.condition-group {
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
}
.condition-group fieldset {
  display: grid;
  gap: 8px;
  padding: 4px 0 8px;
}
.condition-group [data-condition-value] {
  display: inline;
  font-size: 14px;
  margin-left: 8px;
}
.condition-choice:has(input:checked) {
  outline: 0;
  background: color-mix(in srgb, var(--accent) 9%, var(--paper));
}
.dialog-heading h2 {
  font-size: 16px;
}
.dialog-actions {
  border-top: 1px solid var(--line);
}
[data-list-discovery] {
  margin: 20px 0 12px;
}
[data-list-discovery] h2 {
  font-size: 16px;
  font-weight: 500;
  margin: 0 0 10px;
}
[data-discovery-items] {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.discovery-entry {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: stretch;
  min-width: 0;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.discovery-entry > img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 90px;
  object-fit: cover;
  align-self: stretch;
}
.discovery-copy {
  min-width: 0;
  padding: 10px 12px;
}
.discovery-copy h3 {
  font-size: 14px;
  line-height: 1.4;
  font-weight: 550;
  margin: 0 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.discovery-copy p {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.4;
}
.discovery-cta {
  font-size: 12px;
  color: var(--accent);
}
.discovery-entry:hover {
  background: color-mix(in srgb, var(--accent) 7%, var(--paper));
}
.discovery-entry:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
footer {
  margin-block: 16px;
}
footer nav {
  gap: 4px 16px;
}
@media (min-width: 720px) {
  .detail-toolbar h1 {
    font-size: 15px !important;
  }
}
@media (max-width: 550px) {
  .discovery-entry {
    grid-template-columns: 1fr;
  }
  .discovery-entry > img {
    height: auto;
    aspect-ratio: 2/1;
    min-height: 0;
  }
  .discovery-copy {
    padding: 10px 12px;
  }
}
.site-game63 [data-batches] .game-entry {
  display: grid !important;
  grid-template-columns: 76px minmax(0, 1fr) !important;
}
.site-game63 [data-batches] .thumbnail {
  aspect-ratio: auto !important;
  height: 100% !important;
  min-height: 78px !important;
}
.title-index .discovery-entry {
  grid-template-columns: 56px minmax(0, 1fr);
  border-top: 1px solid var(--line);
}
.title-index .discovery-entry > img {
  aspect-ratio: auto;
  height: 100%;
}
.title-index .discovery-copy {
  padding: 10px;
}
