/* Buyer homepage preview (/tr/next). Publish landing tokens, shop content. */

body.skin-next .pub-hero {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

body.skin-next .pub-hero__sub,
body.skin-next .nx-hero__sub {
  white-space: normal;
  max-width: 34rem;
}

body.skin-next .nx-search {
  position: relative;
  width: min(640px, 100%);
  margin: 1.45rem auto 0;
  z-index: 5;
}

body.skin-next .nx-search__form {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0.35rem 0.35rem 0.35rem 1rem;
  background: #fff;
  border: 3px solid #111;
  border-radius: 18px;
  box-shadow: 4px 4px 0 #111;
}

body.skin-next .nx-search__input {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  height: 48px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #111;
  font-family: Inter, system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  outline: none;
}

body.skin-next .nx-search__input::placeholder {
  color: #5c5c5c;
  font-weight: 500;
}

body.skin-next .nx-search__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  border: 3px solid #111;
  border-radius: 14px;
  background: var(--pub-yellow);
  color: #111;
  cursor: pointer;
}

body.skin-next .nx-search__btn:hover {
  background: #ffef3a;
}

body.skin-next .nx-search .header-game-search-dropdown {
  border: 3px solid #111;
  border-radius: 16px;
  box-shadow: 4px 4px 0 #111;
}

body.skin-next .nx-trending {
  margin-top: 1.35rem;
}

body.skin-next .nx-trending__label {
  margin: 0 0 0.65rem;
  color: #111;
  font-family: var(--pub-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.skin-next .nx-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
}

body.skin-next .nx-tag {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.2rem 0.8rem;
  border: 2px solid #111;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-family: var(--pub-display);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-decoration: none;
}

body.skin-next .nx-tag:hover {
  background: var(--pub-yellow);
  color: #111;
}

body.skin-next .nx-cats__head {
  text-align: center;
}

body.skin-next .nx-cats__head .pub-h2,
body.skin-next .nx-cats__head .pub-lead {
  margin-left: auto;
  margin-right: auto;
}

body.skin-next .nx-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

body.skin-next .game-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: left;
  gap: 0.85rem;
  min-width: 0;
  padding: 0.7rem;
  background: #fff;
  border: 3px solid #111;
  border-radius: 18px;
  box-shadow: 4px 4px 0 #111;
  color: #111;
  text-decoration: none;
  transform: none;
}

body.skin-next .game-card:hover {
  color: #111;
  border-color: #111;
  background: #fff;
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 #111;
}

body.skin-next .game-card-image {
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  overflow: hidden;
  border: 2px solid #111;
  border-radius: 14px;
  background: #f4f4f4;
}

body.skin-next .game-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.skin-next .game-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #111;
  font-family: var(--pub-display);
  font-size: 0.95rem;
  font-weight: 800;
}

body.skin-next .game-card-body {
  min-width: 0;
  flex: 1 1 auto;
}

body.skin-next .game-card-name {
  margin: 0 0 0.2rem;
  color: #111;
  font-family: var(--pub-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  word-break: break-word;
}

body.skin-next .game-card-action {
  color: #222;
  font-size: 0.82rem;
  font-weight: 700;
}

body.skin-next .nx-more {
  display: flex;
  justify-content: center;
  margin-top: 1.6rem;
}

@media (max-width: 980px) {
  body.skin-next .nx-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  body.skin-next .nx-grid {
    grid-template-columns: 1fr;
  }

  body.skin-next .game-card-action {
    display: inline-flex;
  }
}

@media (max-width: 560px) {
  body.skin-next .nx-search__input,
  body.skin-next .nx-search__btn {
    height: 44px;
  }

  body.skin-next .nx-search__btn {
    width: 44px;
  }
}
