/* One native, swipeable row for New and the six published homepage categories.
   Bleed belongs to the scrollport so enlarged cards are not vertically cut. */
body.h6-preview.v2-shell .v2-home .v2-home-carousel{
  --v2-carousel-bleed:clamp(0px,calc(var(--h6-pad,22px) - 2px),20px);
  --v2-carousel-card-width:220px;
  position:relative;min-width:0;width:calc(100% + 2*var(--v2-carousel-bleed));
  max-width:none;margin-block:-20px;margin-inline:calc(-1*var(--v2-carousel-bleed));
  overflow:visible;
}
body.h6-preview.v2-shell .v2-home .v2-home-carousel>.v2-game-grid.v2-carousel-track{
  display:grid;grid-template-columns:none;grid-template-rows:auto;
  grid-auto-flow:column;grid-auto-columns:var(--v2-carousel-card-width);
  gap:12px;align-items:start;min-width:0;width:100%;box-sizing:border-box;
  margin:0;padding:20px var(--v2-carousel-bleed);
  overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;
  scroll-snap-type:x mandatory;scroll-padding-inline:var(--v2-carousel-bleed);
  scrollbar-width:none;-ms-overflow-style:none;
}
body.h6-preview.v2-shell .v2-home .v2-carousel-track::-webkit-scrollbar{display:none}
body.h6-preview.v2-shell .v2-home .v2-carousel-track>:is(.v2-tile,.v2-carousel-all){
  grid-area:auto;align-self:start;scroll-snap-align:start;scroll-snap-stop:normal;
  width:var(--v2-carousel-card-width);max-width:none;min-width:0;
}
body.h6-preview.v2-shell .v2-home .v2-carousel-all{
  position:relative;display:flex;flex-direction:column;gap:7px;
  aspect-ratio:80/53;height:calc(var(--v2-carousel-card-width)*53/80);min-height:0;
  box-sizing:border-box;padding:14px 16px 30px;
  border:1px solid var(--category-ink,var(--h6-accent));border-radius:13px;
  background:var(--category-ink,var(--h6-accent));color:#fff;text-decoration:none;
}
body.h6-preview.v2-shell .v2-home .v2-carousel-all strong{font:700 clamp(13px,1.1vw,17px)/1.2 var(--h6-heading)}
body.h6-preview.v2-shell .v2-home .v2-carousel-all>span{font-size:11px;line-height:1.3;max-width:90%}
body.h6-preview.v2-shell .v2-home .v2-carousel-all>.ui-icon{position:absolute;right:12px;bottom:10px;width:24px;height:24px}
body.h6-preview.v2-shell .v2-home .v2-carousel-all:hover{filter:brightness(1.1)}
body.h6-preview.v2-shell .v2-home .v2-carousel-all:focus-visible{outline:3px solid var(--h6-accent);outline-offset:3px}
body.h6-preview.v2-shell .v2-home .v2-carousel-track:focus-visible{
  outline:2px solid var(--h6-accent);outline-offset:-2px;border-radius:13px;
}
body.h6-preview.v2-shell .v2-home .v2-carousel-arrow{
  position:absolute;z-index:60;top:50%;display:grid;place-items:center;
  width:44px;height:44px;min-width:44px;min-height:44px;margin:0;padding:0;
  transform:translateY(-50%);border:1px solid var(--category-line,var(--h6-line));
  border-radius:50%;background:var(--h6-panel);color:var(--category-ink,var(--h6-accent));
  box-shadow:0 3px 12px #124e6333;cursor:pointer;
}
body.h6-preview.v2-shell .v2-home .v2-carousel-next{right:calc(var(--v2-carousel-bleed) - 6px)}
body.h6-preview.v2-shell .v2-home .v2-carousel-previous{left:calc(var(--v2-carousel-bleed) - 6px)}
body.h6-preview.v2-shell .v2-home .v2-carousel-arrow>.ui-icon{width:23px;height:23px;stroke-width:2.4}
body.h6-preview.v2-shell .v2-home .v2-carousel-previous>.ui-icon{transform:rotate(180deg)}
body.h6-preview.v2-shell .v2-home .v2-carousel-arrow[hidden]{display:none!important}
body.h6-preview.v2-shell .v2-home .v2-carousel-arrow:hover{background:var(--h6-soft)}
body.h6-preview.v2-shell .v2-home .v2-carousel-arrow:focus-visible{outline:3px solid var(--h6-accent);outline-offset:3px}
body.h6-preview.v2-shell .v2-home .v2-carousel-status{
  position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;
  clip:rect(0,0,0,0);white-space:nowrap;border:0;
}
@media(max-width:649px){
 body.h6-preview.v2-shell .v2-home .v2-home-carousel>.v2-game-grid.v2-carousel-track{gap:10px}
}
@media(max-width:1024px){
 body.h6-preview.v2-shell .v2-home .v2-carousel-all{padding:12px 12px 30px}
 body.h6-preview.v2-shell .v2-home .v2-carousel-all>span{display:none}
}
@media(prefers-reduced-motion:reduce){
 body.h6-preview.v2-shell .v2-home .v2-carousel-track{scroll-behavior:auto}
}
