/* 寻梦小游戏前台 — 对齐应用/网文书库，跟随子比主题变量 */

.xm-game-accent-from-theme {
  --xm-game-accent: var(--theme-color, #e53935);
}

.page-article .xm-game-catalog,
.xm-game-page-template-wrap .xm-game-catalog {
  margin-top: 0;
}

.wp-posts-content .xm-game-shell,
.wp-posts-content .xm-game-catalog {
  display: block;
  width: 100%;
  max-width: 100%;
  clear: both;
  box-sizing: border-box;
}

.limit-height .wp-posts-content .xm-game-shell,
.limit-height .wp-posts-content .xm-game-catalog,
.article.limit-height .wp-posts-content .xm-game-catalog {
  max-height: none !important;
  height: auto !important;
  overflow: visible !important;
}

.xm-game-shell:not(.theme-box) {
  background: var(--main-bg-color, #fff);
  border-radius: var(--main-radius, 8px);
  box-shadow: 0 0 10px var(--main-shadow, rgba(116, 116, 116, 0.08));
  padding: 1.25rem 1.25rem 1.5rem;
  margin-bottom: 1rem;
}

.xm-game-shell.theme-box {
  padding: 1.25rem 1.25rem 1.5rem;
  background: var(--main-bg-color, #fff);
  border-radius: var(--main-radius, 8px);
  box-shadow: 0 0 10px var(--main-shadow, rgba(116, 116, 116, 0.08));
}

@media (max-width: 576px) {
  .xm-game-shell:not(.theme-box),
  .xm-game-shell.theme-box {
    padding: 1rem;
  }
}

.xm-game-catalog {
  --xm-game-accent: #e53935;
  --xm-game-muted: var(--muted-color, #6b7280);
  --xm-game-bg: var(--muted-bg-color, #f9fafb);
  --xm-game-cols: 4;
  --xm-game-cols-m: 2;
  margin: 0 0 1.5rem;
  font-size: 14px;
  line-height: 1.45;
  color: var(--key-color, #1f2937);
}

.xm-game-shell .xm-game-catalog {
  margin-bottom: 0;
}

/* Hero */
.xm-game-library-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  margin: 0 0 12px;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--main-border-color, #f0f0f0);
  flex: 0 0 auto;
  min-height: 0;
  height: auto;
}

.xm-game-library-hero-main {
  flex: 0 1 auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  min-height: 0;
  height: auto;
}

.xm-game-library-hero-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
  color: var(--key-color, #222);
}

.wp-posts-content .xm-game-catalog .xm-game-library-hero-title,
.article-content .xm-game-catalog .xm-game-library-hero-title {
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
}

.xm-game-library-hero-desc {
  margin: 0;
  color: var(--muted-color, #8a8a8a);
  font-size: 13px;
}

.xm-game-search-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 220px;
  max-width: 360px;
  margin: 0;
  min-height: 0;
  height: auto;
}

.xm-game-search-wrap input {
  flex: 1;
  min-width: 0;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--main-border-color, #e5e7eb);
  border-radius: 8px;
  background: var(--main-bg-color, #fff);
  color: inherit;
  font-size: 13px;
  outline: none;
  box-sizing: border-box;
}

.xm-game-search-wrap input:focus {
  border-color: var(--xm-game-accent);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--xm-game-accent) 18%, transparent);
}

.xm-game-search-count {
  flex-shrink: 0;
  font-size: 12px;
  color: var(--xm-game-muted);
  white-space: nowrap;
}

/* Filters — 强制覆盖子比 button/i 样式，避免手机竖排错乱 */
.xm-game-library-filters {
  background: var(--xm-game-bg, #fafafa);
  border-radius: var(--main-radius, 8px);
  padding: 12px 14px;
  margin-bottom: 14px;
  border: 1px solid var(--main-border-color, #f0f0f0);
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.xm-game-filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px 10px;
  width: 100%;
}

.xm-game-filter-row + .xm-game-filter-row {
  margin-top: 10px;
}

.xm-game-filter-label {
  flex: 0 0 auto;
  min-width: 3em;
  font-size: 13px;
  color: #999;
  line-height: 30px;
  font-weight: 500;
}

.xm-game-filter-opts {
  flex: 1 1 160px;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.xm-game-catalog .xm-game-filter-chip,
.xm-game-catalog button.xm-game-filter-chip {
  display: inline-flex !important;
  flex-direction: row !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  justify-content: center;
  gap: 4px;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  height: 30px !important;
  min-height: 30px !important;
  padding: 0 10px !important;
  margin: 0 !important;
  border-radius: 6px !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--key-color, #4b5563) !important;
  font-size: 13px !important;
  font-family: inherit !important;
  font-style: normal !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
  letter-spacing: normal !important;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.xm-game-catalog .xm-game-filter-chip:hover {
  background: rgba(0, 0, 0, 0.05) !important;
  color: var(--xm-game-accent) !important;
}

.xm-game-catalog .xm-game-filter-chip.is-active {
  background: var(--xm-game-accent) !important;
  color: #fff !important;
}

.xm-game-catalog .xm-game-chip-n,
.xm-game-catalog .xm-game-filter-chip .xm-game-chip-n,
.xm-game-catalog .xm-game-filter-chip i {
  display: inline !important;
  position: static !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
  font-style: normal !important;
  font-family: inherit !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  opacity: 0.75;
  color: inherit !important;
  transform: none !important;
}

.xm-game-catalog .xm-game-filter-chip.is-active .xm-game-chip-n {
  opacity: 0.95;
}

.xm-game-memory-hint {
  display: none !important;
}

.xm-game-filter-more {
  margin-top: 8px;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--xm-game-muted) !important;
  font-size: 12px !important;
  font-family: inherit !important;
  cursor: pointer;
  padding: 0 !important;
  width: auto !important;
  height: auto !important;
}

.xm-game-filter-opts.is-collapsed {
  max-height: 68px;
  overflow: hidden;
}

/* Result bar */
.xm-game-library-result {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.xm-game-library-total {
  font-size: 13px;
  color: var(--xm-game-muted);
}

/* Grid */
.xm-game-lib-grid {
  display: grid !important;
  grid-template-columns: repeat(var(--xm-game-cols, 4), minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  min-width: 0;
}

.xm-game-catalog[data-layout="list"] .xm-game-lib-grid {
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (max-width: 1199px) {
  .xm-game-lib-grid {
    grid-template-columns: repeat(min(var(--xm-game-cols, 4), 3), minmax(0, 1fr));
    gap: 14px;
  }
}

@media (max-width: 991px) {
  .xm-game-lib-grid {
    grid-template-columns: repeat(min(var(--xm-game-cols, 4), 3), minmax(0, 1fr));
    gap: 12px;
  }

  .xm-game-library-hero {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start !important;
    gap: 8px;
  }

  .xm-game-library-hero-main {
    flex: 0 0 auto !important;
    width: 100%;
  }

  .xm-game-search-wrap {
    flex: 0 0 auto !important;
    max-width: none;
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
  }
}

@media (max-width: 767px) {
  .xm-game-lib-grid {
    grid-template-columns: repeat(var(--xm-game-cols-m, 2), minmax(0, 1fr)) !important;
    gap: 10px;
  }

  .xm-game-shell:not(.theme-box),
  .xm-game-shell.theme-box {
    padding: 0.75rem !important;
  }

  .xm-game-library-hero {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start !important;
    gap: 8px !important;
    margin: 0 0 10px !important;
    padding: 0 0 10px !important;
    min-height: 0 !important;
    height: auto !important;
    flex: 0 0 auto !important;
  }

  .xm-game-library-hero-main {
    flex: 0 0 auto !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
    height: auto !important;
  }

  .xm-game-library-hero-title {
    font-size: 18px !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.25 !important;
  }

  .xm-game-search-wrap {
    flex: 0 0 auto !important;
    max-width: none;
    width: 100%;
    margin: 0 !important;
    height: auto !important;
    min-height: 0 !important;
  }

  .xm-game-library-filters {
    padding: 10px;
    margin-top: 0 !important;
    margin-bottom: 12px !important;
  }

  .xm-game-filter-row {
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .xm-game-filter-row + .xm-game-filter-row {
    margin-top: 8px;
  }

  .xm-game-filter-label {
    flex: 0 0 36px !important;
    min-width: 36px !important;
    width: 36px;
    line-height: 28px;
    font-size: 12px;
  }

  .xm-game-library-filters .xm-game-filter-opts,
  .xm-game-catalog .xm-game-filter-opts {
    flex: 1 1 auto !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 6px !important;
    padding-bottom: 2px;
    min-width: 0;
    max-height: none !important;
  }

  .xm-game-library-filters .xm-game-filter-opts::-webkit-scrollbar,
  .xm-game-catalog .xm-game-filter-opts::-webkit-scrollbar {
    display: none;
    height: 0;
  }

  .xm-game-filter-opts.is-collapsed {
    max-height: none !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
  }

  .xm-game-filter-more {
    display: none !important;
  }

  .xm-game-catalog .xm-game-filter-chip,
  .xm-game-catalog button.xm-game-filter-chip {
    flex: 0 0 auto !important;
    height: 28px !important;
    min-height: 28px !important;
    padding: 0 12px !important;
    font-size: 13px !important;
  }

  .xm-game-lib-body {
    padding: 8px 10px 10px !important;
    gap: 4px !important;
  }

  .xm-game-lib-title {
    font-size: 13px !important;
  }

  .xm-game-lib-desc {
    font-size: 11px;
    -webkit-line-clamp: 2;
  }

  .xm-game-lib-tag {
    min-height: 20px;
    padding: 2px 6px;
    font-size: 10px;
  }

  .xm-game-fav-btn {
    width: 28px;
    height: 28px;
    top: 8px;
    right: 6px;
    font-size: 14px;
  }

  .xm-game-catalog[data-card-style="zibll"] .xm-game-fav-btn {
    top: 30px;
  }

  .xm-game-page-btn {
    min-width: 32px;
    height: 32px;
    font-size: 12px;
  }
}

/* Cards — 跟随子比「文章卡片美化」 */
.xm-game-lib-card {
  margin: 0 !important;
  min-width: 0;
  position: relative;
  display: flex !important;
  flex-direction: column !important;
  background: var(--main-bg-color, #fff);
  border: 1px solid var(--main-border-color, rgba(0, 0, 0, 0.06));
  border-radius: var(--main-radius, 8px);
  box-shadow: 0 0 10px var(--main-shadow, rgba(116, 116, 116, 0.08));
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
  overflow: hidden;
  text-decoration: none !important;
  color: inherit;
  width: auto !important;
  float: none !important;
  vertical-align: stretch;
}

/* 复用子比 posts-item.card：吃主题/子主题圆点与内边距，但锁死宽度避免打乱网格 */
.xm-game-lib-grid > .xm-game-lib-card.posts-item.card {
  width: auto !important;
  max-width: none !important;
  display: flex !important;
  margin: 0 !important;
  float: none !important;
  vertical-align: stretch !important;
  box-sizing: border-box;
}

.xm-game-lib-grid > .xm-game-lib-card.posts-item.card .item-body,
.xm-game-lib-grid > .xm-game-lib-card.posts-item.card .xm-game-lib-body {
  width: 100%;
  margin: 8px 0 0 0;
  padding: 0 2px 2px;
  box-sizing: border-box;
}

.xm-game-lib-grid > .xm-game-lib-card.posts-item.card .item-heading,
.xm-game-lib-grid > .xm-game-lib-card.posts-item.card .xm-game-lib-title {
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  margin: 0 0 4px !important;
  padding: 0 !important;
  max-height: none !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.xm-game-lib-grid > .xm-game-lib-card.posts-item.card .item-excerpt,
.xm-game-lib-grid > .xm-game-lib-card.posts-item.card .xm-game-lib-desc {
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.4;
  margin: 0 0 6px !important;
  padding: 0 !important;
  max-height: none !important;
  white-space: normal !important;
}

.xm-game-lib-grid > .xm-game-lib-card.posts-item.card .item-thumbnail,
.xm-game-lib-grid > .xm-game-lib-card.posts-item.card .xm-game-lib-cover {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 6px;
  margin: 0 !important;
}

.xm-game-lib-grid > .xm-game-lib-card.posts-item.card .item-thumbnail img,
.xm-game-lib-grid > .xm-game-lib-card.posts-item.card .xm-game-lib-cover img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 6px !important;
}

/* 子比文章卡片美化开启：顶距 + 三色圆点（主题未覆盖时兜底） */
.xm-game-catalog[data-card-style="zibll"] .xm-game-lib-card:not(.posts-item) {
  padding: 30px 8px 8px;
  border-radius: 9px;
}

.xm-game-catalog[data-card-style="zibll"] .xm-game-lib-card.posts-item.card {
  padding: 30px 8px 8px;
  border-radius: 9px;
}

.xm-game-catalog[data-card-style="zibll"] .xm-game-lib-card:not(.posts-item)::before {
  content: "";
  display: block;
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 14px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #007bff;
  box-shadow: 16px 0 tomato, 32px 0 #fdbc40;
}

.xm-game-catalog[data-card-style="zibll"] .xm-game-lib-cover {
  border-radius: 6px;
  overflow: hidden;
}

.xm-game-catalog[data-card-style="plain"] .xm-game-lib-card {
  padding: 0;
}

.xm-game-card-chrome {
  display: none !important;
}

.xm-game-lib-card-link {
  display: flex !important;
  flex-direction: column !important;
  flex: 1;
  min-width: 0;
  text-decoration: none !important;
  color: inherit !important;
  margin: 0 !important;
  padding: 0 !important;
}

.xm-game-fav-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  width: 30px;
  height: 30px;
  border: 0 !important;
  border-radius: 50% !important;
  background: rgba(0, 0, 0, 0.45) !important;
  color: #fff !important;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  box-shadow: none !important;
  backdrop-filter: blur(4px);
  transition: background 0.15s, transform 0.15s, color 0.15s;
}

.xm-game-catalog[data-card-style="zibll"] .xm-game-fav-btn {
  top: 30px;
}

.xm-game-fav-btn:hover {
  background: rgba(0, 0, 0, 0.65) !important;
  transform: scale(1.06);
}

.xm-game-fav-btn.is-on {
  color: #fbbf24 !important;
  background: rgba(0, 0, 0, 0.55) !important;
}

.xm-game-toast {
  position: fixed;
  left: 50%;
  bottom: 88px;
  transform: translateX(-50%) translateY(12px);
  z-index: 10050;
  padding: 10px 16px;
  border-radius: 8px;
  background: rgba(17, 24, 39, 0.92);
  color: #fff;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  max-width: 90vw;
}

.xm-game-toast.is-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.xm-game-lib-card:hover {
  border-color: color-mix(in srgb, var(--xm-game-accent) 28%, var(--main-border-color, #ebeef5));
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.xm-game-lib-cover {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--xm-game-bg, #f3f4f6);
  overflow: hidden;
}

.xm-game-lib-cover img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
}

.xm-game-lib-cover.is-placeholder,
.xm-game-lib-grid > .xm-game-lib-card.posts-item.card .item-thumbnail.is-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--xm-game-accent) 78%, #1a1a2e);
}

.xm-game-lib-cover.is-placeholder[data-tone="1"] { filter: hue-rotate(40deg); }
.xm-game-lib-cover.is-placeholder[data-tone="2"] { filter: hue-rotate(100deg); }
.xm-game-lib-cover.is-placeholder[data-tone="3"] { filter: hue-rotate(160deg); }
.xm-game-lib-cover.is-placeholder[data-tone="4"] { filter: hue-rotate(220deg); }
.xm-game-lib-cover.is-placeholder[data-tone="5"] { filter: hue-rotate(280deg); }

.xm-game-lib-cover-letter {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  opacity: 0.92;
}

.xm-game-lib-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 12px 12px;
}

.wp-posts-content .xm-game-catalog .xm-game-lib-title,
.xm-game-lib-title {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  max-height: none !important;
  min-height: 0 !important;
  color: var(--key-color, #1f2937);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.xm-game-lib-desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.4;
  color: var(--xm-game-muted);
  margin: 0 !important;
  padding: 0 !important;
}

.xm-game-lib-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 2px;
}

.xm-game-lib-tag {
  display: inline-flex;
  align-items: center;
  height: auto;
  min-height: 22px;
  padding: 3px 8px;
  border-radius: 4px;
  background: color-mix(in srgb, var(--xm-game-accent) 12%, transparent);
  color: var(--xm-game-accent);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
  max-width: 100%;
  word-break: break-all;
}

.xm-game-lib-tag.is-muted {
  background: color-mix(in srgb, var(--xm-game-muted) 16%, transparent);
  color: var(--key-color, #4b5563);
}

.xm-game-lib-tag.is-pwd {
  cursor: default;
  background: color-mix(in srgb, var(--xm-game-accent) 10%, transparent);
  color: var(--xm-game-accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.xm-game-catalog[data-layout="list"] .xm-game-lib-card.is-cover {
  flex-direction: column;
}

.xm-game-catalog[data-layout="list"] .xm-game-lib-card-link {
  flex-direction: row;
  align-items: stretch;
}

.xm-game-catalog[data-layout="list"] .xm-game-lib-cover {
  width: 140px;
  flex-shrink: 0;
  aspect-ratio: auto;
  min-height: 88px;
}

.xm-game-catalog[data-layout="list"] .xm-game-lib-body {
  padding: 12px 14px;
}

/* Empty / pager / note */
.xm-game-empty {
  padding: 36px 16px;
  text-align: center;
  color: var(--xm-game-muted);
  font-size: 14px;
}

.xm-game-empty.hidden {
  display: none;
}

.xm-game-pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 18px;
}

.xm-game-page-btn {
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--main-border-color, #e5e7eb);
  border-radius: 8px;
  background: var(--main-bg-color, #fff);
  color: var(--key-color, #374151);
  font-size: 13px;
  cursor: pointer;
}

.xm-game-page-btn:hover:not(:disabled) {
  border-color: var(--xm-game-accent);
  color: var(--xm-game-accent);
}

.xm-game-page-btn.active {
  background: var(--xm-game-accent);
  border-color: var(--xm-game-accent);
  color: #fff;
}

.xm-game-page-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.xm-game-page-ellipsis {
  line-height: 34px;
  color: var(--xm-game-muted);
  padding: 0 4px;
}

.xm-game-library-note {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--main-border-color, #f0f0f0);
  font-size: 12px;
  color: var(--xm-game-muted);
  line-height: 1.6;
}

body.dark-theme .xm-game-lib-card {
  background: color-mix(in srgb, var(--main-bg-color, #1f2937) 92%, #0b1220);
  border-color: rgba(255, 255, 255, 0.08);
}

body.dark-theme .xm-game-card-chrome {
  background: rgba(255, 255, 255, 0.06);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

body.dark-theme .xm-game-lib-title {
  color: #f3f4f6;
}

body.dark-theme .xm-game-library-filters {
  background: rgba(255, 255, 255, 0.04);
}

body.dark-theme .xm-game-filter-chip:hover {
  background: rgba(255, 255, 255, 0.06);
}

body.dark-theme .xm-game-lib-tag.is-muted {
  background: rgba(255, 255, 255, 0.1);
  color: #d1d5db;
}
