/* One visual contract for every game, independent of score availability. */
#games.games-catalog {
  --catalog-gold: #f6c65b;
  --catalog-ink: #100e0b;
  --catalog-cream: #fff2d8;
  display: block;
  max-width: 1240px;
  margin: 0 auto;
  padding: 26px 16px 32px;
}
#games .games-header { padding: 0 0 22px; border: 0; }
#games .games-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
#games .games-eyebrow { color: var(--catalog-gold); font: 11px 'DM Mono', monospace; letter-spacing: .18em; margin-bottom: 10px; }
#games .games-heading h2 { color: var(--catalog-cream); font-size: clamp(64px, 13vw, 116px); line-height: .92; letter-spacing: -.025em; }
#games .games-count { color: var(--catalog-gold); font: 44px/1 'Anton', sans-serif; display: flex; align-items: center; gap: 9px; padding-bottom: 4px; }
#games .games-count small { color: #b8ad99; font: 9px/1.6 'DM Mono', monospace; letter-spacing: .08em; }
#games .games-intro { color: #c8bca6; font-size: 13px; line-height: 1.6; margin-top: 15px; }
#games .games-filter { padding-top: 18px; margin-top: 18px; border-top: 1px solid #635039; }
#games .games-filter-label { font-size: 10px; letter-spacing: .1em; color: #c8bca6; }
#games .games-filter-pills { gap: 7px; }
#games .gf-pill { flex: 0 1 auto; min-height: 44px; padding: 10px 14px; border: 1px solid #655139; border-radius: 8px; background: #191610; color: #eadbc0; font-size: 13px; box-shadow: none; }
#games .gf-pill.active { background: var(--catalog-gold); border-color: var(--catalog-gold); color: var(--catalog-ink); }
#games .games-primary { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 0; }
#games .catalog-card {
  display: flex; flex-direction: column; min-height: 0; margin: 0; width: 100%; aspect-ratio: auto;
  background: linear-gradient(145deg, #252017, #14120e 65%);
  border: 1px solid #655139; border-radius: 18px; overflow: hidden;
  opacity: 1; transform: none; box-shadow: 0 14px 30px #0004;
  transition: border-color .18s, transform .18s, box-shadow .18s;
}
#games .catalog-card::before, #games .catalog-card::after,
#games .catalog-card .card-glimmer-sweep { display: none; }
#games .catalog-card.gf-hidden { display: none; }
#games .catalog-art { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #33291d; border-bottom: 1px solid #655139; }
#games .catalog-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, #0005, transparent 35%, #0008); pointer-events: none; }
#games .catalog-card .card-photo { position: absolute; inset: 0; width: 100%; height: 100%; filter: none; background-size: cover; background-position: center 25%; transform: none; will-change: auto; }
#games [data-gamekey="bierkuhles"] .card-photo { background-position: center 16%; }
#games [data-gamekey="dosi-tv"] .card-photo { background-position: center 20%; }
#games [data-gamekey="bier-sim"] .card-photo { background-position: center 65%; }
#games .catalog-number { position: absolute; z-index: 1; top: 12px; left: 14px; color: #fff2d8; font: 24px/1 'Anton', sans-serif; text-shadow: 0 2px 10px #000; }
#games .catalog-genre { position: absolute; z-index: 1; bottom: 14px; left: 16px; color: #fff2d8; font: 10px/1.2 'DM Mono', monospace; letter-spacing: .16em; }
#games .catalog-card .card-body { display: flex; position: relative; justify-content: flex-start; flex: 1; min-height: 196px; padding: 18px 20px 15px; background: none; }
#games .catalog-meta { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 12px; font: 10px/1.3 'DM Mono', monospace; letter-spacing: .08em; color: #c8bca6; }
#games .catalog-meta span:first-child { color: var(--catalog-gold); }
#games .catalog-card .card-title { display: block; margin: 0 0 10px; min-height: 2em; font-size: clamp(29px, 8vw, 40px); line-height: 1; font-weight: 400; letter-spacing: .005em; color: var(--catalog-cream); text-shadow: none; overflow-wrap: anywhere; }
#games .catalog-card .card-desc { display: block; max-width: none; color: #c8bca6; font-size: 12px; line-height: 1.6; overflow: visible; margin: 0; }
#games .catalog-record { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-top: 1px solid #655139; background: #100e0b; color: #c8bca6; font: 10px/1.5 'DM Mono', monospace; }
#games .catalog-record-dot { width: 5px; height: 5px; background: #8c795d; border-radius: 50%; flex-shrink: 0; }
#games .catalog-record.has-record .catalog-record-dot { background: var(--catalog-gold); }
#games .catalog-record-copy { min-width: 0; overflow-wrap: anywhere; }
#games .catalog-record-copy strong { color: var(--catalog-cream); font-weight: 500; }
#games .catalog-card .card-cta { position: relative; display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 52px; margin: 0; padding: 0 20px; border: 0; border-radius: 0; background: var(--catalog-gold); color: var(--catalog-ink); font: 15px 'Anton', sans-serif; letter-spacing: .08em; box-shadow: none; cursor: pointer; }
#games .catalog-card .card-cta::before { display: none; }
#games .catalog-card .cta-arrow { font: 25px/1 'DM Mono', monospace; }
#games .catalog-card:focus-within { outline: 3px solid var(--catalog-gold); outline-offset: 4px; }
#games .gf-pill:focus-visible, #games .card-cta:focus-visible { outline: 3px solid var(--catalog-cream); outline-offset: -5px; }
#games .catalog-card:active { transform: scale(.99); }
#games .catalog-card .card-last-winner { display: none; }
@media (hover: hover) {
  #games .catalog-card:hover { border-color: var(--catalog-gold); transform: translateY(-4px); box-shadow: 0 18px 38px #0006; }
  #games .catalog-card:hover .card-title { color: var(--catalog-cream); }
}
@media (min-width: 640px) {
  #games.games-catalog { padding: 38px 24px; }
  #games .games-primary { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  #games .catalog-card .card-title { font-size: 36px; }
}
@media (min-width: 1080px) {
  #games .games-primary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 359px) {
  #games.games-catalog { padding-inline: 12px; }
  #games .games-count { font-size: 32px; gap: 6px; }
  #games .games-count small { font-size: 8px; }
  #games .catalog-card .card-body { padding-inline: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  #games .catalog-card { transition: none; }
  #games .catalog-card:hover, #games .catalog-card:active { transform: none; }
}
