/**
 * Vivid — 桌游列表页
 * 共用 content.css（header/footer + 进度条 + 卡片基础）
 * 抬头参考 Top100 .bgg-v2-page-head；筛选 .gw-filter；页码仿 WeGame
 */

/* 列表主区：去掉底部大空白 */
body.skin-vivid.skin-page-list #container.site-container {
  float: none !important;
  clear: both !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 0 24px !important;
  box-sizing: border-box !important;
  background: transparent !important;
  min-height: 0 !important;
}

body.skin-vivid.skin-page-list .boardgame-list.vivid-list {
  float: none !important;
  clear: both !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  min-height: 0 !important;
}

/* —— Top100 式黄渐变抬头 —— */
body.skin-vivid.skin-page-list .vivid-list-hero.bgg-v2-page-head {
  display: block !important;
  width: 100% !important;
  margin: 0 0 0 !important;
  padding: 28px 0 22px !important;
  background: linear-gradient(105deg, #f7c948 0%, #f0a202 48%, #ff8a3d 100%) !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.skin-vivid.skin-page-list .vivid-list-hero__inner {
  max-width: var(--vivid-max, 1180px);
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

/* 栏目切换（难度/趣味/人数/年份）挂在抬头下方 */
body.skin-vivid.skin-page-list .vivid-list-hero__switch {
  margin-top: 12px;
  text-align: left;
}

body.skin-vivid.skin-page-list .vivid-list__extra {
  max-width: var(--vivid-max, 1180px);
  margin: 0 auto 12px;
  padding: 0 24px;
  box-sizing: border-box;
}

/* 分类页：介绍副行（不挤占主列表式短抬头） */
body.skin-vivid.skin-page-list .vivid-list-hero__intro {
  max-width: 52em;
  margin-top: 4px !important;
}

/* 分类页：筛选条下方的类别切换（结构保留，视觉贴合列表） */
body.skin-vivid.skin-page-list .vivid-type-nav {
  margin: 0 0 8px;
  padding: 14px 16px 12px;
  background: #f1f3f5;
  border: 1px solid rgba(20, 24, 32, 0.06);
  border-radius: 4px;
  box-sizing: border-box;
}

body.skin-vivid.skin-page-list .vivid-type-nav .type-nav__label {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  color: #25303d;
  letter-spacing: 0.02em;
}

body.skin-vivid.skin-page-list .vivid-type-nav .type-nav__panel {
  gap: 8px;
}

body.skin-vivid.skin-page-list .vivid-type-nav .type-nav__item {
  border-radius: 3px;
  border-color: #9ba8b5;
  background: #fff;
  color: #141820;
  font-weight: 600;
  padding: 8px 12px;
}

body.skin-vivid.skin-page-list .vivid-type-nav .type-nav__item:hover {
  border-color: var(--vivid-orange, #ff6600);
  color: #9a3412;
  background: #fff7ed;
}

body.skin-vivid.skin-page-list .vivid-type-nav .type-nav__count {
  border-radius: 3px;
  background: #e8eef3;
  color: #475569;
}

body.skin-vivid.skin-page-list .vivid-type-nav .type-nav__item.is-active {
  background: var(--vivid-orange, #ff6600);
  border-color: var(--vivid-orange, #ff6600);
  color: #fff;
}

body.skin-vivid.skin-page-list .vivid-type-nav .type-nav__item.is-active .type-nav__count {
  background: rgba(255, 255, 255, 0.28);
  color: #fff;
}

/* 分类索引：分区结构保留，卡片与主列表同风 */
body.skin-vivid.skin-page-list .vivid-type-index {
  max-width: var(--vivid-max, 1180px);
  margin: 0 auto;
  padding: 8px 24px 28px;
  box-sizing: border-box;
}

body.skin-vivid.skin-page-list .vivid-type-index__section {
  margin: 0 0 28px;
  padding: 18px 18px 16px;
  background: #f7f8fa;
  border: 1px solid rgba(20, 24, 32, 0.06);
  border-radius: 4px;
}

body.skin-vivid.skin-page-list .vivid-type-index__section .type-index-section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 8px;
}

body.skin-vivid.skin-page-list .vivid-type-index__section .type-index-section__title {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: #141820;
}

body.skin-vivid.skin-page-list .vivid-type-index__section .type-index-section__title a {
  color: inherit;
  text-decoration: none;
}

body.skin-vivid.skin-page-list .vivid-type-index__section .type-index-section__title a:hover {
  color: var(--vivid-orange, #ff6600);
}

body.skin-vivid.skin-page-list .vivid-type-index__section .type-index-section__more {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
  color: #7c2d12;
  text-decoration: none;
}

body.skin-vivid.skin-page-list .vivid-type-index__section .type-index-section__more:hover {
  color: #9a3412;
  text-decoration: underline;
}

body.skin-vivid.skin-page-list .vivid-type-index__section .type-index-section__intro {
  margin: 0 0 14px;
  color: #5b6570;
  font-size: 13px;
  line-height: 1.55;
}

body.skin-vivid.skin-page-list .vivid-type-index__games.vivid-list__row {
  background: transparent !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.skin-vivid.skin-page-list .vivid-type-index__games .vivid-list__row-inner.gw-game-grid {
  display: grid !important;
  /* 与主列表一致：一排三卡 */
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 20px 18px !important;
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

@media (max-width: 980px) {
  body.skin-vivid.skin-page-list .vivid-type-index__games .vivid-list__row-inner.gw-game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 560px) {
  body.skin-vivid.skin-page-list .vivid-type-index {
    padding: 8px 14px 24px;
  }
  body.skin-vivid.skin-page-list .vivid-type-index__games .vivid-list__row-inner.gw-game-grid {
    grid-template-columns: 1fr !important;
  }
}

body.skin-vivid.skin-page-list .vivid-list-hero h1 {
  margin: 0 0 8px !important;
  padding: 0 !important;
  font-size: 32px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  color: #1c1408 !important;
  background: none !important;
  border: 0 !important;
}

body.skin-vivid.skin-page-list .vivid-list-hero .bgg-rankings-sub {
  margin: 0 0 6px !important;
  font-size: 14px !important;
  color: rgba(28, 20, 8, 0.82) !important;
  line-height: 1.55 !important;
}

body.skin-vivid.skin-page-list .vivid-list-hero .bgg-rankings-sub strong {
  color: #1c1408;
  font-weight: 800;
}

body.skin-vivid.skin-page-list .vivid-list-hero .bgg-rankings-updated {
  margin: 0 !important;
  font-size: 13px !important;
  color: rgba(28, 20, 8, 0.72) !important;
}

body.skin-vivid.skin-page-list .vivid-list-hero .bgg-rankings-updated a {
  color: #7c2d12 !important;
  font-weight: 700;
  text-decoration: none !important;
}

body.skin-vivid.skin-page-list .vivid-list-hero .bgg-rankings-updated a:hover {
  color: #9a3412 !important;
  text-decoration: underline !important;
}

/* 筛选条容器 */
body.skin-vivid.skin-page-list .vivid-list__toolbar {
  max-width: var(--vivid-max, 1180px);
  margin: 0 auto;
  padding: 18px 24px 8px;
  box-sizing: border-box;
}

/* —— GameWarrior .gw-filter：两行左对齐 + 清晰下拉面板 —— */
body.skin-vivid .gw-filter {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  background: #f1f3f5;
  padding: 22px 20px;
  margin: 0 0 8px;
  border: 1px solid rgba(20, 24, 32, 0.06);
  border-radius: 4px;
  box-sizing: border-box;
  text-align: left;
}

body.skin-vivid .gw-filter__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: end;
  gap: 14px 12px;
  width: 100%;
  margin: 0;
  padding: 0;
}

body.skin-vivid .gw-filter__row > .gw-filter__field,
body.skin-vivid .gw-filter__row > .gw-filter__owned {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-end;
  gap: 8px;
  flex: 0 1 148px;
  width: 148px;
  min-width: 132px;
  max-width: 180px;
  margin: 0;
  text-align: left;
  box-sizing: border-box;
}

body.skin-vivid .gw-filter__row > .gw-filter__actions {
  flex: 0 0 auto;
  width: auto;
  min-width: 0;
  max-width: none;
}

body.skin-vivid .gw-filter > div.gw-filter__field {
  flex: none;
}

body.skin-vivid .gw-filter label,
body.skin-vivid .gw-filter .gw-filter__label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin: 0;
  padding: 0;
  color: #25303d;
  letter-spacing: 0.02em;
  text-align: left;
}

body.skin-vivid .gw-filter select,
body.skin-vivid .gw-filter .bg-browse-multi__summary {
  width: 100%;
  max-width: none;
  padding: 12px 36px 12px 14px;
  min-height: 48px;
  background-color: #fff;
  border: 1px solid #9ba8b5;
  border-radius: 3px;
  font-size: 15px;
  font-weight: 600;
  margin: 0;
  color: #141820;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2325303d' d='M1.1 1.2L6 6.1l4.9-4.9 1.1 1.1L6 8.3.0 2.3z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px 8px;
  cursor: pointer;
  text-align: left;
}

body.skin-vivid .gw-filter .bg-browse-field {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  width: 100%;
  max-width: none;
  min-width: 0;
}

body.skin-vivid .gw-filter .bg-browse-field__label {
  display: none;
}

body.skin-vivid .gw-filter .bg-browse-field--multi {
  position: relative;
  flex: none !important;
  max-width: none !important;
  min-width: 0 !important;
  width: 100% !important;
}

body.skin-vivid .gw-filter .bg-browse-multi {
  margin: 0;
  width: 100%;
  max-width: none;
}

body.skin-vivid .gw-filter .bg-browse-multi__summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
}

body.skin-vivid .gw-filter .bg-browse-multi__summary::-webkit-details-marker {
  display: none;
}

body.skin-vivid .gw-filter .bg-browse-multi[open] .bg-browse-multi__summary {
  border-color: var(--vivid-orange, #ff6600);
}

body.skin-vivid .gw-filter .bg-browse-multi__panel {
  position: absolute;
  left: 0;
  right: auto;
  z-index: 40;
  margin-top: 4px;
  min-width: 100%;
  width: max(100%, 260px);
  max-height: 280px;
  overflow-x: hidden;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #94a3b8;
  border-radius: 4px;
  box-shadow: 0 12px 28px rgba(20, 24, 32, 0.14);
  padding: 8px;
  color: #141820;
  text-align: left;
  /* 难度 / 趣味 / 人数等：两列两排 */
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 8px;
  box-sizing: border-box;
}

/* 分类：加宽面板，单行完整显示，禁止左右滑动 */
body.skin-vivid .gw-filter .bg-browse-multi__panel--types {
  width: max(100%, 360px);
  min-width: 360px;
  overflow-x: hidden;
  overflow-y: auto;
}

body.skin-vivid .gw-filter .bg-browse-multi__item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 9px 10px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: #141820 !important;
  cursor: pointer;
  white-space: nowrap;
}

body.skin-vivid .gw-filter .bg-browse-multi__item span {
  color: #141820 !important;
  font-weight: 600;
  white-space: nowrap;
}

body.skin-vivid .gw-filter .bg-browse-multi__item:hover {
  background: #fff7ed;
}

body.skin-vivid .gw-filter .bg-browse-multi__item input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--vivid-orange, #ff6600);
  flex: 0 0 auto;
}

/* 趣本屋：开头字段，与其它筛选项同列布局 */
body.skin-vivid .gw-filter__owned {
  justify-content: flex-end;
  min-height: 0;
  padding: 0;
}

body.skin-vivid .gw-filter__owned-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid #9ba8b5;
  border-radius: 3px;
  background: #fff;
  box-sizing: border-box;
  font-size: 15px;
  font-weight: 600;
  color: #141820;
  text-align: left;
}

body.skin-vivid .gw-filter__owned-row input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--vivid-orange, #ff6600);
  flex: 0 0 auto;
}

body.skin-vivid .gw-filter__owned-row a {
  color: #0f766e !important;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none !important;
}

body.skin-vivid .gw-filter__owned-row a:hover {
  color: #9a3412 !important;
  text-decoration: underline !important;
}

body.skin-vivid .gw-filter__actions {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-left: 0;
}

body.skin-vivid .gw-filter button[type="submit"] {
  min-height: 48px;
  border: 0;
  border-radius: 3px;
  background: #ffc12c;
  color: #19232e;
  font-size: 13px;
  font-weight: 700;
  padding: 12px 22px;
  cursor: pointer;
  white-space: nowrap;
}

body.skin-vivid .gw-filter .gw-filter__reset {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid #9ba8b5;
  border-radius: 3px;
  background: #fff;
  color: #25303d;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  box-sizing: border-box;
}

/* —— 行条纹（全宽底色） —— */
body.skin-vivid.skin-page-list .vivid-list__rows {
  width: 100%;
  margin: 0;
  padding: 0;
}

body.skin-vivid.skin-page-list .vivid-list__row {
  width: 100%;
  padding: 22px 0;
  box-sizing: border-box;
}

body.skin-vivid.skin-page-list .vivid-list__row.is-odd {
  background: rgba(255, 255, 255, 0.55);
}

body.skin-vivid.skin-page-list .vivid-list__row.is-even {
  background: rgba(20, 24, 32, 0.045);
}

body.skin-vivid.skin-page-list .vivid-list__row-inner.gw-game-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  align-items: stretch !important;
  gap: 20px 18px !important;
  max-width: var(--vivid-max, 1180px) !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
  box-sizing: border-box !important;
  float: none !important;
}

body.skin-vivid.skin-page-list .vivid-list__empty {
  text-align: center;
  padding: 48px 16px;
  color: var(--vivid-muted, #5b6570);
  font-size: 15px;
}

/* —— 列表卡片 —— */
body.skin-vivid.skin-page-list .gw-game-card--list {
  display: flex;
  flex-direction: column;
  height: 100%;
  align-self: stretch;
  background: #fff !important;
  border: 1px solid #dce0e4;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(20, 24, 32, 0.08);
}

body.skin-vivid.skin-page-list .gw-game-card--list .gw-cover-wrap {
  margin: 0 !important;
  border-radius: 0 !important;
}

body.skin-vivid.skin-page-list .gw-game-card--list .gw-card-copy {
  display: flex !important;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0;
  padding: 8px 14px 12px;
  min-height: 0;
  flex: 1 1 auto;
  box-sizing: border-box;
}

/* 封面标题与猜你喜欢共用 .gw-cover-caption / .gw-cover-title（字号在 content.css） */
body.skin-vivid.skin-page-list .gw-game-card--list .gw-cover-title {
  font-size: 20px !important;
  font-weight: 800 !important;
}

/* 封面下三格：贴齐封面、连成一条、凹陷感 */
body.skin-vivid.skin-page-list .gw-stat-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  background: linear-gradient(180deg, #d8dde4 0%, #eef1f4 18%, #e6e9ee 100%);
  border: 0;
  border-top: 1px solid rgba(20, 24, 32, 0.18);
  border-bottom: 1px solid rgba(20, 24, 32, 0.1);
  box-shadow:
    inset 0 4px 10px rgba(20, 24, 32, 0.18),
    inset 0 -1px 0 rgba(255, 255, 255, 0.55);
}

body.skin-vivid.skin-page-list .gw-stat-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  height: 52px;
  min-height: 52px;
  margin: 0;
  padding: 4px 2px;
  box-sizing: border-box;
  border: 0;
  border-right: 1px solid rgba(20, 24, 32, 0.12);
  border-radius: 0;
  background: transparent;
  color: var(--vivid-ink, #141820) !important;
  text-decoration: none !important;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: background 0.15s ease, color 0.15s ease;
}

body.skin-vivid.skin-page-list .gw-stat-tile:last-child {
  border-right: 0;
}

body.skin-vivid.skin-page-list a.gw-stat-tile:hover {
  background: rgba(255, 102, 0, 0.12);
  color: #9a3412 !important;
}

body.skin-vivid.skin-page-list .gw-stat-tile--plain {
  cursor: default;
}

body.skin-vivid.skin-page-list .gw-stat-tile__num {
  display: block;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

body.skin-vivid.skin-page-list .gw-stat-tile__unit {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #5b6570;
  line-height: 1.15;
}

body.skin-vivid.skin-page-list a.gw-stat-tile:hover .gw-stat-tile__unit {
  color: #c2410c;
}

/* 一句话：在分类下方；有内容才输出 */
body.skin-vivid.skin-page-list .gw-excerpt {
  margin: 6px 0 0 !important;
  padding: 0 !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  color: #4b5563 !important;
  max-height: 2.7em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  flex: 0 0 auto;
}

/* 难度 / 趣味：紧贴三格；整块高度与底部分类区同为 70px */
body.skin-vivid.skin-page-list .gw-score-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  margin: 0;
  padding: 0;
  height: 70px;
  min-height: 70px;
  max-height: 70px;
  flex: 0 0 70px;
  box-sizing: border-box;
}

body.skin-vivid.skin-page-list .gw-score-pair {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  height: 32px;
  min-height: 32px;
  max-height: 32px;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body.skin-vivid.skin-page-list .gw-score-pair__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0;
  height: 16px;
  min-height: 16px;
  max-height: 16px;
}

body.skin-vivid.skin-page-list .gw-score-pair__label {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  line-height: 1;
}

body.skin-vivid.skin-page-list .gw-score-pair__value {
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 70%;
  text-align: right;
}

body.skin-vivid.skin-page-list .gw-score-pair .bg-score-bars {
  margin: 0;
  min-height: 8px;
  height: 8px;
  flex: 0 0 8px;
}

body.skin-vivid.skin-page-list .gw-score-pair .bg-score-bar {
  height: 8px;
}

/* 分类区：顶部分隔线；上下留白，避免标签底边被裁切 */
body.skin-vivid.skin-page-list .gw-type-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  align-content: flex-start;
  gap: 6px;
  margin: 0;
  padding-top: 10px;
  padding-bottom: 4px;
  border-top: 1px solid rgba(20, 24, 32, 0.14);
  overflow: hidden;
  box-sizing: border-box;
}

/* 同行都 ≤4 个：单行（10 上 + 28 芯片 + 4 下） */
body.skin-vivid.skin-page-list .vivid-list__row.is-types-compact .gw-type-row,
body.skin-vivid.skin-page-list .vivid-list__row:not(.is-types-tall) .gw-type-row {
  height: 42px;
  min-height: 42px;
  max-height: 42px;
  flex: 0 0 42px;
}

/* 同行任一 >4 个：双行（10 + 28+6+28 + 4） */
body.skin-vivid.skin-page-list .vivid-list__row.is-types-tall .gw-type-row {
  height: 76px;
  min-height: 76px;
  max-height: 76px;
  flex: 0 0 76px;
}

body.skin-vivid.skin-page-list .gw-type-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 28px;
  min-height: 28px;
  max-height: 28px;
  padding: 0 8px;
  border: 1px solid rgba(255, 102, 0, 0.35);
  border-radius: 4px;
  background: #fff !important;
  color: #c2410c !important;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  text-decoration: none !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

body.skin-vivid.skin-page-list .gw-type-chip:hover {
  border-color: var(--vivid-orange, #ff6600);
  color: #9a3412 !important;
  background: #fff7ed !important;
}

body.skin-vivid.skin-page-list .gw-type-chip--plain {
  border-color: #cbd5e1;
  color: #64748b !important;
}

/* —— WeGame 风格分页 —— */
body.skin-vivid.skin-page-list .vivid-list__pager {
  max-width: var(--vivid-max, 1180px);
  margin: 8px auto 0;
  padding: 8px 24px 0;
  box-sizing: border-box;
}

body.skin-vivid .we-pagination.we-align-hc,
body.skin-vivid .vivid-we-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 12px 0 4px;
  clear: both;
}

body.skin-vivid .vivid-we-pager__total {
  width: 100%;
  text-align: center;
  font-size: 13px;
  color: var(--vivid-muted, #5b6570);
  margin-bottom: 4px;
}

body.skin-vivid .we-pagination__btn,
body.skin-vivid .we-pagination__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid rgba(20, 24, 32, 0.14);
  border-radius: 6px;
  background: #fff;
  color: var(--vivid-ink, #141820) !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
  box-sizing: border-box;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

body.skin-vivid .we-pagination__btn:hover,
body.skin-vivid .we-pagination__num:hover {
  border-color: var(--vivid-orange, #ff6600);
  color: var(--vivid-orange, #ff6600) !important;
}

body.skin-vivid .we-pagination__num.is-current {
  background: var(--vivid-orange, #ff6600);
  border-color: var(--vivid-orange, #ff6600);
  color: #fff !important;
  cursor: default;
}

body.skin-vivid .we-pagination__btn.is-disabled {
  opacity: 0.38;
  cursor: default;
  pointer-events: none;
}

body.skin-vivid .we-pagination__ellipsis {
  min-width: 20px;
  text-align: center;
  color: #94a3b8;
  font-weight: 700;
}

/* 压缩页脚上方空白（旧 .page 样式常留大 margin） */
body.skin-vivid.skin-page-list .page,
body.skin-vivid.skin-page-list .catalog-list-pager {
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
}

body.skin-vivid.skin-page-list #footer,
body.skin-vivid.skin-page-list .unified-footer {
  margin-top: 16px !important;
}

@media (max-width: 900px) {
  body.skin-vivid.skin-page-list .vivid-list__row-inner.gw-game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  body.skin-vivid .gw-filter__actions {
    margin-left: 0;
  }
}

@media (max-width: 560px) {
  body.skin-vivid.skin-page-list .vivid-list__row-inner.gw-game-grid {
    grid-template-columns: 1fr !important;
  }
  body.skin-vivid.skin-page-list .gw-game-card--list .gw-cover-title {
    font-size: 18px !important;
  }
  body.skin-vivid .gw-filter__row > .gw-filter__field,
  body.skin-vivid .gw-filter__row > .gw-filter__owned {
    flex: 1 1 calc(50% - 8px);
    width: auto;
    max-width: none;
  }
  body.skin-vivid .gw-filter__actions {
    width: 100%;
  }
}
