.games-home {
    --home-ink: #172033;
    --home-muted: #516173;
    --home-rule: #d9e2ec;
    --home-accent: #0f766e;
    --home-hover: #0b615b;
    color: var(--home-ink);
    max-width: 72rem;
    padding-block: 2.5rem 1rem;
    scrollbar-color: #7d9d98 #edf6f3;
}
.games-home [hidden] { display: none !important; }
.games-home ::selection { background: #cce9e2; color: #114f48; }
.games-home a { color: var(--home-accent); text-underline-offset: .2em; }
.games-home a:hover { color: var(--home-hover); }
.games-home :is(a, input, select, button, summary):focus-visible {
    outline: 3px solid var(--home-accent);
    outline-offset: 4px;
}
.games-home__skip { position: absolute; left: -10000px; }
.games-home__skip:focus { left: 1rem; top: 1rem; background: white; padding: .75rem; z-index: 10; }
.games-home h1 { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 700; letter-spacing: -.025em; line-height: 1.12; text-wrap: balance; margin: 0 0 1rem; }
.games-home h2 { font-size: 1.6rem; font-weight: 650; line-height: 1.25; margin: 0 0 .6rem; text-wrap: balance; }
.games-home p { line-height: 1.6; max-width: 70ch; }
.games-home__intro > p { color: var(--home-muted); font-size: 1.125rem; margin: 0; }
.games-home__intro nav { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; margin: .9rem 0 1.6rem; }
.games-home__intro nav a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.games-home__library, .games-home__families, .games-home__about { margin-top: 3.5rem; scroll-margin-top: 1rem; }
.games-home__section-heading { align-items: baseline; display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between; }
.games-home__section-heading p, .games-home__families > p, .games-home__about p { color: var(--home-muted); }
.games-home__section-heading > a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.games-home__filters { display: grid; grid-template-columns: minmax(0, 1fr) minmax(10rem, .4fr) auto; align-items: end; gap: 1rem; margin-top: .5rem; }
.games-home__filters > div { min-width: 0; }
.games-home label { display: block; font-size: .875rem; font-weight: 600; margin-bottom: .35rem; }
.games-home :is(input, select, button) { border: 1px solid #7b8c9c; background: white; border-radius: 6px; color: var(--home-ink); min-height: 2.75rem; padding: .6rem .75rem; font: inherit; }
.games-home :is(input, select) { width: 100%; caret-color: var(--home-accent); }
.games-home input::placeholder { color: var(--home-muted); opacity: 1; }
.games-home button { color: var(--home-accent); }
.games-home button:hover:not(:disabled) { background: #edf6f3; }
.games-home button:disabled { color: var(--home-muted); cursor: default; }
.games-home__count { color: var(--home-muted); font-size: .875rem; font-variant-numeric: tabular-nums; margin: .9rem 0 .2rem; }
.games-home__index { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 2rem; list-style: none; margin: 0; padding: 0; }
.games-home__index li { min-width: 0; border-bottom: 1px solid var(--home-rule); padding: .7rem 0; }
.games-home__index a { display: flex; align-items: center; min-height: 2.75rem; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.games-home__index span { color: var(--home-muted); font-size: .8125rem; }
.games-home__index .games-home__new-label { color: #32645e; font-size: .8125rem; font-weight: 600; margin-bottom: .35rem; }
.games-home__index .games-home__description { margin: .25rem 0 .65rem; font-size: .9375rem; }
.games-home__empty { padding: 1.5rem 0; }
.games-home__empty h3 { font-size: 1.2rem; }
.games-home__about { border-top: 1px solid var(--home-rule); padding-top: 1.75rem; }
.games-home__about h2 { font-size: 1.25rem; }
.games-home__about > a { display: inline-flex; min-height: 2.75rem; align-items: center; font-size: .875rem; }
@media (max-width: 767px) {
    .games-home { padding-top: 1.5rem; padding-inline: 1.25rem; }
    .games-home__index { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.5rem; }
    .games-home__filters { grid-template-columns: minmax(0, 1fr) auto; }
    .games-home__filters > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 420px) {
    .games-home__index { grid-template-columns: minmax(0, 1fr); }
}

/* Headline games inherit the catalogue's open rows and restrained teal. */
.games-home__headlines { scroll-margin-top: 1rem; }
.games-home__headline-intro { background: #edf6f3; border-radius: 12px; padding: 1.5rem 1.75rem; }
.games-home__headline-intro h2 { color: #114f48; }
.games-home__headline-intro p { color: #32645e; margin-bottom: .5rem; }
.games-home__garden { display: inline-flex; align-items: center; gap: .75rem; min-height: 2.75rem; font-weight: 650; }
.games-home__headline-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 2rem; list-style: none; margin: .75rem 0 0; padding: 0; }
.games-home__headline-list li { min-width: 0; border-bottom: 1px solid var(--home-rule); padding-block: .9rem 1.1rem; }
.games-home__headline-art { float:right; width:6.5rem; height:auto; margin:.25rem 0 .5rem 1rem; border-radius:8px; }
.games-home__headline-list li:has(.games-home__headline-art) { display:flow-root; }
.games-home__headline-list h3 { margin: 0 0 .35rem; font-size: 1.125rem; line-height: 1.4; font-weight: 650; overflow-wrap: anywhere; }
.games-home__headline-list h3 a { display: flex; justify-content: space-between; gap: .75rem; align-items: center; min-height: 2.75rem; }
.games-home__headline-list h3 i { flex-shrink: 0; font-size: 1rem; }
.games-home__headline-list p { margin: 0; font-size: .9375rem; color: var(--home-muted); }
.games-home__availability { display: block; font-size: .875rem; color: var(--home-muted); margin-top: .5rem; }
.games-home__catalog-group { margin-top: 2rem; }
.games-home__catalog-group h3, .games-home__superseded h3 { font-size: 1.35rem; font-weight: 650; margin-bottom: .5rem; }
.games-home__superseded { margin-top: 3rem; border-top: 1px solid var(--home-rule); padding-top: 1.75rem; scroll-margin-top: 1rem; }
.games-home__superseded > p { color: var(--home-muted); }
.games-home__superseded summary { cursor: pointer; min-height: 2.75rem; padding-block: .65rem; font-weight: 650; }
.games-home__superseded summary:hover { color: var(--home-accent); }
.games-home__index .games-home__replacement { margin-top: .5rem; font-size: .875rem; gap: .5rem; }
.games-home__filters { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.games-home__filters > div:first-child { grid-column: span 2; }
.games-home__filters button { justify-self: start; }
.games-home__index span { display: block; font-size: .875rem; line-height: 1.5; }
@media (max-width: 767px) {
    .games-home__headline-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.5rem; }
    .games-home__headline-intro { padding: 1.25rem; }
    .games-home__filters { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .games-home__filters > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 420px) {
    .games-home__headline-list { grid-template-columns: minmax(0, 1fr); }
    .games-home__filters { grid-template-columns: minmax(0, 1fr); }
    .games-home__filters > div:first-child { grid-column: auto; }
}
