/* Горизонтальный каталог (287×193) — data-player-icon-shape="square" */

html[data-player-icon-shape="square"] .games-grid--pinko,
html[data-player-icon-shape="square"] .home-slots-grid.games-grid--pinko {
  row-gap: 10px !important;
}

html[data-player-icon-shape="square"] .game-card--grid.game-card--pinko {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: visible;
}

html[data-player-icon-shape="square"] .game-card--grid .game-card-shell {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  gap: 6px;
}

/* Одна рамка и фиксированное соотношение — картинка заполняет блок (cover) */
html[data-player-icon-shape="square"] body.mood-layout-v2 .game-card--grid .game-card-inner--thumb {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface-2);
  box-shadow: none;
  overflow: hidden;
  aspect-ratio: 287 / 193;
  width: 100%;
}

html[data-player-icon-shape="square"] .game-card--grid .game-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  overflow: hidden;
}

html[data-player-icon-shape="square"] .game-card--grid .game-card-img img {
  width: 100%;
  height: 100%;
  object-position: center center;
  display: block;
}

html[data-player-icon-shape="square"] .game-card--grid .game-card-img img[data-landscape-fit="contain"] {
  object-fit: contain !important;
}

html[data-player-icon-shape="square"] .game-card--grid .game-card-img img[data-landscape-fit="cover"],
html[data-player-icon-shape="square"] .game-card--grid .game-card-img img:not([data-landscape-fit]) {
  object-fit: cover !important;
}

.game-card-landscape-title {
  display: none !important;
  margin: 0;
  padding: 0 2px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-muted);
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 0 0 auto;
}

html[data-player-icon-shape="square"] .game-card--grid .game-card-landscape-title:not([hidden]) {
  display: block !important;
}

/* Полосы на главной */
html[data-player-icon-shape="square"] body.mood-layout-v2 .game-card--strip .game-card-img-wrap {
  position: relative;
  aspect-ratio: 287 / 193;
  overflow: hidden;
  background: var(--surface-2);
}

html[data-player-icon-shape="square"] body.mood-layout-v2 .home-games-block .home-games-strip .game-card--strip,
html[data-player-icon-shape="square"] body.mood-layout-v2 .home-hot-slots-strip-wrap .home-games-strip .game-card--strip {
  flex: 0 0 200px;
  width: 200px;
  max-width: 200px;
}

html[data-player-icon-shape="square"] body.mood-layout-v2 .game-card--strip .game-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

html[data-player-icon-shape="square"] body.mood-layout-v2 .game-card--strip .game-card-img img {
  width: 100%;
  height: 100%;
  object-position: center center;
  display: block;
}

html[data-player-icon-shape="square"] body.mood-layout-v2 .game-card--strip .game-card-img img[data-landscape-fit="contain"] {
  object-fit: contain !important;
}

html[data-player-icon-shape="square"] body.mood-layout-v2 .game-card--strip .game-card-img img[data-landscape-fit="cover"] {
  object-fit: cover !important;
}
