/* The section is rendered only by homePage(); there is no global node or relocation. */
#yx-more-games{
  display:block!important;
  box-sizing:border-box!important;
  width:min(calc(100% - 20px),520px)!important;
  margin:var(--home-card-gap,18px) auto!important;
  padding:0!important;
  color:#1f2937
}
.yx-more-games-divider{
  height:38px;border-radius:14px;margin:0 0 10px;
  display:flex;align-items:center;justify-content:center;
  background:linear-gradient(90deg,#ff7a18,#ff3d54 34%,#725cff 68%,#0ea5e9);
  box-shadow:0 5px 14px rgba(90,62,160,.18);
  color:#fff;font-size:16px;font-weight:950;letter-spacing:2px
}
.yx-more-games-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--home-card-gap,18px)}
.yx-more-game-card{
  position:relative;display:block;min-width:0;aspect-ratio:1.62/1;
  padding:0;border:0;border-radius:15px;overflow:hidden;
  background:#0b1020;box-shadow:0 4px 12px rgba(15,23,42,.14);touch-action:manipulation
}
.yx-more-game-card>img{
  position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover!important;object-position:center!important;filter:none;
  background:#0b1020
}
html[data-theme="light"] .yx-more-game-card{background:#edf3fb}
.yx-more-game-card>strong{position:absolute;left:10px;bottom:8px;z-index:2;color:#fff;font-size:17px;font-weight:950;line-height:1;text-shadow:0 2px 5px rgba(0,0,0,.55)}
.yx-more-game-card:disabled{opacity:.72}
html[data-theme="dark"] #yx-more-games{color:#fff}

/* Never hide third-party artwork behind the old shared girl/person templates. */
.yx-ext-provider-art{background:#0b1020!important;overflow:hidden!important}
.yx-ext-provider-art>img{
  display:block!important;width:100%!important;height:100%!important;
  object-fit:contain!important;object-position:center!important;background:#0b1020!important
}
.yx-ext-provider-art:before,.yx-ext-provider-art:after{
  content:none!important;display:none!important;background-image:none!important;animation:none!important
}
.yx-ext-card>img{
  object-fit:contain!important;object-position:center!important;background:#0b1020!important
}

@media(max-width:360px){
  #yx-more-games{width:calc(100% - 16px)!important}
  .yx-more-games-grid{gap:var(--home-card-gap,18px)}
  .yx-more-game-card>strong{font-size:16px}
}
