/* ==========================================================================
   YQGame · Steam 风格外观层  v3
   只改视觉，不动模板结构。
   还原：删掉 wp-content/mu-plugins/yqgame-steam.php
        和 wp-content/uploads/yqgame-steam.css / .js 即可
   ========================================================================== */

:root {
  --yq-bg:       #1e2b3a;
  --yq-bg-deep:  #18232f;
  --yq-panel:    #26374b;
  --yq-panel-2:  #223142;
  --yq-elev:     #2c4058;
  --yq-border:   #35506b;
  --yq-border-2: rgba(53,80,107,.55);
  --yq-accent:   #6cc4f6;
  --yq-accent-2: #29a3ec;
  --yq-text:     #d5e0ea;
  --yq-text-hi:  #ffffff;
  --yq-muted:    #94a6b8;
  --yq-green:    #a4d007;
  --yq-radius:   8px;
}

/* ---------------------------------------------------------------- 基础 */
body {
  background:
    radial-gradient(1600px 900px at 50% -20%, #2b4258 0%, rgba(30,43,58,0) 60%),
    var(--yq-bg) !important;
  color: var(--yq-text) !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", sans-serif !important;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html[data-bs-theme="light"], html[data-bs-theme="dark"], :root {
  --bs-body-bg: #1e2b3a;
  --bs-body-color: #d5e0ea;
  --bs-border-color: #35506b;
  --bs-secondary-bg: #26374b;
  --bs-tertiary-bg: #223142;
  --bs-emphasis-color: #fff;
  --bs-heading-color: #fff;
  --bs-link-color: #6cc4f6;
  --bs-link-hover-color: #9ad9ff;
  --bs-secondary-color: #94a6b8;
}
::selection { background: rgba(108,196,246,.35); color: #fff; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #16202b; }
::-webkit-scrollbar-thumb { background: #35506b; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--yq-accent); }
.header-gap { height: 0 !important; }
img { max-width: 100%; }
.text-muted, .text-secondary { color: var(--yq-muted) !important; }

/* ---------------------------------------------------------------- 顶部导航 */
.site-header {
  position: sticky; top: 0; z-index: 1030;
  background: rgba(24,35,47,.92) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(53,80,107,.9);
  box-shadow: 0 6px 24px rgba(0,0,0,.28);
}
.site-header .navbar { height: 64px; }

/* logo：去掉卡通头像，换文字标 */
.site-header .logo-wrapper img, .site-header .logo img { display: none !important; }
.site-header .logo-wrapper > a {
  display: flex !important; flex-direction: column; justify-content: center;
  line-height: 1; text-decoration: none !important; padding-right: 8px;
}
.site-header .logo-wrapper > a::before {
  content: "游趣";
  font-size: 21px; font-weight: 800; letter-spacing: 5px; color: #fff;
  text-shadow: 0 0 26px rgba(108,196,246,.45);
}
.site-header .logo-wrapper > a::after {
  content: "YQGAME · STORE";
  margin-top: 6px; font-size: 8.5px; font-weight: 600; letter-spacing: 2.4px;
  color: var(--yq-accent); opacity: .8;
}
.site-header .sep { display: none !important; }

.main-menu .nav-list { display: flex; align-items: center; gap: 2px; }
.main-menu .menu-item > a {
  display: inline-flex; align-items: center;
  padding: 9px 13px !important;
  color: #b9c9d8 !important;
  font-size: 13.5px; font-weight: 500; letter-spacing: .2px;
  border-radius: 6px; background: transparent;
  transition: all .18s ease;
}
.main-menu .menu-item > a:hover,
.main-menu .menu-item.current-menu-item > a {
  color: #fff !important;
  background: rgba(108,196,246,.12);
}
.main-menu .menu-item > a i { color: var(--yq-accent); opacity: .85; }

.site-header .action-btn {
  color: #b9c9d8 !important;
  width: 36px; height: 36px; border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all .18s ease;
}
.site-header .action-btn:hover { color: #fff !important; background: rgba(108,196,246,.14); }
.site-header .login-btn, .site-header .action-btn.login-btn {
  width: auto; height: auto;
  padding: 8px 20px !important;
  color: #06202f !important; font-weight: 700; font-size: 13px;
  border: 0 !important; border-radius: 6px !important;
  background: linear-gradient(135deg, #8fd6ff, #29a3ec) !important;
  box-shadow: 0 6px 18px rgba(41,163,236,.35);
}
.site-header .login-btn:hover { filter: brightness(1.06); }
.toggle-color { display: none !important; }

/* ---------------------------------------------------------------- 首屏 */
.home-search-box { position: relative; margin: 0 !important; }

/* 关掉 Vanta 的 3D 多边形，换成干净的渐变 */
.search-bg canvas { display: none !important; }
.search-bg {
  min-height: 0 !important;
  background:
    radial-gradient(900px 380px at 50% -6%, rgba(108,196,246,.22), transparent 68%),
    radial-gradient(700px 320px at 88% 8%, rgba(41,163,236,.14), transparent 70%),
    linear-gradient(180deg, #24384d 0%, #20303f 55%, var(--yq-bg) 100%) !important;
  position: relative;
  overflow: hidden;
}
.search-bg:before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(720px 340px at 50% 0%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(720px 340px at 50% 0%, #000 0%, transparent 75%);
}
.search-bg-overlay { background: none !important; }

.search-warp { padding: 58px 0 46px !important; text-align: center; position: relative; z-index: 2; }

/* 小标题 */
.search-title { margin: 0 0 10px !important; line-height: 1.15; }
.search-title:before {
  content: "YQGAME · 游戏资源商店";
  display: block;
  font-size: 11px; font-weight: 700; letter-spacing: 5px;
  color: var(--yq-accent); opacity: .9;
  margin-bottom: 18px;
}
.search-title .hover-title {
  display: block !important;
  font-size: clamp(30px, 3.8vw, 50px) !important;
  font-weight: 800 !important;
  letter-spacing: 3px;
  padding: 0 !important; margin: 0 !important;
  background: linear-gradient(180deg, #ffffff 25%, #b6dcf5 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent !important; -webkit-text-fill-color: transparent;
  text-shadow: none !important;
  cursor: default !important; transform: none !important;
}
.search-title .hover-title:hover { color: transparent !important; transform: none !important; }
.hover-title:after { display: none !important; }

.search-desc {
  margin: 14px 0 30px !important;
  color: #a9bccd !important; font-size: 14.5px !important; letter-spacing: .6px;
  background: none !important; border: 0 !important; padding: 0 !important;
  text-align: center;
}
.search-desc .hover-title[href] {
  display: inline !important; padding: 0 !important; margin: 0 !important;
  background: none !important; border: 0 !important; box-shadow: none !important;
  font-size: 14.5px !important; font-weight: 500 !important; color: #8fcdf0 !important;
}
.search-desc .hover-title[href]:hover { color: #fff !important; text-decoration: underline; }

/* 搜索框 */
.home-search-box form, .search-form { max-width: 720px; margin: 0 auto; }
.search-fields { display: flex; align-items: stretch; width: 100%; }
.home-search-box select {
  flex: 0 0 auto;
  height: 54px; padding: 0 16px !important;
  color: var(--yq-text) !important;
  background-color: rgba(38,55,75,.95) !important;
  border: 1px solid var(--yq-border) !important; border-right: 0 !important;
  border-radius: 10px 0 0 10px !important;
  font-size: 13.5px; outline: none;
}
.home-search-box select option { background: #26374b; color: #d5e0ea; }
.search-fields input[type="text"], .search-fields input[type="search"] {
  flex: 1 1 auto; min-width: 0;
  height: 54px; padding: 0 20px !important;
  color: #fff !important;
  background: rgba(38,55,75,.95) !important;
  border: 1px solid var(--yq-border) !important; border-right: 0 !important; border-left: 0 !important;
  border-radius: 0 !important;
  font-size: 14.5px; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.search-fields input::placeholder { color: #7e93a6; }
.search-fields input:focus {
  border-color: rgba(108,196,246,.8) !important;
  box-shadow: 0 0 0 4px rgba(108,196,246,.14);
}
.search-fields button {
  height: 54px; min-width: 72px;
  color: #06202f; font-size: 16px;
  background: linear-gradient(135deg, #8fd6ff, #29a3ec) !important;
  border: 0 !important; border-radius: 0 10px 10px 0 !important;
  cursor: pointer; transition: filter .2s;
}
.search-fields button:hover { filter: brightness(1.07); }

/* 热门搜索标签（JS 插入） */
.yq-hot-tags {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 8px; margin-top: 18px;
  font-size: 12.5px; color: #8fa4b7;
}
.yq-hot-tags b { font-weight: 500; color: #7f94a7; margin-right: 2px; }
.yq-hot-tags a {
  padding: 4px 12px;
  color: #b9d9ee !important;
  background: rgba(108,196,246,.09);
  border: 1px solid rgba(108,196,246,.18);
  border-radius: 20px;
  transition: all .18s ease;
}
.yq-hot-tags a:hover { color: #fff !important; background: rgba(108,196,246,.22); border-color: rgba(108,196,246,.5); }

/* ---------------------------------------------------------------- 四个入口 */
.home-division { margin: 10px 0 0 !important; }
.division-item {
  display: flex; align-items: center; gap: 14px;
  height: 100%; padding: 16px 18px;
  background: linear-gradient(160deg, #2a3c51 0%, #223142 100%) !important;
  border: 1px solid var(--yq-border-2) !important;
  border-radius: 10px;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.division-item:hover {
  transform: translateY(-3px);
  border-color: rgba(108,196,246,.55) !important;
  box-shadow: 0 16px 32px rgba(0,0,0,.32), 0 0 0 1px rgba(108,196,246,.12);
}
.division-icon {
  width: 46px; height: 46px; flex: 0 0 46px;
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; color: #0d2433 !important;
  background: linear-gradient(150deg, #9fdcff, #4fb4ea) !important;
  border: 0; border-radius: 10px !important;
  box-shadow: 0 8px 20px rgba(41,163,236,.28);
}
.division-title { margin: 0 0 3px; font-size: 15px; font-weight: 600; }
.division-title a { color: #eaf3fa !important; }
.division-title a:hover { color: var(--yq-accent) !important; }
.division-desc { margin: 0; font-size: 12.5px; color: var(--yq-muted) !important; line-height: 1.5; }

/* ---------------------------------------------------------------- 公告条 */
.hover-title[href] {
  display: flex !important; align-items: center; justify-content: center; gap: 10px;
  margin: 28px 0 6px !important;
  padding: 13px 20px !important;
  font-size: 13.5px !important; font-weight: 500 !important; letter-spacing: .3px;
  text-align: center; color: #cfe6f7 !important;
  background: linear-gradient(90deg, rgba(41,163,236,.06), rgba(108,196,246,.14), rgba(41,163,236,.06)) !important;
  border: 1px solid rgba(108,196,246,.22);
  border-radius: 10px !important;
}
.hover-title[href]:before {
  content: "公告";
  flex: 0 0 auto;
  padding: 2px 9px;
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
  color: #06202f;
  background: linear-gradient(135deg, #8fd6ff, #29a3ec);
  border-radius: 4px;
}
.hover-title[href]:hover { color: #fff !important; border-color: rgba(108,196,246,.5); }

/* ---------------------------------------------------------------- 分类按钮 */
.section-cat-navbtn { margin-bottom: 24px !important; }
.section-cat-navbtn .btn {
  display: inline-flex; align-items: center;
  margin: 4px 3px !important; padding: 8px 20px !important;
  font-size: 13px; font-weight: 500;
  color: #c2d2e0 !important;
  background: rgba(44,64,88,.55) !important;
  border: 1px solid var(--yq-border-2) !important;
  border-radius: 20px !important;
  transition: all .18s ease;
}
.section-cat-navbtn .btn:hover { color: #fff !important; border-color: rgba(108,196,246,.6) !important; background: rgba(108,196,246,.12) !important; }
.section-cat-navbtn .btn.active {
  color: #06202f !important; font-weight: 700;
  background: linear-gradient(135deg, #8fd6ff, #29a3ec) !important;
  border-color: transparent !important;
  box-shadow: 0 6px 18px rgba(41,163,236,.3);
}

/* ---------------------------------------------------------------- 区块标题 */
.yq-section-head {
  display: flex; align-items: center; justify-content: space-between;
  margin: 30px 0 16px !important;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--yq-border-2);
}
.yq-section-title {
  display: flex; align-items: center; gap: 10px;
  font-size: 17px; font-weight: 700; letter-spacing: 1px; color: #fff;
}
.yq-section-title .yq-bar {
  width: 3px; height: 18px; border-radius: 2px;
  background: linear-gradient(180deg, #8fd6ff, #29a3ec);
  box-shadow: 0 0 14px rgba(41,163,236,.7);
}
.yq-section-title .yq-sub {
  font-size: 10px; font-weight: 600; letter-spacing: 2.4px;
  color: #6f8398; margin-left: 2px;
}

/* ---------------------------------------------------------------- 卡片 */
.posts-warp { --bs-gutter-x: 1rem; }
.post-item {
  position: relative; height: 100%;
  background: var(--yq-panel) !important;
  border: 1px solid var(--yq-border-2) !important;
  border-radius: 10px;
  overflow: hidden;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.post-item:hover {
  transform: translateY(-4px);
  border-color: rgba(108,196,246,.55) !important;
  box-shadow: 0 18px 38px rgba(0,0,0,.4), 0 0 0 1px rgba(108,196,246,.15);
}
.post-item .entry-media { overflow: hidden; background: #16202b; }
.post-item .entry-media .media-img {
  background-size: cover; background-position: center;
  transition: transform .55s cubic-bezier(.2,.7,.3,1), filter .3s ease;
}
.post-item:hover .entry-media .media-img { transform: scale(1.06); }

/* 文字块：默认在图片下方 */
.post-item .entry-wrapper,
.post-item.item-grid.grid-overlay .entry-wrapper {
  position: static !important;
  left: auto !important; right: auto !important; bottom: auto !important;
  width: auto !important; opacity: 1 !important; transform: none !important;
  background: none !important; background-image: none !important;
  padding: 13px 15px 15px !important;
  transition: none !important;
}
.post-item.item-grid.grid-overlay:hover .entry-wrapper { opacity: 1 !important; bottom: auto !important; }
.post-item .entry-media.ratio { --bs-aspect-ratio: 43%; }

.post-item .entry-cat-dot { margin-bottom: 8px; line-height: 1; }
.post-item .entry-cat-dot > a, .post-item .entry-cat-dot > a + a {
  display: inline-block; margin: 0 4px 0 0; padding: 3px 8px;
  font-size: 11px; letter-spacing: .2px;
  color: #a8d8f4 !important;
  background: rgba(108,196,246,.10);
  border-radius: 4px;
}
.post-item .entry-cat-dot > a:hover { background: rgba(108,196,246,.22); color: #fff !important; }
.post-item .entry-cat-dot > a::before { display: none !important; }

.post-item .entry-title {
  margin: 0 0 10px !important;
  font-size: 14.5px !important; line-height: 1.45; font-weight: 600;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; white-space: normal;
}
.post-item .entry-title a { color: #e9f2f9 !important; }
.post-item:hover .entry-title a { color: #fff !important; }
.post-item.item-grid.grid-overlay:hover .entry-title a { color: var(--yq-accent) !important; }

.post-item .entry-meta {
  display: flex; align-items: center; gap: 10px;
  font-size: 11.5px; color: var(--yq-muted) !important;
  padding-top: 9px;
  border-top: 1px solid rgba(53,80,107,.5);
}
.post-item .entry-meta > span { display: inline-flex; align-items: center; gap: 3px; }
.post-item .entry-meta i { opacity: .6; font-size: 10.5px; }
.post-item .entry-meta .meta-price, .post-item .entry-meta .meta-price i { color: var(--yq-green) !important; opacity: 1; font-weight: 700; }
.post-item .entry-meta > span:last-child { margin-left: auto; }

.post-item .tips-badge { display: flex; gap: 5px; }
.post-item .tips-badge .badge {
  padding: 3px 8px !important; font-size: 10.5px !important;
  font-weight: 600; letter-spacing: .5px; border-radius: 4px !important;
  backdrop-filter: blur(6px);
}
.tips-badge .badge.bg-dark { background: rgba(12,20,28,.8) !important; color: #e2eef8 !important; border: 1px solid rgba(108,196,246,.3); }
.tips-badge .badge.bg-warning { background: linear-gradient(135deg, #8fd6ff, #29a3ec) !important; color: #06202f !important; }

/* ---------------------------------------------------------------- 首页第一页：1 大 + 2 小 */
body.home:not(.paged) .posts-warp {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important; margin: 0 !important;
}
body.home:not(.paged) .posts-warp > .col {
  width: auto !important; max-width: none !important;
  flex: 0 0 auto !important; padding: 0 !important; margin: 0 !important;
}
body.home:not(.paged) .posts-warp > .col:nth-child(1) { grid-column: span 2; grid-row: span 2; }
body.home:not(.paged) .posts-warp > .col:nth-child(1) .post-item,
body.home:not(.paged) .posts-warp > .col:nth-child(2) .post-item,
body.home:not(.paged) .posts-warp > .col:nth-child(3) .post-item { display: flex; flex-direction: column; }

body.home:not(.paged) .posts-warp > .col:nth-child(1) .entry-media,
body.home:not(.paged) .posts-warp > .col:nth-child(2) .entry-media,
body.home:not(.paged) .posts-warp > .col:nth-child(3) .entry-media {
  flex: 1 1 auto; padding-top: 0 !important; position: relative;
}
body.home:not(.paged) .posts-warp > .col:nth-child(1) .entry-media > a,
body.home:not(.paged) .posts-warp > .col:nth-child(2) .entry-media > a,
body.home:not(.paged) .posts-warp > .col:nth-child(3) .entry-media > a {
  position: absolute !important; inset: 0 !important;
}

body.home:not(.paged) .posts-warp > .col:nth-child(1) .entry-wrapper,
body.home:not(.paged) .posts-warp > .col:nth-child(2) .entry-wrapper,
body.home:not(.paged) .posts-warp > .col:nth-child(3) .entry-wrapper {
  position: absolute !important;
  left: 0 !important; right: 0 !important; bottom: 0 !important;
  width: auto !important; z-index: 4;
  background: linear-gradient(180deg, rgba(14,22,30,0) 0%, rgba(14,22,30,.55) 40%, rgba(14,22,30,.96) 100%) !important;
  border: 0 !important;
}
body.home:not(.paged) .posts-warp > .col:nth-child(1) .entry-wrapper { padding: 130px 24px 22px !important; }
body.home:not(.paged) .posts-warp > .col:nth-child(2) .entry-wrapper,
body.home:not(.paged) .posts-warp > .col:nth-child(3) .entry-wrapper { padding: 74px 16px 16px !important; }

body.home:not(.paged) .posts-warp > .col:nth-child(1) .entry-title { font-size: 26px !important; -webkit-line-clamp: 1; margin-bottom: 8px !important; }
body.home:not(.paged) .posts-warp > .col:nth-child(1) .entry-title a { color: #fff !important; text-shadow: 0 2px 16px rgba(0,0,0,.8); }
body.home:not(.paged) .posts-warp > .col:nth-child(1) .entry-meta { border-top: 0 !important; padding-top: 0 !important; color: #c9d9e6 !important; }

body.home:not(.paged) .posts-warp > .col:nth-child(2) .entry-cat-dot,
body.home:not(.paged) .posts-warp > .col:nth-child(3) .entry-cat-dot { display: none !important; }
body.home:not(.paged) .posts-warp > .col:nth-child(2) .entry-title,
body.home:not(.paged) .posts-warp > .col:nth-child(3) .entry-title {
  font-size: 15px !important; margin: 0 !important;
  -webkit-line-clamp: 2;
}
body.home:not(.paged) .posts-warp > .col:nth-child(2) .entry-title a,
body.home:not(.paged) .posts-warp > .col:nth-child(3) .entry-title a { color: #fff !important; text-shadow: 0 2px 12px rgba(0,0,0,.85); }
body.home:not(.paged) .posts-warp > .col:nth-child(2) .entry-meta,
body.home:not(.paged) .posts-warp > .col:nth-child(3) .entry-meta { display: none !important; }

@media (max-width: 991.98px) {
  body.home:not(.paged) .posts-warp { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; }
  body.home:not(.paged) .posts-warp > .col:nth-child(1) { grid-column: span 2; grid-row: auto; }
  body.home:not(.paged) .posts-warp > .col:nth-child(1) .entry-media,
  body.home:not(.paged) .posts-warp > .col:nth-child(2) .entry-media,
  body.home:not(.paged) .posts-warp > .col:nth-child(3) .entry-media { padding-top: 52% !important; flex: none; }
  body.home:not(.paged) .posts-warp > .col:nth-child(1) .entry-wrapper,
  body.home:not(.paged) .posts-warp > .col:nth-child(2) .entry-wrapper,
  body.home:not(.paged) .posts-warp > .col:nth-child(3) .entry-wrapper {
    position: static !important; background: none !important; padding: 12px 14px !important;
  }
  body.home:not(.paged) .posts-warp > .col:nth-child(1) .entry-title { font-size: 16px !important; -webkit-line-clamp: 2; }
  body.home:not(.paged) .posts-warp > .col:nth-child(1) .entry-title a,
  body.home:not(.paged) .posts-warp > .col:nth-child(2) .entry-title a,
  body.home:not(.paged) .posts-warp > .col:nth-child(3) .entry-title a { color: #e9f2f9 !important; text-shadow: none; }
  body.home:not(.paged) .posts-warp > .col:nth-child(1) .entry-meta { border-top: 1px solid rgba(53,80,107,.5) !important; padding-top: 9px !important; }
  body.home:not(.paged) .posts-warp > .col:nth-child(2) .entry-meta,
  body.home:not(.paged) .posts-warp > .col:nth-child(3) .entry-meta { display: flex !important; }
  body.home:not(.paged) .posts-warp > .col:nth-child(2) .entry-cat-dot,
  body.home:not(.paged) .posts-warp > .col:nth-child(3) .entry-cat-dot { display: block !important; }
}

/* ---------------------------------------------------------------- 右侧悬浮条 */
.rollbar { background: transparent !important; border: 0 !important; box-shadow: none !important; }
.rollbar ul.actions {
  display: flex; flex-direction: column; gap: 4px;
  background: rgba(24,35,47,.94) !important;
  border: 1px solid var(--yq-border-2) !important;
  border-radius: 12px !important; padding: 6px !important;
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
}
.rollbar ul.actions li { margin: 0 !important; padding: 0 !important; list-style: none; }
.rollbar ul.actions li a {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 9px;
  color: #93a8bb !important; font-size: 14px;
  background: transparent !important; border: 0 !important;
}
.rollbar ul.actions li a span { display: none !important; }
.rollbar ul.actions li a:hover { background: rgba(108,196,246,.16) !important; color: #fff !important; }

/* ---------------------------------------------------------------- 分类页头图 */
.archive-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--yq-border-2); background: #18232f; }
.archive-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: blur(3px) brightness(.45) saturate(1.1); transform: scale(1.06); }
.archive-hero:after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(700px 220px at 50% 0%, rgba(108,196,246,.18), transparent 70%),
              linear-gradient(180deg, rgba(30,43,58,.5), rgba(30,43,58,.94));
}
.archive-hero .container { position: relative; z-index: 2; padding-top: 42px !important; padding-bottom: 42px !important; }
.archive-title { font-size: clamp(24px, 2.6vw, 34px) !important; font-weight: 800; letter-spacing: 1.5px; color: #fff !important; margin: 0 !important; }
.archive-hero p, .archive-hero .archive-desc { color: #a9bccd !important; }

/* ---------------------------------------------------------------- 内容页 / 侧栏 */
.card, .card-body, .card-header, .card-footer, .widget, .modal-content, .list-group-item,
.bg-white, .bg-light, .bg-body, .bg-body-tertiary, .bg-body-secondary {
  background-color: var(--yq-panel) !important;
  border-color: var(--yq-border-2) !important;
  color: var(--yq-text) !important;
}
.card { border-radius: 10px !important; box-shadow: 0 12px 30px rgba(0,0,0,.22); }
.widget { padding: 16px 18px; border: 1px solid var(--yq-border-2) !important; border-radius: 10px; margin-bottom: 18px; }
.widget-title {
  font-size: 14px !important; font-weight: 700; letter-spacing: .5px;
  color: #eaf3fa !important; padding-bottom: 10px; margin-bottom: 12px !important;
  border-bottom: 1px solid var(--yq-border-2);
}
.widget a { color: var(--yq-text) !important; }
.widget a:hover { color: var(--yq-accent) !important; }

input[type="text"], input[type="search"], input[type="email"], input[type="password"],
input[type="number"], textarea, select, .form-control, .form-select {
  background-color: #223142 !important; color: var(--yq-text) !important;
  border: 1px solid var(--yq-border) !important;
}
input::placeholder, textarea::placeholder { color: #7e93a6 !important; }
.wp-block-search__input { border-radius: 6px 0 0 6px !important; }
.wp-block-search__button, .wp-element-button {
  background: linear-gradient(135deg, #8fd6ff, #29a3ec) !important;
  color: #06202f !important; font-weight: 700; border: 0 !important; border-radius: 0 6px 6px 0 !important;
}

/* 购买 / 隐藏内容 */
.ri-hide-warp {
  background: linear-gradient(160deg, #2a3c51 0%, #223142 100%) !important;
  border: 1px solid var(--yq-border-2) !important; border-left: 3px solid var(--yq-accent) !important;
  border-radius: 10px !important; padding: 22px !important; color: var(--yq-text) !important;
}
.hide-msg { background: rgba(108,196,246,.14) !important; color: #9bd8ff !important; border-radius: 4px; }
.hide-buy-warp { background: transparent !important; border: 0 !important; }
.buy-title { color: #fff !important; font-size: 16px; font-weight: 700; }
.buy-title i { color: #ffb03a; }
.js-pay-action, .btn-danger {
  background: linear-gradient(135deg, #8fd6ff, #29a3ec) !important;
  border: 0 !important; color: #06202f !important; font-weight: 700;
  box-shadow: 0 10px 24px rgba(41,163,236,.28);
}
.js-pay-action:hover, .btn-danger:hover { filter: brightness(1.07); color: #06202f !important; }
.buy-desc { color: var(--yq-muted) !important; }
.prices-info { border-color: var(--yq-border-2) !important; }
.prices-info .price-item { color: #a9bccd !important; border-color: rgba(53,80,107,.6) !important; }
.prices-info .price-item span { color: var(--yq-green) !important; font-weight: 600; }

.entry-content, .article-content { color: #cbd9e5 !important; font-size: 15px; line-height: 1.9; }
.entry-content h1, .entry-content h2, .entry-content h3,
.article-content h1, .article-content h2, .article-content h3 { color: #eef6fc !important; }
.entry-content a, .article-content a { color: #8fd0f5 !important; }
blockquote { background: rgba(53,80,107,.3) !important; border-left: 3px solid var(--yq-accent) !important; color: #b9cad9 !important; }
code, pre { background: #16202b !important; color: #d6e6f5 !important; border: 1px solid var(--yq-border-2) !important; }

/* 分页 / 按钮 */
.pagination .page-numbers, .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px; margin: 0 3px;
  color: var(--yq-text) !important; background: rgba(44,64,88,.6) !important;
  border: 1px solid var(--yq-border-2) !important; border-radius: 6px; font-size: 13px;
}
.page-numbers.current, .page-numbers:hover {
  color: #06202f !important;
  background: linear-gradient(135deg, #8fd6ff, #29a3ec) !important;
  border-color: transparent !important;
}
.btn-primary, .btn-theme {
  background: linear-gradient(135deg, #8fd6ff, #29a3ec) !important;
  border-color: transparent !important; color: #06202f !important; font-weight: 600;
}

/* 页脚 */
.site-footer, footer.site-footer {
  margin-top: 52px; background: var(--yq-bg-deep) !important;
  border-top: 1px solid var(--yq-border-2) !important; color: var(--yq-muted) !important;
}
.site-footer a { color: #9fb3c4 !important; }
.site-footer a:hover { color: var(--yq-accent) !important; }

.dropdown-menu { background: #26374b !important; border: 1px solid var(--yq-border) !important; box-shadow: 0 18px 40px rgba(0,0,0,.45); }
.dropdown-item { color: var(--yq-text) !important; }
.dropdown-item:hover { background: rgba(108,196,246,.14) !important; color: #fff !important; }

/* ---------------------------------------------------------------- 移动端 */
.m-navbar {
  background: rgba(24,35,47,.97) !important;
  border-top: 1px solid var(--yq-border-2) !important;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 -6px 24px rgba(0,0,0,.35);
}
.m-navbar a, .m-navbar .nav-item, .m-navbar li { color: #8fa4b7 !important; }
.m-navbar a.active, .m-navbar .active, .m-navbar .current-menu-item a { color: var(--yq-accent) !important; }
.m-navbar i, .m-navbar svg { color: inherit !important; }
.off-canvas, .off-canvas-menu, .offcanvas { background: #1c2a39 !important; color: var(--yq-text) !important; border-color: var(--yq-border-2) !important; }
.off-canvas a, .offcanvas a { color: #cfdce8 !important; }

@media (max-width: 991.98px) {
  .site-header .logo-wrapper > a::before { font-size: 17px; letter-spacing: 3px; }
  .site-header .logo-wrapper > a::after { font-size: 7px; letter-spacing: 1.2px; margin-top: 4px; }
  .site-header .logo-wrapper { min-width: auto !important; }
  .site-header .navbar { height: 56px; }
}

@media (max-width: 767.98px) {
  body { padding-bottom: 58px; }
  main { padding-bottom: 16px; }
  .search-warp { padding: 34px 14px 30px !important; }
  .search-title:before { font-size: 9.5px; letter-spacing: 3px; margin-bottom: 12px; }
  .search-title .hover-title { font-size: 26px !important; letter-spacing: 1.5px; }
  .search-desc { font-size: 12.5px !important; margin: 10px 0 20px !important; }
  .search-desc .hover-title[href] { font-size: 12.5px !important; }
  .home-search-box select { height: 46px; padding: 0 8px !important; font-size: 12.5px; }
  .search-fields input[type="text"], .search-fields input[type="search"] { height: 46px; padding: 0 12px !important; font-size: 13px; }
  .search-fields button { height: 46px; min-width: 50px; font-size: 14px; }
  .yq-hot-tags { font-size: 11.5px; gap: 6px; margin-top: 14px; }
  .yq-hot-tags a { padding: 3px 10px; }

  .division-item { padding: 12px !important; flex-direction: column; text-align: center; gap: 8px !important; }
  .division-icon { width: 38px; height: 38px; flex: 0 0 38px; font-size: 16px; border-radius: 9px !important; }
  .division-title { font-size: 13.5px !important; }
  .division-desc { font-size: 11px !important; }

  .hover-title[href] { display: block !important; font-size: 12px !important; padding: 11px 14px !important; }
  .hover-title[href]:before { display: none; }
  .section-cat-navbtn .btn { padding: 6px 14px !important; font-size: 12px; margin: 3px 2px !important; }

  .post-item .entry-cat-dot > a { font-size: 10px !important; padding: 2px 6px !important; }
  .post-item .entry-cat-dot > a:nth-child(n+2) { display: none; }
  .post-item .entry-title { font-size: 13.5px !important; }
  .post-item .entry-meta { gap: 7px; font-size: 10.5px; }
  .post-item .entry-wrapper { padding: 10px 11px 12px !important; }
  .post-item .tips-badge .badge { font-size: 9.5px !important; padding: 2px 5px !important; }

  .archive-hero .container { padding-top: 26px !important; padding-bottom: 26px !important; }
  .archive-title { font-size: 20px !important; }
}

/* ---------------------------------------------------------------- v3.1 修正白底 */
.search-form { background: transparent !important; box-shadow: none !important; border: 0 !important; padding: 0 !important; }
.rollbar ul.actions li { background: transparent !important; border: 0 !important; }
.search-desc .hover-title[href]:before { display: none !important; }
.yq-hot-tags { padding-top: 2px; }
/* ---------------------------------------------------------------- v3.2 间距收紧 */
.home-widget { margin-bottom: 0 !important; }
.home-division { margin: 22px 0 0 !important; }
.hover-title[href] { margin: 26px 0 4px !important; }
.section-cat-navbtn { margin: 18px 0 20px !important; }
.search-warp { padding-bottom: 40px !important; }
@media (max-width: 767.98px) {
  .home-division { margin: 16px 0 0 !important; }
  .search-warp { padding-bottom: 26px !important; }
}