/* FILE: public/css/view_site_index_layout.css — FULL FILE
   (Updated to place Categories on the LEFT and align its header line
    with the "Latest {{type}}" heading. Your other tweaks preserved.) */

/* ============================================================================
   view_site_index_layout.css — FULL FILE
   Unique layout/styling for /reviews, /news, /guides index pages.
   Uses its own .site-index* classes to avoid coupling with article layouts.
   -------------------------------------------------------------------------- */
/* FILE: public/css/view_site_index_layout.css — FULL FILE
   Clean grid using ONLY max-width breakpoints.
   Header wrapper (site-index-wrapper) aligns with body grid (site-index__grid):
     desktop:   [ cats | main | 300 rail ]
     <=1150px:  [ cats | main ] then rail full-width below
     <=900px:   stacked: cats → main → rail
*/

/* ───────── Variables / container widths ───────── */
.site-index,
.site-index-wrapper {
  --si-max: 1500px;
  --si-gap: 22px;
  --si-gap-lg: 30px;
  --si-col-cats: 200px;
  /* categories width */
  --si-col-rail: 300px;
  /* ad rail width */
  --si-head-align: 4px;
  /* nudge to align cat header underline with Latest */
  margin: 0 auto;
  max-width: calc(var(--si-max) + 32px);
  padding-left: clamp(0px, -1650px + 103.125vw, 330px);
  /* 1920 to 1600 */
}

.site-index-bleed {
  width: 100%;
  background-color: var(--section-dark-background-color);
}



/* Inner grid that aligns with the body grid (cats | main | 300 rail) */
.site-index-wrapper {
  max-width: calc(var(--si-max) + 32px);
  margin: 0 auto;
  padding-bottom: 28px;
}

.site-index__header {
  grid-column: 2;
  padding: 24px 24px;
}

.site-index__feature {
  grid-column: 2;
  padding: 0px 24px;
}

@media (max-width:1px) {}

/* <=1150px: cats | main (rail drops below in body grid) */
@media (max-width:1150px) {
  .site-index-wrapper {
    grid-template-columns: var(--si-col-cats) minmax(0, 1fr);
  }

  .site-index__header,
  .site-index__feature {
    grid-column: 2;
  }
}

/* <=900px: single column (header + feature full width) */
@media (max-width:900px) {
  .site-index-wrapper {
    grid-template-columns: 1fr;
    gap: var(--si-gap);
  }

  .site-index__header,
  .site-index__feature {
    grid-column: 1;
  }
}

.site-index-wrapper .moreof-hf {
  margin-bottom: 0;
}


/* ───────── Body grid (cats | main | rail) ───────── */

/* FILE: public/css/site_index.css — REPLACE THIS WHOLE “Body grid (cats | main | rail)” BLOCK */

/* ───────── Body grid (cats | main | rail) ───────── */
.site-index__grid {
  display: grid;
  grid-template-columns: var(--si-col-cats) minmax(0, 1fr) var(--si-col-rail);
  grid-template-areas: "cats main rail";
  gap: var(--si-gap-lg);
  align-items: start;
  padding: 24px 24px 0px;
  margin-bottom: 24px;
}

.site-index__grid.-nocats {
  margin-bottom: 40px;
}

.site-index__cats {
  min-width: 0;
}

@media (max-width: 825px) {

  .site-index--games .site-index__cats,
  .site-index--brands .site-index__cats,
  .site-index--news .site-index__cats,
  .site-index--reviews .site-index__cats,
  .site-index--guides .site-index__cats {
    display: none !important;
  }
}

.site-index__main {
  grid-area: main;
  min-width: 0;
}

.site-index__rail {
  grid-area: rail;
  min-width: 0;
  height: 100%;
}

.snap-rail,
.sidebars {
  height: 100%;
}

/* ≤1400px: Put CATEGORIES ABOVE the Latest feed; rail spans both rows */
@media (max-width: 1400px) {
  .site-index__grid {
    grid-template-columns: minmax(0, 1fr) var(--si-col-rail);
    grid-template-areas:
      "cats  rail"
      "main  rail";
    gap: var(--si-gap-lg);
  }

  .site-index__rail {
    align-self: stretch;
  }

}

/* ≤1150px: Remove rails entirely; stack into two rows (CATS, then MAIN) */
@media (max-width: 1150px) {

  .site-index__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    grid-template-areas:
      "cats"
      "main";
  }


  /* Hide any right-rail containers/slots */
  .site-index__rail,
  .site-index__grid .site-index__rail,
  .snap-rail.-right {
    display: none !important;
  }
}



/* ───────── Ads ───────── */

.site-index__rail.first-type-rail {
  height: calc(100% - 250px - 50px);
}

/* Sticky rail hook (works with your JS sticky helper) */
.site-index__rail .sticky-stack[data-sticky="true"] {
  position: sticky;
  top: var(--rail-sticky-top, calc(var(--top-bar-H, 64px) + 32px));
  will-change: top;
  isolation: isolate;
  z-index: 1000;
}


.site-index .feed-vertical>.article-inline-ad.-anywhere,
.site-index .feed-vertical>.article-inline-ad.-anywhere .ad-slot {
  width: 100%;
  max-width: none;
}

.site-index .feed-vertical>.article-inline-ad.-anywhere {
  margin: 34px 0 10px 0;
}


.site-index .feed-vertical>.article-inline-ad.-anywhere ins.adsbygoogle {
  display: block;
  width: 100%;
}






/* ───────── Title ───────── */

.site-index__title {
  margin: 12px 0 12px;
  font-family: var(--identity-font, inherit);
  font-weight: 900;
  letter-spacing: 0px;
  font-size: var(--ft-40-31);
  line-height: 1.1;
  color: var(--white-color-1);
}

.site-index__dek {
  margin: 0px 0 3px;
  font-family: var(--body-font, inherit);
  font-family: var(--identity-font, inherit);
  font-weight: 400;
  font-size: var(--ft-18-15);
  line-height: 1.2;
  color: var(--grey-color-1);
  max-width: 90ch;
  opacity: .95;
}









/* FILE: public/css/site_index.css — REPLACE THIS WHOLE “Headings / category filter” SECTION WITH THIS BLOCK
   Behavior:
   • >1400px = original list styles are active; chip grid is hidden.
   • ≤1400px = list is hidden; chip grid is shown, 4→3→2→1 responsive layout.
*/

/* ───────── Headings / category filter (shared heading) ───────── */
.site-index .feed-divider-text,
.site-cat-filter__title {
  font-family: var(--identity-font, inherit);
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
  font-size: var(--ft-18-16);
  line-height: 2;
  color: var(--white-color-1);
  padding: 0 14px 8px;
  margin: 0 0 32px;
  border-bottom: 1px solid var(--section-medium-background-color);
}








/* Heading row so "All News" + Filter sit on one line */
.article-latest__header {
  margin-bottom: 32px;
}

.article-latest__header .feed-divider-text {
  margin-bottom: 0;
}

.article-latest__header+.feed-vertical,
.article-latest__header+.brand-grid,
.article-latest__header+.game-grid {
  margin-top: 0;
}

.site-index .feed-divider-text {
  --si-header-ctrl-h: 3rem;
}


@media (max-width: 825px) {
  .site-index:not(.site-index--hubs) .feed-divider-text {
    border: none;
    padding: .5rem 1rem;
    border-radius: 6px;
    font-weight: 700;
    line-height: 1;
    align-items: center;
    background: var(--section-dark-background-color);
  }



  .article-latest__header {
    margin-bottom: 16px;
  }
}


/* ---------- Variant toggles ---------- */
.site-cat-filter.-grid {
  width: 100%;
}

.site-cat-filter--grid {
  display: none;
}

.site-cat-filter--list {
  display: block;
}

@media (max-width: 1400px) {
  .site-cat-filter--list {
    display: none;
  }

  .site-cat-filter--grid {
    display: block;
  }
}

/* ───────── ORIGINAL LIST STYLES (desktop >1400px) ───────── */
.site-cat-filter__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-cat-filter__item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-left: 3px solid transparent;
}

.site-cat-filter__item.is-active {
  background: rgba(255, 255, 255, .035);
  border-left-color: var(--card-color, var(--site-start-color));
}

.site-cat-filter__link {
  font-family: var(--identity-font, inherit);
  font-size: var(--ft-16-15);
  color: var(--white-color-1);
  text-transform: capitalize;
}

.site-cat-filter__link:hover {
  text-decoration: underline;
}

.site-cat-filter__count {
  font-size: var(--ft-15-14);
  color: var(--grey-color-1);
  background: rgba(255, 255, 255, .06);
  border-radius: 999px;
  padding: 2px 8px;
  display: none;
}

/* ───────── CHIP GRID (tablet/mobile ≤1400px) ───────── */


@media (max-width: 1400px) {
  .site-cat-filter__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(160px, 1fr));
    gap: 10px 12px;
    margin-bottom: 24px;
  }

  @media (max-width: 1200px) {
    .site-cat-filter__grid {
      grid-template-columns: repeat(3, minmax(160px, 1fr));
    }
  }

  @media (max-width: 900px) {
    .site-cat-filter__grid {
      grid-template-columns: repeat(2, minmax(160px, 1fr));
    }
  }

  @media (max-width: 400px) {
    .site-cat-filter__grid {
      grid-template-columns: 1fr;
    }
  }



  .site-cat-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .03);
    color: var(--white-color-1);
    font-family: var(--identity-font, inherit);
    font-weight: 500;
    font-size: var(--ft-16-14);
    text-decoration: none;
    letter-spacing: .02em;
    text-transform: capitalize;
    transition: background-color .18s ease, border-color .18s ease, transform .12s ease;
    will-change: background-color, transform;
  }

  .site-cat-chip:hover {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .18);
    transform: translateY(-1px);
  }

  .site-cat-chip.is-active,
  .site-cat-chip[aria-current="page"] {
    background: var(--card-color, var(--site-start-color));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 8px 22px rgba(90, 110, 248, .28);
  }
}

/* ───────── Latest list / cards (unchanged) ───────── */
.site-index .feed-vertical .feed-item {
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, .02);
}

.site-index .feed-vertical .feed-item+.feed-item {
  margin-top: 14px;
}

/* Rail ad width */
.site-index__rail .ad-slot {
  width: var(--si-col-rail);
  max-width: 100%;
}

/* Featured (“More Of”) spacing */
.site-index .moreof-hf .feed-divider-text {
  margin-top: 6px;
}













/* ─────────────────────  SCOREs ───────────────────── */


/* Score overlay on site index vertical cards (reviews only) */
.site-index .feed-vertical .feed-item {
  position: relative;
}

.site-index .feed-item-score {
  position: absolute;
  left: 8px;
  bottom: 10px;
  font-size: var(--ft-19-15);
  ;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  /* purely decorative; remove if you want it clickable */
}

@media (max-width: 600px) {
  .site-index .feed-item-score {
    font-size: var(--fm-15-12);
    left: 6px;
    bottom: 8px;
  }
}






.site-index__feature .moreof-hero__card,
.site-index__feature .moreof-hf__sideCard {
  container-type: size;
  /* was inline-size */
}

/* FILE: public/css/view_site_index_layout.css — REPLACE THIS BLOCK (.moreof-hero-item-score) */
/* Size the score by the card’s container height; keep top-left placement */
.moreof-hero-item-score {
  position: absolute;
  top: 12px;
  left: 10px;
  right: auto;
  bottom: auto;
  font-size: clamp(16px, 9.9cqh, 29px);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

@media (max-width: 700px) {
  .moreof-hero-item-score {
    font-size: clamp(19px, 5.6667px + 3.3333vw, 29px)
  }
}











/* ───────────────────── Latest list tweaks ───────────────────── */

.site-index .feed-vertical .feed-item {
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, .02);
}

.site-index .feed-vertical .feed-item+.feed-item {
  margin-top: 14px;
}

/* Ad rail */
.site-index__rail .ad-slot {
  width: var(--si-col-rail);
  max-width: 100%;
}

/* Ensure feature (hero block) breathes a bit */
.site-index .moreof-hf .feed-divider-text {
  margin-top: 6px;
}


.site-index .editors-choice-badge {
  display: flex;
  position: absolute;
  top: 0.75rem;
  right: calc(60% + 0.75rem);
  font-size: var(--ft-16-13);
  z-index: 10;
}



@media (max-width: 600px) {
  .site-index .editors-choice-badge {
    font-size: var(--fm-13-11);
    top: 0.55rem;
    right: calc(60% + 0.55rem);
  }
}




.site-index__headerControls {
  display: inline-flex;
  align-items: stretch;
  gap: 0.5rem;
  height: var(--si-header-ctrl-h);
}

/* ==========================================================================
   SITE INDEX — Category Filter dropdown
   ========================================================================== */
.site-index .feed-divider-text {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.site-index__filterBar {
  position: relative;
  display: none;
  align-items: stretch;
  height: var(--si-header-ctrl-h);
  box-sizing: border-box;
}

@media (max-width: 825px) {
  .site-index__filterBar {
    display: inline-flex;
  }
}

.site-index__filterButton {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0 1rem;
  /* horizontal only so height is fixed */
  height: 100%;
  border-radius: 2px;
  border: 1px solid var(--section-medium-background-color);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white-color-2);
  font-family: var(--identity-font);
  font-size: var(--font-size-14px);
  font-weight: 700;
  text-transform: capitalize;
  letter-spacing: 0.06em;
  cursor: pointer;
  white-space: nowrap;
}

.site-index__filterButton:hover {
  background: rgba(255, 255, 255, 0.08);
}

.site-index__filterButton-icon {
  display: inline-flex;
  width: 1.25rem;
  height: 1.25rem;
}

.site-index__filterButton-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.site-index__filterButton-label {
  line-height: 1;
}


@media (max-width: 600px) {
  .site-index__filterButton-label {
    display: none;
  }
}


.site-index__filterMenu {
  position: absolute;
  top: calc(100% + 1rem);
  right: -1rem;
  min-width: 190px;
  padding: 16px 10px;
  border-radius: 6px;
  border: 1px solid var(--section-medium-background-color);
  background: var(--section-dark-background-color);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.55);
  z-index: 40;
}

.site-index__filterMenu[hidden] {
  display: none;
}

.site-index__filterMenu.is-open {
  display: block;
}

.site-index__filterOption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  border-radius: 2px;
  text-decoration: none;
  font-family: var(--identity-font);
  font-size: var(--font-size-14px);
  color: var(--white-color-2);
}

.site-index__filterOption+.site-index__filterOption {
  margin-top: 4px;
}

.site-index__filterOption:hover {
  background: rgba(255, 255, 255, 0.08);
}

.site-index__filterOption.is-active {
  background: var(--card-color, var(--site-start-color));
  color: #fff;
}

.site-index__filterOption-label {
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 10px;
}

.site-index__filterOption-count {
  font-size: var(--font-size-13px);
  color: var(--grey-color-1);
  padding: 2px 10px;
}

@media (max-width: 600px) {
  .site-index__filterMenu {
    width: min(240px, 100vw - 32px);
  }
}

/* ==========================================================================
   SITE INDEX — Header pager arrows (next/prev beside Filter)
   ========================================================================== */

.site-index__headerPager {
  display: inline-flex;
  align-items: stretch;
  gap: 0.35rem;
  height: 100%;
  box-sizing: border-box;
}

.site-index__headerArrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--si-header-ctrl-h);
  height: 100%;
  border-radius: 2px;
  border: 1px solid var(--section-medium-background-color);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white-color-2);
  text-decoration: none;
  cursor: pointer;
}

.site-index__headerArrow svg {
  width: 50%;
  height: 50%;
}

.site-index__headerArrow:hover {
  background: rgba(255, 255, 255, 0.12);
}

.site-index__headerArrow.is-disabled {
  opacity: 0.45;
  cursor: default;
  pointer-events: none;
}


/* ───────────────────────── Pagination buttons (drop-in) ─────────────────────────
   Targets: .site-pager, .site-pager__list, .site-pager__item,
            .site-pager__link, .site-pager__arrow, .site-pager__ellipsis
   Matches the desired look: centered row, rounded squares, blue active.
--------------------------------------------------------------------------- */
.site-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 22px 0 6px;
  user-select: none;
}

.site-pager__list {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-pager__item {
  list-style: none;
}

.site-pager__link,
.site-pager__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  min-width: 44px;
  padding: 0 14px;
  border-radius: 10px;
  font-family: var(--identity-font, inherit);
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
  letter-spacing: .01em;
  border: 1px solid transparent;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .12s ease;
}

/* page numbers */
.site-pager__link {
  color: var(--white-color-1);
  background: transparent;
}

.site-pager__item .site-pager__link:hover {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .08);
}

.site-pager__item.is-active .site-pager__link {
  color: #fff;
  background: var(--card-color, var(--site-start-color));
  border-color: transparent;
  box-shadow: 0 8px 22px rgba(90, 110, 248, .32);
}

/* prev/next arrows */
.site-pager__arrow {
  color: var(--white-color-1);
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .12);
}

.site-pager__arrow:hover {
  background: rgba(255, 255, 255, .12);
  transform: translateY(-1px);
}

.site-pager__arrow.is-disabled {
  opacity: .45;
  pointer-events: none
}

/* ellipsis */
.site-pager__ellipsis {
  color: var(--text-3, #8e97aa);
  width: 16px;
  text-align: center;
  font-weight: 700
}

/* focus ring */
.site-pager__link:focus-visible,
.site-pager__arrow:focus-visible {
  outline: 2px solid var(--site-color, #5a6ef8);
  outline-offset: 2px
}

/* compact on mobile */
@media (max-width:480px) {

  .site-pager__link,
  .site-pager__arrow {
    height: 38px;
    min-width: 38px;
    padding: 0 10px;
    border-radius: 8px;
    font-size: 15px
  }

  .site-pager__list {
    gap: 16px
  }
}


















/* ==========================================================================
   BRANDS DIRECTORY — Grid styles (4x → 3x → 2x → 1x)
   --------------------------------------------------------------------------
   Uses CSS Grid auto-placement. Cards are intentionally simple/lightweight.
   ========================================================================== */

.site-index--brands .site-index__grid.-brands {
  display: grid;
  grid-template-columns: 1fr 300px;
  grid-column-gap: 24px;
  align-items: start;
}

@media (max-width: 1150px) {
  .site-index--brands .site-index__grid.-brands {
    grid-template-columns: 1fr;
  }

  .site-index--brands .site-index__rail {
    order: 3;
    margin-top: 24px;
  }
}


/* ==========================================================================
   BRANDS DIRECTORY — Grid & Tile (add-only)
   -------------------------------------------------------------------------- */
.site-index-hubs,
.site-index-brands {
  background-color: var(--section-darkestdarker-background-color);
}

.site-index .brand-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

@media (max-width: 1250px) {
  .site-index .brand-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1150px) {
  .site-index .brand-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .site-index .brand-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 400px) {
  .site-index .brand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


.brand-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  border-radius: 7px;
  background-color: var(--section-dark-background-color);
  text-decoration: none;
  padding: 16px 12px;

  transition: transform .12s ease, box-shadow .18s ease, border-color .18s ease, background-color .18s ease;
  -webkit-tap-highlight-color: transparent;
}

.brand-card:hover {
  transform: translateY(-2px);
  background: var(--section-medium-background-color);
  box-shadow: 0 10px 22px rgba(0, 0, 0, .22);
}

.brand-card__logoWrap {
  width: 90%;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  border-radius: 999px;


  overflow: hidden;
}

.brand-card__logo {
  max-width: 74%;
  max-height: 74%;
  width: auto;
  height: auto;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: optimizeQuality;
}

/* FILE: public/css/site_index.css — DROP-IN REPLACEMENT
   BRAND CARD NAME — allow wrapping (incl. single long words), cap at 2 lines
*/
.brand-card__name {
  font-family: var(--identity-font, inherit);
  font-weight: 700;
  text-transform: uppercase;
  font-size: var(--font-size-22px);
  color: var(--white-color-1, #fff);
  text-align: center;

  /* 👇 wrapping behavior */
  white-space: normal;
  /* permit wrapping */
  overflow-wrap: anywhere;
  /* break long single words if needed */
  word-break: break-word;
  /* Safari fallback */
  hyphens: auto;
  /* nicer splits where possible */
  text-wrap: balance;
  /* prettier 2-line titles where supported */

  /* 👇 keep tiles uniform height */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  /* clamp to two lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.15;
  max-width: 100%;
}


@media (max-width: 900px) {
  .brand-card__name {
    font-size: var(--ft-22-18)
  }
}


@media (max-width: 600px) {
  .brand-card__name {
    font-size: var(--fm-18-16)
  }
}


/* FILE: public/css/site_index.css — APPEND (NEW CLASSES ONLY) */
/* ───────── BRANDS Top Dashboard: 3×2 grid in the stage ───────── */
.brands-dash__stageGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: 2fr;
  gap: 12px;
  align-items: stretch;

}

@media (max-width:900px) {
  .brands-dash__stageGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width:400px) {
  .brands-dash__stageGrid {
    grid-template-columns: 1fr;
  }
}


/* FILE: public/css/site_index.css — DROP-IN REPLACEMENT BLOCKS */
.grid-dash__tile {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 14px;
  height: 100%;
  border-radius: 4px;
  text-decoration: none;
  background-color: var(--section-dark-background-color);
  position: relative;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  transition: transform .12s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  -webkit-tap-highlight-color: transparent;
  aspect-ratio: 1;
}

.grid-dash__tile:hover {
  transform: translateY(-2px);
  background: var(--section-medium-background-color);
  box-shadow: 0 10px 22px rgba(0, 0, 0, .22);
}

.grid-dash__tile img {
  max-width: 65%;
  max-height: 65%;
  width: auto;
  height: auto;
  display: block;
  image-rendering: -webkit-optimize-contrast;
}


.u-gridRowsEven {
  grid-template-rows: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(0, 1fr);
  align-content: stretch;
}


.u-minSizeZero {
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

@media (max-width:400px) {
  .u-show3At1Col>*:nth-child(n+4) {
    display: none;
  }

  .grid-dash__tile {}
}










/* ==========================================================================
   GAMES DIRECTORY — Grid styles (4x → 3x → 2x → 1x)
   --------------------------------------------------------------------------
   Uses CSS Grid auto-placement. Cards are intentionally simple/lightweight.
   ========================================================================== */

/* ---- main grid ---- */
.game-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}


@media (max-width: 600px) {
  .game-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 400px) {
  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.game-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.game-card__artWrap {
  position: relative;
  width: 100%;
  aspect-ratio: 7 / 10;
  /* enforce 7:10 */
  border-radius: 10px;
  overflow: hidden;
  background: var(--tile-bg, #0e0f11);
}

.game-card__art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.game-card__name {
  font-family: var(--identity-font, inherit);
  font-weight: 600;
  text-transform: capitalize;
  font-size: var(--ft-17-15);
  color: var(--white-color-1, #fff);
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
  text-wrap: balance;
  display: -webkit-box;
  margin-top: 4px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
  max-width: 100%;
}

.game-card:hover .game-card__name,
.game-card:focus-visible .game-card__name {
  background: linear-gradient(to right, var(--site-start-color), var(--site-end-color));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}




@media (max-width: 600px) {
  .game-card__name {
    font-size: var(--fm-16-14)
  }
}



.games-dash__stageGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: clamp(380px, 271.1111px + 15.5556vw, 450px);
  gap: 16px;
}

@media (max-width: 900px) {
  .games-dash__stageGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


.site-index--games .grid-dash__tile {
  padding: 0;
  gap: 0;
  overflow: hidden;
}

.site-index--games .grid-dash__tile img,
.site-index--games .brands-dash__logo {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  display: block;
  object-fit: cover;
  /* fill the entire tile area */
}


.game-card__artWrap[data-tilt] {
  will-change: transform;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transition: transform .2s cubic-bezier(.03, .98, .52, .99), box-shadow .2s ease;
  border-radius: 10px;
  /* reinforce radius for glare wrapper inheritance */
}

.game-card:hover .game-card__artWrap {
  box-shadow: 0 10px 22px rgba(0, 0, 0, .28);
}

@media (prefers-reduced-motion: reduce) {
  .game-card__artWrap[data-tilt] {
    transition: none;
  }
}






/* ==========================================================================
   HUBS DIRECTORY — Grid styles (4x → 3x → 2x → 1x)
   --------------------------------------------------------------------------
   Uses CSS Grid auto-placement. Cards are intentionally simple/lightweight.
   ========================================================================== */

/* ---- shared sizing (ALL matrix + filtered grids) ---- */

/* ---- shared sizing (ALL matrix + filtered grids) ---- */

.site-index--hubs {
  --hub-tool-card-w: clamp(170px, 143.3333px + 6.6667vw, 220px);
}



/* ---- dashboard tiles (top hubs directory tiles) ---- */

.site-index--hubs .grid-dash__tile img,
.site-index--hubs .brands-dash__logo {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  display: block;
  object-fit: cover;
}

/* ---- tool cards (shared card internals) ---- */

.site-index--hubs .brand-card__logoWrap--svg {
  position: relative;
  width: 65%;
  aspect-ratio: 16 / 11;
  padding: 0;
  margin: 0;
  background: transparent;
  color: #fff;
  overflow: hidden;
}

.site-index--hubs .brand-card__logoWrap--svg svg {
  display: block;
  width: 100%;
  height: 100%;
}

.site-index--hubs .brand-card {
  gap: 0;
  box-sizing: border-box;
  padding: 1.65rem .9rem 1.35rem .9rem
}

.site-index--hubs .brand-card__name {
  margin-top: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
  font-size: var(--font-size-15px);
  color: var(--card-color, var(--site-start-color));
  line-height: 1.1;
  text-transform: capitalize;
}

.hub-card__name {
  font-family: var(--identity-font, inherit);
  font-weight: 600;
  text-transform: capitalize;
  font-size: var(--font-size-18px);
  color: var(--white-color-1, #fff);
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
  text-wrap: balance;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

@media (max-width: 900px) {
  .site-index--hubs .brand-card__name {
    font-size: var(--ft-15-13)
  }

  .hub-card__name {
    font-size: var(--ft-18-16)
  }
}

@media (max-width: 600px) {
  .site-index--hubs .brand-card__name {
    font-size: var(--fm-13-12)
  }

  .hub-card__name {
    font-size: var(--fm-16-14)
  }
}

/* ---- misc tile padding ---- */

.grid-dash__tile {
  padding: 0;
}

/* ---- ALL view: tools matrix (scrollable table) ---- */

.site-index--hubs .tools-matrix {
  width: 100%;
  overflow-x: auto;
  overflow-y: visible;
  height: auto;
  max-height: none;
  padding-bottom: 2px;

  /* smoother / more controlled horizontal scrolling */
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  overscroll-behavior-y: auto;
  scrollbar-gutter: stable;

  --tools-cols: var(--tools-cols, 4);
  --tools-col-w: var(--hub-tool-card-w);
}

@media (pointer: fine) {

  /* Default: keep "pointer" everywhere (so cards still feel clickable) */
  .site-index--hubs .tools-matrix.eg-grab-scroll {
    cursor: pointer;
  }

  .site-index--hubs .tools-matrix.eg-grab-scroll * {
    cursor: pointer;
  }

  /* While grabbing/dragging: force grabbing cursor even over <a> (anchors override otherwise) */
  .site-index--hubs .tools-matrix.eg-grab-scroll.is-grabbing,
  .site-index--hubs .tools-matrix.eg-grab-scroll.is-grabbing * {
    cursor: grabbing !important;
    user-select: none;
    -webkit-user-select: none;
  }
}


.site-index--hubs .tools-matrix__row {
  display: grid;
  grid-template-columns: repeat(var(--tools-cols), var(--tools-col-w));
  width: max-content;
  gap: 12px;
  align-items: stretch;
}

.site-index--hubs .tools-matrix__row+.tools-matrix__row {
  margin-bottom: 12px;
}

.site-index--hubs .tools-matrix__row--head {
  display: grid;
  grid-template-columns: repeat(var(--tools-cols), var(--tools-col-w));
  width: max-content;
  background: linear-gradient(var(--section-dark-background-color), var(--section-dark-background-color));
  padding: 9.5px 0 9.5px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  margin-bottom: 12px;
}

.site-index--hubs .tools-matrix__head {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: var(--tools-col-w);
  position: relative;
  font-family: var(--identity-font, inherit);
  font-weight: 600;
  gap: .5rem;
  text-transform: uppercase;
  font-size: var(--ft-17-15);
  letter-spacing: .02em;
  color: var(--white-color-1);
  border-radius: 10px;
}

@media (max-width: 600px) {
  .site-index--hubs .tools-matrix__head {
    font-size: var(--fm-15-14);
  }
}

.site-index--hubs .tools-matrix__cell {
  min-width: 0;
  box-sizing: border-box;
}

.site-index--hubs .tools-matrix__cell.-empty {
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, .02);
  border: 1px dashed rgba(255, 255, 255, .06);
}

.site-index--hubs .tools-matrix__dash {
  color: var(--grey-color-2);
  opacity: .7;
  font-size: 20px;
  line-height: 1;
}

/* ---- FILTERED views: brand-grid (non-scrollable, wraps, can grow to fill width) ---- */
.site-index--hubs .brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
  width: fit-content;
  max-width: 100%;
  justify-content: start;
  align-content: start;
  justify-items: start;
}

.site-index--hubs .brand-grid>a.brand-card,
.site-index--hubs .brand-grid>a.tool-card {
  width: 100%;
  max-width: clamp(200px, 189.3333px + 2.6667vw, 220px);
  box-sizing: border-box;
  justify-self: start;
}


@media (max-width: 400px) {
  .site-index--hubs .brand-grid {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    justify-content: center;
    justify-items: center;
  }

  .site-index--hubs .brand-grid>a.brand-card,
  .site-index--hubs .brand-grid>a.tool-card {
    justify-self: center;
  }
}

/* ---- dashboard overlay + label ---- */



.site-index--hubs .grid-dash__tile {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.15;
  --dashboard-hub-label: clamp(2rem, 0.606rem + 1.333vw, 2.545rem);
  --dashboard-hub-labelBlock: calc(var(--dashboard-hub-label) * 2.55);
}

@media (max-width: 1150px) {
  .site-index--hubs .grid-dash__tile {
    --dashboard-hub-label: clamp(2rem, 0.364rem + 2vw, 2.455rem);
  }
}

@media (max-width: 900px) {
  .site-index--hubs .grid-dash__tile {
    --dashboard-hub-label: clamp(1.545rem, 0.818rem + 2vw, 2.455rem);
  }
}

@media (max-width: 400px) {
  .site-index--hubs .grid-dash__tile {
    --dashboard-hub-label: clamp(1.545rem, -0.091rem + 6vw, 2.091rem);
  }
}

.site-index--hubs .grid-dash__overlay {
  top: 0;
  height: calc(100% - var(--dashboard-hub-labelBlock));
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: black;
  opacity: .0;
  transition: opacity .18s ease;
}

.site-index--hubs .grid-dash__label_overlay {
  position: absolute;
  bottom: 0%;
  width: 100%;
  z-index: 2;
  line-height: 1.0;
  height: var(--dashboard-hub-labelBlock);
  background-color: var(--card-color);
  opacity: 0.85;
}

.site-index--hubs .grid-dash__label {
  position: absolute;
  bottom: 0%;
  width: 100%;
  z-index: 3;
  margin: 0;
  height: var(--dashboard-hub-labelBlock);
  padding: 0 calc(var(--dashboard-hub-label) / 2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: calc(var(--dashboard-hub-label) * 0.08);
  font-family: var(--identity-font, inherit);
  font-weight: 900;
  letter-spacing: -.5px;
  text-transform: capitalize;
  text-align: center;
  line-height: 1.0;
  color: #fff;
  pointer-events: none;
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-index--hubs .grid-dash__labelText {
  display: block;
  max-width: 100%;
  font-size: var(--dashboard-hub-label);
  line-height: 1.0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-index--hubs .grid-dash__labelCount {
  display: inline-flex;
  align-items: baseline;
  gap: .35rem;
  font-size: var(--ft-12-10);
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: .92;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.site-index--hubs .grid-dash__labelCountNumber {
  display: inline-block;
  min-width: 2ch;
}

.site-index--hubs .grid-dash__labelCountSuffix {
  display: inline-block;
  opacity: .88;
}

/* intro + end animation (runs once on load) */
.site-index--hubs .brands-dash__stageGrid>.grid-dash__tile:nth-child(1) {
  --dash-delay: 0ms;
}

.site-index--hubs .brands-dash__stageGrid>.grid-dash__tile:nth-child(2) {
  --dash-delay: 108ms;
}

.site-index--hubs .brands-dash__stageGrid>.grid-dash__tile:nth-child(3) {
  --dash-delay: 216ms;
}

.site-index--hubs .brands-dash__stageGrid>.grid-dash__tile:nth-child(4) {
  --dash-delay: 324ms;
}

.site-index--hubs .brands-dash__stageGrid>.grid-dash__tile:nth-child(5) {
  --dash-delay: 432ms;
}

.site-index--hubs .brands-dash__stageGrid>.grid-dash__tile:nth-child(6) {
  --dash-delay: 540ms;
}

.site-index--hubs .brands-dash__stageGrid>.grid-dash__tile {
  will-change: transform, opacity;
  animation: dashTileIn 912ms cubic-bezier(.2, .95, .2, 1) both;
  /* 760 * 1.2 */
  animation-delay: var(--dash-delay, 0ms);
}

.site-index--hubs .brands-dash__stageGrid>.grid-dash__tile img {
  will-change: transform, filter;
  transform-origin: 50% 50%;
  animation: dashImgIn 1176ms cubic-bezier(.2, .95, .2, 1) both;
  /* 980 * 1.2 */
  animation-delay: calc(var(--dash-delay, 0ms) + 48ms);
  /* 40 * 1.2 */
}

.site-index--hubs .brands-dash__stageGrid>.grid-dash__tile .grid-dash__label_overlay {
  will-change: transform;
  animation: dashLabelBgIn 1032ms cubic-bezier(.2, .95, .2, 1) both;
  /* 860 * 1.2 */
  animation-delay: calc(var(--dash-delay, 0ms) + 144ms);
  /* 120 * 1.2 */
}

.site-index--hubs .brands-dash__stageGrid>.grid-dash__tile .grid-dash__label {
  will-change: transform, opacity;
  animation: dashLabelTextIn 1080ms cubic-bezier(.18, .9, .22, 1) both;
  /* 900 * 1.2 */
  animation-delay: calc(var(--dash-delay, 0ms) + 228ms);
  /* 190 * 1.2 */
}

.site-index--hubs .brands-dash__stageGrid>.grid-dash__tile .grid-dash__labelCount {
  will-change: transform, opacity;
  animation: dashCountIn 1176ms cubic-bezier(.18, .9, .22, 1) both;
  /* 980 * 1.2 */
  animation-delay: calc(var(--dash-delay, 0ms) + 288ms);
  /* 240 * 1.2 */
}

.site-index--hubs .brands-dash__stageGrid>.grid-dash__tile::after {
  content: "";
  position: absolute;
  inset: -35% -60%;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(115deg,
      transparent 0%,
      rgba(255, 255, 255, 0) 38%,
      rgba(255, 255, 255, .16) 50%,
      rgba(255, 255, 255, 0) 62%,
      transparent 100%);
  transform: translateX(-140%) rotate(12deg);
  opacity: 0;
  animation: dashShine 1176ms cubic-bezier(.2, .85, .2, 1) both;
  /* 980 * 1.2 */
  animation-delay: calc(var(--dash-delay, 0ms) + 1176ms);
  /* 980 * 1.2 */
}

@keyframes dashTileIn {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(.985);
  }

  70% {
    opacity: 1;
    transform: translateY(0) scale(1.01);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes dashImgIn {
  0% {
    transform: scale(1.10);
    filter: blur(14px) brightness(.86);
  }

  65% {
    transform: scale(1.01);
    filter: blur(0px) brightness(1);
  }

  100% {
    transform: scale(1);
    filter: none;
  }
}

@keyframes dashLabelBgIn {
  0% {
    transform: translateY(102%);
  }

  75% {
    transform: translateY(-3%);
  }

  100% {
    transform: translateY(0%);
  }
}

@keyframes dashLabelTextIn {
  0% {
    opacity: 0;
    transform: translateY(14px);
  }

  70% {
    opacity: 1;
    transform: translateY(-2px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes dashCountIn {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }

  72% {
    opacity: .92;
    transform: translateY(-1px);
  }

  100% {
    opacity: .92;
    transform: translateY(0);
  }
}

@keyframes dashShine {
  0% {
    opacity: 0;
    transform: translateX(-140%) rotate(12deg);
  }

  18% {
    opacity: .85;
  }

  65% {
    opacity: .18;
  }

  100% {
    opacity: 0;
    transform: translateX(140%) rotate(12deg);
  }
}

@media (prefers-reduced-motion: reduce) {

  .site-index--hubs .brands-dash__stageGrid>.grid-dash__tile,
  .site-index--hubs .brands-dash__stageGrid>.grid-dash__tile img,
  .site-index--hubs .brands-dash__stageGrid>.grid-dash__tile .grid-dash__label_overlay,
  .site-index--hubs .brands-dash__stageGrid>.grid-dash__tile .grid-dash__label,
  .site-index--hubs .brands-dash__stageGrid>.grid-dash__tile .grid-dash__labelCount,
  .site-index--hubs .brands-dash__stageGrid>.grid-dash__tile::after {
    animation: none !important;
    transform: none !important;
    filter: none !important;
  }
}


/* ---- tools matrix heading + arrows ---------------------------------------------------------------------------------------------- */

.site-index--hubs .tools-matrix__headingRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-index--hubs .tools-matrix__headingRow .hubs-index-arrows {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-index--hubs .hubs-index-arrow {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-color-1);
  background-color: var(--section-dark-background-color);
  border: 1px solid var(--section-light-background-color);
  cursor: pointer;
  transition: color .3s ease, transform .3s ease, background-color .3s ease;
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
}

.site-index--hubs .hubs-index-arrow svg {
  width: 50%;
  height: 50%;
}

.site-index--hubs .hubs-index-arrow.active {
  background: var(--card-color, var(--site-background-gradient));
}

@media (hover:hover) and (pointer:fine) {
  .site-index--hubs .hubs-index-arrow:hover {
    background: var(--card-color, var(--site-background-gradient));
  }

  .site-index--hubs .hubs-index-arrow.active {
    background: var(--section-dark-background-color);
  }
}

.site-index--hubs .hubs-index-arrow.inactive {
  opacity: .5;
  cursor: not-allowed;
}

/* ---- tools header tooltip styles ---- */

.site-index--hubs .tools-tip-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .28);
  color: #fff;
  cursor: pointer;
  line-height: 1;
}

.site-index--hubs .tools-tip-btn__icon {
  font-size: 12px;
  font-weight: 700
}

.tools-tt-floating {
  position: fixed;
  top: -9999px;
  left: -9999px;
  max-width: min(380px, 92vw);
  background: var(--section-dark-background-color, #16181a);
  border: 1px solid var(--section-medium-background-color);
  border-radius: 0;
  color: var(--white-color-1, #fff);
  font-family: var(--identity-font, inherit);
  font-size: var(--font-size-13px);
  line-height: 1.35;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .45);
  padding: 10px 12px;
  z-index: 10050;
  opacity: 0;
  pointer-events: auto;
  transition: opacity .08s linear;
}

.tools-tt-floating.is-visible {
  opacity: 1
}

.tools-tt-floating__arrow {
  position: fixed;
  z-index: 10051;
  width: 0;
  height: 0;
  pointer-events: none;
}

.tools-tt-floating__arrow::before,
.tools-tt-floating__arrow::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
}

.tools-tt-floating__arrow.is-below::before {
  border-width: 0 7px 7px 7px;
  border-color: transparent transparent rgba(255, 255, 255, .15) transparent;
  left: -7px;
  top: -7px;
}

.tools-tt-floating__arrow.is-below::after {
  border-width: 0 6px 6px 6px;
  border-color: transparent transparent var(--section-medium-background-color, #16181a) transparent;
  left: -6px;
  top: -6px;
}

.tools-tt-floating__arrow.is-above::before {
  border-width: 7px 7px 0 7px;
  border-color: rgba(255, 255, 255, .15) transparent transparent transparent;
  left: -7px;
  top: 0;
}

.tools-tt-floating__arrow.is-above::after {
  border-width: 6px 6px 0 6px;
  border-color: transparent transparent var(--section-medium-background-color, #16181a) transparent;
  left: -6px;
  top: 1px;
}

@media (hover: hover) {
  .site-index--hubs .tools-matrix__head .tools-tip-btn {
    opacity: .55;
    transition: opacity .15s ease;
  }

  .site-index--hubs .tools-matrix__head:hover .tools-tip-btn {
    opacity: 1;
  }
}