/* Platform identity is scoped to the catalogue; rating colours stay consistent. */
.pc-catalog-page {
  --catalog-accent: var(--orange);
  --catalog-rgb: 255, 138, 31;
  --catalog-panel-start: rgba(53, 31, 20, 0.96);
  --catalog-panel-end: rgba(23, 18, 17, 0.98);
  background: radial-gradient(ellipse at 50% 0, rgba(var(--catalog-rgb), 0.08), transparent 680px);
}
.ps-catalog-page {
  --catalog-accent: var(--blue);
  --catalog-rgb: 18, 168, 255;
  --catalog-panel-start: rgba(16, 34, 58, 0.96);
  --catalog-panel-end: rgba(8, 16, 29, 0.98);
}
.catalog-platform-title,
.catalog-heading-label {
  display: block;
}
.pc-catalog-hero .catalog-platform-title,
.pc-catalog-hero .eyebrow,
.pc-catalog-hero .catalog-total strong {
  color: var(--catalog-accent);
}
.pc-catalog-hero .catalog-total {
  border-color: rgba(var(--catalog-rgb), 0.35);
  background: rgba(var(--catalog-rgb), 0.07);
}
.pc-catalog-page .catalog-search-box:focus-within {
  border-color: var(--catalog-accent);
  box-shadow: 0 0 0 2px rgba(var(--catalog-rgb), 0.18);
}
.pc-catalog-page .catalog-more {
  border-color: rgba(var(--catalog-rgb), 0.5);
  color: var(--catalog-accent);
}
.pc-catalog-page {
  padding-bottom: 80px;
}
.pc-catalog-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 40px;
  padding-top: 78px;
  padding-bottom: 42px;
}
.pc-catalog-hero h1 {
  font-size: clamp(3rem, 7vw, 6rem);
  margin: 0.08em 0 0.12em;
}
.pc-catalog-hero > div:first-child {
  max-width: 820px;
}
.pc-catalog-hero > div:first-child > p:last-child {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}
.pc-catalog-tools {
  scroll-margin-top: 88px;
  background: linear-gradient(145deg, var(--catalog-panel-start), var(--catalog-panel-end));
  border: 1px solid rgba(var(--catalog-rgb), 0.2);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
}
.catalog-search {
  display: block;
  scroll-margin-top: 92px;
}
.catalog-search > span:first-child,
.catalog-filter-label,
.catalog-filter-group legend {
  display: block;
  margin: 0 0 10px;
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.catalog-search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.055);
  padding: 0 16px;
}
.catalog-search-box > button {
  flex: none;
  border: 0;
  background: transparent;
  color: var(--catalog-accent);
  font: inherit;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  padding: 8px 2px;
}
.catalog-search-box > button:focus-visible {
  outline: 2px solid var(--catalog-accent);
  outline-offset: 2px;
  border-radius: 5px;
}
.catalog-results-section {
  scroll-margin-top: 88px;
}
.catalog-search input {
  width: 100%;
  min-height: 58px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 1.04rem;
}
.catalog-search input::placeholder {
  color: #8290a2;
}
.catalog-filter-heading {
  margin: 18px 0 12px;
  color: #aab6c6;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.catalog-filter-label {
  margin-bottom: 10px;
}
.catalog-alphabet {
  display: grid;
  grid-template-columns: repeat(15, 1fr);
  gap: 6px;
  margin: 0 0 28px;
}
.catalog-alphabet button,
.catalog-filter-group button {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.055);
  color: #c7d0dc;
  min-height: 42px;
  padding: 8px 12px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: 0.18s ease;
}
.catalog-alphabet button:hover,
.catalog-filter-group button:hover,
.catalog-alphabet button.active,
.catalog-filter-group button.active {
  background: rgba(var(--catalog-rgb), 0.18);
  border-color: var(--catalog-accent);
  color: #fff;
}
.catalog-filter-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 22px;
}
.catalog-filter-column {
  display: grid;
  gap: 20px;
}
.catalog-filter-group {
  min-width: 0;
  border: 0;
  margin: 0;
  padding: 0;
}
.catalog-filter-group > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.catalog-filter-group button {
  min-width: 78px;
}
.vr-label {
  color: #8fe85f;
  font-weight: 900;
  margin-right: 8px;
}
.local-players {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #a8e57f;
  white-space: nowrap;
  margin-right: 8px;
}
.local-players i {
  position: relative;
  display: inline-block;
  width: 10px;
  height: 14px;
  flex: none;
}
.local-players i::before {
  content: "";
  position: absolute;
  top: 0;
  left: 2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.local-players i::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 10px;
  height: 7px;
  border-radius: 5px 5px 1px 1px;
  background: currentColor;
}
.local-players b {
  color: currentColor;
  font-weight: 900;
}
.game-badge.local-players {
  margin: 0;
}
.catalog-equipment {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding-left: 22px;
}
.catalog-results-section {
  padding-top: 34px;
}
.catalog-results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 13px;
}
.catalog-results-bar p {
  margin: 0;
  color: #fff;
  font-weight: 800;
}
.catalog-results-bar button {
  border: 0;
  background: none;
  color: var(--catalog-accent);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.catalog-results-bar button:disabled {
  opacity: 0.28;
  cursor: default;
}
.catalog-list-head,
.catalog-game-row {
  display: grid;
  grid-template-columns:
    minmax(240px, 2fr) minmax(150px, 1.15fr) minmax(150px, 1fr) minmax(145px, 1fr)
    90px 62px;
  align-items: stretch;
}
.catalog-list-head {
  padding: 0 0 10px;
  color: #718096;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.catalog-list-head > span {
  padding-inline: 15px;
}
.catalog-list-head > span:nth-last-child(-n + 2) {
  text-align: center;
}
.catalog-results {
  display: grid;
  gap: 6px;
}
.catalog-game-row {
  overflow: hidden;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025));
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  min-height: 70px;
}
.catalog-game-row:hover {
  border-color: rgba(var(--catalog-rgb), 0.35);
  background: linear-gradient(105deg, rgba(var(--catalog-rgb), 0.11), rgba(255, 255, 255, 0.03));
}
.catalog-game-title,
.catalog-game-meta,
.catalog-rating {
  display: flex;
  align-items: center;
  padding: 13px 15px;
  border-right: 1px solid rgba(255, 255, 255, 0.075);
}
.catalog-game-title {
  justify-content: space-between;
  gap: 12px;
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}
.catalog-game-title > span {
  text-wrap: wrap;
}
@media (min-width: 761px) {
  .catalog-title-subtitle {
    display: inline-block;
    max-width: 100%;
    vertical-align: baseline;
  }
  .catalog-title-natural .catalog-title-subtitle {
    display: inline;
  }
}
.catalog-game-title i {
  color: var(--catalog-accent);
  font-style: normal;
  opacity: 0;
  transform: translateX(-6px);
  transition: 0.18s;
}
.catalog-game-row:hover .catalog-game-title i {
  opacity: 1;
  transform: none;
}
.catalog-game-meta {
  color: #b2bdca;
  font-size: 0.86rem;
  line-height: 1.35;
}
.catalog-game-meta.genre {
  gap: 7px;
  flex-wrap: wrap;
}
.catalog-game-meta.year {
  justify-content: center;
  text-align: center;
}
.game-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #9aec67;
  font-size: 0.8rem;
  font-weight: 900;
  white-space: nowrap;
}
.player-badge {
  letter-spacing: -0.12em;
}
.vr-badge {
  letter-spacing: 0.04em;
}
.catalog-rating {
  justify-content: center;
  border: 0;
  color: #fff;
  font-size: 1.12rem;
  font-weight: 950;
}
.catalog-rating.score-unrated {
  background: #303a48;
  color: #9eabba;
}
.catalog-rating.score-poor {
  background: #a63d43;
}
.catalog-rating.score-weak {
  background: #c06b27;
}
.catalog-rating.score-average {
  background: #68717d;
  color: #fff;
}
.catalog-rating.score-good {
  background: #26759a;
}
.catalog-rating.score-great {
  background: #4b913d;
}
.catalog-rating.score-perfect {
  background: #b88a22;
  color: #fff4cb;
}
.catalog-more {
  display: block;
  margin: 26px auto 0;
}
.catalog-more[hidden] {
  display: none;
}
.catalog-empty {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
  padding: 60px 20px;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  color: var(--muted);
}
.catalog-empty strong {
  color: #fff;
  font-size: 1.2rem;
}
@media (max-width: 1050px) {
  .catalog-alphabet {
    grid-template-columns: repeat(10, 1fr);
  }
  .catalog-list-head,
  .catalog-game-row {
    grid-template-columns:
      minmax(210px, 1.7fr) minmax(135px, 1fr) minmax(130px, 1fr) minmax(130px, 1fr)
      75px 58px;
  }
  .catalog-game-title,
  .catalog-game-meta {
    padding: 11px 10px;
  }
}
@media (min-width: 761px) {
  .catalog-game-row {
    height: 70px;
    min-height: 70px;
  }
  .catalog-game-title {
    padding-block: 8px;
  }
  .catalog-game-title > span {
    line-height: 1.25;
  }
  .catalog-game-title > span.catalog-title-compact-list {
    font-size: 0.82rem;
  }
}
@media (max-width: 760px) {
  .pc-catalog-hero {
    grid-template-columns: 1fr;
    padding-top: 48px;
    gap: 22px;
  }
  .pc-catalog-hero .catalog-total {
    justify-self: start;
  }
  .pc-catalog-tools {
    padding: 18px;
    border-radius: 18px;
  }
  .catalog-alphabet {
    grid-template-columns: repeat(6, 1fr);
    gap: 5px;
  }
  .catalog-alphabet button {
    min-height: 38px;
    padding: 6px;
  }
  .catalog-filter-layout {
    grid-template-columns: 1fr;
  }
  .catalog-equipment {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0 0;
  }
  .catalog-list-head {
    display: none;
  }
  .catalog-results {
    gap: 10px;
  }
  .catalog-game-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 54px;
    padding: 0;
    min-height: 0;
  }
  .catalog-game-title {
    grid-column: 1;
    padding: 15px;
    border: 0;
    font-size: 1.03rem;
  }
  .catalog-rating {
    grid-column: 2;
    grid-row: 1;
    padding: 10px;
  }
  .catalog-game-meta {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: 95px minmax(0, 1fr);
    gap: 10px;
    padding: 9px 15px;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 0.82rem;
  }
  .catalog-game-meta::before {
    content: attr(data-label);
    color: #6e8096;
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }
  .catalog-game-meta.genre {
    display: grid;
    grid-template-columns: 95px minmax(0, 1fr) auto auto;
    gap: 10px;
  }
  .catalog-game-meta.year {
    justify-content: initial;
    text-align: left;
  }
  .catalog-game-title i {
    display: none;
  }
  .catalog-results-bar {
    align-items: end;
  }
  .catalog-results-bar p {
    font-size: 0.9rem;
  }
}

.pc-catalog-tools.searching .catalog-filter-heading,
.pc-catalog-tools.searching .catalog-filter-label,
.pc-catalog-tools.searching .catalog-alphabet,
.pc-catalog-tools.searching .catalog-filter-layout {
  display: none;
}
.pc-catalog-tools.searching {
  padding-bottom: 28px;
}
.pc-catalog-tools.searching + .catalog-results-section {
  padding-top: 16px;
}

.ps-catalog-page .catalog-filter-layout > .catalog-filter-column:last-child {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding-left: 22px;
}
.ps-catalog-page .catalog-filter-column .catalog-equipment {
  border-left: 0;
  padding-left: 0;
}
@media (max-width: 760px) {
  .ps-catalog-page .catalog-filter-layout > .catalog-filter-column:last-child {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0 0;
  }
}

.catalog-filter-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 24px 0 0;
  padding: 11px 14px;
  border: 1px solid rgba(var(--catalog-rgb), 0.32);
  border-radius: 10px;
  background: rgba(var(--catalog-rgb), 0.09);
  color: #d8e9f8;
  font-size: 0.88rem;
  font-weight: 800;
}
.catalog-filter-notice[hidden] {
  display: none;
}
.catalog-filter-notice button {
  border: 0;
  background: none;
  color: var(--catalog-accent);
  font: inherit;
  font-weight: 900;
  white-space: nowrap;
  cursor: pointer;
}
@media (max-width: 600px) {
  .catalog-filter-notice {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
  .catalog-filter-notice button {
    padding: 3px 0;
  }
}

@media (max-width: 1050px) and (min-width: 761px) {
  .catalog-list-head > span {
    padding-inline: 10px;
  }
}
