/* GFSX V10 — self-contained scrolling covers and catalogue-driven ticker.
   Uses distinct class names to avoid legacy mosaic tile rules and offsets. */
.gfsx-wall {
  --gfsx-cell-gap: 8px;
  position: relative;
  height: 100%;
  overflow: hidden;
  background: #060b14;
  isolation: isolate;
  min-width: 0;
}
.gfsx-wall::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(to bottom, #060b14c4, transparent 18%, transparent 82%, #060b14cf);
}
.gfsx-wall--left::after {background:linear-gradient(90deg,#060b1480,transparent 12%,transparent 76%,#060b14ee),linear-gradient(180deg,#060b1499,transparent 17%,transparent 82%,#060b14cf)}
.gfsx-wall--right::after {background:linear-gradient(90deg,#060b14ee,transparent 23%,transparent 87%,#060b1470),linear-gradient(180deg,#060b1499,transparent 17%,transparent 82%,#060b14cf)}
.gfsx-wall-track {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  animation: gfsx-covers-up 38s linear infinite;
  will-change: transform;
}
.gfsx-wall--right .gfsx-wall-track {animation-name:gfsx-covers-down;animation-duration:42s}
.gfsx-wall-set {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: var(--gfsx-cell-gap);
  padding: 4px;
  flex: 0 0 auto;
  width: 100%;
  align-content: start;
}
.gfsx-cover {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #213858;
  border-radius: 12px;
  background: radial-gradient(circle at 50% 25%,#162d4d,#091321 68%);
  box-shadow: inset 0 1px #d5ecff0a;
  box-sizing: border-box;
}
/* The art is its own absolutely positioned layer, centred using equal insets.
   No image baseline, transform, or auto-row sizing is involved. */
.gfsx-cover-art {
  position: absolute;
  inset: 8%;
  display: block;
  border-radius: 15px;
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  border: 1px solid #8bbafa45;
  box-shadow: 0 3px #aed7ff18, 0 9px 20px #0009;
  transition: filter .2s ease, inset .2s ease;
}
.gfsx-cover:hover,.gfsx-cover:focus-visible {border-color:#68b4ff;outline:0}
.gfsx-cover:hover .gfsx-cover-art,.gfsx-cover:focus-visible .gfsx-cover-art {inset:6.5%;filter:brightness(1.07)}
.gfsx-wall:hover .gfsx-wall-track, .gfsx-wall:focus-within .gfsx-wall-track{animation-play-state:paused}
@keyframes gfsx-covers-up {from{transform:translateY(0)}to{transform:translateY(-50%)}}
@keyframes gfsx-covers-down {from{transform:translateY(-50%)}to{transform:translateY(0)}}

/* Seamless, accessible game-name marquee, populated by script.js's services array. */
.gfsx-ticker {
  height: 47px;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  background: #0a408f;
  border-top: 1px solid #377fce;
  border-bottom: 1px solid #2863ac;
}
.gfsx-ticker-track {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  width: max-content;
  animation: gfsx-ticker-left var(--gfsx-ticker-duration, 44s) linear infinite;
  will-change: transform;
}
.gfsx-ticker-set {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  width: max-content;
  gap: 46px;
  padding-right: 46px;
  white-space: nowrap;
}
.gfsx-ticker-item {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  color: #f4faff;
  text-decoration: none;
  font-family: 'Manrope', 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .095em;
  text-transform: uppercase;
  line-height: 1.2;
  transition: color .2s;
}
.gfsx-ticker-item:hover,.gfsx-ticker-item:focus-visible {color:#94d9ff}
.gfsx-ticker:hover .gfsx-ticker-track,.gfsx-ticker:focus-within .gfsx-ticker-track{animation-play-state:paused}
@keyframes gfsx-ticker-left {from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media(max-width:1220px){.gfsx-wall-set{grid-template-columns:repeat(2,minmax(0,1fr))}.gfsx-cover-art{border-radius:12px}}
@media(max-width:890px){.gfsx-wall-set{grid-template-columns:minmax(0,1fr)}.gfsx-cover-art{border-radius:10px}}
@media(max-width:620px){.gfsx-wall{display:none}.gfsx-ticker{height:42px}.gfsx-ticker-item{font-size:12px;letter-spacing:.07em}.gfsx-ticker-set{gap:28px;padding-right:28px}}
@media(prefers-reduced-motion:reduce){.gfsx-wall-track,.gfsx-wall--right .gfsx-wall-track,.gfsx-ticker-track{animation:none!important;transform:none!important}.gfsx-cover-art{transition:none}}
