/* TSM Gaming card consolidation, 2026-11-14.
   Single owner of five launch-card geometries; loaded after Sazan CSS.
   Other page styling, site navigation, and game runtimes stay untouched. */
body.tsm-page-gaming.tsm-universal-nav-enabled:not(.tsm-game-page) main > .tsm-game-card,
body.tsm-page-gaming main > .tsm-game-card {
  --gaming-card-width: var(--tsm-sazan-card-width, min(760px, calc(100vw - 28px)));
  display: flex !important;
  flex: 0 0 auto !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 14px !important;
  width: min(100%, var(--gaming-card-width)) !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  padding: 0 !important;
  margin: 0 auto 20px !important;
  box-sizing: border-box !important;
  position: relative !important;
  overflow: visible !important;
  float: none !important;
  transform: none !important;
}
body.tsm-page-gaming main > .tsm-game-card .tsm-game-card__poster {
  display: block !important;
  flex: 0 0 auto !important;
  position: relative !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  max-height: none !important;
  min-height: 0 !important;
  aspect-ratio: 1 / 1 !important;
  border: 6px solid #0a0a0c !important;
  border-radius: 24px !important;
  padding: 0 !important;
  margin: 0 !important;
  background: #000 !important;
  overflow: hidden !important;
  text-decoration: none !important;
}
body.tsm-page-gaming main > .tsm-game-card .tsm-game-card__image {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: none !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center !important;
  image-rendering: pixelated !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  filter: none !important;
}
body.tsm-page-gaming main > .tsm-game-card .tsm-game-card__action {
  display: grid !important;
  place-items: center !important;
  flex: 0 0 auto !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 4 / 1 !important;
  margin: 0 !important;
  padding: 10px 15px !important;
  background: #3298ff !important;
  border: 6px solid #050709 !important;
  border-radius: 22px !important;
  color: #06111d !important;
  font: 900 clamp(17px, 4.2vw, 29px)/1.15 Arial, sans-serif !important;
  letter-spacing: .045em !important;
  text-align: center !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  white-space: normal !important;
  box-shadow: none !important;
}
body.tsm-page-gaming main > .tsm-game-card .tsm-game-card__action--inactive {
  background: #26364b !important;
  color: #c0cee0 !important;
  border-color: #0a0a0c !important;
  cursor: default !important;
  pointer-events: none !important;
}
body.tsm-page-gaming main > .tsm-game-card .tsm-game-card__poster--inactive {
  cursor: default !important;
  pointer-events: none !important;
}
body.tsm-page-gaming main > .tsm-game-card a:focus-visible {
  outline: 3px solid #f6c933 !important;
  outline-offset: 3px !important;
}
body.tsm-page-gaming main > [data-panel-id="gaming-chopper-launch"] { order: 1 !important; }
body.tsm-page-gaming main > [data-panel-id="gaming-universe25-launch"] { order: 2 !important; }
body.tsm-page-gaming main > [data-panel-id="gaming-goblet-launch"] { order: 3 !important; }
body.tsm-page-gaming main > [data-panel-id="gaming-operation314-coming-soon"] { order: 4 !important; }
body.tsm-page-gaming main > [data-panel-id="gaming-starcardia-launch"] { order: 5 !important; }
body.tsm-page-gaming main > [data-panel-id="gaming-catalogue"] { order: 6 !important; }
@media (max-width: 480px) {
  body.tsm-page-gaming main > .tsm-game-card {
    --gaming-card-width: 100%;
    gap: 10px !important;
    margin-bottom: 14px !important;
  }
  body.tsm-page-gaming main > .tsm-game-card .tsm-game-card__poster { border-width: 4px !important; border-radius: 18px !important; }
  body.tsm-page-gaming main > .tsm-game-card .tsm-game-card__action { border-width: 4px !important; border-radius: 18px !important; }
}
