.msjack-games {
  color: var(--msjack-games-ink, #24191a);
}

.msjack-games__meta,
.msjack-games__empty,
.msjack-games__details {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--msjack-games-panel, rgba(255, 248, 240, 0.84));
  box-shadow: 0 22px 60px rgba(14, 16, 24, 0.22);
  backdrop-filter: blur(16px);
}

.msjack-games__meta {
  display: grid;
  gap: 18px;
  padding: 22px 24px;
  border-radius: 28px;
  color: var(--msjack-games-ink, #24191a);
}

.msjack-games__meta-top {
  display: grid;
  gap: 10px;
}

.msjack-games__meta p,
.msjack-games__section-head p {
  margin: 0;
}

.msjack-games__shelves {
  display: grid;
  gap: 34px;
}

.msjack-games__section {
  display: grid;
  gap: 0;
}

.msjack-games__section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.msjack-games__section-title {
  margin: 0;
  padding-left: 20px;
  color: var(--msjack-games-section-title, #fff8f1);
  text-shadow: var(--msjack-games-section-title-shadow, none);
}

.msjack-games__details-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: start;
  justify-self: start;
  flex: none;
  width: auto;
  max-width: fit-content;
  margin: 0;
  padding: 8px 12px;
  border: 0;
  background: var(--msjack-games-details-title-bg, rgba(176, 68, 38, 0.72));
  color: var(--msjack-games-details-title-text, rgba(255, 248, 241, 0.92));
  font: inherit;
  font-size: clamp(1.2rem, 2.2vw, 2rem);
  font-weight: 700;
  line-height: 1.1;
  text-align: left;
  cursor: pointer;
  text-shadow: var(--msjack-games-details-title-shadow, none);
  transition: transform 180ms ease, background-color 180ms ease, opacity 180ms ease;
}

.msjack-games__details-title-row {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  align-self: start;
  gap: 12px;
  max-width: 100%;
}

.msjack-games__details-copy-hint {
  display: inline-flex;
  align-items: center;
  min-height: 1em;
  color: rgba(255, 248, 241, 0.78);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateX(-4px);
  pointer-events: none;
  white-space: nowrap;
}

.msjack-games__details-copy-hint.is-visible {
  animation: msjack-games-copy-hint 2200ms ease 1;
}

.msjack-games__details-title:hover,
.msjack-games__details-title:focus-visible {
  transform: translateY(-1px);
}

.msjack-games__details-title:focus-visible {
  outline: 2px solid rgba(255, 248, 241, 0.9);
  outline-offset: 2px;
}

.msjack-games__details-title.is-copied {
  animation: msjack-games-copied-pulse 420ms ease;
}

@keyframes msjack-games-copied-pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  35% {
    transform: scale(1.04);
    opacity: 0.92;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}


.msjack-games__section-head p {
  color: rgba(255, 250, 245, 0.72);
  font-weight: 700;
}

.msjack-games__section-count {
  padding-right: 20px;
}

.msjack-games__section-copy {
  margin-top: 6px;
  padding-left: 20px;
  color: rgba(255, 250, 245, 0.72);
  font-weight: 500;
}

.msjack-games__carousel {
  position: relative;
  overflow: hidden;
  padding-inline: 0;
}

.msjack-games__rail-wrap {
  overflow: hidden;
}

.msjack-games__grid {
  display: grid;
  gap: var(--msjack-games-card-gap, 18px);
}

.msjack-games--shelves .msjack-games__grid {
  grid-auto-flow: column;
  grid-auto-columns: var(--msjack-games-card-min, 210px);
  grid-template-columns: none;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0;
  scroll-behavior: smooth;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  touch-action: pan-x;
  cursor: grab;
  user-select: none;
}



.msjack-games--shelves .msjack-games__grid.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.msjack-games__card {
  --msjack-card-scale: 0.98;
  position: relative;
  transform: scale(var(--msjack-card-scale));
  transform-origin: center bottom;
  transition: transform 220ms ease, opacity 220ms ease;
  opacity: 0.96;
}

.msjack-games__card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  opacity: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.82);
  transition: opacity 180ms ease;
}

.msjack-games__card.is-active {
  opacity: 1;
}

.msjack-games__card.is-active::after {
  opacity: 1;
}

.msjack-games__card-trigger {
  position: relative;
  display: flex;
  width: 100%;
  min-height: var(--msjack-games-card-height, 285px);
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: var(--msjack-games-panel, rgba(255, 248, 240, 0.84));
  appearance: none;
  -webkit-appearance: none;
  color: var(--msjack-games-card-text, #fff8f1);
  isolation: isolate;
  cursor: pointer;
  outline: none;
  box-shadow: 0 18px 44px rgba(14, 16, 24, 0.24);
  text-align: left;
  transition: box-shadow 240ms ease, filter 240ms ease;
}

.msjack-games__card-trigger::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(166, 0, 255, 0) 0%, rgba(166, 0, 255, 0.82) 18%, rgba(255, 166, 0, 0.9) 52%, rgba(166, 0, 255, 0.82) 82%, rgba(166, 0, 255, 0) 100%);
  box-shadow: 0 -2px 18px rgba(166, 0, 255, 0.24);
  transition: height 220ms ease, opacity 220ms ease;
  opacity: 0;
}

.msjack-games__card-trigger:focus,
.msjack-games__card-trigger:focus-visible,
.msjack-games__card-trigger:active {
  border: 0;
  outline: none;
}

.msjack-games__card-trigger::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.06) 18%, rgba(255, 255, 255, 0) 42%),
    linear-gradient(135deg, rgba(166, 0, 255, 0.28) 0%, rgba(255, 120, 0, 0.12) 46%, rgba(255, 255, 255, 0.03) 68%, rgba(255, 255, 255, 0) 100%);
  transition: opacity 240ms ease;
}

.msjack-games__card.is-active .msjack-games__card-trigger {
  box-shadow:
    0 24px 56px rgba(14, 16, 24, 0.34),
    0 0 34px rgba(166, 0, 255, 0.24);
  animation: msjack-games-card-pulse 560ms cubic-bezier(0.22, 1, 0.36, 1) 1;
}

.msjack-games__card.is-active .msjack-games__card-trigger::before {
  height: 6px;
  opacity: 1;
}

.msjack-games__card.is-active .msjack-games__card-trigger::after {
  opacity: 1;
}

@keyframes msjack-games-card-pulse {
  0% {
    box-shadow:
      0 18px 44px rgba(14, 16, 24, 0.24),
      0 0 0 rgba(166, 0, 255, 0);
  }
  45% {
    box-shadow:
      0 26px 62px rgba(14, 16, 24, 0.38),
      0 0 52px rgba(166, 0, 255, 0.34);
  }
  100% {
    box-shadow:
      0 24px 56px rgba(14, 16, 24, 0.34),
      0 0 34px rgba(166, 0, 255, 0.24);
  }
}

@keyframes msjack-games-copy-hint {
  0% {
    opacity: 0;
    transform: translateX(-4px);
  }

  10% {
    opacity: 1;
    transform: translateX(0);
  }

  18% {
    transform: translateX(-5px);
  }

  26% {
    transform: translateX(4px);
  }

  34% {
    transform: translateX(-3px);
  }

  42% {
    transform: translateX(2px);
  }

  72% {
    opacity: 1;
    transform: translateX(0);
  }

  100% {
    opacity: 0;
    transform: translateX(6px);
  }
}

.msjack-games__cover,
.msjack-games__finish-overlay {
  position: absolute;
  inset: 0;
}

.msjack-games__cover {
  background-color: rgba(20, 16, 18, 0.92);
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.msjack-games__finish-overlay {
  z-index: 1;
  background-image: url("https://192.168.1.237/wp-content/uploads/2026/04/Completed-PNG-File.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.8;
  filter: drop-shadow(5px 5px 5px #222);
  transition: opacity 320ms ease;
  pointer-events: none;
}

.msjack-games__card-trigger:hover .msjack-games__finish-overlay,
.msjack-games__card-trigger:focus-visible .msjack-games__finish-overlay {
  opacity: 0.1;
}

.msjack-games__card-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  padding: 18px;
}

.msjack-games__card-top {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.msjack-games__rank,
.msjack-games__state,
.msjack-games__appid {
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(16, 14, 16, 0.54);
}

.msjack-games__rank {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  background: rgba(214, 90, 49, 0.88);
}

.msjack-games__card-title {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.05;
  color: var(--msjack-games-card-text, #fff8f1);
}

.msjack-games__meta-line,
.msjack-games__notes {
  margin: 0;
  font-size: 0.82rem;
  color: var(--msjack-games-card-meta, rgba(255, 248, 241, 0.9));
}

.msjack-games__meta-line {
  color: var(--msjack-games-meta-line, rgba(255, 248, 241, 0.9));
  text-shadow: var(--msjack-games-meta-line-shadow, none);
}

.msjack-games__votes-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.msjack-games__vote-count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  background: rgba(0, 0, 0, 0.38);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.msjack-games__vote-actions {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  display: flex;
  gap: 8px;
}

.msjack-games__vote-button {
  width: calc(var(--msjack-games-vote-icon-size, 22px) + 16px);
  height: calc(var(--msjack-games-vote-icon-size, 22px) + 16px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.08) 100%);
  backdrop-filter: blur(14px) saturate(135%);
  -webkit-backdrop-filter: blur(14px) saturate(135%);
  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  color: #fff8f1;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.msjack-games__vote-button:hover,
.msjack-games__vote-button:focus-visible {
  transform: translateY(-1px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.1) 100%);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.msjack-games__vote-button.is-active {
  border-color: rgba(214, 90, 49, 0.92);
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 44%),
    linear-gradient(180deg, rgba(214, 90, 49, 0.82) 0%, rgba(166, 0, 255, 0.62) 100%);
  box-shadow:
    0 18px 38px rgba(166, 0, 255, 0.3),
    0 0 24px rgba(214, 90, 49, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  color: #fff;
}

.msjack-games__vote-button img {
  width: var(--msjack-games-vote-icon-size, 22px);
  height: var(--msjack-games-vote-icon-size, 22px);
  object-fit: contain;
  transition: filter 180ms ease, transform 180ms ease;
}

.msjack-games__vote-button span {
  font-size: var(--msjack-games-vote-icon-size, 22px);
  line-height: 1;
  transition: filter 180ms ease, transform 180ms ease, color 180ms ease;
}

.msjack-games__vote-button--up.is-active img,
.msjack-games__vote-button--up.is-active span {
  filter: brightness(0) saturate(100%) invert(57%) sepia(51%) saturate(655%) hue-rotate(92deg) brightness(91%) contrast(89%);
}

.msjack-games__vote-button--down.is-active img,
.msjack-games__vote-button--down.is-active span {
  filter: brightness(0) saturate(100%) invert(31%) sepia(90%) saturate(1584%) hue-rotate(337deg) brightness(96%) contrast(89%);
}

.msjack-games__top-voted-grid {
  --msjack-top-voted-width: clamp(140px, 34vw, 520px);
  --msjack-top-voted-offset-2: calc(var(--msjack-top-voted-width) * 0.4);
  --msjack-top-voted-offset-3: calc(var(--msjack-top-voted-width) * 0.72);
  --msjack-top-voted-shift: 0px;
  position: relative;
  display: block;
  width: calc(var(--msjack-top-voted-width) + var(--msjack-top-voted-offset-3));
  min-height: clamp(200px, calc(var(--msjack-top-voted-width) * 0.95), calc(var(--msjack-games-card-height, 285px) * 1.9));
  max-width: 100%;
  padding-block: 0;
  margin-inline: auto;
  transform-origin: center top;
  transform: translateX(var(--msjack-top-voted-shift));
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.msjack-games__top-voted-slot {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--msjack-top-voted-width);
  min-width: 0;
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1), filter 260ms ease, z-index 0s linear;
}

.msjack-games__section--top-voted .msjack-games__card,
.msjack-games__section--top-voted .msjack-games__card.is-active {
  --msjack-card-scale: 1;
  transform: none;
  opacity: 1;
}

.msjack-games__section--top-voted .msjack-games__top-voted-slot:not(.is-active-slot) {
  filter: saturate(0.92) brightness(0.96);
}

.msjack-games__top-voted-slot--1 {
  z-index: 3;
  transform: translateX(0);
}

.msjack-games__section--top-voted .msjack-games__card.is-active {
  position: relative;
  z-index: 5;
}

.msjack-games__top-voted-slot--1 .msjack-games__card-trigger,
.msjack-games__top-voted-slot--2 .msjack-games__card-trigger,
.msjack-games__top-voted-slot--3 .msjack-games__card-trigger {
  min-height: clamp(200px, calc(var(--msjack-top-voted-width) * 0.95), calc(var(--msjack-games-card-height, 285px) * 1.9));
}

.msjack-games__top-voted-slot--1 .msjack-games__card-title {
  font-size: 1.7rem;
}

.msjack-games__top-voted-slot--2 .msjack-games__card-trigger {
  min-height: clamp(200px, calc(var(--msjack-top-voted-width) * 0.95), calc(var(--msjack-games-card-height, 285px) * 1.9));
}

.msjack-games__top-voted-slot--2 {
  top: 0;
  left: var(--msjack-top-voted-offset-2);
  z-index: 2;
  transform: translateX(0);
}

.msjack-games__top-voted-slot--3 {
  top: 0;
  left: var(--msjack-top-voted-offset-3);
  z-index: 1;
  transform: translateX(0);
}

.msjack-games__top-voted-slot.is-active-slot {
  filter: none;
}

.msjack-games__top-voted-slot--1.is-active-slot {
  transform: translateX(0);
}

.msjack-games__top-voted-slot--2.is-active-slot {
  transform: translateX(calc(var(--msjack-top-voted-width) * 0.604));
}

.msjack-games__top-voted-slot--3.is-active-slot {
  transform: translateX(calc(var(--msjack-top-voted-width) * 0.685));
}

.msjack-games__top-voted-grid.is-active-2 {
  --msjack-top-voted-shift: calc(var(--msjack-top-voted-width) * -0.3);
}

.msjack-games__top-voted-grid.is-active-2 .msjack-games__top-voted-slot--3 {
  transform: translateX(calc(var(--msjack-top-voted-width) * 0.604));
}

.msjack-games__top-voted-grid.is-active-3 {
  --msjack-top-voted-shift: calc(var(--msjack-top-voted-width) * -0.34);
}

.msjack-games__top-voted-grid.is-active-3 .msjack-games__top-voted-slot--3 {
  transform: translateX(calc(var(--msjack-top-voted-width) * 0.685));
}

.msjack-games__notes {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.msjack-games__empty {
  padding: 24px;
  border-radius: 28px;
  color: var(--msjack-games-ink, #24191a);
}

.msjack-games__arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--msjack-games-arrow-size, 78px);
  height: var(--msjack-games-arrow-size, 78px);
  border: 0;
  border-radius: 999px;
  background: var(--msjack-games-arrow-bg, rgba(17, 14, 18, 0.86));
  color: var(--msjack-games-arrow-text, #fff8f1);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%);
  transition: opacity 180ms ease, transform 180ms ease;
}

.msjack-games__arrow span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  transform: translateX(0.08em);
}

.msjack-games__arrow--prev span {
  transform: translateX(-0.08em);
}

.msjack-games__arrow--prev {
  left: var(--msjack-games-arrow-inset, 20px);
}

.msjack-games__arrow--next {
  right: var(--msjack-games-arrow-inset, 20px);
}

.msjack-games__arrow.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.msjack-games__arrow:disabled {
  opacity: 0;
  pointer-events: none;
}

.msjack-games__details {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  height: 0;
  min-height: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  color: #fff8f1;
  transform-origin: top center;
  background: transparent;
  backdrop-filter: none;
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.18),
    0 26px 42px rgba(0, 0, 0, 0.26);
  opacity: 0;
  transition: height 650ms cubic-bezier(0.22, 1, 0.36, 1), opacity 240ms ease;
}

.msjack-games__details[hidden] {
  display: none;
}

.msjack-games__details.is-open {
  height: var(--msjack-games-details-height, 40vh);
  opacity: 1;
}

.msjack-games__details-base,
.msjack-games__details-backdrop,
.msjack-games__details-fade {
  position: absolute;
  inset: 0;
}

.msjack-games__details-base {
  background: #000;
  -webkit-mask-image:
    radial-gradient(140px 140px at 0% 0%, transparent 0, #000 68%),
    radial-gradient(90px 90px at 100% 0%, transparent 0, #000 54%),
    radial-gradient(160px 160px at 0% 100%, transparent 0, #000 76%),
    radial-gradient(90px 90px at 100% 100%, transparent 0, #000 52%),
    linear-gradient(#000 0 0);
  mask-image:
    radial-gradient(140px 140px at 0% 0%, transparent 0, #000 68%),
    radial-gradient(90px 90px at 100% 0%, transparent 0, #000 54%),
    radial-gradient(160px 160px at 0% 100%, transparent 0, #000 76%),
    radial-gradient(90px 90px at 100% 100%, transparent 0, #000 52%),
    linear-gradient(#000 0 0);
}

.msjack-games__details-backdrop {
  background-color: transparent;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1200ms ease;
  -webkit-mask-image:
    radial-gradient(140px 140px at 0% 0%, transparent 0, #000 68%),
    radial-gradient(90px 90px at 100% 0%, transparent 0, #000 54%),
    radial-gradient(160px 160px at 0% 100%, transparent 0, #000 76%),
    radial-gradient(90px 90px at 100% 100%, transparent 0, #000 52%),
    linear-gradient(#000 0 0);
  mask-image:
    radial-gradient(140px 140px at 0% 0%, transparent 0, #000 68%),
    radial-gradient(90px 90px at 100% 0%, transparent 0, #000 54%),
    radial-gradient(160px 160px at 0% 100%, transparent 0, #000 76%),
    radial-gradient(90px 90px at 100% 100%, transparent 0, #000 52%),
    linear-gradient(#000 0 0);
}

.msjack-games__details.has-image .msjack-games__details-backdrop {
  opacity: 1;
}

.msjack-games__details-fade {
  display: none;
}

.msjack-games__details-content {
  box-sizing: border-box;
  position: relative;
  z-index: 2;
  display: grid;
  align-content: start;
  height: 100%;
  min-height: 0;
  max-width: var(--msjack-games-details-width, 58ch);
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: 12px;
  overflow: hidden;
  padding: 28px;
}

.msjack-games__detail-pills-shell {
  position: relative;
  min-width: 0;
  overflow: hidden;
}

.msjack-games__detail-pills-shell::before,
.msjack-games__detail-pills-shell::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 4px;
  width: 26px;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 180ms ease;
}

.msjack-games__detail-pills-shell::before {
  left: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0) 100%);
}

.msjack-games__detail-pills-shell::after {
  right: 0;
  background: linear-gradient(270deg, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0) 100%);
}

.msjack-games__detail-pills-shell.has-left-fade::before,
.msjack-games__detail-pills-shell.has-right-fade::after {
  opacity: 1;
}

.msjack-games__detail-pills {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  align-items: center;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 4px;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
}

.msjack-games__detail-pills.is-dragging {
  cursor: grabbing;
}

.msjack-games__detail-pill {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.03em;
  color: #fff8f1;
}

.msjack-games__detail-pills::-webkit-scrollbar {
  display: none;
}

.msjack-games__detail-pill--genre {
  background: rgba(36, 110, 78, 0.84);
}

.msjack-games__detail-pill--year {
  background: rgba(44, 77, 144, 0.84);
}

.msjack-games__detail-pill--tag {
  background: rgba(132, 68, 144, 0.84);
}

.msjack-games__detail-pill--theme {
  background: rgba(214, 122, 34, 0.84);
}
.msjack-games__details-kicker {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--msjack-games-details-kicker, rgba(255, 248, 241, 0.78));
  background: rgba(0, 0, 0, 0.4);
}

.msjack-games__details-content p {
  margin: 0;
  line-height: 1.6;
  color: var(--msjack-games-details-title-text, rgba(255, 248, 241, 0.92));
}

.msjack-games__details-description {
  min-height: 0;
  height: 100%;
  max-height: 100%;
  overflow: hidden;
  padding-right: 10px;
}

.msjack-games__details.is-settled .msjack-games__details-description {
  overflow-y: auto;
  overflow-x: hidden;
}

.msjack-games__details-description-copy {
  padding: 12px 14px;
  background: var(--msjack-games-details-copy-bg, rgba(0, 0, 0, 0.4));
  color: var(--msjack-games-details-copy-text, rgba(255, 248, 241, 0.92));
  text-shadow: var(--msjack-games-details-copy-shadow, none);
}

.msjack-games__details-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--msjack-games-accent, #d65a31);
  color: #fff8f1;
  text-decoration: none;
  font-weight: 800;
}

@media (max-width: 640px) {
  .msjack-games__section-head {
    align-items: start;
    flex-direction: column;
  }

  .msjack-games__carousel {
    padding-inline: 0;
  }

  .msjack-games__arrow {
    display: none;
  }

  .msjack-games__details {
    height: 0;
  }

  .msjack-games__details.is-open {
    height: var(--msjack-games-details-height, 40vh);
  }

  .msjack-games__details-content {
    height: 100%;
    min-height: 0;
  }
}



















.msjack-games__toolbar {
  position: sticky;
  top: 12px;
  z-index: 20;
  margin-bottom: 16px;
}

.msjack-games__filters,
.msjack-games__random {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--msjack-games-panel, rgba(255, 248, 240, 0.84));
  box-shadow: 0 22px 60px rgba(14, 16, 24, 0.22);
  backdrop-filter: blur(16px);
}

.msjack-games__filters {
  display: inline-grid;
  gap: 10px;
  justify-items: start;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.msjack-games__filters-toggle,
.msjack-games__filter-group-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.1);
  color: #fff8f1;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.msjack-games__filters-body {
  display: grid;
  gap: 10px;
  min-width: min(100%, 980px);
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.1);
  box-shadow: 0 22px 60px rgba(14, 16, 24, 0.22);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.msjack-games__filters.is-collapsed .msjack-games__filters-body,
.msjack-games__filter-group.is-collapsed .msjack-games__filter-group-body {
  display: none;
}

.msjack-games__filters-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) minmax(140px, 180px) minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px 12px;
  align-items: start;
}

.msjack-games__filter-field,
.msjack-games__random-settings {
  display: grid;
  gap: 6px;
}

.msjack-games__filter-label {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 248, 241, 0.9);
}

.msjack-games__filter-input,
.msjack-games__filter-select {
  min-height: 38px;
  width: 100%;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.16);
  color: #fff8f1;
  font: inherit;
}

.msjack-games__filter-input::placeholder {
  color: rgba(255, 248, 241, 0.55);
}

.msjack-games__filter-select option {
  color: #24191a;
}

.msjack-games__filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.msjack-games__filter-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(132, 68, 144, 0.4);
  border-radius: 999px;
  background: rgba(132, 68, 144, 0.12);
  color: #7d3f8f;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.msjack-games__filter-chip:hover,
.msjack-games__filter-chip:focus-visible {
  transform: translateY(-1px);
}

.msjack-games__filter-chip.is-selected {
  border-color: rgba(132, 68, 144, 0.92);
  background: rgba(132, 68, 144, 0.9);
  color: #fff8f1;
}

.msjack-games__filters-row [data-filter-group-name="genres"] .msjack-games__filter-chip {
  border-color: rgba(56, 150, 92, 0.44);
  background: rgba(56, 150, 92, 0.18);
  color: #fff;
}

.msjack-games__filters-row [data-filter-group-name="genres"] .msjack-games__filter-chip.is-selected {
  border-color: rgba(56, 150, 92, 0.92);
  background: rgba(56, 150, 92, 0.92);
  color: #fff;
}

.msjack-games__filters-row [data-filter-group-name="themes"] .msjack-games__filter-chip {
  border-color: rgba(214, 132, 38, 0.44);
  background: rgba(214, 132, 38, 0.18);
  color: #fff;
}

.msjack-games__filters-row [data-filter-group-name="themes"] .msjack-games__filter-chip.is-selected {
  border-color: rgba(214, 132, 38, 0.92);
  background: rgba(214, 132, 38, 0.92);
  color: #fff;
}

.msjack-games__filters-row [data-filter-group-name="tags"] .msjack-games__filter-chip,
.msjack-games__filters-row [data-filter-group-name="exclude-tags"] .msjack-games__filter-chip {
  color: #fff;
}

.msjack-games__filters-row .msjack-games__filter-chips--states .msjack-games__filter-chip {
  color: #fff;
}

.msjack-games__random {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  background: transparent;
  min-height: 0;
}

.msjack-games__random::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #000;
  z-index: 0;
}

.msjack-games__random-compact,
.msjack-games__random-panel {
  position: relative;
  z-index: 1;
}

.msjack-games__random-compact {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 14px;
  padding: 20px;
}

.msjack-games__random-footer {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.msjack-games__vote-manager {
  display: grid;
  gap: 12px;
  justify-items: center;
  padding: 12px 20px 20px;
}

.msjack-games__vote-manager-panel {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 110;
  width: min(520px, calc(100vw - 40px));
  min-width: 0;
  max-width: calc(100vw - 40px);
  max-height: 90vh;
  padding: 18px;
  background: rgba(8, 10, 16, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  box-sizing: border-box;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
}

.msjack-games__vote-manager-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.msjack-games__vote-manager-heading {
  margin: 0;
  color: #fff8f1;
  font-size: 1.05rem;
}

.msjack-games__vote-manager-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff8f1;
  font: inherit;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.msjack-games__vote-manager-body {
  display: grid;
  gap: 14px;
  max-height: calc(90vh - 72px);
  overflow-y: auto;
}

.msjack-games__vote-manager-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.msjack-games__vote-manager-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.msjack-games__vote-manager-title,
.msjack-games__vote-manager-empty {
  color: #fff8f1;
}

.msjack-games__vote-manager-remove,
.msjack-games__vote-manager-clear,
.msjack-games__vote-manager-toggle {
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.08) 100%);
  color: #fff8f1;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.msjack-games__vote-manager-clear {
  justify-self: start;
}

@media (max-width: 720px) {
  .msjack-games__vote-manager-panel {
    top: 20px;
    left: 20px;
    right: 20px;
    width: auto;
    min-width: 0;
    max-width: none;
    max-height: calc(100vh - 40px);
  }

  .msjack-games__vote-manager-body {
    max-height: calc(90vh - 72px);
  }
}

.msjack-games__random-filters {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
}

.msjack-games__random-filters-shell {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
}

.msjack-games__random-filters-body {
  display: block;
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.msjack-games__random-filters-row {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  width: auto;
  max-width: 100%;
  min-width: 0;
}

.msjack-games__random-launchers {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 auto;
  min-width: 0;
  flex-wrap: wrap;
  row-gap: 10px;
}

.msjack-games__random-active {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 12px;
}

.msjack-games__random-active[hidden] {
  display: none;
}

.msjack-games__random-button {
  margin: 20px;
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--msjack-games-accent, #d65a31);
  color: #fff8f1;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.msjack-games__random-panel {
  min-height: 0;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 260ms ease, max-height 650ms cubic-bezier(0.22, 1, 0.36, 1);
}

.msjack-games__random-panel.is-open {
  opacity: 1;
  max-height: 60vh;
}

.msjack-games__random-panel .msjack-games__details-base,
.msjack-games__random-panel .msjack-games__details-backdrop {
  position: absolute;
  inset: 0;
}

.msjack-games__random-panel .msjack-games__details-backdrop {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transition: opacity 1200ms ease;
}

.msjack-games__random-panel.has-image .msjack-games__details-backdrop {
  opacity: 1;
}

.msjack-games__random-inner {
  position: relative;
  z-index: 2;
  min-height: 40vh;
  padding: 24px;
}

.msjack-games__random-inner--empty {
  min-height: auto;
}

.msjack-games__random-copy {
  display: grid;
  align-content: start;
  grid-template-rows: auto auto auto minmax(0, 1fr) auto;
  gap: 12px;
  min-height: calc(40vh - 48px);
  min-width: 0;
  padding-right: min(220px, 32vw);
}

.msjack-games__random-details-cover-wrap {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  display: flex;
  justify-content: end;
  align-items: start;
  pointer-events: none;
}

.msjack-games__random-details-cover {
  width: min(180px, 28vw);
  aspect-ratio: 264 / 374;
  background-color: rgba(20, 16, 18, 0.92);
  background-size: cover;
  background-position: center;
  box-shadow: 0 18px 44px rgba(14, 16, 24, 0.34);
  opacity: 0;
  transition: opacity 900ms ease;
}

.msjack-games__details--with-random-cover .msjack-games__random-details-cover {
  opacity: 1;
}

.msjack-games__section.is-filter-empty {
  display: none;
}

.msjack-games__card.is-filter-hidden {
  display: none;
}

@media (max-width: 900px) {
  .msjack-games__filters-grid {
    grid-template-columns: 1fr;
  }

  .msjack-games__random-compact {
    align-items: stretch;
    flex-direction: column;
  }

  .msjack-games__random-copy {
    padding-right: min(160px, 34vw);
  }
}

@media (max-width: 640px) {
  .msjack-games__toolbar {
    top: 0;
  }

  .msjack-games__filters {
    padding: 16px;
    border-radius: 18px;
  }
}









.msjack-games__filters-body {
  min-width: min(100%, 1180px);
}

.msjack-games__filters-grid {
  grid-template-columns: max-content max-content repeat(5, minmax(0, 1fr));
  align-items: start;
}

.msjack-games__filter-field--search {
  max-width: 260px;
  padding-right: 20px;
}

.msjack-games__filter-field--year {
  max-width: 150px;
}

.msjack-games__filter-group-head {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.msjack-games__filter-mode-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(132, 68, 144, 0.4);
  border-radius: 999px;
  background: rgba(132, 68, 144, 0.18);
  color: #fff8f1;
  font: inherit;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
}

.msjack-games__random-settings-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 14px;
}

.msjack-games__random-button {
  align-self: center;
  min-width: 190px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(135deg, rgba(214, 90, 49, 0.98), rgba(255, 140, 76, 0.98));
  color: #fff8f1;
  box-shadow: 0 14px 36px rgba(214, 90, 49, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.msjack-games__random-button:hover,
.msjack-games__random-button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(214, 90, 49, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

@media (max-width: 1200px) {
  .msjack-games__filters-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .msjack-games__random-settings-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .msjack-games__filters-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .msjack-games__filter-field--search,
  .msjack-games__filter-field--year {
    max-width: none;
    padding-right: 0;
  }
}

@media (max-width: 640px) {
  .msjack-games__filters-grid,
  .msjack-games__random-settings-grid {
    grid-template-columns: 1fr;
  }
}


.msjack-games__filters-grid,
.msjack-games__random-settings-grid {
  grid-template-columns: 1fr;
  align-items: start;
}

.msjack-games__filter-field--search {
  max-width: 50%;
  padding-right: 20px;
}

.msjack-games__filter-field--year {
  max-width: 220px;
}

.msjack-games__filter-field,
.msjack-games__random-settings {
  width: 100%;
}

.msjack-games__filter-group,
.msjack-games__random-filters .msjack-games__filter-group,
.msjack-games__random-settings .msjack-games__filter-group {
  width: 100%;
}

.msjack-games__filter-group-toggle,
.msjack-games__filters-toggle,
.msjack-games__filter-mode-toggle,
.msjack-games__random-button,
.msjack-games__clear-button {
  flex: 0 0 auto;
  transform: none !important;
}

.msjack-games__filter-group-head {
  justify-content: flex-start;
}

.msjack-games__filter-group-body {
  max-height: 200px;
  overflow: auto;
  padding-right: 4px;
}

.msjack-games__filter-chips {
  align-content: start;
}

.msjack-games__clear-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  width: fit-content;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff8f1;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}

.msjack-games__filters.is-collapsed .msjack-games__filters-body {
  width: 100%;
}

.msjack-games__random-compact {
  align-items: stretch;
  flex-direction: column;
}

.msjack-games__random-settings-grid {
  width: 100%;
}

.msjack-games__random-button {
  align-self: flex-start;
}

@media (max-width: 900px) {
  .msjack-games__filter-field--search,
  .msjack-games__filter-field--year {
    max-width: 100%;
    padding-right: 0;
  }
}
.msjack-games__details-suggested-by {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.4);
  color: var(--msjack-games-details-kicker, rgba(255, 248, 241, 0.78));
}

.msjack-games__arrow {
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
}
.msjack-games__details-content {
  align-content: start;
  grid-template-rows: auto auto auto minmax(0, 1fr) auto;
}

.msjack-games__details--with-random-cover .msjack-games__details-content {
  padding-right: min(220px, 32vw);
}

.msjack-games__details-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}

.msjack-games__details-suggested-by {
  margin-left: 0;
  flex: 0 1 auto;
  white-space: nowrap;
}

.msjack-games__details-link {
  flex: 0 0 auto;
}

.msjack-games__random-copy {
  align-content: start;
}

.msjack-games__filters {
  display: block;
  width: 100%;
  position: relative;
}

.msjack-games__filters-shell {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
}

.msjack-games__filters-toggle {
  flex: 0 0 auto;
}

.msjack-games__filters-body {
  display: block;
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.msjack-games__filters-row {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  width: auto;
  max-width: 100%;
  min-width: 0;
}

.msjack-games__filters-launchers {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 auto;
  min-width: 0;
  flex-wrap: wrap;
  row-gap: 10px;
  flex-shrink: 1;
}

.msjack-games__filters-launchers > .msjack-games__clear-button {
  margin-left: 0;
  white-space: nowrap;
  flex: 0 0 auto;
}

.msjack-games__filter-field--search {
  flex: 1 1 180px;
  max-width: 220px;
  padding-right: 20px;
}

.msjack-games__filter-field--year {
  flex: 0 1 140px;
  max-width: 140px;
}

.msjack-games__filter-inline-label {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 248, 241, 0.74);
}

.msjack-games__filter-field--states {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.msjack-games__filter-chips--states {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
}

.msjack-games__filters-active {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 12px;
}

.msjack-games__filters-active[hidden] {
  display: none;
}

.msjack-games__filter-chip--summary {
  border-color: rgba(132, 68, 144, 0.82);
  background: rgba(132, 68, 144, 0.88);
  color: #fff8f1;
}

.msjack-games__filters-row .msjack-games__filter-group {
  position: static;
  width: auto;
  flex: 0 0 auto;
}

.msjack-games__filters-row > .msjack-games__filter-field,
.msjack-games__filters-launchers > .msjack-games__filter-field {
  width: auto;
  flex: 0 0 auto;
}

.msjack-games__filters-row .msjack-games__filter-field--states {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.msjack-games__filters-row .msjack-games__filter-group-head {
  flex-wrap: nowrap;
}

.msjack-games__filters-row .msjack-games__filter-group-toggle,
.msjack-games__filters-row .msjack-games__filter-mode-toggle,
.msjack-games__filters-row .msjack-games__clear-button,
.msjack-games__filters-row .msjack-games__filter-chips--states .msjack-games__filter-chip {
  min-height: 36px;
  padding-inline: 14px;
}

.msjack-games__filters-row .msjack-games__filter-group.is-active-drawer .msjack-games__filter-group-toggle,
.msjack-games__filters-row .msjack-games__filter-group.is-active-drawer .msjack-games__filter-mode-toggle {
  background: rgba(132, 68, 144, 0.88);
  color: #fff8f1;
  border-color: rgba(132, 68, 144, 0.88);
}

.msjack-games__filters-row .msjack-games__filter-group-body {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  width: min(90vw, 100%);
  max-height: 200px;
  overflow: auto;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(12, 12, 18, 0.94);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.3);
  z-index: 30;
}

.msjack-games__filter-group-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff8f1;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.msjack-games__filter-group-close:hover,
.msjack-games__filter-group-close:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.28);
}

.msjack-games__filters-row .msjack-games__filter-group-body .msjack-games__filter-chips {
  align-content: flex-start;
}

.msjack-games__random-launchers > .msjack-games__filter-field,
.msjack-games__random-filters-row > .msjack-games__filter-field {
  width: auto;
  flex: 0 0 auto;
}

.msjack-games__random-filters-row .msjack-games__filter-group {
  position: static;
  width: auto;
  flex: 0 0 auto;
}

.msjack-games__random-filters-row .msjack-games__filter-group-head {
  flex-wrap: nowrap;
}

.msjack-games__random-filters-row .msjack-games__filter-group-toggle,
.msjack-games__random-filters-row .msjack-games__clear-button,
.msjack-games__random-filters-row .msjack-games__filter-chips--states .msjack-games__filter-chip {
  min-height: 36px;
  padding-inline: 14px;
}

.msjack-games__random-filters-row .msjack-games__filter-group.is-active-drawer .msjack-games__filter-group-toggle {
  background: rgba(132, 68, 144, 0.88);
  color: #fff8f1;
  border-color: rgba(132, 68, 144, 0.88);
}

.msjack-games__random-filters-row .msjack-games__filter-group-body {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  width: min(90vw, 100%);
  max-height: 200px;
  overflow: auto;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(12, 12, 18, 0.94);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.3);
  z-index: 30;
}

.msjack-games__random-filters-row .msjack-games__filter-group-body .msjack-games__filter-chips {
  align-content: flex-start;
}

.msjack-games__random-states {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

@media (max-width: 1100px) {
  .msjack-games__filters-shell,
  .msjack-games__filters-row {
    flex-wrap: wrap;
  }

  .msjack-games__random-filters-shell,
  .msjack-games__random-filters-row {
    flex-wrap: wrap;
  }

  .msjack-games__filters-launchers {
    flex-wrap: wrap;
  }

  .msjack-games__random-launchers {
    flex-wrap: wrap;
  }

  .msjack-games__filters-row .msjack-games__filter-group-body {
    width: 90vw;
  }
}


