/* Provider artwork and game frames for this casino's hosts only. */
:root[data-sortebet-layout="desktop-v1"] .category-tabs button {
  min-width: 82px;
  min-height: 76px;
  gap: 5px;
}

:root[data-sortebet-layout="desktop-v1"] .category-icon {
  width: 40px;
  height: 36px;
}

:root[data-sortebet-layout="desktop-v1"] .category-icon img {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 3px 4px rgb(0 0 0 / 22%));
}

:root[data-sortebet-layout="desktop-v1"] .section-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
}

:root[data-sortebet-layout="desktop-v1"] .section-mark img {
  display: block;
  width: 38px;
  height: 38px;
  object-fit: contain;
}

:root[data-sortebet-layout="desktop-v1"] .provider-card {
  min-height: 98px;
  grid-template-columns: 48px minmax(0, 1fr) 14px;
  align-items: center;
  gap: 8px;
  padding: 12px 10px;
  border-radius: 16px;
}

:root[data-sortebet-layout="desktop-v1"] .provider-logo {
  width: 48px;
  height: 48px;
  overflow: visible;
  border-radius: 14px;
  background: radial-gradient(circle at 45% 25%, color-mix(in srgb, var(--tr-primary) 14%, transparent), var(--tr-background));
}

:root[data-sortebet-layout="desktop-v1"] .provider-logo img {
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 5px rgb(0 0 0 / 24%));
}

:root[data-sortebet-layout="desktop-v1"] .provider-logo:has(img:not([hidden])) > svg {
  opacity: 0;
}

:root[data-sortebet-layout="desktop-v1"] .provider-logo.is-large {
  width: 64px;
  height: 64px;
}

:root[data-sortebet-layout="desktop-v1"] .provider-card-copy strong {
  display: -webkit-box;
  overflow: hidden;
  min-height: 15px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 12px;
  line-height: 1.3;
  overflow-wrap: anywhere;
  white-space: normal;
}

:root[data-sortebet-layout="desktop-v1"] .provider-card-copy small {
  font-size: 10px;
  line-height: 1.3;
  white-space: nowrap;
}

/* Match PG Soft's portrait frame while preserving the complete game cover. */
:root[data-sortebet-layout="desktop-v1"] .game-grid {
  align-items: start;
}

:root[data-sortebet-layout="desktop-v1"] .game-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

:root[data-sortebet-layout="desktop-v1"] .skeleton-game {
  width: 100%;
  aspect-ratio: 3 / 4;
}

:root[data-sortebet-layout="desktop-v1"] .game-cover {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  flex: 0 0 auto;
  isolation: isolate;
}

:root[data-sortebet-layout="desktop-v1"] .game-cover img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

:root[data-sortebet-layout="desktop-v1"] .game-cover::before {
  content: '';
  position: absolute;
  inset: -10px;
  z-index: 0;
  pointer-events: none;
  background-image: var(--game-cover-art, none);
  background-size: cover;
  background-position: center;
  filter: blur(8px) brightness(.65);
  opacity: .75;
}

:root[data-sortebet-layout="desktop-v1"] .game-cover:has(.game-placeholder),
:root[data-sortebet-layout="desktop-v1"] .game-cover:has(.is-fallback) {
  aspect-ratio: 3 / 4;
}

:root[data-sortebet-layout="desktop-v1"] .game-cover img.is-fallback {
  height: 100%;
}

:root[data-sortebet-layout="desktop-v1"] .game-cover::after {
  height: 16%;
  opacity: .25;
}

:root[data-sortebet-layout="desktop-v1"] .game-cover:hover img,
:root[data-sortebet-layout="desktop-v1"] .game-cover:active img {
  transform: none;
}

:root[data-sortebet-layout="desktop-v1"] .game-name {
  display: -webkit-box;
  min-height: 28px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-height: 1.3;
  white-space: normal;
}

@media (max-width: 359px) {
  :root[data-sortebet-layout="desktop-v1"] .provider-card {
    grid-template-columns: 40px minmax(0, 1fr) 12px;
    gap: 6px;
    padding-inline: 8px;
  }

  :root[data-sortebet-layout="desktop-v1"] .provider-logo {
    width: 40px;
    height: 40px;
  }
}

@media (min-width: 768px) {
  :root[data-sortebet-layout="desktop-v1"] .provider-card {
    min-height: 106px;
    grid-template-columns: 60px minmax(0, 1fr) 16px;
    gap: 12px;
    padding: 16px;
  }

  :root[data-sortebet-layout="desktop-v1"] .provider-logo {
    width: 60px;
    height: 60px;
  }

  :root[data-sortebet-layout="desktop-v1"] .provider-card-copy strong { font-size: 14px; }
  :root[data-sortebet-layout="desktop-v1"] .provider-card-copy small { font-size: 11px; }
}
