:root {
  --ink: #0d0f12;
  --ink-soft: #171a1f;
  --ink-raised: #22262c;
  --paper: #f4f1eb;
  --surface: #fffdf8;
  --surface-muted: #ece7de;
  --text: #171816;
  --muted: #6e6b65;
  --muted-light: #aaa59c;
  --line: #d8d2c7;
  --line-dark: rgba(255, 255, 255, .14);
  --orange: #f7931e;
  --orange-bright: #ffad32;
  --cyan: #2cc6e2;
  --danger: #b42318;
  --radius: 8px;
  --shadow: 0 20px 45px rgba(13, 15, 18, .1);
  --container: 1240px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
}

body {
  margin: 0;
  color: var(--text);
  background-color: var(--paper);
  background-image: url("../img/site-background.webp");
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-size: 100%;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

::selection {
  color: var(--ink);
  background: var(--orange);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--orange);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  color: var(--ink);
  background: var(--orange);
  border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 700;
}

.skip-link:focus {
  top: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: #fff;
  background: rgba(13, 15, 18, .96);
  border-bottom: 1px solid var(--line-dark);
  backdrop-filter: blur(16px);
}

.header-main {
  position: relative;
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  gap: 30px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  color: #fff;
}

.brand:hover {
  color: #fff;
}

.brand img {
  width: 140px;
  height: auto;
}

.site-nav {
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: center;
  gap: 28px;
}

.nav-primary {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-primary a {
  display: block;
  padding: 9px 11px;
  color: #cbc7bf;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.nav-primary a:hover,
.nav-primary a.is-active {
  color: var(--orange-bright);
  background: rgba(255, 255, 255, .06);
}

.header-search {
  position: relative;
  width: 230px;
  margin-left: auto;
}

.header-search input {
  width: 100%;
  height: 40px;
  padding: 0 74px 0 14px;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 4px;
  outline: 0;
}

.header-search-input-wrap {
  position: relative;
  display: flex;
  width: 100%;
  align-items: center;
}

.header-search input[type="search"]::-webkit-search-cancel-button,
.header-search input[type="search"]::-webkit-search-decoration {
  display: none;
  -webkit-appearance: none;
  appearance: none;
}

.header-search input[type="search"]::-ms-clear {
  display: none;
  width: 0;
  height: 0;
}

.header-search .header-search-clear {
  position: absolute;
  top: 50%;
  right: 42px;
  display: grid;
  width: 26px;
  min-width: 0;
  height: 26px;
  padding: 0;
  place-items: center;
  color: rgba(255, 255, 255, .72);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 12px;
  line-height: 1;
  transition: color .18s, background .18s, border-color .18s;
}

.header-search .header-search-clear:hover {
  color: #fff;
  background: rgba(255, 255, 255, .18);
  border-color: rgba(255, 255, 255, .24);
}

.header-search .header-search-clear:focus-visible {
  outline: 2px solid rgba(247, 147, 30, .55);
  outline-offset: 1px;
}

.header-search .header-search-clear[hidden] {
  display: none;
}

.header-search input::placeholder {
  color: #99968f;
}

.header-search input:focus {
  background: rgba(255, 255, 255, .12);
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(247, 147, 30, .18);
}

.header-search button {
  position: absolute;
  top: 4px;
  right: 4px;
  display: grid;
  width: 32px;
  height: 32px;
  padding: 0;
  place-items: center;
  color: var(--ink);
  background: var(--orange);
  border: 0;
  border-radius: 3px;
  cursor: pointer;
}

.header-search button:hover {
  background: var(--orange-bright);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  margin-left: auto;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 4px;
  cursor: pointer;
  font-size: 22px;
}

.home-hero {
  position: relative;
  display: grid;
  min-height: 620px;
  align-items: center;
  overflow: hidden;
  padding: 78px 0 66px;
  color: #fff;
  background: var(--ink);
}

.home-hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(8, 9, 11, .98) 0%, rgba(8, 9, 11, .86) 38%, rgba(8, 9, 11, .32) 72%, rgba(8, 9, 11, .72) 100%),
    linear-gradient(0deg, rgba(8, 9, 11, .86) 0%, transparent 55%);
  content: "";
}

.home-hero:not(.has-artwork)::before {
  position: absolute;
  right: -8vw;
  bottom: -20vh;
  z-index: 0;
  color: rgba(255, 255, 255, .025);
  content: "GMSY";
  font-family: Bahnschrift, "DIN Alternate", sans-serif;
  font-size: 44vw;
  font-weight: 800;
  line-height: .8;
}

.home-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.home-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
}

.home-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 330px);
  align-items: end;
  gap: 64px;
}

.home-hero-copy {
  max-width: 760px;
}

.hero-kicker,
.section-kicker {
  margin: 0 0 14px;
  color: var(--orange-bright);
  font-family: Bahnschrift, "DIN Alternate", "Microsoft YaHei", sans-serif;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
}

.hero-kicker span {
  display: inline-block;
  margin-right: 10px;
  padding: 3px 7px;
  color: var(--ink);
  background: var(--orange);
  border-radius: 3px;
}

.home-hero h1 {
  max-width: 740px;
  margin: 0;
  color: #fff;
  font-size: clamp(46px, 5.3vw, 76px);
  font-weight: 800;
  line-height: 1.04;
  text-wrap: balance;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: #d0ccc4;
  font-size: 17px;
  line-height: 1.8;
}

.hero-search {
  display: flex;
  width: min(100%, 650px);
  min-height: 56px;
  align-items: center;
  margin-top: 30px;
  padding: 5px 5px 5px 18px;
  color: var(--ink);
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .24);
}

.hero-search > i {
  flex: 0 0 auto;
  margin-right: 10px;
  color: var(--muted);
  font-size: 20px;
}

.hero-search input {
  min-width: 0;
  height: 44px;
  flex: 1;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
}

.hero-search button {
  min-width: 108px;
  height: 44px;
  padding: 0 18px;
  color: var(--ink);
  background: var(--orange);
  border: 0;
  border-radius: 4px;
  font-weight: 800;
  cursor: pointer;
}

.hero-search button:hover {
  background: var(--orange-bright);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 24px;
  margin-top: 20px;
  color: #aaa69e;
  font-size: 13px;
}

.hero-facts span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-facts span::before {
  width: 5px;
  height: 5px;
  background: var(--orange);
  border-radius: 50%;
  content: "";
}

.hero-feature {
  align-self: end;
  padding: 22px;
  color: #fff;
  background: rgba(13, 15, 18, .76);
  border: 1px solid rgba(255, 255, 255, .18);
  border-left: 3px solid var(--orange);
  border-radius: 4px;
  backdrop-filter: blur(10px);
}

.hero-feature:hover {
  color: #fff;
  background: rgba(13, 15, 18, .9);
}

.hero-feature-label {
  display: block;
  margin-bottom: 12px;
  color: var(--orange-bright);
  font-size: 12px;
  font-weight: 800;
}

.hero-feature strong {
  display: block;
  font-size: 23px;
  line-height: 1.35;
}

.hero-feature small {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 8px;
  color: #bbb6ad;
  font-size: 13px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.hero-feature-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  color: var(--orange-bright);
  font-size: 13px;
  font-weight: 800;
}

.topic-band {
  color: #fff;
  background: var(--ink-soft);
  border-top: 1px solid rgba(255, 255, 255, .08);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.topic-index {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.topic-index-item {
  display: grid;
  min-height: 138px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  padding: 26px 24px;
  color: #fff;
  border-right: 1px solid rgba(255, 255, 255, .1);
}

.topic-index-item:first-child {
  border-left: 1px solid rgba(255, 255, 255, .1);
}

.topic-index-item:hover {
  color: #fff;
  background: rgba(255, 255, 255, .045);
}

.topic-index-number {
  color: var(--orange);
  font-family: Bahnschrift, "DIN Alternate", sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.topic-index-copy strong {
  display: block;
  font-size: 17px;
  line-height: 1.4;
}

.topic-index-copy small {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 8px;
  color: #9f9b94;
  font-size: 12px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.topic-index-item > i {
  color: #6d6a65;
  font-size: 18px;
}

.topic-index-item:hover > i {
  color: var(--orange);
}

.section {
  padding: 88px 0;
}

.section-latest,
.archive-body,
.topic-body,
.search-results {
  background: var(--paper);
}

.section-categories {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-dark {
  color: #fff;
  background: var(--ink);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 32px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 800;
  line-height: 1.2;
}

.section-heading p:not(.section-kicker) {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.section-dark .section-heading h2 {
  color: #fff;
}

.section-dark .section-heading p:not(.section-kicker) {
  color: #aaa69e;
}

.text-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  color: #9d5a0a;
  font-size: 14px;
  font-weight: 800;
}

.section-dark .text-link {
  color: var(--orange-bright);
}

.text-link:hover {
  color: var(--ink);
}

.section-dark .text-link:hover {
  color: #fff;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.game-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.game-card:hover {
  border-color: #aaa398;
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.game-card--lead {
  grid-column: span 2;
}

.game-cover {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #ded9d0;
}

.game-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.game-card--lead .game-cover {
  aspect-ratio: 16 / 9;
}

.game-card:hover .game-cover img {
  transform: scale(1.025);
}

.game-body {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  padding: 16px;
}

.game-card--lead .game-body {
  padding: 24px;
}

.game-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.game-kicker span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-body h3 {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 18px;
  line-height: 1.45;
}

.game-card--lead .game-body h3 {
  font-size: clamp(23px, 2.2vw, 31px);
  line-height: 1.3;
}

.game-body h3 a {
  color: var(--text);
}

.game-body h3 a:hover {
  color: #9d5a0a;
}

.game-body p {
  display: -webkit-box;
  overflow: hidden;
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.game-card--lead .game-body p {
  margin-top: 12px;
  font-size: 14px;
  -webkit-line-clamp: 3;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.tag {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 2px 8px;
  color: #4e4b46;
  background: #eee9e1;
  border: 1px solid #dfd8cc;
  border-radius: 3px;
  font-size: 12px;
  line-height: 1.4;
}

a.tag:hover {
  color: var(--ink);
  background: #f3c88f;
  border-color: #e8ac5d;
}

.game-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 20px;
  color: #9d5a0a;
  font-size: 13px;
  font-weight: 800;
}

.category-index {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 34px;
}

.category-index-item {
  display: grid;
  min-height: 76px;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  color: var(--text);
  border-top: 1px solid var(--line);
}

.category-index-item:last-child,
.category-index-item:nth-last-child(-n+3) {
  border-bottom: 1px solid var(--line);
}

.category-index-item:hover {
  color: #9d5a0a;
  border-color: #a79f92;
}

.category-index-item strong {
  font-size: 17px;
}

.category-index-item span {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.category-index-item i {
  color: #aaa398;
  font-size: 15px;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.article-grid--home {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.article-grid--index {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.article-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.article-card:hover {
  border-color: #aaa398;
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.article-card-cover {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #ded9d0;
}

.article-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.article-card:hover .article-card-cover img {
  transform: scale(1.025);
}

.article-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.article-meta {
  color: var(--muted);
  font-family: Bahnschrift, "DIN Alternate", "Microsoft YaHei", sans-serif;
  font-size: 11px;
  font-weight: 700;
}

.article-card h3 {
  margin: 8px 0 0;
  overflow-wrap: anywhere;
  font-size: 20px;
  line-height: 1.45;
}

.article-card h3 a {
  color: var(--text);
}

.article-card h3 a:hover {
  color: #9d5a0a;
}

.article-card p {
  display: -webkit-box;
  overflow: hidden;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.article-card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: auto;
  padding-top: 18px;
  color: #9d5a0a;
  font-size: 12px;
  font-weight: 800;
}

.article-card--no-image {
  min-height: 220px;
}

.section-dark .article-card {
  color: #fff;
  background: var(--ink-soft);
  border-color: var(--line-dark);
}

.section-dark .article-card:hover {
  border-color: rgba(247, 147, 30, .65);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .3);
}

.section-dark .article-card h3 a,
.section-dark .article-card:hover h3 a {
  color: #fff;
}

.section-dark .article-card p,
.section-dark .article-meta {
  color: #aaa69e;
}

.section-dark .article-card-link {
  color: var(--orange-bright);
}

.archive-hero {
  position: relative;
  overflow: hidden;
  padding: 52px 0 58px;
  color: #fff;
  background: var(--ink);
  border-top: 4px solid var(--orange);
}

.archive-hero::after {
  position: absolute;
  right: -80px;
  bottom: -160px;
  color: rgba(255, 255, 255, .035);
  content: "GMSY";
  font-family: Bahnschrift, "DIN Alternate", sans-serif;
  font-size: 380px;
  font-weight: 800;
  line-height: .8;
  pointer-events: none;
}

.archive-hero .container {
  position: relative;
  z-index: 1;
}

.archive-hero-layout {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.archive-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(38px, 4.8vw, 62px);
  font-weight: 800;
  line-height: 1.1;
  text-wrap: balance;
}

.page-lead {
  max-width: 820px;
  margin: 17px 0 0;
  color: #b9b5ac;
  font-size: 16px;
  line-height: 1.8;
}

.archive-stat {
  display: flex;
  min-width: 150px;
  flex-direction: column;
  align-items: flex-end;
  padding-bottom: 5px;
}

.archive-stat strong {
  color: var(--orange-bright);
  font-family: Bahnschrift, "DIN Alternate", sans-serif;
  font-size: 46px;
  font-weight: 800;
  line-height: 1;
}

.archive-stat span {
  margin-top: 7px;
  color: #8f8b84;
  font-size: 12px;
}

.archive-body {
  padding-top: 48px;
}

.section-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 6px 13px;
  color: #5b5852;
  background: transparent;
  border: 1px solid #ccc5b9;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 700;
}

.filter-chip:hover {
  color: var(--ink);
  border-color: #918b81;
}

.filter-chip.is-active {
  color: var(--ink);
  background: var(--orange);
  border-color: var(--orange);
}

.toolbar-note {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 12px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 22px;
  padding: 0;
  color: #8d8982;
  font-size: 12px;
  list-style: none;
}

.breadcrumbs a {
  color: #b9b5ac;
}

.breadcrumbs a:hover {
  color: var(--orange-bright);
}

.breadcrumbs li:not(:last-child)::after {
  margin-left: 6px;
  color: #5e5b56;
  content: "/";
}

.article-hero .breadcrumbs {
  color: var(--muted);
}

.article-hero .breadcrumbs a {
  color: var(--muted);
}

.article-hero .breadcrumbs a:hover {
  color: #9d5a0a;
}

.article-hero .breadcrumbs li:not(:last-child)::after {
  color: #b2ab9f;
}

.empty-state {
  display: grid;
  min-height: 240px;
  place-items: center;
  align-content: center;
  padding: 42px 24px;
  color: var(--muted);
  text-align: center;
  background: rgba(255, 253, 248, .5);
  border: 1px dashed #aaa398;
  border-radius: var(--radius);
}

.empty-state strong {
  color: var(--text);
  font-size: 21px;
}

.empty-state p {
  max-width: 580px;
  margin: 9px 0 20px;
  font-size: 14px;
}

.empty-state--dark {
  color: #aaa69e;
  background: rgba(255, 255, 255, .025);
  border-color: rgba(255, 255, 255, .18);
}

.empty-state--dark strong {
  color: #fff;
}

.game-hero {
  padding: 44px 0 68px;
  color: #fff;
  background: var(--ink);
  border-top: 4px solid var(--orange);
}

.game-hero-layout {
  display: grid;
  grid-template-columns: minmax(300px, .82fr) minmax(0, 1.18fr);
  gap: 56px;
  align-items: center;
}

.game-poster {
  position: relative;
  aspect-ratio: 5 / 3;
  overflow: hidden;
  margin: 0;
  background: var(--ink-raised);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  box-shadow: 0 28px 60px rgba(0, 0, 0, .28);
}

.game-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-poster figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 6px 11px;
  color: var(--ink);
  background: var(--orange);
  font-size: 11px;
  font-weight: 800;
}

.game-hero-copy h1 {
  max-width: 800px;
  margin: 0;
  overflow-wrap: anywhere;
  color: #fff;
  font-size: clamp(38px, 4.7vw, 64px);
  font-weight: 800;
  line-height: 1.08;
  text-wrap: balance;
}

.game-subtitle {
  margin: 12px 0 0;
  color: #b9b5ac;
  font-size: 17px;
  line-height: 1.7;
}

.game-hero .tag {
  color: #dedad2;
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .16);
}

.game-hero a.tag:hover {
  color: var(--ink);
  background: var(--orange);
  border-color: var(--orange);
}

.detail-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
  margin: 22px 0;
  padding: 18px 0;
  color: #bbb7ae;
  border-top: 1px solid rgba(255, 255, 255, .12);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  font-size: 13px;
}

.detail-facts span {
  overflow-wrap: anywhere;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  color: var(--ink);
  background: var(--orange);
  border: 1px solid var(--orange);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
  cursor: pointer;
}

.button:hover {
  color: var(--ink);
  background: var(--orange-bright);
  border-color: var(--orange-bright);
}

.button-secondary {
  color: var(--z-theme-deep);
  background: #fff;
  border-color: rgba(240, 68, 148, .24);
  border-radius: 6px;
}

.button-secondary:hover,
.page-home .button-secondary:hover {
  color: #fff;
  background: var(--z-theme-deep);
  border-color: var(--z-theme-deep);
}

.game-hero .button-secondary {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, .28);
}

.game-hero .button-secondary:hover {
  color: var(--ink);
  background: #fff;
  border-color: #fff;
}

.game-content-section {
  padding-top: 60px;
}

.detail-layout,
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 58px;
  align-items: start;
}

.detail-layout--single,
.article-layout--single {
  grid-template-columns: minmax(0, 1fr);
}

.article-layout--single {
  grid-template-columns: minmax(0, 920px);
  justify-content: center;
}

.game-main-column {
  min-width: 0;
}

.editorial-section {
  min-width: 0;
}

.editorial-section + .editorial-section {
  margin-top: 58px;
  padding-top: 54px;
  border-top: 1px solid var(--line);
}

.editorial-section h2,
.related-panel h2,
.topic-prose + .collection-block h2,
.category-notes h2 {
  margin: 0 0 22px;
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 800;
  line-height: 1.3;
}

.rich-content {
  max-width: 820px;
  overflow-wrap: anywhere;
  color: #302f2c;
  font-size: 15px;
  line-height: 1.95;
}

.rich-content > :first-child {
  margin-top: 0;
}

.rich-content > :last-child {
  margin-bottom: 0;
}

.rich-content p {
  margin: 0 0 1.15em;
}

.rich-content h2 {
  margin: 2.2em 0 .75em;
  color: var(--text);
  font-size: 27px;
  line-height: 1.35;
}

.rich-content h3 {
  margin: 1.8em 0 .7em;
  color: var(--text);
  font-size: 21px;
  line-height: 1.45;
}

.rich-content h4 {
  margin: 1.5em 0 .6em;
  color: var(--text);
  font-size: 18px;
}

.rich-content a {
  color: #9d5a0a;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.rich-content a:hover {
  color: var(--ink);
}

.rich-content img {
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 26px auto;
  background: var(--surface-muted);
  border-radius: 6px;
}

.rich-content figure {
  max-width: 100%;
  margin: 26px 0;
}

.rich-content figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.rich-content blockquote {
  margin: 26px 0;
  padding: 16px 20px;
  color: #3e3b36;
  background: #ece6dc;
  border-left: 4px solid var(--orange);
}

.rich-content ul,
.rich-content ol {
  padding-left: 24px;
}

.rich-content li + li {
  margin-top: .4em;
}

.rich-content u {
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.rich-content sub,
.rich-content sup {
  line-height: 0;
}

.rich-content code {
  padding: 2px 5px;
  color: #8f3f12;
  background: #eee7dc;
  border-radius: 3px;
  font-size: .9em;
}

.rich-content pre {
  max-width: 100%;
  overflow-x: auto;
  padding: 18px 20px;
  color: #e8e2d8;
  background: var(--ink);
  border-radius: 6px;
}

.rich-content pre code {
  padding: 0;
  color: inherit;
  background: transparent;
}

.rich-content hr {
  margin: 32px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.rich-content table {
  width: 100%;
  margin: 24px 0;
  border-collapse: collapse;
}

.rich-content th,
.rich-content td {
  padding: 10px 12px;
  border: 1px solid var(--line);
  text-align: left;
}

.rich-content th {
  color: var(--text);
  background: #ebe5db;
}

.game-promo-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--ink);
  border-radius: 6px;
  object-fit: contain;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.screenshot-grid figure {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  margin: 0;
  background: #ded9d0;
  border-radius: 5px;
}

.screenshot-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-sidebar,
.article-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 22px);
  align-self: start;
}

.related-panel {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.related-panel h2 {
  margin-bottom: 18px;
  font-size: 24px;
}

.sidebar-list {
  display: grid;
  gap: 16px;
}

.sidebar-game {
  display: grid;
  min-width: 0;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  color: var(--text);
}

.sidebar-game:hover {
  color: #9d5a0a;
}

.sidebar-game img {
  width: 78px;
  aspect-ratio: 5 / 3;
  object-fit: cover;
  background: #ded9d0;
  border-radius: 4px;
}

.sidebar-game strong {
  display: block;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sidebar-game span span {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.topic-hero {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  padding: 68px 0 64px;
  color: #fff;
  background: var(--ink);
  border-top: 4px solid var(--orange);
}

.topic-hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(8, 9, 11, .98) 0%, rgba(8, 9, 11, .9) 46%, rgba(8, 9, 11, .53) 100%),
    linear-gradient(0deg, rgba(8, 9, 11, .75) 0%, transparent 55%);
  content: "";
}

.topic-hero-media {
  position: absolute;
  inset: 0;
}

.topic-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
}

.topic-hero .container {
  position: relative;
  z-index: 2;
}

.topic-hero-copy {
  max-width: 1100px;
}

.topic-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(38px, 4.5vw, 60px);
  font-weight: 800;
  line-height: 1.1;
  text-wrap: balance;
}

.topic-hero .hero-facts {
  margin-top: 24px;
}

.topic-body {
  padding-top: 64px;
}

.topic-prose {
  max-width: 900px;
  padding-bottom: 58px;
  border-bottom: 1px solid var(--line);
}

.topic-prose .section-kicker {
  margin-bottom: 20px;
}

.topic-prose .rich-content {
  max-width: 900px;
  font-size: 15px;
}

.collection-block {
  margin-top: 58px;
}

.collection-block--articles {
  margin-top: 70px;
  padding-top: 58px;
  border-top: 1px solid var(--line);
}

.category-notes {
  max-width: 920px;
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.category-notes .section-kicker {
  margin-bottom: 16px;
}

.article-hero {
  padding: 50px 0 46px;
  background: var(--surface);
  border-top: 4px solid var(--orange);
  border-bottom: 1px solid var(--line);
}

.article-hero h1 {
  max-width: 1040px;
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 800;
  line-height: 1.14;
  text-wrap: balance;
}

.article-deck {
  max-width: 900px;
  margin: 20px 0 0;
  color: #5c5953;
  font-size: 17px;
  line-height: 1.85;
}

.article-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 12px;
}

.article-byline span + span::before {
  margin-right: 20px;
  color: #b4ada2;
  content: "/";
}

.article-layout {
  padding-top: 54px;
  padding-bottom: 88px;
}

.article-reading {
  min-width: 0;
}

.article-reading .rich-content {
  max-width: 840px;
  font-size: 16px;
  line-height: 2;
}

.article-cover-wrap {
  width: min(100%, 920px);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin: 0 0 38px;
  background: var(--surface-muted);
  border-radius: var(--radius);
}

.article-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-hero {
  padding-bottom: 52px;
}

.search-hero h1 {
  max-width: 900px;
}

.search-box {
  display: flex;
  width: min(100%, 860px);
  min-height: 58px;
  align-items: center;
  margin-top: 26px;
  padding: 5px 5px 5px 18px;
  color: var(--ink);
  background: #fff;
  border-radius: 5px;
}

.search-box > i {
  flex: 0 0 auto;
  margin-right: 10px;
  color: var(--muted);
  font-size: 20px;
}

.search-box input {
  min-width: 0;
  height: 46px;
  flex: 1;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
}

.search-input-wrap {
  position: relative;
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: center;
}

.search-input-wrap input {
  width: 100%;
  padding-right: 38px;
}

.search-input-wrap input[type="search"]::-webkit-search-cancel-button,
.search-input-wrap input[type="search"]::-webkit-search-decoration {
  display: none;
  -webkit-appearance: none;
  appearance: none;
}

.search-input-wrap input[type="search"]::-ms-clear {
  display: none;
  width: 0;
  height: 0;
}

.page-search .search-box .search-clear {
  position: absolute;
  top: 50%;
  right: 8px;
  display: grid;
  width: 26px;
  min-width: 0;
  height: 26px;
  padding: 0;
  place-items: center;
  color: #747a81;
  background: #eef0f3;
  border: 1px solid #e1e4e8;
  border-radius: 50%;
  box-shadow: 0 1px 2px rgba(31, 35, 41, .05);
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 12px;
  line-height: 1;
  transition: color .18s, background .18s, border-color .18s, box-shadow .18s;
}

.page-search .search-box .search-clear:hover {
  color: var(--z-theme);
  background: #fff0f7;
  border-color: rgba(240, 68, 148, .22);
  box-shadow: 0 2px 6px rgba(240, 68, 148, .12);
}

.page-search .search-box .search-clear:focus-visible {
  outline: 2px solid rgba(240, 68, 148, .35);
  outline-offset: 1px;
}

.page-search .search-box .search-clear[hidden] {
  display: none;
}

.search-box button {
  min-width: 96px;
  height: 46px;
  padding: 0 18px;
  color: var(--ink);
  background: var(--orange);
  border: 0;
  border-radius: 3px;
  font-weight: 800;
  cursor: pointer;
}

.search-box .search-submit {
  flex: 0 0 auto;
}

.search-box button:hover {
  background: var(--orange-bright);
}

.search-summary {
  margin: 18px 0 0;
  color: #aaa69e;
  font-size: 13px;
}

.search-results {
  padding-top: 52px;
}

.search-results .collection-block:first-child {
  margin-top: 0;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 34px;
}

.pagination-shell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 20px;
  margin-top: 34px;
}

.pagination-shell .pagination {
  margin-top: 0;
}

.pagination-summary {
  display: none;
  margin: 0;
  color: var(--z-muted);
  font-size: 12px;
  line-height: 1.5;
}

.pagination a,
.pagination span {
  display: inline-grid;
  min-width: 36px;
  min-height: 36px;
  place-items: center;
  padding: 5px 9px;
  color: var(--z-muted);
  text-decoration: none;
  background: #fff;
  border: 1px solid rgba(50, 50, 50, .06);
  border-radius: 6px;
  box-shadow: none;
  font-size: 12px;
  font-weight: 600;
  transition: color .18s, background .18s, border-color .18s;
}

.pagination a:hover {
  color: var(--z-theme);
  background: var(--z-theme-soft);
  border-color: rgba(240, 68, 148, .18);
}

.pagination .is-current {
  color: #fff;
  background: var(--z-theme);
  border-color: var(--z-theme);
}

.pagination .pagination-direction {
  display: inline-flex;
  width: auto;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding-inline: 9px;
}

.pagination .pagination-edge {
  padding-inline: 8px;
}

.pagination .pagination-direction-label {
  display: inline;
  min-width: 0;
  min-height: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  box-shadow: none;
  font: inherit;
}

.pagination .is-disabled {
  color: #c3c6c9;
  background: #f7f8f9;
  border-color: rgba(50, 50, 50, .04);
  cursor: not-allowed;
}

.pagination .pagination-direction i {
  font-size: 13px;
}

.pagination .pagination-ellipsis {
  min-width: 24px;
  padding-inline: 2px;
  color: var(--z-muted-light);
  background: transparent;
  border-color: transparent;
}

.pagination a:focus-visible {
  outline: 3px solid var(--z-theme-soft);
  outline-offset: 2px;
}

@media (max-width: 720px) {
  .pagination {
    gap: 5px;
    margin-top: 28px;
  }

  .pagination-shell {
    flex-direction: column;
    margin-top: 28px;
  }

  .pagination a,
  .pagination span {
    min-width: 34px;
    min-height: 34px;
    padding: 4px 7px;
    font-size: 11px;
  }

  .pagination .pagination-direction {
    padding-inline: 7px;
  }

  .pagination .pagination-direction-label {
    display: none;
  }

  .pagination .pagination-ellipsis {
    min-width: 20px;
    padding-inline: 0;
  }
}

.error-page {
  min-height: 64vh;
}

.error-panel {
  max-width: 760px;
  margin: 16px auto;
  padding: 54px 32px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.error-code {
  margin: 0;
  color: var(--orange);
  font-family: Bahnschrift, "DIN Alternate", sans-serif;
  font-size: 68px;
  font-weight: 800;
  line-height: 1;
}

.error-panel h1 {
  margin: 16px 0 0;
  font-size: 38px;
  line-height: 1.2;
}

.error-panel .page-lead {
  margin-inline: auto;
  color: var(--muted);
}

.error-panel .button-row {
  justify-content: center;
}

.error-panel .button-secondary {
  color: var(--text);
  background: transparent;
  border-color: var(--line);
}

.error-panel .button-secondary:hover {
  color: var(--text);
  background: #ebe5db;
  border-color: #aaa398;
}

.site-footer {
  padding: 56px 0 34px;
  color: #a9a59d;
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.footer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 44px;
  align-items: start;
}

.footer-brand {
  display: inline-flex;
  color: #fff;
}

.footer-brand img {
  width: 160px;
  height: auto;
}

.footer-copy {
  max-width: 600px;
  margin: 18px 0 0;
  color: #8f8b84;
  font-size: 13px;
  line-height: 1.8;
}

.footer-links {
  display: flex;
  max-width: 520px;
  flex-wrap: wrap;
  gap: 11px 22px;
  justify-content: flex-end;
}

.footer-links a {
  color: #d0ccc4;
  font-size: 13px;
}

.footer-links a:hover {
  color: var(--orange-bright);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 38px;
  padding-top: 22px;
  color: #77736d;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 12px;
}

@media (max-width: 1120px) {
  .game-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .game-grid-editorial .game-card--lead {
    grid-column: span 2;
    grid-row: auto;
  }

  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .header-search {
    width: 200px;
  }

  .nav-primary {
    gap: 0;
  }

  .nav-primary a {
    padding-inline: 8px;
  }

  .home-hero-inner {
    gap: 42px;
  }
}

@media (max-width: 980px) {
  .header-main {
    min-height: 68px;
  }

  .menu-toggle {
    display: grid;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    padding: 18px;
    background: var(--ink);
    border: 1px solid rgba(255, 255, 255, .12);
    border-top: 0;
    box-shadow: 0 24px 50px rgba(0, 0, 0, .35);
  }

  .site-nav.is-open {
    display: block;
  }

  .nav-primary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .nav-primary a {
    padding: 11px 12px;
    background: rgba(255, 255, 255, .04);
  }

  .header-search {
    width: 100%;
    margin: 14px 0 0;
  }

  .home-hero {
    min-height: 600px;
  }

  .home-hero-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero-feature {
    width: min(100%, 520px);
  }

  .topic-index {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .topic-index-item:nth-child(2) {
    border-right: 0;
  }

  .topic-index-item:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, .1);
  }

  .topic-index-item:nth-child(3) {
    border-left: 1px solid rgba(255, 255, 255, .1);
  }

  .category-index {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-index-item:nth-last-child(3) {
    border-bottom: 0;
  }

  .archive-hero-layout {
    align-items: start;
  }

  .game-hero-layout {
    grid-template-columns: minmax(250px, .7fr) minmax(0, 1.3fr);
    gap: 34px;
  }

  .detail-layout,
  .article-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
  }

  .game-sidebar,
  .article-sidebar {
    position: static;
  }

  .related-panel {
    max-width: 680px;
  }

  .footer-layout {
    grid-template-columns: 1fr;
  }

  .footer-links {
    max-width: none;
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 64px;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .brand img {
    width: 124px;
  }

  .section {
    padding: 62px 0;
  }

  .home-hero {
    min-height: 570px;
    padding: 58px 0 42px;
  }

  .home-hero h1 {
    font-size: clamp(39px, 9.6vw, 58px);
  }

  .hero-copy {
    font-size: 15px;
  }

  .hero-search {
    min-height: 54px;
    margin-top: 24px;
    padding-left: 14px;
  }

  .hero-search button {
    min-width: 92px;
    padding-inline: 12px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 26px;
  }

  .section-heading h2 {
    font-size: 30px;
  }

  .topic-index {
    grid-template-columns: 1fr;
  }

  .topic-index-item,
  .topic-index-item:first-child,
  .topic-index-item:nth-child(3) {
    min-height: 112px;
    padding: 20px 16px;
    border-right: 0;
    border-left: 0;
  }

  .topic-index-item + .topic-index-item {
    border-top: 1px solid rgba(255, 255, 255, .1);
  }

  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .game-grid-editorial .game-card--lead {
    grid-column: 1 / -1;
  }

  .game-card--lead .game-cover {
    aspect-ratio: 16 / 8;
  }

  .game-body,
  .game-card--lead .game-body {
    padding: 13px;
  }

  .game-body h3,
  .game-card--lead .game-body h3 {
    font-size: 15px;
    line-height: 1.45;
  }

  .game-body p,
  .game-card--lead .game-body p,
  .tag-row,
  .game-card-link {
    display: none;
  }

  .game-kicker {
    margin-bottom: 6px;
    font-size: 10px;
  }

  .game-kicker span + span {
    display: none;
  }

  .category-index {
    grid-template-columns: 1fr;
  }

  .category-index-item:nth-last-child(3) {
    border-bottom: 1px solid var(--line);
  }

  .article-grid,
  .article-grid--home,
  .article-grid--index {
    grid-template-columns: 1fr;
  }

  .article-card-body {
    padding: 18px;
  }

  .article-card h3 {
    font-size: 19px;
  }

  .archive-hero {
    padding: 42px 0 46px;
  }

  .archive-hero-layout {
    flex-direction: column;
    gap: 24px;
  }

  .archive-hero h1 {
    font-size: 39px;
  }

  .archive-stat {
    min-width: 0;
    flex-direction: row;
    align-items: baseline;
    gap: 10px;
  }

  .archive-stat strong {
    font-size: 36px;
  }

  .archive-body {
    padding-top: 36px;
  }

  .section-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
  }

  .filter-chip {
    min-height: 34px;
    padding: 5px 10px;
    font-size: 12px;
  }

  .game-hero {
    padding: 34px 0 48px;
  }

  .game-hero-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .game-poster {
    max-width: 560px;
  }

  .game-hero-copy h1 {
    font-size: 40px;
  }

  .game-subtitle {
    font-size: 15px;
  }

  .detail-facts {
    grid-template-columns: 1fr;
    gap: 7px;
    margin: 18px 0;
    padding: 15px 0;
  }

  .game-content-section {
    padding-top: 44px;
  }

  .editorial-section + .editorial-section {
    margin-top: 42px;
    padding-top: 40px;
  }

  .rich-content,
  .article-reading .rich-content {
    font-size: 15px;
    line-height: 1.9;
  }

  .rich-content h2 {
    font-size: 23px;
  }

  .rich-content h3 {
    font-size: 19px;
  }

  .screenshot-grid {
    gap: 9px;
  }

  .topic-hero {
    min-height: 380px;
    padding: 45px 0 44px;
  }

  .topic-hero h1 {
    font-size: 39px;
  }

  .topic-body {
    padding-top: 46px;
  }

  .topic-prose {
    padding-bottom: 42px;
  }

  .collection-block {
    margin-top: 44px;
  }

  .collection-block--articles {
    margin-top: 52px;
    padding-top: 44px;
  }

  .category-notes {
    margin-top: 48px;
    padding-top: 38px;
  }

  .article-hero {
    padding: 38px 0 34px;
  }

  .article-hero h1 {
    font-size: 38px;
  }

  .article-deck {
    font-size: 15px;
  }

  .article-byline span + span::before {
    margin-right: 10px;
  }

  .article-layout {
    padding-top: 36px;
    padding-bottom: 64px;
  }

  .article-cover-wrap {
    margin-bottom: 28px;
  }

  .search-hero {
    padding-bottom: 38px;
  }

  .search-box {
    min-height: 54px;
    padding-left: 14px;
  }

  .search-box button {
    min-width: 78px;
    padding-inline: 12px;
  }

  .search-results {
    padding-top: 38px;
  }

  .error-panel {
    padding: 42px 20px;
  }

  .error-panel h1 {
    font-size: 31px;
  }

  .site-footer {
    padding: 44px 0 30px;
  }

  .footer-brand img {
    width: 145px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .hero-search > i {
    display: none;
  }

  .hero-search {
    padding-left: 10px;
  }

  .hero-search input {
    padding-right: 8px;
  }

  .hero-search button {
    min-width: 82px;
  }

  .hero-facts {
    gap: 6px 14px;
    font-size: 12px;
  }

  .archive-hero h1,
  .topic-hero h1 {
    font-size: 35px;
  }

  .game-hero-copy h1 {
    font-size: 35px;
  }

  .article-hero h1 {
    font-size: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* Zibll-inspired public homepage */
.page-home {
  --z-theme: #f04494;
  --z-theme-deep: #d92f7d;
  --z-theme-soft: #fff0f7;
  --z-bg: #f5f6f7;
  --z-surface: #fff;
  --z-key: #333;
  --z-main: #4e5358;
  --z-muted: #777;
  --z-muted-light: #999;
  --z-line: rgba(50, 50, 50, .06);
  --z-radius: 8px;
  --z-shadow: 0 0 10px rgba(116, 116, 116, .1);
  color: var(--z-main);
  background-image: url("../img/2024100893317691.jpg");
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-size: 100%;
  background-color: var(--z-bg);
}

.page-home ::selection {
  color: #fff;
  background: var(--z-theme);
}

.page-home a:hover {
  color: var(--z-theme);
}

.page-home :focus-visible {
  outline-color: var(--z-theme);
}

.page-home .container {
  width: min(calc(100% - 48px), 1240px);
}

.page-home .site-header {
  color: var(--z-main);
  background: rgba(255, 255, 255, .88);
  border-bottom: 1px solid rgba(50, 50, 50, .06);
  box-shadow: 0 1px 8px rgba(116, 116, 116, .06);
  backdrop-filter: blur(20px) saturate(160%);
}

.page-home .header-main {
  min-height: 68px;
  gap: 18px;
}

.page-home .brand,
.page-home .brand:hover {
  color: var(--z-key);
}

.page-home .brand img {
  width: 132px;
}

.page-home .site-nav {
  gap: 14px;
}

.page-home .nav-primary {
  gap: 1px;
}

.page-home .nav-primary a {
  position: relative;
  padding: 10px 9px;
  color: var(--z-main);
  background: transparent;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
}

.page-home .nav-primary a:hover {
  color: var(--z-theme);
  background: var(--z-theme-soft);
}

.page-home .nav-primary a.is-active {
  color: var(--z-theme);
  background: transparent;
}

.page-home .nav-primary a.is-active::after {
  position: absolute;
  right: 9px;
  bottom: 2px;
  left: 9px;
  height: 2px;
  background: var(--z-theme);
  border-radius: 2px;
  content: "";
}

.page-home .header-search {
  width: 210px;
  margin-left: auto;
}

.page-home .header-search input {
  height: 38px;
  padding-right: 74px;
  color: var(--z-key);
  background: #f4f5f6;
  border: 1px solid transparent;
  border-radius: 100px;
  font-size: 13px;
}

.page-home .header-search input::placeholder {
  color: var(--z-muted-light);
}

.page-home .header-search input:focus {
  background: #fff;
  border-color: rgba(240, 68, 148, .35);
  box-shadow: 0 0 0 3px rgba(240, 68, 148, .08);
}

.page-home .header-search button {
  top: 3px;
  right: 3px;
  width: 32px;
  height: 32px;
  color: #fff;
  background: var(--z-theme);
  border-radius: 50%;
}

.page-home .header-search .header-search-clear {
  top: 50%;
  right: 42px;
  width: 26px;
  min-width: 0;
  height: 26px;
  padding: 0;
  color: #747a81;
  background: #eef0f3;
  border-color: #e1e4e8;
  border-radius: 50%;
  box-shadow: 0 1px 2px rgba(31, 35, 41, .05);
  transform: translateY(-50%);
}

.page-home .header-search .header-search-clear:hover {
  color: var(--z-theme);
  background: #fff0f7;
  border-color: rgba(240, 68, 148, .22);
}

.page-home .header-search .header-search-clear:focus-visible {
  outline-color: rgba(240, 68, 148, .35);
}

.page-home .header-search button:hover {
  background: var(--z-theme-deep);
}

.header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.header-action {
  display: inline-flex;
  height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.header-action--primary,
.header-action--primary:hover {
  color: #fff;
  background: var(--z-theme);
}

.header-action--primary:hover {
  background: var(--z-theme-deep);
}

.header-action--dark,
.header-action--dark:hover {
  color: #fff;
  background: #323335;
}

.header-action--dark:hover {
  background: #202123;
}

.page-home .header-action--primary:hover,
.page-home .header-action--dark:hover {
  color: #fff;
}

.page-home .menu-toggle {
  color: var(--z-main);
  background: #f3f4f5;
  border-color: rgba(50, 50, 50, .08);
}

.zib-home {
  padding-bottom: 8px;
}

.zib-home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, .82fr);
  gap: 20px;
  padding-top: 28px;
}

.zib-welcome-panel {
  position: relative;
  display: flex;
  min-height: 430px;
  overflow: hidden;
  align-items: center;
  padding: 48px 52px;
  background: linear-gradient(135deg, #fff 0%, #fff 64%, #fff4f8 100%);
  border: 1px solid rgba(50, 50, 50, .04);
  border-radius: var(--z-radius);
  box-shadow: var(--z-shadow);
}

.zib-welcome-copy {
  position: relative;
  z-index: 2;
  width: min(100%, 620px);
}

.zib-eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--z-muted);
  font-size: 13px;
  font-weight: 600;
}

.zib-eyebrow span {
  display: inline-flex;
  height: 24px;
  align-items: center;
  padding: 0 9px;
  color: #fff;
  background: var(--z-theme);
  border-radius: 4px;
  font-family: Bahnschrift, "DIN Alternate", sans-serif;
  font-size: 11px;
  font-weight: 700;
}

.zib-welcome-panel h1 {
  margin: 0;
  color: var(--z-key);
  font-size: clamp(44px, 4.2vw, 60px);
  font-weight: 800;
  line-height: 1.14;
  text-wrap: balance;
}

.zib-welcome-panel h1 em {
  color: var(--z-theme);
  font-style: normal;
}

.zib-hero-lead {
  max-width: 590px;
  margin: 18px 0 0;
  color: var(--z-muted);
  font-size: 15px;
  line-height: 1.85;
}

.zib-hero-lead strong,
.zib-hero-lead span {
  display: block;
}

.zib-hero-lead strong {
  color: var(--z-key);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.65;
}

.zib-hero-lead span {
  margin-top: 3px;
}

.zib-home-search {
  display: flex;
  width: min(100%, 590px);
  min-height: 56px;
  align-items: center;
  margin-top: 24px;
  padding: 5px 5px 5px 18px;
  background: #f5f6f7;
  border: 1px solid rgba(50, 50, 50, .06);
  border-radius: 16px 100px 100px 16px;
  transition: background .2s, border-color .2s, box-shadow .2s;
}

.zib-home-search:focus-within {
  background: #fff;
  border-color: rgba(240, 68, 148, .35);
  box-shadow: 0 0 0 4px rgba(240, 68, 148, .08);
}

.zib-home-search > i {
  flex: 0 0 auto;
  color: var(--z-muted-light);
  font-size: 20px;
}

.zib-home-search input {
  min-width: 0;
  height: 44px;
  flex: 1;
  padding: 0 12px;
  color: var(--z-key);
  background: transparent;
  border: 0;
  outline: 0;
}

.zib-home-search button {
  min-width: 94px;
  height: 44px;
  padding: 0 20px;
  color: #fff;
  background: var(--z-theme);
  border: 0;
  border-radius: 100px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
}

.zib-home-search button:hover {
  background: var(--z-theme-deep);
}

.zib-hot-topics {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-top: 19px;
  color: var(--z-muted-light);
  font-size: 12px;
}

.zib-hot-topics span {
  color: var(--z-muted);
  font-weight: 700;
}

.zib-hot-topics a {
  position: relative;
  color: var(--z-muted);
}

.zib-hot-topics a + a::before {
  position: absolute;
  top: 50%;
  left: -9px;
  width: 2px;
  height: 2px;
  background: #c5c7c9;
  border-radius: 50%;
  content: "";
}

.zib-welcome-word {
  position: absolute;
  right: -18px;
  bottom: -47px;
  color: rgba(240, 68, 148, .045);
  font-family: Bahnschrift, "DIN Alternate", sans-serif;
  font-size: clamp(150px, 17vw, 244px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  pointer-events: none;
}

.zib-spotlight-column {
  display: grid;
  min-width: 0;
  min-height: 430px;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 12px;
}

.zib-spotlight-card {
  position: relative;
  overflow: hidden;
  color: var(--z-key);
  background: var(--z-surface);
  border: 1px solid rgba(50, 50, 50, .035);
  border-radius: var(--z-radius);
  box-shadow: var(--z-shadow);
}

.zib-spotlight-carousel {
  position: relative;
  height: 100%;
  overflow: hidden;
  min-height: 280px;
  background: #fff;
}

.zib-spotlight-slide {
  position: absolute;
  inset: 0;
  display: block;
  background: #fff;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.018);
  transition: opacity .42s ease, transform .65s ease, visibility .42s;
  pointer-events: none;
}

.zib-spotlight-slide::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 15, 18, .02) 38%, rgba(13, 15, 18, .84) 100%);
  content: "";
}

.zib-spotlight-slide.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  pointer-events: auto;
}

.zib-spotlight-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .7s ease;
}

.zib-spotlight-slide:hover {
  color: #fff;
}

.zib-spotlight-slide:hover img {
  transform: scale(1.015);
}

.zib-spotlight-caption {
  position: absolute;
  right: 82px;
  bottom: 20px;
  left: 22px;
  z-index: 2;
  display: block;
  color: #fff;
}

.zib-spotlight-caption small {
  display: block;
  color: #ffb5d5;
  font-family: Bahnschrift, "DIN Alternate", sans-serif;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

.zib-spotlight-caption strong {
  display: block;
  margin-top: 7px;
  overflow: hidden;
  color: #fff;
  font-size: 22px;
  line-height: 1.3;
  text-overflow: ellipsis;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .38);
  white-space: nowrap;
}

.zib-spotlight-controls {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  display: flex;
  gap: 7px;
}

.zib-spotlight-arrow {
  display: grid;
  width: 32px;
  height: 32px;
  padding: 0;
  place-items: center;
  color: #fff;
  background: rgba(13, 15, 18, .52);
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 50%;
  cursor: pointer;
  font-size: 17px;
  transition: background .2s, border-color .2s;
}

.zib-spotlight-arrow:hover {
  color: #fff;
  background: var(--z-theme);
  border-color: var(--z-theme);
}

.zib-spotlight-games {
  display: grid;
  overflow-x: auto;
  overflow-y: hidden;
  grid-auto-columns: calc((100% - 32px) / 5);
  grid-auto-flow: column;
  gap: 8px;
  padding: 10px 8px 10px 12px;
  cursor: grab;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  background: var(--z-surface);
  border: 1px solid rgba(50, 50, 50, .035);
  border-radius: var(--z-radius);
  box-shadow: var(--z-shadow);
  -webkit-overflow-scrolling: touch;
}

.zib-spotlight-games::-webkit-scrollbar {
  display: none;
}

.zib-spotlight-games.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.zib-spotlight-game {
  position: relative;
  display: block;
  overflow: hidden;
  min-width: 0;
  padding: 0;
  aspect-ratio: 1;
  color: #fff;
  text-decoration: none;
  background: #e9ebed;
  border-radius: 8px;
  isolation: isolate;
  transition: box-shadow .2s, transform .2s;
  -webkit-user-drag: none;
}

.zib-spotlight-game::after {
  position: absolute;
  inset: 42% 0 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent, rgba(13, 15, 18, .82));
  content: "";
  pointer-events: none;
}

.zib-spotlight-game:hover {
  box-shadow: 0 7px 16px rgba(31, 35, 40, .18);
  transform: translateY(-2px);
}

.zib-spotlight-game-icon {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.zib-spotlight-game-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
  -webkit-user-drag: none;
}

.zib-spotlight-game:hover .zib-spotlight-game-icon img {
  transform: scale(1.04);
}

.zib-spotlight-game-name {
  position: absolute;
  right: 5px;
  bottom: 5px;
  left: 5px;
  z-index: 2;
  display: block;
  min-width: 0;
  overflow: hidden;
  padding-inline: 2px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-overflow: ellipsis;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .55);
  white-space: nowrap;
  pointer-events: none;
}

.zib-spotlight-game,
.zib-spotlight-arrow {
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}

.zib-spotlight-game:focus-visible,
.zib-spotlight-arrow:focus-visible,
.zib-spotlight-slide:focus-visible {
  outline: 3px solid var(--z-theme);
}

.zib-spotlight-game:focus-visible,
.zib-spotlight-arrow:focus-visible {
  outline-offset: 2px;
}

.zib-spotlight-slide:focus-visible {
  outline-offset: -5px;
}

.zib-spotlight-card:focus-within,
.zib-spotlight-games:focus-within {
  box-shadow: 0 12px 30px rgba(116, 116, 116, .14);
}

.zib-spotlight-arrow i {
  pointer-events: none;
}

.zib-channel-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding-top: 20px;
  padding-bottom: 28px;
}

.zib-channel-card {
  display: flex;
  min-width: 0;
  min-height: 96px;
  align-items: center;
  gap: 15px;
  padding: 14px 18px;
  color: var(--z-key);
  background: rgba(255, 255, 255, .86);
  border: 1px solid rgba(50, 50, 50, .035);
  border-radius: var(--z-radius);
  box-shadow: var(--z-shadow);
  transition: box-shadow .2s, transform .2s;
}

.zib-channel-card:hover {
  color: var(--z-key);
  box-shadow: 0 8px 24px rgba(116, 116, 116, .14);
  transform: translateY(-2px);
}

.zib-channel-icon {
  display: grid;
  width: 64px;
  height: 64px;
  overflow: hidden;
  flex: 0 0 auto;
  place-items: center;
  color: #fff;
  border-radius: 14px;
  font-size: 28px;
}

.zib-channel-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.zib-channel-icon.is-cyan {
  background: #41b8d5;
}

.zib-channel-icon.is-pink {
  background: var(--z-theme);
}

.zib-channel-icon.is-orange {
  background: #f59b35;
}

.zib-channel-copy {
  min-width: 0;
  flex: 1;
}

.zib-channel-copy strong {
  display: block;
  color: var(--z-key);
  font-size: 16px;
  line-height: 1.4;
}

.zib-channel-badge {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  margin-left: 4px;
  padding: 1px 5px;
  color: #fff;
  vertical-align: 2px;
  background: #45aaf2;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
}

.zib-channel-badge i {
  font-size: 9px;
}

.zib-channel-copy small {
  display: block;
  overflow: hidden;
  margin-top: 3px;
  color: var(--z-muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.zib-channel-card > i {
  flex: 0 0 auto;
  color: #b8babd;
  font-size: 17px;
}

.zib-home-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: start;
  padding-bottom: 68px;
}

.zib-home-main {
  min-width: 0;
}

.zib-content-section + .zib-content-section {
  margin-top: 42px;
}

.zib-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
  padding: 0 2px;
}

.zib-section-heading p {
  margin: 0 0 4px;
  color: var(--z-theme);
  font-family: Bahnschrift, "DIN Alternate", sans-serif;
  font-size: 10px;
  font-weight: 700;
}

.zib-section-heading h2 {
  margin: 0;
  color: var(--z-key);
  font-size: 25px;
  line-height: 1.35;
}

.zib-section-heading div > span {
  display: block;
  margin-top: 5px;
  color: var(--z-muted);
  font-size: 13px;
}

.zib-section-heading > a {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 5px;
  padding-bottom: 3px;
  color: var(--z-muted);
  font-size: 12px;
  font-weight: 600;
}

.zib-guides-heading {
  align-items: center;
  margin-bottom: 12px;
  padding: 0;
  border: 0;
}

.zib-guides-heading h2 {
  position: relative;
  padding: 0 0 8px;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.3;
}

.zib-guides-heading h2::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 3px;
  background: var(--z-theme);
  border-radius: 999px;
  content: "";
}

.game-section-heading {
  margin-bottom: 12px;
}

.game-category-tabs {
  display: flex;
  overflow-x: auto;
  gap: 4px;
  margin-bottom: 0;
  padding: 8px;
  scrollbar-width: none;
  background: rgba(255, 255, 255);
  border: 1px solid rgba(50, 50, 50, .045);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.page-home .game-category-tabs {
  width: 100%;
  max-width: 100%;
  margin-bottom: 10px;
  padding: 5px;
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(50, 50, 50, .05);
  border-radius: 8px;
  box-shadow: 0 3px 12px rgba(82, 82, 82, .045);
}

.game-category-tabs::-webkit-scrollbar {
  display: none;
}

.game-category-tab {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  flex: 0 0 auto;
  color: var(--z-muted);
  text-decoration: none;
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  transition: color .18s, background .18s, box-shadow .18s;
}

.game-category-tab:hover {
  color: var(--z-key);
  background: rgba(240, 68, 148, .06);
}

.game-category-tab.is-active {
  color: #fff;
  background: var(--z-theme);
  box-shadow: 0 4px 10px rgba(240, 68, 148, .22);
}

.page-home .game-category-tab.is-active:hover,
.page-home .filter-chip.is-active:hover {
  color: #fff;
}

.game-category-tab:focus-visible {
  outline: 3px solid rgba(240, 68, 148, .35);
  outline-offset: 1px;
}

.page-home .game-category-tab {
  min-height: 32px;
  padding: 5px 13px;
}

.game-filter-panel {
  position: relative;
  min-width: 0;
  padding: 14px 16px 16px 16px;
  background: rgba(255, 255, 255, .5);
  border: 1px solid rgba(50, 50, 50, .045);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  box-shadow: var(--z-shadow);
}

.page-home .game-filter-panel {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.game-filter-panel [data-home-games-empty][hidden],
.home-games-loading[hidden] {
  display: none;
}

.page-home [data-home-games-grid] {
  transition: opacity .18s ease;
}

.game-filter-panel.is-loading [data-home-games-grid] {
  opacity: .35;
  pointer-events: none;
}

.home-games-loading {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--z-muted);
  background: rgba(255, 255, 255, .72);
  border-radius: 8px;
  font-size: 12px;
  backdrop-filter: blur(2px);
}

.home-games-loading::before {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(240, 68, 148, .2);
  border-top-color: var(--z-theme);
  border-radius: 50%;
  content: "";
  animation: home-games-spin .7s linear infinite;
}

@keyframes home-games-spin {
  to {
    transform: rotate(360deg);
  }
}

.page-home .zib-section-more {
  width: 100%;
  margin-top: 14px;
}

.zib-more-link {
  display: flex;
  width: 100%;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  color: var(--z-main);
  text-decoration: none;
  background: #f5f6f7;
  border: 0;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 600;
  transition: color .18s, background .18s;
}

.zib-more-link:hover {
  color: var(--z-theme);
  background: var(--z-theme-soft);
}

.zib-more-link:focus-visible {
  outline: 3px solid var(--z-theme-soft);
  outline-offset: 2px;
}

.page-home .game-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.page-home .game-card {
  overflow: hidden;
  color: var(--z-key);
  background: var(--z-surface);
  border: 1px solid rgba(50, 50, 50, .04);
  border-radius: var(--z-radius);
  box-shadow: 0 5px 18px rgba(82, 82, 82, .065);
  transition: border-color .22s, box-shadow .22s, transform .22s;
}

.page-home .game-card:hover {
  border-color: rgba(240, 68, 148, .16);
  box-shadow: 0 10px 26px rgba(82, 82, 82, .13);
  transform: translateY(-2px);
}

.page-home .game-cover {
  aspect-ratio: 1.9 / 1;
  background: #e9ebed;
}

.page-home .game-media {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.page-home .game-media::after {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 48%;
  min-height: 50px;
  background: linear-gradient(180deg, transparent, rgba(13, 15, 18, .7));
  content: "";
  pointer-events: none;
}

.page-home .game-body {
  padding: 12px 14px 13px;
  background: linear-gradient(180deg, #fff 0%, #fcfcfd 100%);
}

.page-home .game-kicker {
  position: absolute;
  right: 10px;
  bottom: 8px;
  left: 10px;
  z-index: 2;
  gap: 6px;
  margin: 0;
  color: #fff;
  font-size: 10px;
  line-height: 1.35;
  pointer-events: none;
}

.page-home .game-kicker span {
  max-width: calc(100% - 52px);
  padding: 2px 6px;
  background: rgba(14, 16, 20, .54);
  border-radius: 4px;
}

.page-home .game-kicker span:first-child {
  min-width: 0;
  color: #fff;
  font-weight: 600;
}

.page-home .game-kicker span:last-child {
  display: block;
  flex: 0 0 auto;
  color: rgba(255, 255, 255, .92);
  font-weight: 500;
}

.page-home .game-body h3 {
  overflow: hidden;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-home .game-body h3 a,
.page-home .game-card:hover .game-body h3 a {
  display: block;
  overflow: hidden;
  color: var(--z-key);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-home .game-body h3 a:hover {
  color: var(--z-theme);
}

.page-home .game-body p {
  display: block;
  overflow: hidden;
  margin-top: 4px;
  color: var(--z-muted);
  font-size: 11px;
  line-height: 1.6;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.zib-sidebar {
  position: sticky;
  top: 88px;
}

.zib-side-card {
  padding: 20px;
  background: var(--z-surface);
  border: 1px solid rgba(50, 50, 50, .035);
  border-radius: var(--z-radius);
  box-shadow: var(--z-shadow);
}

.zib-side-card + .zib-side-card {
  margin-top: 18px;
}

.zib-side-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.zib-side-heading h2,
.zib-side-note h2 {
  margin: 0;
  color: var(--z-key);
  font-size: 16px;
  line-height: 1.4;
}

.zib-side-heading > span {
  color: #c4c6c8;
  font-family: Bahnschrift, "DIN Alternate", sans-serif;
  font-size: 10px;
  font-weight: 700;
}

.zib-side-heading > a {
  color: var(--z-muted-light);
  font-size: 12px;
}

.zib-topic-row {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 58px;
  color: var(--z-key);
  border-top: 1px solid var(--z-line);
}

.zib-topic-row:hover {
  color: var(--z-theme);
}

.zib-topic-number {
  color: var(--z-theme);
  font-family: Bahnschrift, "DIN Alternate", sans-serif;
  font-size: 12px;
  font-weight: 700;
}

.zib-topic-copy {
  min-width: 0;
}

.zib-topic-copy strong {
  display: block;
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.zib-topic-copy small {
  display: block;
  margin-top: 1px;
  color: var(--z-muted-light);
  font-size: 11px;
}

.zib-topic-row > i {
  color: #c4c6c8;
  font-size: 14px;
}

.zib-category-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.zib-category-chip {
  display: flex;
  min-width: 0;
  height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 0 11px;
  color: var(--z-main);
  background: #f5f6f7;
  border-radius: 5px;
  font-size: 12px;
}

.zib-category-chip:hover {
  color: var(--z-theme);
  background: var(--z-theme-soft);
}

.zib-category-chip span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.zib-category-chip small {
  display: grid;
  min-width: 18px;
  height: 18px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--z-muted-light);
  background: #fff;
  border-radius: 50%;
  font-size: 10px;
}

.zib-side-note {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}

.zib-side-note .zib-channel-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  font-size: 20px;
}

.zib-side-note p {
  margin: 6px 0 0;
  color: var(--z-muted);
  font-size: 12px;
  line-height: 1.7;
}

.page-home .article-grid--home-zib {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: 12px;
}

.page-home .article-card {
  min-height: 90px;
  align-items: center;
  flex-direction: row;
  gap: 9px;
  padding: 7px;
  color: var(--z-key);
  background: var(--z-surface);
  border: 1px solid rgba(50, 50, 50, .035);
  border-radius: var(--z-radius);
  box-shadow: 0 4px 14px rgba(82, 82, 82, .055);
}

.page-home .article-card:hover {
  border-color: rgba(240, 68, 148, .16);
  box-shadow: 0 7px 18px rgba(82, 82, 82, .1);
  transform: translateY(-1px);
}

.page-home .article-card-cover {
  width: 112px;
  height: 76px;
  min-height: 76px;
  flex: 0 0 112px;
  align-self: center;
  aspect-ratio: auto;
  background: #e9ebed;
  border-radius: 7px;
}

.page-home .article-card-body {
  display: grid;
  min-width: 0;
  flex: 1;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto minmax(0, 1fr);
  align-self: stretch;
  column-gap: 10px;
  row-gap: 1px;
  padding: 2px 2px 1px 0;
}

.page-home .article-meta {
  grid-row: 3;
  grid-column: 1;
  align-self: end;
  color: var(--z-theme);
  font-size: 9px;
}

.page-home .article-card h3 {
  display: block;
  overflow: hidden;
  grid-row: 1;
  grid-column: 1 / -1;
  align-self: start;
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-home .article-card h3 a {
  color: var(--z-key);
}

.page-home .article-card h3 a:hover {
  color: var(--z-theme);
}

.page-home .article-card p {
  display: -webkit-box;
  overflow: hidden;
  grid-row: 2;
  grid-column: 1 / -1;
  margin: 0;
  color: var(--z-muted);
  font-size: 10px;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.page-home .article-card-link {
  grid-row: 3;
  grid-column: 2;
  align-self: end;
  justify-self: end;
  margin: 0;
  padding: 0;
  color: var(--z-theme);
  font-size: 9px;
  white-space: nowrap;
}

.page-home .empty-state {
  color: var(--z-muted);
  background: var(--z-surface);
  border: 1px solid var(--z-line);
  border-radius: var(--z-radius);
  box-shadow: var(--z-shadow);
}

.page-home .site-footer {
  padding: 54px 0 26px;
  color: var(--z-muted);
  background: var(--z-surface);
  border-top: 1px solid var(--z-line);
  box-shadow: none;
}

.page-home .footer-brand img {
  width: 164px;
}

.page-home .footer-copy {
  color: var(--z-muted);
}

.page-home .footer-links a {
  color: var(--z-main);
}

.page-home .footer-links a:hover {
  color: var(--z-theme);
}

.page-home .footer-bottom {
  color: var(--z-muted-light);
  border-color: var(--z-line);
}

@media (max-width: 1180px) {
  .header-actions {
    display: none;
  }

  .page-home .header-search {
    width: 190px;
  }

  .page-home .nav-primary a {
    padding-inline: 7px;
    font-size: 13px;
  }

  .zib-home-hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(330px, .9fr);
  }

  .zib-welcome-panel {
    padding: 42px;
  }

  .zib-home-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
  }
}

@media (max-width: 980px) {
  .page-home .site-header {
    background: rgba(255, 255, 255, .94);
  }

  .page-home .menu-toggle {
    display: grid;
  }

  .page-home .site-nav {
    padding: 16px;
    background: #fff;
    border: 1px solid var(--z-line);
    border-top: 0;
    border-radius: 0 0 var(--z-radius) var(--z-radius);
    box-shadow: 0 18px 36px rgba(40, 42, 45, .12);
  }

  .page-home .nav-primary {
    gap: 5px;
  }

  .page-home .nav-primary a {
    padding: 10px 12px;
    background: #f6f7f8;
  }

  .page-home .nav-primary a.is-active {
    background: var(--z-theme-soft);
  }

  .page-home .nav-primary a.is-active::after {
    display: none;
  }

  .page-home .header-search {
    width: 100%;
    margin-top: 12px;
  }

  .zib-home-hero {
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr);
  }

  .zib-welcome-panel {
    min-height: 400px;
    padding: 34px;
  }

  .zib-welcome-panel h1 {
    font-size: 43px;
  }

  .zib-spotlight-column {
    min-height: 400px;
  }

  .zib-home-layout {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 18px;
  }

}

@media (max-width: 780px) {
  .zib-home-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .zib-welcome-panel {
    min-height: 390px;
  }

  .zib-spotlight-column {
    min-height: 360px;
  }

  .zib-home-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .zib-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .zib-side-card + .zib-side-card {
    margin-top: 0;
  }

  .zib-side-note {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .page-home .container {
    width: min(calc(100% - 28px), 1240px);
  }

  .page-home .header-main {
    min-height: 62px;
  }

  .page-home .brand img {
    width: 112px;
  }

  .page-home .menu-toggle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 20px;
  }

  .zib-home-hero {
    gap: 14px;
    padding-top: 14px;
  }

  .zib-welcome-panel {
    min-height: 0;
    padding: 29px 22px 27px;
  }

  .zib-eyebrow {
    margin-bottom: 14px;
    font-size: 11px;
  }

  .zib-welcome-panel h1 {
    font-size: 37px;
    line-height: 1.18;
  }

  .zib-hero-lead {
    margin-top: 14px;
    font-size: 13px;
    line-height: 1.75;
  }

  .zib-hero-lead strong {
    font-size: 14px;
  }

  .zib-home-search {
    min-height: 52px;
    margin-top: 20px;
    padding-left: 14px;
  }

  .zib-home-search > i {
    font-size: 18px;
  }

  .zib-home-search input {
    height: 40px;
    padding-inline: 9px;
    font-size: 13px;
  }

  .zib-home-search button {
    min-width: 72px;
    height: 40px;
    padding-inline: 14px;
  }

  .zib-hot-topics {
    gap: 7px 13px;
    margin-top: 15px;
    line-height: 1.6;
  }

  .zib-welcome-word {
    right: -10px;
    bottom: -24px;
    font-size: 112px;
  }

  .zib-spotlight-carousel {
    min-height: 195px;
  }

  .zib-spotlight-caption {
    right: 64px;
    bottom: 16px;
    left: 16px;
  }

  .zib-spotlight-caption strong {
    font-size: 18px;
  }

  .zib-spotlight-controls {
    right: 10px;
    bottom: 10px;
  }

  .zib-spotlight-games {
    grid-auto-columns: calc((100% - 24px) / 5);
    gap: 6px;
    padding: 9px 6px 9px 10px;
  }

  .zib-spotlight-game-name {
    right: 3px;
    bottom: 4px;
    left: 3px;
    font-size: 11px;
  }

  .zib-channel-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding-top: 14px;
    padding-bottom: 24px;
  }

  .zib-channel-card {
    min-height: 86px;
    padding: 14px 15px;
  }

  .zib-channel-icon {
    width: 58px;
    height: 58px;
    border-radius: 13px;
    font-size: 25px;
  }

  .zib-section-heading {
    align-items: flex-start;
    margin-bottom: 14px;
  }

  .zib-section-heading h2 {
    font-size: 22px;
  }

  .zib-section-heading div > span {
    display: none;
  }

  .zib-section-heading > a {
    margin-top: 18px;
    font-size: 11px;
  }

  .zib-guides-heading {
    margin-bottom: 10px;
  }

  .zib-guides-heading h2 {
    padding-bottom: 7px;
    font-size: 18px;
  }

  .zib-guides-heading h2::after {
    width: 26px;
    height: 2px;
  }

  .page-home .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .page-home .game-category-tabs {
    gap: 2px;
    margin-bottom: 8px;
    padding: 3px;
  }

  .page-home .game-category-tab {
    min-height: 32px;
    padding: 5px 11px;
    font-size: 11px;
  }

  .page-home .game-card {
    border-radius: 7px;
  }

  .page-home .game-cover {
    aspect-ratio: 4 / 3;
  }

  .page-home .game-body {
    padding: 10px 11px 11px;
  }

  .page-home .game-kicker {
    right: 8px;
    bottom: 7px;
    left: 8px;
    gap: 4px;
    font-size: 9px;
  }

  .page-home .game-kicker span {
    max-width: calc(100% - 42px);
    padding: 2px 4px;
  }

  .page-home .game-body h3 {
    font-size: 12px;
    line-height: 1.45;
  }

  .page-home .game-body p {
    display: none;
  }

  .zib-content-section + .zib-content-section {
    margin-top: 34px;
  }

  .page-home .article-grid--home-zib {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .page-home .article-card {
    min-height: 78px;
    gap: 8px;
    padding: 7px;
  }

  .page-home .article-card-cover {
    width: 92px;
    height: 64px;
    min-height: 64px;
    flex-basis: 92px;
    border-radius: 6px;
  }

  .page-home .article-card-body {
    padding: 1px 1px 0 0;
  }

  .page-home .article-card h3 {
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
  }

  .page-home .article-card p {
    font-size: 9px;
  }

  .page-home .article-meta {
    font-size: 8px;
  }

  .page-home .article-card-link {
    font-size: 8px;
  }

  .zib-home-layout {
    padding-bottom: 46px;
  }

  .zib-sidebar {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .zib-side-note {
    grid-column: auto;
  }

  .page-home .site-footer {
    padding: 42px 0 24px;
  }

  .page-home .footer-brand img {
    width: 145px;
  }
}

@media (max-width: 420px) {
  .page-home .header-main {
    gap: 10px;
  }

  .page-home .brand img {
    width: 104px;
  }

  .zib-welcome-panel h1 {
    font-size: 34px;
  }

  .zib-home-search button {
    min-width: 64px;
    padding-inline: 11px;
  }

  .zib-spotlight-games {
    grid-auto-columns: calc((100% - 20px) / 5);
    gap: 5px;
    padding: 8px 5px 8px 8px;
  }

  .zib-spotlight-game-name {
    right: 2px;
    bottom: 3px;
    left: 2px;
    font-size: 10px;
  }

  .zib-channel-copy small {
    max-width: 230px;
  }

  .zib-section-heading {
    gap: 12px;
  }

  .zib-section-heading > a {
    white-space: nowrap;
  }

}

/* Zibll-inspired game detail */
.page-game-detail {
  --detail-panel-bg: #ffffff;
  --detail-panel-soft: #fbfafb;
}

.page-game-detail .game-hero {
  padding: 18px 0 0;
  color: var(--z-main);
  background: transparent;
  border-top: 0;
}

.page-game-detail .breadcrumbs {
  margin-bottom: 12px;
  color: var(--z-muted-light);
  font-size: 11px;
}

.page-game-detail .breadcrumbs a {
  color: var(--z-muted);
}

.page-game-detail .breadcrumbs a:hover {
  color: var(--z-theme);
}

.page-game-detail .breadcrumbs li:not(:last-child)::after {
  color: #c4c6c8;
}

.page-game-detail .game-hero-layout {
  grid-template-columns: 190px minmax(0, 1fr) 162px 354px;
  gap: 16px;
  align-items: stretch;
  padding: 18px;
  background: var(--detail-panel-bg);
  border: 1px solid rgba(50, 50, 50, .04);
  border-radius: var(--z-radius);
  box-shadow: 0 4px 18px rgba(82, 82, 82, .06);
}

.page-game-detail .game-poster-shell {
  display: grid;
  width: 100%;
  max-width: 176px;
  aspect-ratio: 1;
  align-self: center;
  justify-self: center;
  padding: 14px;
  background-color: #ececec8f;
  border-radius: 50%;
  place-items: center;
}

.page-game-detail .game-poster {
  width: 100%;
  max-width: 148px;
  aspect-ratio: 1;
  isolation: isolate;
  background: #16181b;
  border: 0;
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(50, 50, 50, .12);
}

.page-game-detail .game-poster::before {
  filter: blur(9px) saturate(.94) brightness(.84);
}

.page-game-detail .game-poster::before {
  position: absolute;
  inset: -14px;
  z-index: 0;
  background-image: var(--game-poster-image, none);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: blur(9px);
  content: "";
  pointer-events: none;
}

.page-game-detail .game-poster::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(14, 16, 20, .12), rgba(14, 16, 20, .46)),
    rgba(255, 255, 255, .04);
  box-shadow: inset 0 0 60px rgba(10, 12, 16, .24);
  content: "";
  pointer-events: none;
}

.page-game-detail .game-poster-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  width: 88px;
  height: 88px;
  overflow: hidden;
  padding: 1px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .58), rgba(255, 255, 255, .22));
  border: 2px solid rgba(255, 255, 255, .88);
  border-radius: 19px;
  box-shadow:
    0 0 0 7px rgba(255, 255, 255, .1),
    0 18px 38px rgba(10, 12, 16, .42),
    0 4px 10px rgba(10, 12, 16, .24);
  backdrop-filter: blur(14px) saturate(1.18);
  transform: translate(-50%, -50%);
  transition: transform .22s ease, box-shadow .22s ease;
}

.page-game-detail .game-poster-icon::before {
  position: absolute;
  inset: 2px;
  z-index: 1;
  background: linear-gradient(135deg, rgba(255, 255, 255, .32), transparent 42%);
  border-radius: 15px;
  content: "";
  pointer-events: none;
}

.page-game-detail .game-poster-icon img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 13px;
  object-fit: cover;
}

.page-game-detail .game-poster:hover .game-poster-icon {
  box-shadow:
    0 0 0 8px rgba(255, 255, 255, .13),
    0 22px 44px rgba(10, 12, 16, .48),
    0 5px 12px rgba(10, 12, 16, .26);
  transform: translate(-50%, -50%) scale(1.025);
}

.page-game-detail .game-poster figcaption {
  right: 10px;
  bottom: 10px;
  z-index: 2;
  padding: 4px 8px;
  color: #fff;
  background: rgba(16, 18, 22, .62);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
}

.page-game-detail .game-hero-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 2px 4px 2px 0;
}

.page-game-detail .game-hero-qr {
  display: flex;
  min-width: 0;
  align-self: stretch;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  background-color: #efefef;
  border: 1px solid rgba(50, 50, 50, .08);
  border-radius: 6px;
}

.page-game-detail .game-hero-qr-code {
  position: relative;
  width: 146px;
  max-width: 100%;
  aspect-ratio: 1;
  padding: 7px;
  background: #fff;
  border: 1px solid rgba(50, 50, 50, .08);
  border-radius: 6px;
  box-shadow: 0 5px 16px rgba(82, 82, 82, .08);
}

.page-game-detail .game-hero-qr canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
  border-radius: 3px;
  image-rendering: pixelated;
}

.page-game-detail .game-hero-qr-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 0;
  color: var(--z-key);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}

.page-game-detail .game-hero-qr-caption .ti {
  color: var(--z-theme);
  font-size: 15px;
}

.page-game-detail .game-hero-qr-error {
  position: absolute;
  inset: 7px;
  display: grid;
  padding: 8px;
  color: #9b6b77;
  background: #fff8fa;
  font-size: 10px;
  text-align: center;
  place-items: center;
}

.page-game-detail .game-hero-qr-error[hidden] {
  display: none;
}

.page-game-detail .game-hero-promos {
  position: relative;
  display: flex;
  min-width: 0;
  overflow: hidden;
  align-self: stretch;
  align-items: center;
  height: 100%;
  padding-left: 16px;
  border-left: 1px solid rgba(50, 50, 50, .08);
}

.page-game-detail .game-hero-promos-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: var(--hero-promo-aspect-ratio, 5 / 3);
  overflow: hidden;
  background: #fff;
  border-radius: 6px;
}

.page-game-detail .game-hero-promos-track {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.page-game-detail .game-hero-promo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  padding: 0;
  color: var(--z-key);
  background: #fff;
  border-radius: 6px;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.018);
  transition: opacity .42s ease, transform .65s ease, visibility .42s;
  pointer-events: none;
}

.page-game-detail .game-hero-promo[aria-hidden="false"] {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  pointer-events: auto;
}

.page-game-detail .game-hero-promo::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 42%, rgba(10, 12, 16, .78));
  content: "";
  pointer-events: none;
}

.page-game-detail .game-hero-promo:hover {
  color: var(--z-key);
}

.page-game-detail .game-hero-promo:focus-visible {
  outline: 3px solid rgba(240, 68, 148, .35);
  outline-offset: -3px;
}

.page-game-detail .game-hero-promo-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .35s ease;
}

.page-game-detail .game-hero-promo:hover .game-hero-promo-image {
  transform: scale(1.025);
}

.page-game-detail .game-hero-promo-overlay {
  position: absolute;
  right: 10px;
  bottom: 19px;
  left: 9px;
  z-index: 2;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 7px;
  align-items: center;
  pointer-events: none;
}

.page-game-detail .game-hero-promo-icon {
  display: grid;
  width: 34px;
  height: 34px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(10, 12, 16, .25);
  place-items: center;
}

.page-game-detail .game-hero-promo-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-game-detail .game-hero-promo-copy {
  display: block;
  min-width: 0;
}

.page-game-detail .game-hero-promo-copy strong {
  display: block;
  overflow: hidden;
  color: #fff;
  font-size: 11px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-game-detail .game-hero-promo-badge {
  display: inline-block;
  margin-left: 2px;
  padding: 0 4px;
  color: #1a8ab9;
  vertical-align: 1px;
  background: #fff;
  border-radius: 999px;
  font-size: 8px;
  line-height: 1.5;
}

.page-game-detail .game-hero-promo-copy small {
  display: block;
  overflow: hidden;
  margin-top: 1px;
  color: rgba(255, 255, 255, .8);
  font-size: 8px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-game-detail .game-hero-promos-nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: grid;
  width: 24px;
  height: 32px;
  padding: 0;
  color: #fff;
  background: rgba(10, 12, 16, .58);
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  place-items: center;
  transform: translateY(-50%);
  transition: background .18s ease;
}

.page-game-detail .game-hero-promos-nav:hover {
  background: rgba(240, 68, 148, .88);
}

.page-game-detail .game-hero-promos-nav:focus-visible {
  outline: 2px solid rgba(255, 255, 255, .75);
  outline-offset: 1px;
}

.page-game-detail .game-hero-promos-nav .ti {
  font-size: 16px;
}

.page-game-detail .game-hero-promos-nav--prev {
  left: 21px;
}

.page-game-detail .game-hero-promos-nav--next {
  right: 5px;
}

.page-game-detail .game-hero-promos-dots {
  position: absolute;
  right: 7px;
  bottom: 6px;
  left: auto;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 3px 5px;
  background: rgba(10, 12, 16, .42);
  border: 0;
  border-radius: 999px;
}

.page-game-detail .game-hero-promos-dots button {
  width: 4px;
  height: 4px;
  padding: 0;
  background: rgba(255, 255, 255, .6);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: width .2s ease, background .2s ease;
}

.page-game-detail .game-hero-promos-dots button.is-active {
  width: 10px;
  background: #fff;
}

.page-game-detail .game-hero-promos-dots button:focus-visible {
  outline: 2px solid rgba(255, 255, 255, .7);
  outline-offset: 2px;
}

.page-game-detail .section-kicker {
  margin-bottom: 4px;
  color: var(--z-theme);
  font-size: 9px;
  font-weight: 700;
}

.page-game-detail .game-hero-copy h1 {
  display: flex;
  max-width: 100%;
  min-width: 0;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 8px;
  color: var(--z-key);
  font-size: clamp(25px, 2.5vw, 34px);
  font-weight: 800;
  line-height: 1.28;
  white-space: nowrap;
}

.page-game-detail .game-title-main {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-game-detail .game-title-subtitle {
  display: inline-flex;
  min-width: 0;
  flex: 0 1 auto;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  color: var(--z-theme);
  font-size: .52em;
  font-weight: 600;
  line-height: 1.4;
  text-overflow: ellipsis;
}

.page-game-detail .game-title-subtitle::before {
  flex: 0 0 auto;
  width: 1px;
  height: 1.1em;
  background: rgba(240, 68, 148, .24);
  content: "";
}

.page-game-detail .game-subtitle {
  max-width: 680px;
  margin-top: 6px;
  color: var(--z-muted);
  font-size: 11px;
  line-height: 1.65;
  opacity: .78;
}

.page-game-detail .game-subtitle-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  margin-top: 8px;
}

.page-game-detail .game-subtitle-row > .game-subtitle {
  margin-top: 0;
}

.page-game-detail .game-hero .tag-row {
  display: flex;
  gap: 6px;
  margin-top: 0;
}

.page-game-detail .game-hero .tag {
  min-height: 23px;
  padding: 2px 7px;
  color: var(--z-theme-deep);
  background: var(--z-theme-soft);
  border: 1px solid rgba(240, 68, 148, .12);
  border-radius: 4px;
  font-size: 10px;
}

.page-game-detail .game-hero a.tag:hover {
  color: #fff;
  background: var(--z-theme);
  border-color: var(--z-theme);
}

.page-game-detail .detail-facts {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 18px;
  margin: 12px 0 0;
  padding: 11px 0;
  color: var(--z-muted);
  border-color: var(--z-line);
  font-size: 11px;
}

.page-game-detail .game-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.page-game-detail .game-hero-action {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 12px;
  color: var(--z-theme-deep);
  background: #fff;
  border: 1px solid rgba(240, 68, 148, .17);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  transition: color .18s, background .18s, border-color .18s;
  cursor: pointer;
}

.page-game-detail .game-hero-action:hover {
  color: #fff;
  background: var(--z-theme);
  border-color: var(--z-theme);
}

.page-game-detail .game-hero-action--android {
  color: #fff;
  background: var(--z-theme);
  border-color: var(--z-theme);
  box-shadow: 0 4px 10px rgba(240, 68, 148, .2);
}

.page-game-detail .game-hero-action--android:hover {
  background: var(--z-theme-deep);
  border-color: var(--z-theme-deep);
}

.page-game-detail .game-hero-action--apple {
  color: #fff;
  background: #25272b;
  border-color: #25272b;
}

.page-game-detail .game-hero-action--apple:hover {
  color: #fff;
  background: #111214;
  border-color: #111214;
}

.page-game-detail .game-hero-action--online {
  color: var(--z-theme-deep);
  background: var(--z-theme-soft);
  border-color: rgba(240, 68, 148, .15);
}

.page-game-detail .game-hero-action--online:hover {
  color: var(--z-theme-deep);
  background: #ffe1ef;
  border-color: rgba(240, 68, 148, .24);
}

.page-game-detail .game-hero-action.is-disabled,
.page-game-detail .game-hero-action.is-disabled:hover,
.page-game-detail .game-hero-action:disabled {
  color: #a0a4a8;
  background: #f1f2f3;
  border-color: #e3e5e7;
  box-shadow: none;
  cursor: not-allowed;
  opacity: 1;
}

.download-guide {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(17, 24, 39, .72);
  backdrop-filter: blur(4px);
}

.download-guide[hidden] {
  display: none;
}

.download-guide--wechat {
  align-items: flex-start;
  padding-top: max(18px, env(safe-area-inset-top));
  background: rgba(17, 24, 39, .58);
}

.download-guide__close {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--z-muted);
  background: var(--z-surface, #fff);
  border: 1px solid var(--z-line);
  border-radius: 50%;
  cursor: pointer;
}

.download-guide__close:hover {
  color: var(--z-text, #222);
  background: var(--z-surface-soft, #f5f5f5);
}

.download-guide__image {
  width: min(430px, 100%);
  margin: 0 auto;
}

.download-guide__image img {
  display: block;
  width: 100%;
  height: auto;
}

.download-guide__panel {
  position: relative;
  width: min(440px, 100%);
  padding: 28px 24px 22px;
  background: var(--z-surface, #fff);
  border-radius: var(--z-radius);
  box-shadow: 0 20px 60px rgba(15, 23, 42, .24);
}

.download-guide__panel .download-guide__close {
  position: absolute;
  top: 12px;
  right: 12px;
}

.download-guide__kicker {
  margin: 0 42px 8px 0;
  color: var(--z-theme);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
}

.download-guide__panel h2 {
  margin: 0 42px 10px 0;
  color: var(--z-text, #222);
  font-size: 22px;
  line-height: 1.35;
}

.download-guide__text {
  margin: 0 0 18px;
  color: var(--z-muted);
  font-size: 13px;
  line-height: 1.75;
}

.download-guide__panel label {
  display: block;
  margin-bottom: 7px;
  color: var(--z-text, #222);
  font-size: 12px;
  font-weight: 600;
}

.download-guide__copy {
  display: flex;
  overflow: hidden;
  border: 1px solid var(--z-line);
  border-radius: 6px;
}

.download-guide__copy input {
  min-width: 0;
  flex: 1;
  padding: 10px 11px;
  color: var(--z-muted);
  background: var(--z-surface-soft, #f7f7f7);
  border: 0;
  font-size: 12px;
  outline: 0;
}

.download-guide__copy button {
  flex: 0 0 auto;
  padding: 0 14px;
  color: #fff;
  background: var(--z-theme);
  border: 0;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.download-guide__copy button:hover {
  background: var(--z-theme-deep);
}

.download-guide__status {
  min-height: 18px;
  margin: 7px 0 0;
  color: var(--z-muted);
  font-size: 11px;
}

body.download-guide-open {
  overflow: hidden;
}

.page-game-detail .game-content-section {
  padding: 18px 0 56px;
}

.page-game-detail #game-intro-title,
.page-game-detail #game-media-title {
  scroll-margin-top: 86px;
}

.page-game-detail .detail-layout {
  grid-template-columns: minmax(0, 1fr) 292px;
  gap: 18px;
}

.page-game-detail .editorial-section {
  padding: 22px 24px 24px;
  background: var(--detail-panel-bg);
  border: 1px solid rgba(50, 50, 50, .04);
  border-radius: var(--z-radius);
  box-shadow: 0 4px 16px rgba(82, 82, 82, .05);
}

.page-game-detail .editorial-section + .editorial-section {
  margin-top: 16px;
  padding-top: 22px;
  border: 1px solid rgba(50, 50, 50, .04);
}

.page-game-detail .editorial-section h2 {
  margin-bottom: 14px;
  color: var(--z-key);
  font-size: 21px;
  font-weight: 700;
}

.page-game-detail .rich-content {
  max-width: 100%;
  color: #42474c;
  font-size: 14px;
  line-height: 1.75;
}

.page-game-detail .rich-content p {
  margin-bottom: 1em;
  text-wrap: pretty;
}

.page-game-detail .rich-content h2 {
  margin: .3em 0 .5em;
  padding-left: 7px;
  color: var(--z-key);
  border-left: 3px solid var(--z-theme);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-wrap: pretty;
}

.page-game-detail .rich-content h3 {
  margin: 1.6em 0 .6em;
  color: var(--z-key);
  font-size: 17px;
  line-height: 1.55;
}

.page-game-detail .rich-content h4 {
  margin: 1.4em 0 .55em;
  font-size: 16px;
  line-height: 1.6;
}

.page-game-detail .rich-content a {
  color: var(--z-theme-deep);
}

.page-game-detail .rich-content a:hover {
  color: var(--z-theme);
}

.page-game-detail .game-promo-video {
  background: #16181b;
  border-radius: 6px;
}

.page-game-detail .game-media-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.page-game-detail .game-media-heading h2 {
  margin: 0;
}

.page-game-detail .game-media-count {
  flex: 0 0 auto;
  padding-bottom: 2px;
  color: var(--z-muted-light);
  font-size: 10px;
  font-weight: 600;
}

.page-game-detail .game-media-heading,
.page-game-detail .gift-panel-heading,
.page-game-detail .game-info-panel > .section-kicker,
.page-game-detail .game-info-panel > h2,
.page-game-detail .related-panel:not(.game-info-panel) > .section-kicker,
.page-game-detail .related-panel:not(.game-info-panel) > h2,
.page-game-detail .game-main-column > .editorial-section[aria-labelledby="game-intro-title"] > .section-kicker,
.page-game-detail #game-intro-title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  margin: -1px;
  padding: 0;
  border: 0;
  white-space: nowrap;
}

.page-game-detail .game-media-swiper {
  overflow: visible;
  border-radius: 0;
}

.page-game-detail .game-media-swiper:focus-visible {
  outline: 3px solid rgba(240, 68, 148, .28);
  outline-offset: 3px;
}

.page-game-detail .game-media-track {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 10px;
  padding-bottom: 0;
  cursor: grab;
  -ms-overflow-style: none;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  scroll-snap-type: none;
  touch-action: pan-x pan-y;
}

.page-game-detail .game-media-track::-webkit-scrollbar {
  display: none;
}

.page-game-detail .game-media-track.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.page-game-detail .game-media-track.is-dragging .game-video-play {
  cursor: grabbing;
}

.page-game-detail .game-media-slide {
  position: relative;
  overflow: hidden;
  align-self: stretch;
  flex: 0 0 184px;
  margin: 0;
  background: #fff;
  border: 1px solid rgba(50, 50, 50, .04);
  border-radius: 7px;
}

.page-game-detail .game-media-slide--video {
  flex-basis: min(67%, 587px);
  aspect-ratio: 16 / 9;
  background: #fff;
}

.page-game-detail .game-media-track.is-row-sized .game-media-slide--video {
  height: var(--media-row-height);
  aspect-ratio: auto;
}

.page-game-detail .game-media-track.is-row-sized .game-media-slide:not(.game-media-slide--video) {
  flex: 0 0 auto;
  width: auto;
  height: var(--media-row-height);
  aspect-ratio: var(--media-ratio, 3 / 5);
}

.page-game-detail .game-media-slide img,
.page-game-detail .game-media-slide video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-game-detail .game-media-slide[data-imgbox-item] {
  height: 320px;
  flex: 0 0 auto;
  aspect-ratio: var(--media-ratio, 3 / 5);
  cursor: default;
}

.page-game-detail .game-media-slide[data-imgbox-item]:focus-visible {
  outline: 3px solid rgba(240, 68, 148, .48);
  outline-offset: -3px;
}

.page-game-detail .game-video-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(10, 12, 16, .24);
  pointer-events: none;
  transition: opacity .2s ease;
}

.page-game-detail .game-video-play {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.page-game-detail .game-video-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 62px;
  height: 62px;
  background: url("../img/btn_play.png") center / contain no-repeat;
  transform: translate(-50%, -50%);
  transition: opacity .18s, transform .18s;
}

.page-game-detail .game-video-play::before {
  display: none;
}

.page-game-detail .game-video-play:hover .game-video-play-icon {
  opacity: .9;
  transform: translate(-50%, -50%) scale(1.04);
}

.page-game-detail .game-video-play:focus-visible {
  outline: 3px solid rgba(255, 255, 255, .5);
  outline-offset: -4px;
}

.page-game-detail .game-media-slide--video.is-playing .game-video-shade,
.page-game-detail .game-media-slide--video.is-playing .game-video-play-icon,
.page-game-detail .game-media-slide--video.is-playing .game-media-label {
  opacity: 0;
}

.page-game-detail .game-media-slide figcaption,
.page-game-detail .game-media-label {
  position: absolute;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 7px;
  color: #fff;
  background: rgba(14, 16, 20, .58);
  border-radius: 4px;
  font-size: 9px;
  line-height: 1.4;
  pointer-events: none;
}

.page-game-detail .game-media-slide figcaption {
  right: 8px;
  bottom: 8px;
}

.page-game-detail .game-media-label {
  top: 8px;
  left: 8px;
}

/* Native adaptation of the Zibll imgbox viewer */
body.imgbox-show {
  overflow: hidden;
}

.imgbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity .28s ease, visibility .28s ease;
}

.imgbox[hidden],
.imgbox [hidden] {
  display: none !important;
}

.imgbox.show {
  opacity: 1;
  visibility: visible;
}

.imgbox.hideing {
  opacity: 0;
  visibility: visible;
}

.imgbox-bg {
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 16, .9);
}

.imgbox-an {
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 5;
  display: flex;
  gap: 8px;
}

.imgbox-an > button {
  display: grid;
  width: 36px;
  height: 36px;
  padding: 0;
  color: #fff;
  background: rgba(41, 41, 41, .78);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  place-items: center;
  transition: background .2s ease, transform .2s ease;
}

.imgbox-an > button:hover {
  background: rgba(240, 68, 148, .9);
  transform: translateY(-1px);
}

.imgbox-an > button:focus-visible,
.imgbox-nav:focus-visible {
  outline: 3px solid rgba(240, 68, 148, .62);
  outline-offset: 2px;
}

.imgbox-an .ti {
  font-size: 18px;
  line-height: 1;
}

.imgbox .swiper-imgbox {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  touch-action: none;
}

.imgbox .swiper-slide {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.imgbox.show .swiper-imgbox .swiper-slide {
  animation: imgbox-scale-in .48s cubic-bezier(.1, .73, .41, 1.1);
}

.imgbox.hideing .swiper-imgbox .swiper-slide {
  animation: imgbox-scale-out .28s ease both;
}

.imgbox .swiper-zoom-container {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.imgbox .swiper-imgbox img {
  display: block;
  width: auto;
  height: auto;
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  cursor: default;
  user-select: none;
  transform: translate3d(0, 0, 0) scale(1);
  transition: transform .26s ease;
  -webkit-user-drag: none;
}

.imgbox .swiper-imgbox img.is-zoomed {
  cursor: grab;
}

.imgbox .swiper-imgbox img.is-panning {
  cursor: grabbing;
  transition: none;
}

.imgbox-nav {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  color: #fff;
  background: rgba(41, 41, 41, .7);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  place-items: center;
  transform: translateY(-50%);
  transition: background .2s ease;
}

.imgbox-nav:hover {
  background: rgba(240, 68, 148, .9);
}

.imgbox-nav .ti {
  font-size: 24px;
}

.imgbox-nav--prev {
  left: 18px;
}

.imgbox-nav--next {
  right: 18px;
}

.imgbox .counter-con {
  position: absolute;
  top: 14px;
  left: 16px;
  z-index: 5;
}

.imgbox .counter {
  display: inline-block;
  padding: 5px 12px;
  color: #fff;
  background: rgba(41, 41, 41, .76);
  border-radius: 999px;
  font-size: 13px;
  line-height: 1.4;
}

@keyframes imgbox-scale-in {
  from {
    opacity: .35;
    transform: scale(.4);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes imgbox-scale-out {
  from {
    opacity: 1;
    transform: scale(1);
  }

  to {
    opacity: 0;
    transform: scale(.55);
  }
}

.page-game-detail .screenshot-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.page-game-detail .screenshot-grid figure {
  background: #e9ebed;
  border-radius: 6px;
}

.page-game-detail .game-sidebar {
  top: 86px;
}

.page-game-detail .related-panel {
  padding: 16px;
  background: var(--detail-panel-bg);
  border: 1px solid rgba(50, 50, 50, .04);
  border-radius: var(--z-radius);
  box-shadow: 0 4px 16px rgba(82, 82, 82, .05);
}

.page-game-detail .related-panel h2 {
  margin: 4px 0 12px;
  color: var(--z-key);
  font-size: 17px;
}

.page-game-detail .game-sidebar > * + * {
  margin-top: 14px;
}

.page-game-detail .gift-panel {
  padding: 14px;
  background: var(--detail-panel-soft);
  border: 1px solid rgba(50, 50, 50, .04);
  border-radius: var(--z-radius);
  box-shadow: 0 4px 16px rgba(82, 82, 82, .05);
}

.page-game-detail .gift-panel-heading {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.page-game-detail .gift-panel h2 {
  margin: 0;
  color: var(--z-key);
  font-size: 17px;
}

.page-game-detail .gift-list {
  display: grid;
  gap: 8px;
}

.page-game-detail .gift-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 12px;
  align-items: center;
  padding: 11px 12px 10px;
  background: #fff0f6;
  border: 1px solid rgba(240, 68, 148, .16);
  border-radius: 7px;
  box-shadow: 0 3px 12px rgba(240, 68, 148, .055);
}

.page-game-detail .gift-item:nth-child(even) {
  background: #f2f6f8;
  border-color: rgba(52, 82, 103, .12);
  box-shadow: 0 3px 12px rgba(52, 82, 103, .055);
}

.page-game-detail .gift-item-head {
  display: flex;
  min-width: 0;
  grid-row: 1;
  grid-column: 1;
  align-items: center;
  gap: 6px;
}

.page-game-detail .gift-item h3 {
  margin: 0;
  color: var(--z-key);
  font-size: 12px;
  font-weight: 700;
}

.page-game-detail .gift-code {
  overflow: hidden;
  padding: 2px 5px;
  color: var(--z-theme-deep);
  background: var(--z-theme-soft);
  border-radius: 4px;
  font-family: Bahnschrift, "DIN Alternate", sans-serif;
  font-size: 8px;
  font-weight: 700;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-game-detail .gift-item p {
  max-width: none;
  grid-row: 2;
  grid-column: 1;
  margin: 4px 0 0;
  color: var(--z-muted);
  font-size: 10px;
  line-height: 1.65;
}

.page-game-detail .gift-action {
  grid-row: 1 / span 2;
  grid-column: 2;
  align-self: center;
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  padding: 3px 7px;
  color: var(--z-theme-deep);
  background: rgba(255, 255, 255, .86);
  border: 1px solid rgba(240, 68, 148, .16);
  border-radius: 5px;
  cursor: pointer;
  font-family: inherit;
  font-size: 9px;
  font-weight: 600;
  transition: color .18s, background .18s, border-color .18s;
}

.page-game-detail .gift-action:hover:not(:disabled) {
  color: #fff;
  background: var(--z-theme);
  border-color: var(--z-theme);
}

.page-game-detail .gift-action.is-complete {
  color: #2d8061;
  background: #edf8f3;
  border-color: rgba(45, 128, 97, .16);
}

.page-game-detail .gift-action:disabled {
  cursor: default;
}

.page-game-detail .game-info-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.page-game-detail .game-info-list > div {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  padding: 8px 0;
  border-top: 1px solid var(--z-line);
}

.page-game-detail .game-info-list > div:first-child {
  border-top: 0;
}

.page-game-detail .game-info-list dt,
.page-game-detail .game-info-list dd {
  margin: 0;
  font-size: 11px;
  line-height: 1.55;
}

.page-game-detail .game-info-list dt {
  color: var(--z-muted-light);
}

.page-game-detail .game-info-list dd {
  color: var(--z-key);
  font-weight: 600;
  text-align: right;
  overflow-wrap: anywhere;
}

.page-game-detail .sidebar-list {
  gap: 4px;
}

.page-game-detail .sidebar-game {
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 9px;
  padding: 5px;
  color: var(--z-key);
  border-radius: 6px;
  transition: background .18s;
}

.page-game-detail .sidebar-game:hover {
  color: var(--z-theme-deep);
  background: var(--z-theme-soft);
}

.page-game-detail .sidebar-game img {
  width: 52px;
  height: 52px;
  aspect-ratio: 1;
  border: 1px solid rgba(50, 50, 50, .06);
  border-radius: 8px;
  box-shadow: 0 2px 7px rgba(50, 50, 50, .08);
}

.page-game-detail .sidebar-game strong {
  color: inherit;
  font-size: 12px;
  line-height: 1.45;
}

.page-game-detail .sidebar-game span span {
  color: var(--z-muted);
  font-size: 10px;
}

.page-game-detail .game-sidebar-note {
  margin-top: 14px;
  background: var(--detail-panel-bg);
}

.page-game-detail .game-sidebar-note h2 {
  font-size: 15px;
}

@media (max-width: 1280px) {
  .page-game-detail .game-hero-layout {
    grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
  }

  .page-game-detail .game-hero-qr,
  .page-game-detail .game-hero-promos {
    display: none;
  }

  .page-game-detail .detail-layout {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 14px;
  }
}

@media (max-width: 900px) {
  .page-game-detail .detail-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-game-detail .game-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .page-game-detail .game-sidebar > * + * {
    margin-top: 0;
  }

  .page-game-detail .game-sidebar-note {
    grid-column: 1 / -1;
    margin-top: 0;
  }
}

@media (max-width: 780px) {
  .page-game-detail .game-hero {
    padding-top: 14px;
  }

  .page-game-detail .breadcrumbs {
    margin-bottom: 9px;
    font-size: 10px;
  }

  .page-game-detail .game-hero-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 13px;
    padding: 12px;
  }

  .page-game-detail .game-poster {
    width: 100%;
    max-width: 172px;
    aspect-ratio: 1;
  }

  .page-game-detail .game-poster-shell {
    width: 100%;
    max-width: 200px;
    padding: 14px;
  }

  .page-game-detail .game-poster-icon {
    width: 78px;
    height: 78px;
    padding: 4px;
    border-radius: 18px;
  }

  .page-game-detail .game-poster-icon img {
    border-radius: 13px;
  }

  .page-game-detail .game-hero-copy {
    padding: 0 1px 2px;
  }

  .page-game-detail .game-hero-copy h1 {
    font-size: clamp(21px, 6.5vw, 26px);
    line-height: 1.35;
  }

  .page-game-detail .game-subtitle {
    margin-top: 5px;
    font-size: 11px;
  }

  .page-game-detail .detail-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 12px;
    margin-top: 10px;
    padding: 9px 0;
    font-size: 10px;
  }

  .page-game-detail .game-hero-actions {
    margin-top: 10px;
  }

  .page-game-detail .game-hero-action {
    min-height: 32px;
    flex: 1;
    padding-inline: 9px;
    font-size: 10px;
  }

  .download-guide {
    padding: 16px;
  }

  .download-guide--wechat {
    padding-top: max(12px, env(safe-area-inset-top));
  }

  .download-guide__close {
    width: 34px;
    height: 34px;
  }

  .download-guide__panel {
    padding: 24px 16px 16px;
  }

  .download-guide__panel h2 {
    font-size: 20px;
  }

  .download-guide__copy {
    align-items: stretch;
    flex-direction: column;
  }

  .download-guide__copy button {
    min-height: 40px;
  }

  .page-game-detail .game-content-section {
    padding: 14px 0 40px;
  }

  .page-game-detail .editorial-section {
    padding: 16px;
  }

  .page-game-detail .editorial-section + .editorial-section {
    margin-top: 10px;
    padding-top: 16px;
  }

  .page-game-detail .editorial-section h2 {
    margin-bottom: 12px;
    font-size: 18px;
  }

  .page-game-detail .game-media-heading {
    margin-bottom: 10px;
  }

  .page-game-detail .game-media-slide {
    flex-basis: auto;
  }

  .page-game-detail .game-media-slide[data-imgbox-item] {
    height: 240px;
  }

  .page-game-detail .game-media-track.is-row-sized .game-media-slide:not(.game-media-slide--video) {
    height: 210px;
  }

  .page-game-detail .game-media-slide--video {
    flex-basis: calc(100% - 60px);
  }

  .page-game-detail .rich-content h3 {
    font-size: 16px;
  }

  .page-game-detail .rich-content h2 {
    margin: .3em 0 .5em;
    padding-left: 7px;
    font-size: 15px;
    line-height: 1;
  }

  .page-game-detail .screenshot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .page-game-detail .game-sidebar {
    display: block;
  }

  .page-game-detail .game-sidebar > * + * {
    margin-top: 10px;
  }

  .page-game-detail .game-sidebar-note {
    margin-top: 10px;
  }

  .imgbox .swiper-imgbox img {
    max-width: calc(100% - 12px);
    max-height: calc(100% - 12px);
  }

  .imgbox-nav {
    width: 38px;
    height: 38px;
  }

  .imgbox-nav--prev {
    left: 8px;
  }

  .imgbox-nav--next {
    right: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .imgbox,
  .imgbox .swiper-imgbox img {
    transition: none;
  }

  .imgbox.show .swiper-imgbox .swiper-slide,
  .imgbox.hideing .swiper-imgbox .swiper-slide {
    animation: none;
  }
}

/* GM topic landing page */
.page-topic {
  --topic-line: rgba(50, 50, 50, .07);
  color: var(--z-main);
}

.page-topic [id] {
  scroll-margin-top: 88px;
}

.page-topic .topic-landing-hero {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  color: #fff;
  background: #101318;
}

.page-topic .topic-landing-hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(13, 15, 18, .97) 0%, rgba(13, 15, 18, .9) 44%, rgba(13, 15, 18, .34) 100%),
    linear-gradient(0deg, rgba(13, 15, 18, .82) 0%, transparent 52%);
  content: "";
  pointer-events: none;
}

.page-topic .topic-landing-art {
  position: absolute;
  inset: 0 0 0 38%;
}

.page-topic .topic-landing-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-topic .topic-landing-inner {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 470px;
  flex-direction: column;
  padding: 26px 0 48px;
}

.page-topic .topic-landing-inner .breadcrumbs {
  color: rgba(255, 255, 255, .58);
}

.page-topic .topic-landing-inner .breadcrumbs a {
  color: rgba(255, 255, 255, .78);
}

.page-topic .topic-landing-inner .breadcrumbs a:hover {
  color: #fff;
}

.page-topic .topic-landing-copy {
  max-width: 760px;
  margin-top: auto;
  padding-top: 48px;
}

.page-topic .topic-landing-copy .section-kicker {
  color: #ff8abc;
}

.page-topic .topic-landing-copy h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 800;
  line-height: 1.14;
  text-wrap: balance;
}

.page-topic .topic-landing-copy h1 > span {
  display: block;
}

.page-topic .topic-landing-lead {
  max-width: 700px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .78);
  font-size: 15px;
  line-height: 1.9;
}

.page-topic .topic-landing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.page-topic .topic-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 16px;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.page-topic .topic-button:hover {
  color: #fff;
  background: rgba(255, 255, 255, .17);
}

.page-topic .topic-button--primary {
  background: var(--z-theme);
  border-color: var(--z-theme);
}

.page-topic .topic-button--primary:hover {
  background: var(--z-theme-deep);
  border-color: var(--z-theme-deep);
}

.page-topic .topic-landing-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.page-topic .topic-landing-facts > span {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  padding-right: 12px;
  color: rgba(255, 255, 255, .63);
  border-right: 1px solid rgba(255, 255, 255, .16);
  font-size: 11px;
}

.page-topic .topic-landing-facts > span:last-child {
  padding-right: 0;
  border-right: 0;
}

.page-topic .topic-landing-facts strong {
  color: #fff;
  font-size: 19px;
  line-height: 1;
}

.page-topic .topic-landing-facts small {
  font-size: 11px;
}

.page-topic .topic-quick-nav {
  position: relative;
  z-index: 3;
  background: #fff;
  border-bottom: 1px solid var(--topic-line);
  box-shadow: 0 4px 14px rgba(82, 82, 82, .04);
}

.page-topic .topic-quick-nav-inner {
  display: flex;
  min-height: 54px;
  align-items: center;
  gap: 2px;
}

.page-topic .topic-quick-nav-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-right: 10px;
  color: var(--z-theme-deep);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.page-topic .topic-quick-nav a {
  padding: 7px 10px;
  color: var(--z-muted);
  border-radius: 5px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.page-topic .topic-quick-nav a:hover {
  color: var(--z-theme-deep);
  background: var(--z-theme-soft);
}

.page-topic .topic-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: start;
  padding: 24px 0 72px;
}

.page-topic .topic-main-surface {
  min-width: 0;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--topic-line);
  border-radius: 8px;
  box-shadow: 0 5px 18px rgba(82, 82, 82, .055);
}

.page-topic .topic-section + .topic-section {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--topic-line);
}

.page-topic .topic-section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.page-topic .topic-section-heading .section-kicker {
  margin-bottom: 5px;
  color: var(--z-theme);
}

.page-topic .topic-section-heading h2 {
  margin: 0;
  color: var(--z-key);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.35;
  text-wrap: balance;
}

.page-topic .topic-section-heading p:not(.section-kicker) {
  margin: 7px 0 0;
  color: var(--z-muted);
  font-size: 12px;
  line-height: 1.7;
}

.page-topic .topic-heading-link,
.page-topic .topic-text-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 5px;
  color: var(--z-theme-deep);
  font-size: 11px;
  font-weight: 700;
}

.page-topic .topic-heading-link {
  padding-top: 4px;
}

.page-topic .topic-editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 22px;
  align-items: center;
}

.page-topic .topic-editorial-copy {
  color: #484d52;
  font-size: 14px;
  line-height: 1.85;
}

.page-topic .topic-editorial-copy p {
  margin: 0;
}

.page-topic .topic-editorial-copy p + p {
  margin-top: 12px;
}

.page-topic .topic-answer-box {
  display: flex;
  min-height: 150px;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  padding: 18px;
  background: #fff2f8;
  border: 1px solid rgba(240, 68, 148, .1);
  border-left: 3px solid var(--z-theme);
  border-radius: 7px;
}

.page-topic .topic-answer-label {
  color: var(--z-theme-deep);
  font-size: 10px;
  font-weight: 700;
}

.page-topic .topic-answer-box strong {
  color: var(--z-key);
  font-size: 15px;
  line-height: 1.35;
}

.page-topic .topic-answer-box > .ti {
  color: rgba(240, 68, 148, .45);
  font-size: 14px;
}

.page-topic .topic-principle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.page-topic .topic-principle {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 10px;
  padding: 14px;
  background: #f7f8f9;
  border: 1px solid rgba(50, 50, 50, .055);
  border-radius: 7px;
}

.page-topic .topic-principle-number {
  color: var(--z-theme);
  font-family: Bahnschrift, "DIN Alternate", sans-serif;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
}

.page-topic .topic-principle h3 {
  margin: 0;
  color: var(--z-key);
  font-size: 13px;
  line-height: 1.4;
}

.page-topic .topic-principle p {
  margin: 5px 0 0;
  color: var(--z-muted);
  font-size: 10px;
  line-height: 1.65;
}

.page-topic .topic-feature-game {
  display: grid;
  grid-template-columns: minmax(280px, 46%) minmax(0, 1fr);
  overflow: hidden;
  background: #f7f8f9;
  border: 1px solid var(--topic-line);
  border-radius: 8px;
}

.page-topic .topic-feature-media {
  display: block;
  min-height: 230px;
  overflow: hidden;
  background: #e9ebed;
}

.page-topic .topic-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .28s ease;
}

.page-topic .topic-feature-game:hover .topic-feature-media img {
  transform: scale(1.025);
}

.page-topic .topic-feature-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 22px;
}

.page-topic .topic-feature-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--z-theme-deep);
  font-size: 10px;
  font-weight: 700;
}

.page-topic .topic-feature-copy h3 {
  margin: 7px 0 0;
  color: var(--z-key);
  font-size: 21px;
  line-height: 1.4;
}

.page-topic .topic-feature-copy p {
  margin: 9px 0 0;
  color: var(--z-muted);
  font-size: 12px;
  line-height: 1.75;
}

.page-topic .topic-feature-copy .tag-row {
  margin-top: 12px;
}

.page-topic .topic-feature-copy .tag {
  min-height: 23px;
  padding: 2px 7px;
  color: var(--z-theme-deep);
  background: #fff;
  border-color: rgba(240, 68, 148, .13);
  font-size: 10px;
}

.page-topic .topic-text-link {
  margin-top: 14px;
}

.page-topic .topic-game-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.page-topic .topic-game-grid .game-card {
  background: #fff;
  border-color: var(--topic-line);
  border-radius: 7px;
  box-shadow: 0 3px 12px rgba(82, 82, 82, .04);
}

.page-topic .topic-game-grid .game-card:hover {
  border-color: rgba(240, 68, 148, .18);
  box-shadow: 0 8px 22px rgba(82, 82, 82, .09);
}

.page-topic .topic-game-grid .game-cover {
  aspect-ratio: 16 / 9;
}

.page-topic .topic-game-grid .game-body {
  padding: 13px;
}

.page-topic .topic-game-grid .game-body h3 {
  font-size: 14px;
  line-height: 1.5;
}

.page-topic .topic-game-grid .game-body h3 a:hover {
  color: var(--z-theme-deep);
}

.page-topic .topic-game-grid .game-body p {
  margin-top: 7px;
  font-size: 11px;
  line-height: 1.65;
}

.page-topic .topic-game-grid .game-card-link {
  padding-top: 12px;
  color: var(--z-theme-deep);
  font-size: 10px;
}

.page-topic .topic-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.page-topic .topic-check-item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 11px;
  padding: 14px;
  background: #f7f8f9;
  border: 1px solid var(--topic-line);
  border-radius: 7px;
}

.page-topic .topic-check-icon {
  display: grid;
  width: 36px;
  height: 36px;
  color: var(--z-theme-deep);
  background: #fff;
  border: 1px solid rgba(240, 68, 148, .1);
  border-radius: 7px;
  font-size: 17px;
  place-items: center;
}

.page-topic .topic-check-item h3 {
  margin: 0;
  color: var(--z-key);
  font-size: 13px;
}

.page-topic .topic-check-item p {
  margin: 4px 0 0;
  color: var(--z-muted);
  font-size: 10px;
  line-height: 1.65;
}

.page-topic .topic-article-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.page-topic .topic-article-grid .article-card {
  background: #fff;
  border-color: var(--topic-line);
  border-radius: 7px;
}

.page-topic .topic-article-grid .article-card:hover {
  border-color: rgba(240, 68, 148, .18);
  box-shadow: 0 8px 22px rgba(82, 82, 82, .09);
}

.page-topic .topic-article-grid .article-card-cover {
  aspect-ratio: 16 / 9;
}

.page-topic .topic-article-grid .article-card-body {
  padding: 15px;
}

.page-topic .topic-article-grid .article-meta {
  color: var(--z-theme-deep);
}

.page-topic .topic-article-grid .article-card h3 {
  font-size: 14px;
  line-height: 1.55;
}

.page-topic .topic-article-grid .article-card h3 a:hover {
  color: var(--z-theme-deep);
}

.page-topic .topic-article-grid .article-card p {
  font-size: 11px;
  line-height: 1.7;
}

.page-topic .topic-article-grid .article-card-link {
  color: var(--z-theme-deep);
  font-size: 10px;
}

.page-topic .topic-sidebar {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 14px;
}

.page-topic .topic-side-card {
  padding: 16px;
  background: #fff;
  border: 1px solid var(--topic-line);
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(82, 82, 82, .045);
}

.page-topic .topic-side-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.page-topic .topic-side-heading h2 {
  margin: 0;
  color: var(--z-key);
  font-size: 16px;
}

.page-topic .topic-side-heading > span {
  color: var(--z-muted-light);
  font-family: Bahnschrift, "DIN Alternate", sans-serif;
  font-size: 8px;
  font-weight: 700;
}

.page-topic .topic-side-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 10px 0;
  border-top: 1px solid var(--topic-line);
  border-bottom: 1px solid var(--topic-line);
}

.page-topic .topic-side-stats span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.page-topic .topic-side-stats strong {
  color: var(--z-theme-deep);
  font-size: 19px;
  line-height: 1;
}

.page-topic .topic-side-stats small {
  color: var(--z-muted);
  font-size: 8px;
  white-space: nowrap;
}

.page-topic .topic-side-nav {
  display: grid;
  gap: 2px;
  margin-top: 10px;
}

.page-topic .topic-side-nav a {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 8px;
  color: var(--z-main);
  border-radius: 5px;
  font-size: 11px;
}

.page-topic .topic-side-nav a:hover {
  color: var(--z-theme-deep);
  background: var(--z-theme-soft);
}

.page-topic .topic-side-nav .ti {
  color: var(--z-muted-light);
  font-size: 12px;
}

.page-topic .topic-related-list,
.page-topic .topic-app-list {
  display: grid;
  gap: 5px;
}

.page-topic .topic-related-list a {
  display: flex;
  min-height: 45px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 9px;
  border: 1px solid transparent;
  border-radius: 6px;
}

.page-topic .topic-related-list a:hover,
.page-topic .topic-related-list a.is-active {
  background: var(--z-theme-soft);
  border-color: rgba(240, 68, 148, .1);
}

.page-topic .topic-related-list span {
  display: block;
  min-width: 0;
}

.page-topic .topic-related-list strong,
.page-topic .topic-related-list small {
  display: block;
}

.page-topic .topic-related-list strong {
  color: var(--z-key);
  font-size: 12px;
}

.page-topic .topic-related-list small {
  margin-top: 1px;
  color: var(--z-muted);
  font-size: 9px;
}

.page-topic .topic-related-list .ti {
  color: var(--z-theme);
  font-size: 12px;
}

.page-topic .topic-app-list a {
  display: grid;
  min-width: 0;
  grid-template-columns: 34px minmax(0, 1fr) 12px;
  gap: 8px;
  align-items: center;
  padding: 7px;
  border: 1px solid var(--topic-line);
  border-radius: 6px;
}

.page-topic .topic-app-list a:hover {
  background: #fafbfc;
  border-color: rgba(240, 68, 148, .13);
}

.page-topic .topic-app-list img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: cover;
}

.page-topic .topic-app-list span {
  display: block;
  min-width: 0;
}

.page-topic .topic-app-list strong,
.page-topic .topic-app-list small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-topic .topic-app-list strong {
  color: var(--z-key);
  font-size: 10px;
}

.page-topic .topic-app-list small {
  margin-top: 1px;
  color: var(--z-muted);
  font-size: 8px;
}

.page-topic .topic-app-list > a > .ti {
  color: var(--z-muted-light);
  font-size: 11px;
}

.page-topic .topic-side-note {
  display: flex;
  gap: 11px;
  padding: 15px;
  background: #fff2f8;
  border: 1px solid rgba(240, 68, 148, .1);
  border-radius: 8px;
}

.page-topic .topic-side-note > .ti {
  flex: 0 0 auto;
  color: var(--z-theme-deep);
  font-size: 20px;
}

.page-topic .topic-side-note h2 {
  margin: 0;
  color: var(--z-key);
  font-size: 13px;
}

.page-topic .topic-side-note p {
  margin: 4px 0 0;
  color: var(--z-muted);
  font-size: 9px;
  line-height: 1.65;
}

@media (max-width: 1120px) {
  .page-topic .topic-page-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-topic .topic-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-topic .topic-side-note {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .page-topic .topic-landing-hero,
  .page-topic .topic-landing-inner {
    min-height: 430px;
  }

  .page-topic .topic-landing-art {
    inset: 0;
    opacity: .72;
  }

  .page-topic .topic-landing-hero::after {
    background:
      linear-gradient(90deg, rgba(13, 15, 18, .96) 0%, rgba(13, 15, 18, .82) 62%, rgba(13, 15, 18, .5) 100%),
      linear-gradient(0deg, rgba(13, 15, 18, .82) 0%, transparent 58%);
  }

  .page-topic .topic-editorial-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-topic .topic-answer-box {
    min-height: auto;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
  }

  .page-topic .topic-answer-label {
    flex-basis: 100%;
  }

  .page-topic .topic-principle-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-topic .topic-feature-game {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-topic .topic-feature-media {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .page-topic .topic-game-grid,
  .page-topic .topic-article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .page-topic .topic-landing-hero,
  .page-topic .topic-landing-inner {
    min-height: 420px;
  }

  .page-topic .topic-landing-inner {
    padding: 18px 0 30px;
  }

  .page-topic .topic-landing-copy {
    padding-top: 30px;
  }

  .page-topic .topic-landing-copy h1 {
    font-size: clamp(30px, 9vw, 38px);
  }

  .page-topic .topic-landing-lead {
    margin-top: 14px;
    font-size: 13px;
    line-height: 1.8;
  }

  .page-topic .topic-landing-actions {
    margin-top: 16px;
  }

  .page-topic .topic-button {
    min-height: 36px;
    padding: 7px 12px;
    font-size: 11px;
  }

  .page-topic .topic-landing-facts {
    gap: 6px 10px;
    margin-top: 17px;
  }

  .page-topic .topic-landing-facts > span {
    padding-right: 9px;
  }

  .page-topic .topic-landing-facts strong {
    font-size: 17px;
  }

  .page-topic .topic-quick-nav-inner {
    overflow-x: auto;
    min-height: 48px;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .page-topic .topic-quick-nav-inner::-webkit-scrollbar {
    display: none;
  }

  .page-topic .topic-quick-nav-label {
    position: sticky;
    left: 0;
    z-index: 1;
    align-self: stretch;
    padding-right: 10px;
    background: #fff;
  }

  .page-topic .topic-page-layout {
    gap: 16px;
    padding: 16px 0 44px;
  }

  .page-topic .topic-main-surface {
    padding: 18px;
  }

  .page-topic .topic-section + .topic-section {
    margin-top: 24px;
    padding-top: 24px;
  }

  .page-topic .topic-section-heading {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
  }

  .page-topic .topic-section-heading h2 {
    font-size: 20px;
  }

  .page-topic .topic-heading-link {
    align-self: flex-start;
  }

  .page-topic .topic-editorial-copy {
    font-size: 13px;
    line-height: 1.8;
  }

  .page-topic .topic-principle {
    padding: 12px;
  }

  .page-topic .topic-feature-copy {
    padding: 17px;
  }

  .page-topic .topic-feature-copy h3 {
    font-size: 19px;
  }

  .page-topic .topic-game-grid,
  .page-topic .topic-article-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-topic .topic-check-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-topic .topic-sidebar {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-topic .topic-side-note {
    grid-column: auto;
  }
}

/* Article archive landing page */
.page-articles {
  --article-line: rgba(50, 50, 50, .07);
  color: var(--z-main);
}

.page-articles [id] {
  scroll-margin-top: 88px;
}

.page-articles .articles-landing-hero {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  color: #fff;
  background: #101318;
}

.page-articles .articles-landing-hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(13, 15, 18, .98) 0%, rgba(13, 15, 18, .9) 44%, rgba(13, 15, 18, .34) 100%),
    linear-gradient(0deg, rgba(13, 15, 18, .8) 0%, transparent 55%);
  content: "";
  pointer-events: none;
}

.page-articles .articles-landing-art {
  position: absolute;
  inset: 0 0 0 43%;
}

.page-articles .articles-landing-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-articles .articles-landing-inner {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 430px;
  flex-direction: column;
  padding: 25px 0 45px;
}

.page-articles .articles-landing-inner .breadcrumbs {
  color: rgba(255, 255, 255, .55);
}

.page-articles .articles-landing-inner .breadcrumbs a {
  color: rgba(255, 255, 255, .78);
}

.page-articles .articles-landing-copy {
  max-width: 720px;
  margin-top: auto;
  padding-top: 40px;
}

.page-articles .articles-landing-copy .section-kicker {
  color: #ff8abc;
}

.page-articles .articles-landing-copy h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(37px, 4.4vw, 58px);
  font-weight: 800;
  line-height: 1.1;
}

.page-articles .articles-title-tail {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, .7);
  font-size: .56em;
  font-weight: 600;
  letter-spacing: 0;
}

.page-articles .articles-landing-lead {
  max-width: 680px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, .76);
  font-size: 14px;
  line-height: 1.9;
}

.page-articles .articles-landing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 19px;
}

.page-articles .article-button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.page-articles .article-button:hover {
  color: #fff;
  background: rgba(255, 255, 255, .18);
}

.page-articles .article-button--primary {
  background: var(--z-theme);
  border-color: var(--z-theme);
}

.page-articles .article-button--primary:hover {
  background: var(--z-theme-deep);
  border-color: var(--z-theme-deep);
}

.page-articles .articles-landing-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.page-articles .articles-landing-stats > span {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  padding-right: 10px;
  color: rgba(255, 255, 255, .62);
  border-right: 1px solid rgba(255, 255, 255, .16);
  font-size: 10px;
}

.page-articles .articles-landing-stats > span:last-child {
  padding-right: 0;
  border-right: 0;
}

.page-articles .articles-landing-stats strong {
  color: #fff;
  font-size: 18px;
  line-height: 1;
}

.page-articles .articles-quick-nav {
  background: #fff;
  border-bottom: 1px solid var(--article-line);
  box-shadow: 0 4px 14px rgba(82, 82, 82, .04);
}

.page-articles .articles-quick-nav-inner {
  display: flex;
  min-height: 52px;
  align-items: center;
  gap: 2px;
}

.page-articles .articles-quick-nav-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-right: 10px;
  color: var(--z-theme-deep);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.page-articles .articles-quick-nav a {
  padding: 7px 10px;
  color: var(--z-muted);
  border-radius: 5px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.page-articles .articles-quick-nav a:hover {
  color: var(--z-theme-deep);
  background: var(--z-theme-soft);
}

.page-articles .articles-page-layout {
  padding-top: 24px;
}

.page-articles .articles-main {
  min-width: 0;
}

.page-articles .articles-main .zib-section-heading {
  margin-bottom: 15px;
}

.page-articles .article-feature-card {
  display: grid;
  grid-template-columns: minmax(280px, 44%) minmax(0, 1fr);
  overflow: hidden;
  background: #f7f8f9;
  border: 1px solid var(--article-line);
  border-radius: 8px;
  box-shadow: 0 5px 18px rgba(82, 82, 82, .05);
}

.page-articles .article-feature-cover {
  display: block;
  min-height: 252px;
  overflow: hidden;
  background: #e9ebed;
}

.page-articles .article-feature-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.page-articles .article-feature-card:hover .article-feature-cover img {
  transform: scale(1.025);
}

.page-articles .article-feature-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
}

.page-articles .article-feature-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--z-muted);
  font-size: 10px;
}

.page-articles .article-feature-meta span {
  padding: 2px 7px;
  color: var(--z-theme-deep);
  background: #fff;
  border: 1px solid rgba(240, 68, 148, .12);
  border-radius: 4px;
  font-weight: 700;
}

.page-articles .article-feature-copy h3 {
  margin: 10px 0 0;
  color: var(--z-key);
  font-size: 23px;
  line-height: 1.4;
  text-wrap: balance;
}

.page-articles .article-feature-copy h3 a {
  color: inherit;
}

.page-articles .article-feature-copy h3 a:hover {
  color: var(--z-theme-deep);
}

.page-articles .article-feature-copy p {
  margin: 10px 0 0;
  color: var(--z-muted);
  font-size: 12px;
  line-height: 1.8;
}

.page-articles .article-feature-copy .tag-row {
  margin-top: 13px;
}

.page-articles .article-feature-copy .tag {
  min-height: 23px;
  padding: 2px 7px;
  color: var(--z-theme-deep);
  background: #fff;
  border-color: rgba(240, 68, 148, .12);
  font-size: 9px;
}

.page-articles .article-feature-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 14px;
  color: var(--z-theme-deep);
  font-size: 11px;
  font-weight: 700;
}

.page-articles .articles-guide-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.page-articles .articles-guide-grid .article-card {
  min-height: 0;
  align-items: stretch;
  flex-direction: column;
  gap: 0;
  padding: 0;
  border-color: var(--article-line);
  border-radius: 7px;
  box-shadow: 0 3px 12px rgba(82, 82, 82, .04);
}

.page-articles .articles-guide-grid .article-card:hover {
  border-color: rgba(240, 68, 148, .18);
  box-shadow: 0 8px 22px rgba(82, 82, 82, .09);
}

.page-articles .articles-guide-grid .article-card-cover {
  width: 100%;
  height: auto;
  min-height: 0;
  flex: 0 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 0;
}

.page-articles .articles-guide-grid .article-card-body {
  display: flex;
  padding: 15px;
  flex-direction: column;
}

.page-articles .articles-guide-grid .article-meta {
  display: flex;
  width: auto;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  grid-row: auto;
  grid-column: auto;
  margin-bottom: 7px;
  color: var(--z-muted-light);
  font-size: 9px;
  white-space: nowrap;
}

.page-articles .articles-guide-grid .article-meta span {
  color: var(--z-theme-deep);
}

.page-articles .articles-guide-grid .article-card h3 {
  display: block;
  overflow: visible;
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  text-overflow: clip;
  white-space: normal;
}

.page-articles .articles-guide-grid .article-card p {
  font-size: 11px;
  line-height: 1.7;
}

.page-articles .articles-guide-grid .article-card-link {
  align-self: flex-start;
  justify-self: auto;
  margin-top: auto;
  padding-top: 13px;
  color: var(--z-theme-deep);
  font-size: 10px;
}

.page-articles .article-topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.page-articles .article-topic-card {
  display: grid;
  min-width: 0;
  grid-template-columns: 38px minmax(0, 1fr) 14px;
  gap: 10px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--article-line);
  border-radius: 7px;
  transition: border-color .18s ease, transform .18s ease;
}

.page-articles .article-topic-card:hover {
  border-color: rgba(240, 68, 148, .17);
  transform: translateY(-1px);
}

.page-articles .article-topic-card--gm {
  background: #fff2f8;
}

.page-articles .article-topic-card--bt {
  background: #f1f7fa;
}

.page-articles .article-topic-card--001 {
  background: #fff8eb;
}

.page-articles .article-topic-card--01 {
  background: #f5f4fa;
}

.page-articles .article-topic-icon {
  display: grid;
  width: 38px;
  height: 38px;
  color: var(--z-theme-deep);
  background: #fff;
  border: 1px solid rgba(240, 68, 148, .08);
  border-radius: 8px;
  font-size: 17px;
  place-items: center;
}

.page-articles .article-topic-card span:nth-child(2) {
  min-width: 0;
}

.page-articles .article-topic-card strong,
.page-articles .article-topic-card small {
  display: block;
}

.page-articles .article-topic-card strong {
  color: var(--z-key);
  font-size: 13px;
}

.page-articles .article-topic-card small {
  margin-top: 2px;
  color: var(--z-muted);
  font-size: 9px;
}

.page-articles .article-topic-card > .ti {
  color: var(--z-muted-light);
  font-size: 12px;
}

.page-articles .article-side-index {
  display: grid;
  gap: 5px;
}

.page-articles .article-side-index a {
  display: flex;
  min-height: 45px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 9px;
  border: 1px solid transparent;
  border-radius: 6px;
}

.page-articles .article-side-index a:hover {
  background: var(--z-theme-soft);
  border-color: rgba(240, 68, 148, .1);
}

.page-articles .article-side-index span {
  display: block;
  min-width: 0;
}

.page-articles .article-side-index strong,
.page-articles .article-side-index small {
  display: block;
}

.page-articles .article-side-index strong {
  color: var(--z-key);
  font-size: 11px;
}

.page-articles .article-side-index small {
  margin-top: 1px;
  color: var(--z-muted);
  font-size: 8px;
}

.page-articles .article-side-index em {
  display: grid;
  min-width: 21px;
  height: 21px;
  color: var(--z-theme-deep);
  background: var(--z-theme-soft);
  border-radius: 50%;
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
  place-items: center;
}

.page-articles .article-side-games {
  display: grid;
  gap: 6px;
}

.page-articles .article-side-games a {
  display: grid;
  min-width: 0;
  grid-template-columns: 36px minmax(0, 1fr) 12px;
  gap: 9px;
  align-items: center;
  padding: 6px;
  border-radius: 6px;
}

.page-articles .article-side-games a:hover {
  background: #fafbfc;
}

.page-articles .article-side-games img {
  width: 36px;
  height: 36px;
  border-radius: 7px;
  object-fit: cover;
}

.page-articles .article-side-games span {
  min-width: 0;
}

.page-articles .article-side-games strong,
.page-articles .article-side-games small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-articles .article-side-games strong {
  color: var(--z-key);
  font-size: 10px;
}

.page-articles .article-side-games small {
  margin-top: 1px;
  color: var(--z-muted);
  font-size: 8px;
}

.page-articles .article-side-games .ti {
  color: var(--z-muted-light);
  font-size: 11px;
}

@media (max-width: 980px) {
  .page-articles .articles-landing-art {
    inset: 0;
    opacity: .72;
  }

  .page-articles .articles-landing-hero::after {
    background:
      linear-gradient(90deg, rgba(13, 15, 18, .97) 0%, rgba(13, 15, 18, .84) 62%, rgba(13, 15, 18, .5) 100%),
      linear-gradient(0deg, rgba(13, 15, 18, .8) 0%, transparent 58%);
  }

  .page-articles .article-feature-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-articles .article-feature-cover {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .page-articles .articles-guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 720px) {
  .page-articles .articles-landing-hero,
  .page-articles .articles-landing-inner {
    min-height: 430px;
  }

  .page-articles .articles-landing-inner {
    padding: 18px 0 30px;
  }

  .page-articles .articles-landing-copy {
    padding-top: 30px;
  }

  .page-articles .articles-landing-copy h1 {
    font-size: clamp(31px, 9vw, 39px);
  }

  .page-articles .articles-title-tail {
    font-size: .5em;
  }

  .page-articles .articles-landing-lead {
    margin-top: 13px;
    font-size: 12px;
    line-height: 1.8;
  }

  .page-articles .article-button {
    min-height: 35px;
    padding: 6px 11px;
    font-size: 10px;
  }

  .page-articles .articles-landing-stats {
    gap: 7px 9px;
    margin-top: 15px;
  }

  .page-articles .articles-quick-nav-inner {
    overflow-x: auto;
    min-height: 47px;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .page-articles .articles-quick-nav-inner::-webkit-scrollbar {
    display: none;
  }

  .page-articles .articles-quick-nav-label {
    position: sticky;
    left: 0;
    z-index: 1;
    align-self: stretch;
    padding-right: 9px;
    background: #fff;
  }

  .page-articles .articles-page-layout {
    padding-top: 16px;
    padding-bottom: 44px;
  }

  .page-articles .article-feature-copy {
    padding: 17px;
  }

  .page-articles .article-feature-copy h3 {
    font-size: 19px;
  }

  .page-articles .article-feature-copy p {
    font-size: 11px;
  }

  .page-articles .articles-guide-grid,
  .page-articles .article-topic-grid,
  .page-articles .articles-sidebar {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-articles .articles-sidebar .zib-side-note {
    grid-column: auto;
  }
}

/* Zibll-style reskin for remaining public pages */
.page-library .archive-hero,
.page-search .archive-hero {
  min-height: 340px;
  padding: 48px 0 54px;
  background:
    linear-gradient(90deg, rgba(13, 15, 18, .97) 0%, rgba(13, 15, 18, .86) 49%, rgba(13, 15, 18, .35) 100%),
    url("../img/2024100893317691.jpg") center 42% / cover no-repeat;
  border-top: 0;
}

.page-library .archive-hero::after,
.page-search .archive-hero::after {
  color: rgba(255, 255, 255, .035);
}

.page-library .archive-hero .breadcrumbs,
.page-search .archive-hero .breadcrumbs {
  color: rgba(255, 255, 255, .55);
}

.page-library .archive-hero .breadcrumbs a,
.page-search .archive-hero .breadcrumbs a {
  color: rgba(255, 255, 255, .76);
}

.page-library .archive-hero .breadcrumbs a:hover,
.page-search .archive-hero .breadcrumbs a:hover {
  color: #fff;
}

.page-library .archive-hero .section-kicker,
.page-search .archive-hero .section-kicker {
  color: #ff8abc;
}

.page-library .archive-hero h1,
.page-search .archive-hero h1 {
  color: #fff;
  font-size: clamp(36px, 4vw, 54px);
}

.page-library .archive-hero .page-lead,
.page-search .archive-hero .search-summary {
  color: rgba(255, 255, 255, .72);
}

.page-library .archive-stat strong {
  color: #ff76b1;
}

.page-library .archive-stat span {
  color: rgba(255, 255, 255, .58);
}

.page-library .archive-body {
  padding: 32px 0 68px;
}

.page-games .game-list-main,
.page-category .game-list-main,
.page-topic .game-list-main,
.page-articles .game-list-main,
.page-search .game-list-main {
  padding: 18px 0 68px;
}

.page-games .game-list-main,
.page-articles .game-list-main,
.page-search .game-list-main {
  min-height: 760px;
}

.page-games .archive-breadcrumbs .breadcrumbs,
.page-category .archive-breadcrumbs .breadcrumbs,
.page-topic .archive-breadcrumbs .breadcrumbs,
.page-articles .archive-breadcrumbs .breadcrumbs,
.page-article-detail .archive-breadcrumbs .breadcrumbs,
.page-search .archive-breadcrumbs .breadcrumbs {
  margin-bottom: 12px;
  color: var(--z-muted-light);
  font-size: 11px;
}

.page-games .archive-breadcrumbs .breadcrumbs a,
.page-category .archive-breadcrumbs .breadcrumbs a,
.page-topic .archive-breadcrumbs .breadcrumbs a,
.page-articles .archive-breadcrumbs .breadcrumbs a,
.page-article-detail .archive-breadcrumbs .breadcrumbs a,
.page-search .archive-breadcrumbs .breadcrumbs a {
  color: var(--z-muted);
}

.page-games .archive-breadcrumbs .breadcrumbs a:hover,
.page-category .archive-breadcrumbs .breadcrumbs a:hover,
.page-topic .archive-breadcrumbs .breadcrumbs a:hover,
.page-articles .archive-breadcrumbs .breadcrumbs a:hover,
.page-article-detail .archive-breadcrumbs .breadcrumbs a:hover,
.page-search .archive-breadcrumbs .breadcrumbs a:hover {
  color: var(--z-theme);
}

.page-games .archive-breadcrumbs .breadcrumbs li:not(:last-child)::after,
.page-category .archive-breadcrumbs .breadcrumbs li:not(:last-child)::after,
.page-topic .archive-breadcrumbs .breadcrumbs li:not(:last-child)::after,
.page-articles .archive-breadcrumbs .breadcrumbs li:not(:last-child)::after,
.page-article-detail .archive-breadcrumbs .breadcrumbs li:not(:last-child)::after,
.page-search .archive-breadcrumbs .breadcrumbs li:not(:last-child)::after {
  color: #c4c6c8;
}

.page-library .section-toolbar,
.page-articles .section-toolbar {
  margin-bottom: 18px;
  padding: 11px 14px;
  background: #fff;
  border: 1px solid rgba(50, 50, 50, .055);
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(82, 82, 82, .045);
}

.game-list-toolbar {
  align-items: flex-start;
}

.game-list-toolbar .toolbar-filter-groups {
  display: grid;
  min-width: 0;
  flex: 1 1 auto;
  gap: 8px;
}

.game-list-toolbar .toolbar-filter-row {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: 9px;
}

.toolbar-filter-label {
  flex: 0 0 2.2rem;
  padding-top: 8px;
  color: var(--z-muted);
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.game-list-toolbar .category-filter-bar {
  min-width: 0;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 1px;
  scrollbar-width: none;
}

.game-list-toolbar .filter-chip {
  flex: 0 0 auto;
  white-space: nowrap;
}

.game-list-toolbar .category-filter-bar::-webkit-scrollbar {
  display: none;
}

.game-list-toolbar .toolbar-note {
  padding-top: 8px;
}

.page-library .filter-bar,
.page-articles .filter-bar {
  gap: 6px;
}

.page-library .filter-chip,
.page-articles .filter-chip {
  min-height: 32px;
  padding: 5px 12px;
  color: var(--z-muted);
  background: #f7f8f9;
  border-color: transparent;
  border-radius: 6px;
  font-size: 11px;
}

.page-library .filter-chip:hover,
.page-articles .filter-chip:hover {
  color: var(--z-theme-deep);
  background: var(--z-theme-soft);
  border-color: rgba(240, 68, 148, .1);
}

.page-library .filter-chip.is-active,
.page-articles .filter-chip.is-active {
  color: #fff;
  background: var(--z-theme);
  border-color: var(--z-theme);
}

.page-library .toolbar-note,
.page-articles .toolbar-note {
  color: var(--z-muted);
  font-size: 10px;
}

.page-library .game-grid,
.page-search .game-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.page-search .game-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.page-games .game-grid,
.page-category .game-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.page-library .game-card,
.page-search .game-card {
  background: #fff;
  border-color: rgba(50, 50, 50, .055);
  border-radius: 7px;
  box-shadow: 0 3px 12px rgba(82, 82, 82, .04);
}

.page-library .game-card:hover,
.page-search .game-card:hover {
  border-color: rgba(240, 68, 148, .18);
  box-shadow: 0 8px 22px rgba(82, 82, 82, .09);
}

.page-library .game-cover,
.page-search .game-cover {
  aspect-ratio: 16 / 9;
}

.page-library .game-body,
.page-search .game-body {
  padding: 13px;
}

.page-library .game-body h3,
.page-search .game-body h3 {
  font-size: 15px;
  line-height: 1.5;
}

.page-library .game-kicker,
.page-search .game-kicker {
  color: var(--z-theme-deep);
  font-size: 9px;
}

.page-library .game-body p,
.page-search .game-body p {
  color: var(--z-muted);
  font-size: 11px;
  line-height: 1.7;
}

.page-library .category-notes {
  max-width: none;
  margin-top: 20px;
  padding: 22px;
  background: #fff;
  border: 1px solid rgba(50, 50, 50, .055);
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(82, 82, 82, .045);
}

.page-library .category-notes .section-kicker {
  margin-bottom: 8px;
  color: var(--z-theme);
}

.page-library .category-notes h2 {
  margin: 0 0 12px;
  color: var(--z-key);
  font-size: 20px;
}

.page-library .category-notes .rich-content {
  max-width: none;
  color: var(--z-main);
  font-size: 14px;
  line-height: 1.85;
}

.page-search .search-hero {
  padding-bottom: 44px;
}

.page-search .search-box {
  min-height: 56px;
  width: min(100%, 820px);
  margin-top: 21px;
  padding: 5px 5px 5px 16px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .14);
}

.page-search .search-box > i {
  color: var(--z-muted-light);
}

.page-search .search-box input {
  color: var(--z-key);
  font-size: 14px;
}

.page-search .search-box button {
  height: 44px;
  min-width: 92px;
  color: #fff;
  background: var(--z-theme);
  border-radius: 6px;
  font-size: 12px;
}

.page-search .search-box button:hover {
  background: var(--z-theme-deep);
}

.page-search .search-results {
  padding: 26px 0 68px;
}

.page-search .collection-block {
  margin: 0;
  padding: 22px;
  background: #fff;
  border: 1px solid rgba(50, 50, 50, .055);
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(82, 82, 82, .045);
}

.page-search .section-heading h2 {
  margin: 0;
  color: var(--z-key);
  font-size: 21px;
}

.page-article-detail .article-hero {
  overflow: hidden;
  padding: 46px 0 42px;
  background:
    linear-gradient(120deg, #fff 0%, #fff8fb 70%, #fff0f7 100%);
  border-top: 0;
  border-bottom: 1px solid rgba(50, 50, 50, .055);
}

.page-article-detail .article-hero .breadcrumbs {
  color: var(--z-muted-light);
}

.page-article-detail .article-hero .breadcrumbs a {
  color: var(--z-muted);
}

.page-article-detail .article-hero .breadcrumbs a:hover {
  color: var(--z-theme);
}

.page-article-detail .article-hero .section-kicker {
  color: var(--z-theme);
}

.page-article-detail .article-hero h1 {
  max-width: 980px;
  color: var(--z-key);
  font-size: clamp(34px, 4.2vw, 54px);
}

.page-article-detail .article-deck {
  max-width: 850px;
  color: var(--z-muted);
  font-size: 15px;
  line-height: 1.85;
}

.page-article-detail .article-byline {
  gap: 7px;
  margin-top: 19px;
}

.page-article-detail .article-byline span {
  padding: 4px 8px;
  color: var(--z-muted);
  background: #fff;
  border: 1px solid rgba(50, 50, 50, .055);
  border-radius: 5px;
  font-size: 10px;
}

.page-article-detail .article-byline span + span::before {
  display: none;
}

.page-article-detail .article-layout {
  padding-top: 24px;
  padding-bottom: 72px;
}

.page-article-detail .article-reading {
  padding: 24px;
  background: #fff;
  border: 1px solid rgba(50, 50, 50, .055);
  border-radius: 8px;
  box-shadow: 0 5px 18px rgba(82, 82, 82, .05);
}

.page-article-detail .article-cover-wrap {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 7px;
}

.page-article-detail .article-reading .rich-content {
  max-width: none;
  color: #42474c;
  font-size: 14px;
  line-height: 1.85;
}

.page-article-detail .article-reading .rich-content h2 {
  margin: 1.75em 0 .65em;
  padding-left: 10px;
  color: var(--z-key);
  border-left: 3px solid var(--z-theme);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.45;
}

.page-article-detail .article-reading .rich-content h3 {
  color: var(--z-key);
  font-size: 17px;
}

.page-article-detail .article-reading .rich-content a {
  color: var(--z-theme-deep);
}

@media (max-width: 980px) {
  .page-library .game-grid,
  .page-search .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-library .archive-hero,
  .page-search .archive-hero {
    min-height: 320px;
  }
}

@media (max-width: 720px) {
  .page-library .archive-hero,
  .page-search .archive-hero {
    min-height: 300px;
    padding: 34px 0 38px;
  }

  .page-library .archive-hero h1,
  .page-search .archive-hero h1 {
    font-size: 34px;
  }

  .page-library .archive-hero .page-lead {
    font-size: 13px;
    line-height: 1.75;
  }

  .page-library .archive-hero-layout {
    display: block;
  }

  .page-library .archive-stat {
    align-items: flex-start;
    margin-top: 18px;
  }

  .page-library .archive-stat strong {
    font-size: 36px;
  }

  .page-library .archive-body,
  .page-search .search-results {
    padding-top: 16px;
    padding-bottom: 44px;
  }

  .page-library .section-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
    padding: 10px;
  }

  .page-library .section-toolbar.game-list-toolbar {
    flex-direction: row;
    align-items: flex-start;
    gap: 8px;
  }

  .game-list-toolbar .toolbar-filter-groups {
    width: auto;
    flex: 1 1 0;
  }

  .game-list-toolbar .toolbar-note {
    align-self: flex-start;
    margin-top: 8px;
    padding-top: 0;
    white-space: nowrap;
  }

  .page-library .filter-bar,
  .page-search .search-box {
    width: 100%;
  }

  .page-library .game-grid,
  .page-search .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .page-library .category-notes {
    margin-top: 16px;
    padding: 17px;
  }

  .page-search .search-hero {
    padding-bottom: 30px;
  }

  .page-search .search-box {
    min-height: 48px;
    margin-top: 16px;
    padding-left: 12px;
  }

  .page-search .search-box input {
    height: 38px;
    font-size: 12px;
  }

  .page-search .search-box button {
    height: 38px;
    min-width: 70px;
    font-size: 11px;
  }

  .page-search .search-summary {
    margin-top: 12px;
    font-size: 11px;
  }

  .page-search .collection-block {
    padding: 16px;
  }

  .page-article-detail .article-hero {
    padding: 32px 0 30px;
  }

  .page-article-detail .article-hero h1 {
    font-size: 32px;
    line-height: 1.2;
  }

  .page-article-detail .article-deck {
    font-size: 13px;
    line-height: 1.8;
  }

  .page-article-detail .article-layout {
    padding-top: 14px;
    padding-bottom: 44px;
  }

  .page-article-detail .article-reading {
    padding: 14px;
  }

  .page-article-detail .article-cover-wrap {
    margin-bottom: 20px;
  }

  .page-article-detail .article-reading .rich-content {
    font-size: 13px;
    line-height: 1.8;
  }

  .page-article-detail .article-reading .rich-content h2 {
    font-size: 18px;
  }
}

/* Shared footer based on the production site */
.site-footer.site-footer {
  padding: 30px 0 26px;
  color: #777;
  background: #fff;
  border-top: 1px solid rgba(50, 50, 50, .06);
  box-shadow: none;
}

.site-footer-inner {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(300px, 1fr) auto;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.site-footer-logo {
  display: inline-flex;
}

.site-footer-logo img {
  width: 139px;
  height: 40px;
  object-fit: contain;
}

.site-footer-description {
  max-width: 300px;
  margin: 8px 0 0;
  color: #8d8d8d;
  font-size: 11px;
  line-height: 1.7;
}

.site-footer-info {
  min-width: 0;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.site-footer-links a,
.site-footer-copyright {
  color: #999;
  font-size: 13px;
  line-height: 1.7;
}

.site-footer-links a + a::before {
  margin-right: 8px;
  color: #c1c1c1;
  content: "\00b7";
}

.site-footer-links a:hover,
.site-footer-copyright a:hover {
  color: var(--z-theme, #f04494);
}

.site-footer-copyright {
  margin: 7px 0 0;
  font-size: 12px;
}

.site-footer-copyright a {
  color: #999;
}

.site-footer-qr {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  justify-self: end;
}

.site-footer-qr-item {
  color: #9b9b9b;
  font-size: 9px;
  line-height: 1.4;
  text-align: center;
}

.site-footer-qr-item img {
  display: block;
  width: 80px;
  height: 80px;
  margin: 0 auto 4px;
  object-fit: contain;
}

@media (max-width: 991px) {
  .site-footer.site-footer {
    padding: 20px 0;
  }

  .site-footer-inner {
    display: block;
  }

  .site-footer-brand,
  .site-footer-qr {
    display: none;
  }

  .site-footer-info {
    text-align: center;
  }

  .site-footer-links {
    gap: 0;
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .site-footer.site-footer {
    padding: 10px 0;
  }

  .site-footer-links {
    margin-bottom: 10px;
  }

  .site-footer-copyright {
    margin-top: 0;
    font-size: 11px;
  }

  .site-footer-description {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .zib-spotlight-slide,
  .zib-spotlight-slide img,
  .zib-spotlight-game-icon img,
  .zib-spotlight-game,
  .zib-channel-card,
  .page-home .game-card,
  .page-home .article-card {
    transition: none !important;
    transform: none !important;
  }
}

/* Final alignment for archive and search cards */
.page-home.page-library .game-card,
.page-home.page-search .game-card {
  position: relative;
}

.page-home.page-library .game-body,
.page-home.page-search .game-body {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.page-home.page-library .game-kicker,
.page-home.page-search .game-kicker {
  position: static;
  display: flex;
  min-height: 0;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 4px;
  margin: 0 0 8px;
  color: var(--z-muted);
  font-size: 10px;
  line-height: 1.35;
  pointer-events: auto;
}

.page-home.page-library .game-kicker span,
.page-home.page-search .game-kicker span {
  display: inline-flex;
  max-width: none;
  align-items: center;
  padding: 2px 6px;
  color: var(--z-muted);
  background: #f4f5f6;
  border-radius: 4px;
  font-weight: 600;
  text-overflow: clip;
}

.page-home.page-library .game-kicker span:first-child,
.page-home.page-search .game-kicker span:first-child {
  color: var(--z-theme-deep);
  background: var(--z-theme-soft);
}

.page-home.page-library .game-kicker span:last-child,
.page-home.page-search .game-kicker span:last-child {
  display: inline-flex;
  color: var(--z-muted);
  background: #f4f5f6;
  font-weight: 600;
}

.page-home.page-library .game-body h3,
.page-home.page-search .game-body h3 {
  display: -webkit-box;
  min-height: 3em;
  overflow: hidden;
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.page-home.page-library .game-body h3 a,
.page-home.page-search .game-body h3 a {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-home.page-library .game-body p,
.page-home.page-search .game-body p {
  min-height: 3.4em;
  margin-top: 6px;
  -webkit-line-clamp: 2;
}

.page-home.page-library .game-card:focus-within,
.page-home.page-search .game-card:focus-within {
  border-color: rgba(240, 68, 148, .24);
  box-shadow: 0 0 0 3px rgba(240, 68, 148, .08), 0 8px 22px rgba(82, 82, 82, .09);
}

.page-home.page-library .filter-chip,
.page-home.page-search .filter-chip {
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease;
}

.page-home.page-library .filter-chip:active,
.page-home.page-search .filter-chip:active {
  transform: translateY(1px);
}

@media (max-width: 720px) {
  .page-games .game-list-main,
  .page-category .game-list-main,
  .page-topic .game-list-main,
  .page-articles .game-list-main,
  .page-search .game-list-main {
    padding-bottom: 44px;
  }

  .page-games .game-list-main,
  .page-articles .game-list-main,
  .page-search .game-list-main {
    min-height: 640px;
  }

  .page-home.page-library .game-kicker,
  .page-home.page-search .game-kicker {
    gap: 4px;
    margin-bottom: 7px;
    font-size: 9px;
  }

  .page-home.page-library .game-kicker span,
  .page-home.page-search .game-kicker span {
    max-width: none;
    padding: 2px 5px;
  }

  .page-home.page-library .game-kicker span:last-child,
  .page-home.page-search .game-kicker span:last-child {
    display: inline-flex;
  }

  .page-home.page-library .game-body h3,
  .page-home.page-search .game-body h3 {
    min-height: 0;
    font-size: 14px;
  }

  .page-home.page-library .game-body p,
  .page-home.page-search .game-body p {
    min-height: 0;
  }
}

/* Unified inner-page canvas and breadcrumb baseline */
.page-game-detail .game-hero,
.page-library .archive-hero,
.page-library .archive-body,
.page-search .archive-hero,
.page-topic .topic-landing-inner,
.page-articles .articles-landing-inner,
.page-article-detail .article-hero {
  padding-top: 18px;
}

.page-library .archive-body,
.page-search .search-results {
  background: transparent;
}

@media (max-width: 780px) {
  .page-games .archive-breadcrumbs .breadcrumbs,
  .page-category .archive-breadcrumbs .breadcrumbs,
  .page-topic .archive-breadcrumbs .breadcrumbs,
  .page-articles .archive-breadcrumbs .breadcrumbs,
  .page-article-detail .archive-breadcrumbs .breadcrumbs,
  .page-search .archive-breadcrumbs .breadcrumbs {
    margin-bottom: 9px;
    font-size: 10px;
  }
}

.page-topic .topic-page-layout {
  padding-top: 0;
  padding-bottom: 0;
}

.page-article-detail .article-hero {
  padding: 18px 0 0;
  background: transparent;
  border: 0;
}

.page-article-detail .article-hero-panel {
  padding: 18px;
  background: #fff;
  border: 1px solid rgba(50, 50, 50, .04);
  border-radius: 8px;
  box-shadow: 0 4px 18px rgba(82, 82, 82, .06);
}

@media (max-width: 720px) {
  .page-article-detail .article-hero-panel {
    padding: 16px;
  }
}

.page-article-detail .article-sidebar {
  top: 86px;
}

.page-article-detail .article-sidebar > * + * {
  margin-top: 14px;
}

.page-article-detail .related-panel {
  padding: 16px;
  background: #fff;
  border: 1px solid rgba(50, 50, 50, .04);
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(82, 82, 82, .05);
}

.page-article-detail .related-panel > .section-kicker {
  margin: 0 0 4px;
  color: var(--z-theme);
  font-size: 9px;
}

.page-article-detail .related-panel h2 {
  margin: 4px 0 12px;
  color: var(--z-key);
  font-size: 17px;
}

.page-article-detail .article-info-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.page-article-detail .article-info-list > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid var(--z-line);
}

.page-article-detail .article-info-list > div:first-child {
  border-top: 0;
}

.page-article-detail .article-info-list dt,
.page-article-detail .article-info-list dd {
  margin: 0;
  font-size: 11px;
  line-height: 1.55;
}

.page-article-detail .article-info-list dt {
  color: var(--z-muted-light);
}

.page-article-detail .article-info-list dd {
  color: var(--z-key);
  font-weight: 600;
  text-align: right;
}

.page-article-detail .article-sidebar-list {
  display: grid;
  gap: 5px;
}

.page-article-detail .article-sidebar-list a {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 9px;
  color: var(--z-key);
  border: 1px solid transparent;
  border-radius: 6px;
}

.page-article-detail .article-sidebar-list a:hover {
  color: var(--z-theme-deep);
  background: var(--z-theme-soft);
  border-color: rgba(240, 68, 148, .1);
}

.page-article-detail .article-sidebar-list span {
  min-width: 0;
}

.page-article-detail .article-sidebar-list strong,
.page-article-detail .article-sidebar-list small {
  display: block;
}

.page-article-detail .article-sidebar-list strong {
  font-size: 11px;
  line-height: 1.45;
}

.page-article-detail .article-sidebar-list small {
  margin-top: 2px;
  color: var(--z-muted);
  font-size: 9px;
  line-height: 1.45;
}

.page-article-detail .article-sidebar-list .ti {
  flex: 0 0 auto;
  color: var(--z-theme);
  font-size: 12px;
}

.page-article-detail .sidebar-list {
  gap: 4px;
}

.page-article-detail .sidebar-game {
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 9px;
  padding: 5px;
  color: var(--z-key);
  border-radius: 6px;
}

.page-article-detail .sidebar-game:hover {
  color: var(--z-theme-deep);
  background: var(--z-theme-soft);
}

.page-article-detail .sidebar-game img {
  width: 52px;
  height: 52px;
  aspect-ratio: 1;
  border: 1px solid rgba(50, 50, 50, .06);
  border-radius: 8px;
}

.page-article-detail .sidebar-game strong {
  color: inherit;
  font-size: 12px;
  line-height: 1.45;
}

.page-article-detail .sidebar-game span span {
  color: var(--z-muted);
  font-size: 10px;
}

@media (min-width: 981px) {
  .page-article-detail .article-layout {
    grid-template-columns: minmax(0, 1fr) 292px;
    gap: 18px;
  }
}

@media (min-width: 721px) and (max-width: 980px) {
  .page-article-detail .article-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .page-article-detail .article-sidebar > * + * {
    margin-top: 0;
  }
}

@media (max-width: 720px) {
  .page-article-detail .article-sidebar {
    position: static;
    display: block;
  }

  .page-article-detail .article-sidebar > * + * {
    margin-top: 10px;
  }
}

.page-search .search-hero-panel {
  padding: 18px;
  background: #fff;
  border: 1px solid rgba(50, 50, 50, .04);
  border-radius: 8px;
  box-shadow: 0 4px 18px rgba(82, 82, 82, .06);
}

.page-search .search-hero-panel .section-kicker {
  margin: 0 0 6px;
  color: var(--z-theme);
  font-size: 10px;
}

.page-search .search-hero-panel h1 {
  margin: 0;
  color: var(--z-key);
  font-size: clamp(30px, 3.6vw, 45px);
  line-height: 1.15;
}

.page-search .search-hero-panel .search-box {
  margin: 0 auto;
  background: #f7f8f9;
  border-color: rgba(50, 50, 50, .07);
  box-shadow: none;
}

.page-search .search-hero-panel .search-summary {
  margin-top: 12px;
  color: var(--z-muted);
  font-size: 11px;
  text-align: center;
}

.page-search .search-results {
  padding: 18px 0 0;
  background: transparent;
}

.page-search .search-results .collection-block {
  margin: 0;
}

.page-search .search-results .search-game-results {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

@media (max-width: 720px) {
  .page-search .search-hero-panel {
    padding: 16px;
  }
}

/* Public 404 page */
.page-error .error-page {
  min-height: 0;
  padding: 20px 0 44px;
}

.error-page-inner {
  max-width: 1240px;
}

.page-error .error-breadcrumbs .breadcrumbs {
  margin-bottom: 12px;
  color: var(--z-muted);
  font-size: 11px;
}

.page-error .error-breadcrumbs .breadcrumbs a {
  color: var(--z-muted);
}

.page-error .error-breadcrumbs .breadcrumbs a:hover {
  color: var(--z-theme);
}

.page-error .error-breadcrumbs .breadcrumbs li:not(:last-child)::after {
  color: #c4c6c8;
}

.page-error .error-panel {
  position: relative;
  display: grid;
  min-height: 378px;
  max-width: none;
  overflow: hidden;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
  gap: 34px;
  align-items: stretch;
  margin: 0;
  padding: 42px;
  text-align: left;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(50, 50, 50, .04);
  border-radius: var(--z-radius);
  box-shadow: 0 8px 28px rgba(82, 82, 82, .08);
}

.page-error .error-panel::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--z-theme);
  content: "";
}

.error-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}

.error-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--z-muted-light);
  font-family: Bahnschrift, "DIN Alternate", sans-serif;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
}

.error-kicker span {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  padding: 2px 8px;
  color: #fff;
  background: var(--z-theme);
  border-radius: 3px;
  font-size: 11px;
  letter-spacing: 0;
}

.page-error .error-panel h1 {
  margin: 14px 0 0;
  color: var(--z-key);
  font-size: clamp(36px, 4.8vw, 58px);
  font-weight: 800;
  line-height: 1.08;
}

.error-lead {
  max-width: 580px;
  margin: 14px 0 0;
  color: var(--z-muted);
  font-size: 14px;
  line-height: 1.8;
}

.error-search {
  display: flex;
  width: min(100%, 590px);
  min-height: 52px;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding: 4px 4px 4px 16px;
  background: #f4f5f6;
  border: 1px solid rgba(50, 50, 50, .05);
  border-radius: 100px;
  transition: background .2s, border-color .2s, box-shadow .2s;
}

.error-search:focus-within {
  background: #fff;
  border-color: rgba(240, 68, 148, .28);
  box-shadow: 0 0 0 3px rgba(240, 68, 148, .08);
}

.error-search > i {
  flex: 0 0 auto;
  color: var(--z-muted-light);
  font-size: 18px;
}

.error-search input {
  width: 100%;
  min-width: 0;
  height: 42px;
  padding: 0;
  color: var(--z-key);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 13px;
}

.error-search input::placeholder {
  color: var(--z-muted-light);
}

.error-search button {
  min-width: 88px;
  height: 42px;
  padding: 0 20px;
  flex: 0 0 auto;
  color: #fff;
  background: var(--z-theme);
  border: 0;
  border-radius: 100px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  transition: background .2s;
}

.error-search button:hover {
  background: var(--z-theme-deep);
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.error-action {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 17px;
  color: var(--z-key);
  background: #fff;
  border: 1px solid rgba(50, 50, 50, .11);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  transition: color .18s, background .18s, border-color .18s, box-shadow .18s;
}

.error-action:hover {
  color: var(--z-theme-deep);
  background: var(--z-theme-soft);
  border-color: rgba(240, 68, 148, .2);
}

.error-action--primary {
  color: #fff;
  background: var(--z-theme);
  border-color: var(--z-theme);
  box-shadow: 0 4px 12px rgba(240, 68, 148, .2);
}

.error-action--primary:hover {
  color: #fff;
  background: var(--z-theme-deep);
  border-color: var(--z-theme-deep);
}

.error-visual {
  position: relative;
  display: grid;
  min-height: 294px;
  overflow: hidden;
  align-content: center;
  justify-items: center;
  color: var(--z-theme);
  background-color: var(--z-theme-soft);
  background-image: linear-gradient(rgba(240, 68, 148, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 68, 148, .045) 1px, transparent 1px);
  background-size: 24px 24px;
  border-radius: 8px;
  isolation: isolate;
}

.error-visual::after {
  position: absolute;
  right: 0;
  bottom: -19px;
  left: 0;
  z-index: -1;
  color: rgba(240, 68, 148, .06);
  content: "GMSY";
  font-family: Bahnschrift, "DIN Alternate", sans-serif;
  font-size: 100px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
}

.error-visual-code {
  position: absolute;
  top: 18px;
  right: 22px;
  color: rgba(240, 68, 148, .11);
  font-family: Bahnschrift, "DIN Alternate", sans-serif;
  font-size: 92px;
  font-weight: 800;
  line-height: 1;
}

.error-visual-icon {
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  color: #fff;
  background: var(--z-theme);
  border: 8px solid rgba(255, 255, 255, .72);
  border-radius: 24px;
  box-shadow: 0 13px 28px rgba(217, 47, 125, .2);
  transform: rotate(-5deg);
}

.error-visual-icon .ti {
  font-size: 38px;
}

.error-visual-copy {
  display: grid;
  gap: 4px;
  margin-top: 22px;
  text-align: center;
}

.error-visual-copy strong {
  color: var(--z-key);
  font-size: 18px;
  line-height: 1.4;
}

.error-visual-copy small {
  color: var(--z-muted);
  font-size: 11px;
  line-height: 1.5;
}

.error-shortcuts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 8px;
  padding: 15px 2px 0;
}

.error-shortcuts > span {
  margin-right: 3px;
  color: var(--z-muted-light);
  font-size: 10px;
  font-weight: 700;
}

.error-shortcuts a {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  gap: 2px;
  padding: 4px 9px;
  color: var(--z-muted);
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(50, 50, 50, .05);
  border-radius: 5px;
  font-size: 11px;
  font-weight: 600;
  transition: color .18s, background .18s, border-color .18s;
}

.error-shortcuts a:hover {
  color: var(--z-theme);
  background: var(--z-theme-soft);
  border-color: rgba(240, 68, 148, .13);
}

.error-shortcuts .ti {
  font-size: 12px;
}

@media (max-width: 900px) {
  .page-error .error-panel {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 24px;
    padding: 32px;
  }

  .error-visual {
    min-height: 264px;
  }

  .error-visual-code {
    font-size: 76px;
  }
}

@media (max-width: 720px) {
  .page-error .error-page {
    padding: 14px 0 34px;
  }

  .page-error .error-breadcrumbs .breadcrumbs {
    margin-bottom: 9px;
    font-size: 10px;
  }

  .page-error .error-panel {
    display: block;
    min-height: 0;
    padding: 28px 22px 24px;
  }

  .error-kicker {
    font-size: 9px;
  }

  .page-error .error-panel h1 {
    margin-top: 11px;
    font-size: 36px;
  }

  .error-lead {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.75;
  }

  .error-search {
    min-height: 48px;
    gap: 8px;
    margin-top: 20px;
    padding-left: 13px;
  }

  .error-search > i {
    font-size: 16px;
  }

  .error-search input {
    height: 38px;
    font-size: 12px;
  }

  .error-search button {
    min-width: 70px;
    height: 38px;
    padding-inline: 14px;
    font-size: 11px;
  }

  .error-actions {
    margin-top: 14px;
  }

  .error-action {
    min-height: 40px;
    padding: 7px 14px;
    font-size: 11px;
  }

  .error-visual {
    display: none;
  }

  .error-shortcuts {
    gap: 6px;
    padding-top: 12px;
  }

  .error-shortcuts > span {
    width: 100%;
    margin-bottom: 1px;
  }
}

@media (max-width: 420px) {
  .page-error .container {
    width: min(calc(100% - 28px), 1240px);
  }

  .page-error .error-panel {
    padding: 25px 18px 22px;
  }

  .page-error .error-panel h1 {
    font-size: 32px;
  }

  .error-search > i {
    display: none;
  }

  .error-search {
    padding-left: 9px;
  }

  .error-search input {
    padding-left: 5px;
  }

  .error-search button {
    min-width: 64px;
    padding-inline: 12px;
  }
}

/* Match game, category, and search archive cards to the home latest-game cards. */
.page-home.page-games .game-grid,
.page-home.page-category .game-grid,
.page-home.page-search .game-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.page-home.page-games .game-card,
.page-home.page-category .game-card,
.page-home.page-search .game-card {
  color: var(--z-key);
  background: var(--z-surface);
  border-color: rgba(50, 50, 50, .04);
  border-radius: var(--z-radius);
  box-shadow: 0 5px 18px rgba(82, 82, 82, .065);
}

.page-home.page-games .game-card:hover,
.page-home.page-category .game-card:hover,
.page-home.page-search .game-card:hover {
  border-color: rgba(240, 68, 148, .16);
  box-shadow: 0 10px 26px rgba(82, 82, 82, .13);
}

.page-home.page-games .game-card:focus-within,
.page-home.page-category .game-card:focus-within,
.page-home.page-search .game-card:focus-within {
  border-color: rgba(240, 68, 148, .16);
  box-shadow: 0 10px 26px rgba(82, 82, 82, .13);
}

.page-home.page-games .game-cover,
.page-home.page-category .game-cover,
.page-home.page-search .game-cover {
  aspect-ratio: 1.9 / 1;
}

.page-home.page-games .game-media,
.page-home.page-category .game-media,
.page-home.page-search .game-media {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.page-home.page-games .game-media::after,
.page-home.page-category .game-media::after,
.page-home.page-search .game-media::after {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 48%;
  min-height: 50px;
  background: linear-gradient(180deg, transparent, rgba(13, 15, 18, .7));
  content: "";
  pointer-events: none;
}

.page-home.page-games .game-body,
.page-home.page-category .game-body,
.page-home.page-search .game-body {
  display: block;
  flex: initial;
  padding: 12px 14px 13px;
  background: linear-gradient(180deg, #fff 0%, #fcfcfd 100%);
}

.page-home.page-games .game-kicker,
.page-home.page-category .game-kicker,
.page-home.page-search .game-kicker {
  position: absolute;
  right: 10px;
  bottom: 8px;
  left: 10px;
  z-index: 2;
  display: flex;
  min-height: 0;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px;
  margin: 0;
  color: #fff;
  font-size: 10px;
  line-height: 1.35;
  pointer-events: none;
}

.page-home.page-games .game-kicker span,
.page-home.page-category .game-kicker span,
.page-home.page-search .game-kicker span {
  display: inline-flex;
  max-width: calc(100% - 52px);
  align-items: center;
  padding: 2px 6px;
  color: #fff;
  background: rgba(14, 16, 20, .54);
  border-radius: 4px;
  font-weight: 600;
  text-overflow: clip;
}

.page-home.page-games .game-kicker span:first-child,
.page-home.page-category .game-kicker span:first-child,
.page-home.page-search .game-kicker span:first-child {
  min-width: 0;
  color: #fff;
  background: rgba(14, 16, 20, .54);
}

.page-home.page-games .game-kicker span:last-child,
.page-home.page-category .game-kicker span:last-child,
.page-home.page-search .game-kicker span:last-child {
  display: block;
  flex: 0 0 auto;
  color: rgba(255, 255, 255, .92);
  background: rgba(14, 16, 20, .54);
  font-weight: 500;
}

.page-home.page-games .game-body h3,
.page-home.page-category .game-body h3,
.page-home.page-search .game-body h3 {
  display: block;
  min-height: 0;
  overflow: hidden;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
  -webkit-line-clamp: unset;
}

.page-home.page-games .game-body h3 a,
.page-home.page-category .game-body h3 a,
.page-home.page-search .game-body h3 a {
  display: block;
  overflow: hidden;
  color: var(--z-key);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-home.page-games .game-body h3 a:hover,
.page-home.page-category .game-body h3 a:hover,
.page-home.page-search .game-body h3 a:hover {
  color: var(--z-theme);
}

.page-home.page-games .game-body p,
.page-home.page-category .game-body p,
.page-home.page-search .game-body p {
  display: block;
  min-height: 0;
  overflow: hidden;
  margin-top: 4px;
  color: var(--z-muted);
  font-size: 11px;
  line-height: 1.6;
  text-overflow: ellipsis;
  white-space: nowrap;
  -webkit-line-clamp: unset;
}

@media (max-width: 720px) {
  .page-home.page-games .game-grid,
  .page-home.page-category .game-grid,
  .page-home.page-search .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .page-home.page-games .game-card,
  .page-home.page-category .game-card,
  .page-home.page-search .game-card {
    border-radius: 7px;
  }

  .page-home.page-games .game-cover,
  .page-home.page-category .game-cover,
  .page-home.page-search .game-cover {
    aspect-ratio: 4 / 3;
  }

  .page-home.page-games .game-body,
  .page-home.page-category .game-body,
  .page-home.page-search .game-body {
    padding: 10px 11px 11px;
  }

  .page-home.page-games .game-kicker,
  .page-home.page-category .game-kicker,
  .page-home.page-search .game-kicker {
    right: 8px;
    bottom: 7px;
    left: 8px;
    gap: 4px;
    font-size: 9px;
  }

  .page-home.page-games .game-kicker span,
  .page-home.page-category .game-kicker span,
  .page-home.page-search .game-kicker span {
    max-width: calc(100% - 42px);
    padding: 2px 4px;
  }

  .page-home.page-games .game-body h3,
  .page-home.page-category .game-body h3,
  .page-home.page-search .game-body h3 {
    font-size: 12px;
    line-height: 1.45;
  }

  .page-home.page-games .game-body p,
  .page-home.page-category .game-body p,
  .page-home.page-search .game-body p {
    display: none;
  }
}
