/* ============================================================
   云玩游戏 · 格来云风格主题
   参考格来云 H5 视觉：#121212 深黑底 + #69FF7D 荧光绿
   ============================================================ */

:root {
  --bg: #121212;
  --bg-2: #181818;
  --panel: #1c1c1c;
  --panel-2: #252525;
  --line: rgba(255, 255, 255, 0.07);
  --text: #ffffff;
  --text-2: #c1c1c1;
  --text-3: #979797;
  --accent: #69ff7d;
  --accent-dim: rgba(105, 255, 125, 0.12);
  --gold: #ffa852;
  --radius: 10px;
  --radius-sm: 8px;
  --header-h: 60px;
  --max-w: 1400px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "HarmonyOS Sans SC", "Noto Sans CJK SC", "WenQuanYi Micro Hei", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", "Microsoft YaHei", monospace;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: inherit;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}

input, button, select, textarea {
  font-family: var(--font-sans);
  font-size: inherit;
  color: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  letter-spacing: -0.01em;
}

code, kbd, samp, pre {
  font-family: var(--font-mono);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input { font-family: inherit; }

.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }

/* ---------------- 顶部导航 ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(18, 18, 18, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 26px; }
.brand { display: flex; align-items: center; gap: 9px; font-size: 18px; font-weight: 800; flex-shrink: 0; }
.brand img { width: 32px; height: 32px; }
.brand b { color: var(--accent); }
.main-nav { display: flex; gap: 6px; flex-shrink: 0; }
.main-nav a {
  position: relative;
  padding: 7px 14px;
  color: var(--text-2);
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  transition: 0.2s;
}
.main-nav a:hover { color: var(--text); }
.main-nav a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
  transition: width 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.main-nav a:hover::after { width: 10px; }
.main-nav a.active { color: var(--text); font-weight: 700; }
.main-nav a.active::after { width: 18px; }
.header-search { margin-left: auto; position: relative; flex-shrink: 0; }
.header-search input {
  width: 220px;
  height: 36px;
  border-radius: 999px;
  border: none;
  background: var(--panel-2);
  color: var(--text);
  padding: 0 16px 0 38px;
  font-size: 13.5px;
  outline: none;
  transition: 0.2s;
}
.header-search input:focus { background: #2e2e2e; width: 260px; }
.header-search svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; stroke: var(--text-3); }

/* ---------------- Hero 轮播（格来云式全幅大图） ---------------- */
.hero { position: relative; margin-top: 18px; border-radius: var(--radius); overflow: hidden; background: #000; }
.hero-track { display: flex; transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1); }
.hero-slide { position: relative; flex: 0 0 100%; aspect-ratio: 21 / 6.5; min-height: 320px; overflow: hidden; display: block; }
.hero-slide .bg { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.25) 40%, transparent 65%);
}
.hero-info { position: absolute; left: 34px; bottom: 30px; right: 40%; z-index: 2; }
.hero-info h2 { font-size: clamp(22px, 2.6vw, 34px); font-weight: 800; line-height: 1.25; margin-bottom: 6px; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7); }
.hero-info p { color: #e6e6e6; font-size: 14.5px; margin-bottom: 14px; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7); }
.hero-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--accent);
  color: #0c2b12;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
}
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  font-size: 19px;
  display: grid;
  place-items: center;
  transition: 0.2s;
}
.hero-arrow:hover { background: var(--accent); color: #0c2b12; }
.hero-arrow.prev { left: 14px; }
.hero-arrow.next { right: 14px; }
.hero-dots { position: absolute; right: 22px; bottom: 20px; z-index: 3; display: flex; gap: 7px; align-items: center; }
.hero-dots button { width: 8px; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.35); transition: 0.25s; }
.hero-dots button.on { background: #fff; width: 20px; }

/* ---------------- 最新上架：横向时间轴 ---------------- */
.tl-scroll { overflow-x: auto; scrollbar-width: none; padding-bottom: 8px; scroll-snap-type: x proximity; }
.tl-scroll::-webkit-scrollbar { display: none; }
.tl-track { position: relative; display: flex; gap: 16px; padding-top: 60px; width: max-content; min-width: 100%; }
.tl-line { position: absolute; top: 10px; left: 12px; right: 12px; height: 2px; background: var(--panel-2); border-radius: 1px; overflow: hidden; }
.tl-line i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent) 0%, rgba(105, 255, 125, 0.2) 100%);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.1s cubic-bezier(0.22, 0.61, 0.36, 1) 0.1s;
}
.section-timeline.in .tl-line i { transform: scaleX(1); }
.tl-item { position: relative; flex: 0 0 148px; min-width: 0; scroll-snap-align: start; opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1); transition-delay: calc(var(--i) * 65ms + 0.2s); }
.section-timeline.in .tl-item { opacity: 1; transform: none; }
.tl-node { position: absolute; top: -60px; left: 0; right: 0; height: 60px; }
.tl-dot {
  position: absolute;
  top: 5px;
  left: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: var(--bg);
  z-index: 2;
  transform: scale(0);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition-delay: calc(var(--i) * 65ms + 0.45s);
}
.section-timeline.in .tl-dot { transform: scale(1); }
.tl-dot.hot { background: var(--accent); animation: tl-pulse 2.2s ease-out infinite; animation-delay: calc(var(--i) * 65ms + 0.9s); }
@keyframes tl-pulse {
  0% { box-shadow: 0 0 0 0 rgba(105, 255, 125, 0.45); }
  70% { box-shadow: 0 0 0 9px rgba(105, 255, 125, 0); }
  100% { box-shadow: 0 0 0 0 rgba(105, 255, 125, 0); }
}
.tl-date { position: absolute; top: 24px; left: 4px; font-size: 13px; font-weight: 800; letter-spacing: 0.3px; }
.tl-rel { position: absolute; top: 41px; left: 4px; font-size: 11px; font-weight: 700; color: var(--accent); }
.tl-card { display: block; }
.tl-card .cover { position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius-sm); overflow: hidden; background: var(--panel-2); transition: box-shadow 0.3s; }
.tl-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1); }
.tl-item:hover .tl-card .cover { box-shadow: 0 8px 24px rgba(105, 255, 125, 0.16); }
.tl-item:hover .tl-card .cover img { transform: scale(1.07); }
.tl-item:hover .tl-dot { border-color: #fff; }
.tl-card .name { margin-top: 8px; font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color 0.2s; }
.tl-item:hover .tl-card .name { color: var(--accent); }

/* ---------------- 区块 ---------------- */
.section { margin-top: 34px; }
.section-head { display: flex; align-items: center; margin-bottom: 16px; }
.section-head h3 { font-size: 18px; font-weight: 700; }
.section-head h3 small { font-size: 12.5px; font-weight: 500; color: var(--text-3); margin-left: 10px; }
.section-head .more { margin-left: auto; color: var(--text-3); font-size: 18px; line-height: 1; padding: 4px; transition: 0.2s; }
.section-head .more:hover { color: var(--accent); }

/* 竖版封面卡片（精选推荐等横滑行） */
.h-scroll { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.h-scroll::-webkit-scrollbar { display: none; }
.v-card { flex: 0 0 150px; min-width: 0; scroll-snap-align: start; display: block; }
.v-card .cover { position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius-sm); overflow: hidden; background: var(--panel-2); transition: box-shadow 0.3s; }
.v-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1); }
.v-card:hover .cover { box-shadow: 0 8px 24px rgba(105, 255, 125, 0.16); }
.v-card:hover .cover img { transform: scale(1.07); }
.v-card .name { margin-top: 8px; font-size: 13.5px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color 0.2s; }
.v-card:hover .name { color: var(--accent); }
.v-card .date-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  background: rgba(0, 0, 0, 0.6);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 5px;
}
.v-card .corner-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  background: rgba(0, 0, 0, 0.6);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 5px;
}

/* 竖版封面网格（分类区块） */
.v-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; }
.v-grid .v-card { flex: none; }

/* 宽卡片（热门MOD / 战争策略等 2~4 列网格） */
.w-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.w-card { display: block; background: var(--panel); border-radius: var(--radius-sm); overflow: hidden; transition: transform 0.2s; }
.w-card:hover { transform: translateY(-3px); }
.w-card .thumb { aspect-ratio: 16 / 9; background: var(--panel-2); overflow: hidden; }
.w-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.w-card:hover .thumb img { transform: scale(1.04); }
.w-card .w-meta { padding: 10px 12px 12px; }
.w-card .name { font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w-card .phrase { color: var(--text-3); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }

/* 榜单 */
.rank-tabs { display: flex; gap: 10px; margin-bottom: 18px; }
.rank-tab {
  padding: 7px 20px;
  border-radius: 999px;
  background: var(--panel-2);
  color: var(--text-2);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.25s, color 0.25s, transform 0.15s;
}
.rank-tab:hover { color: var(--text); transform: translateY(-1px); }
.rank-tab.on { background: var(--accent); color: #0c2b12; font-weight: 700; animation: pop-in 0.32s cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes pop-in {
  0% { transform: scale(0.9); }
  60% { transform: scale(1.06); }
  100% { transform: scale(1); }
}
.rank-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 40px; }
.rank-list[hidden], [hidden] { display: none !important; }
.rank-item { display: flex; align-items: center; gap: 14px; padding: 8px 10px; border-radius: var(--radius-sm); transition: 0.2s; }
.rank-item:hover { background: var(--panel); }
.rank-no { flex: 0 0 44px; text-align: center; }
.rank-no i { display: block; font-style: normal; font-size: 10px; font-weight: 700; color: var(--text-3); letter-spacing: 1px; }
.rank-no b { display: block; font-size: 24px; font-weight: 900; font-style: italic; color: var(--text-3); line-height: 1.1; }
.rank-item:nth-child(1) .rank-no b, .rank-item:nth-child(2) .rank-no b, .rank-item:nth-child(3) .rank-no b { color: var(--accent); }
.rank-item img { width: 58px; height: 58px; object-fit: cover; border-radius: var(--radius-sm); flex-shrink: 0; background: var(--panel-2); }
.rank-item .r-name { font-weight: 700; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-item .r-phrase { color: var(--text-3); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  transition: 0.2s;
}
.btn-primary { background: var(--accent); color: #0c2b12; }
.btn-primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-block { display: flex; width: 100%; padding: 14px; font-size: 17px; }

/* ---------------- 游戏库页（左侧标签栏 + 横条列表） ---------------- */
.lib-layout { display: flex; gap: 0; margin-top: 18px; align-items: flex-start; }
.lib-side {
  position: sticky;
  top: var(--header-h);
  flex: 0 0 128px;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  background: var(--bg-2);
  border-radius: var(--radius) 0 0 var(--radius);
  padding: 10px 0;
  scrollbar-width: none;
}
.lib-side::-webkit-scrollbar { display: none; }
.lib-side a,
.lib-side button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 12px 18px;
  font-size: 14px;
  color: var(--text-2);
  border-left: 3px solid transparent;
  text-decoration: none;
  background: transparent;
  border-top: none;
  border-right: none;
  border-bottom: none;
  cursor: pointer;
  box-sizing: border-box;
  transition: color 0.25s, background 0.25s, border-color 0.25s, padding-left 0.25s cubic-bezier(0.22, 0.61, 0.36, 1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lib-side a:hover,
.lib-side button:hover {
  color: var(--text);
  padding-left: 22px;
}
.lib-side a.on,
.lib-side a.active,
.lib-side a.current,
.lib-side button.on {
  background: linear-gradient(90deg, rgba(105, 255, 125, 0.16), rgba(105, 255, 125, 0.03));
  color: var(--accent);
  border-left-color: var(--accent);
  font-weight: 700;
  padding-left: 22px;
}
.lib-main { flex: 1; min-width: 0; padding: 4px 0 0 22px; }
.lib-toolbar { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.lib-toolbar h2 { font-size: 20px; font-weight: 800; }
.lib-count { color: var(--text-3); font-size: 13px; }
.lib-search { margin-left: auto; position: relative; }
.lib-search input {
  width: 240px;
  height: 38px;
  border-radius: 999px;
  border: none;
  background: var(--panel-2);
  color: var(--text);
  padding: 0 18px 0 40px;
  font-size: 13.5px;
  outline: none;
}
.lib-search input:focus { background: #2e2e2e; }
.lib-search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; stroke: var(--text-3); }

.lib-row { display: flex; gap: 16px; padding: 12px 10px; border-radius: var(--radius-sm); transition: 0.15s; align-items: center; }
.lib-row:hover { background: var(--panel); }
.lib-row .thumb { flex: 0 0 168px; aspect-ratio: 16 / 10; border-radius: var(--radius-sm); overflow: hidden; background: var(--panel-2); }
.lib-row .thumb img { width: 100%; height: 100%; object-fit: cover; }
.lib-row .lr-info { min-width: 0; }
.lib-row .lr-name { font-size: 16px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lib-row .lr-phrase { color: var(--text-2); font-size: 13px; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lib-row .lr-tags { color: var(--text-3); font-size: 12.5px; margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lib-row .lr-score { margin-left: auto; flex-shrink: 0; color: var(--gold); font-weight: 800; font-size: 16px; }

/* ---------------- 分页器（EyouCMS 标签 / 静态页通用） ---------------- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 36px 0 20px;
  padding: 0;
  list-style: none;
  flex-wrap: wrap;
  user-select: none;
}
.pagination li {
  list-style: none;
  display: inline-flex;
  margin: 0;
  padding: 0;
}
.pagination a,
.pagination span,
.pagination button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  background: var(--panel-2);
  color: var(--text-2);
  font-weight: 600;
  font-size: 13.5px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.2s cubic-bezier(0.22, 0.61, 0.36, 1);
  cursor: pointer;
}
.pagination a:hover,
.pagination button:hover:not(:disabled) {
  background: #2a2a2a;
  color: #fff;
  border-color: rgba(105, 255, 125, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
.pagination .active a,
.pagination .active span,
.pagination li.active a,
.pagination a.active,
.pagination button.on {
  background: var(--accent) !important;
  color: #0c2b12 !important;
  font-weight: 800;
  border-color: var(--accent) !important;
  box-shadow: 0 0 15px rgba(105, 255, 125, 0.45);
  pointer-events: none;
}
.pagination li > a:not([href]):not(.active) {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.02);
  border-color: transparent;
}
.pagination button:disabled {
  opacity: 0.35;
  cursor: default;
}

.empty-tip { text-align: center; color: var(--text-3); padding: 70px 0; }
.loading-tip { text-align: center; color: var(--text-3); padding: 60px 0; }

/* ---------------- 详情页（格来云式） ---------------- */
.detail-top { display: flex; gap: 18px; margin-top: 24px; align-items: flex-start; }
.detail-top .dt-cover { width: 108px; height: 108px; border-radius: var(--radius-sm); object-fit: cover; flex-shrink: 0; background: var(--panel-2); }
.detail-top .dt-cover.dt-article-cover { width: 172px; height: 108px; aspect-ratio: 16 / 10; }
.detail-top .dt-info { min-width: 0; padding-top: 4px; }
.detail-top h1 { font-size: 21px; font-weight: 800; margin-bottom: 6px; }
.dt-intro-toggle { color: var(--text-3); font-size: 13.5px; margin-bottom: 10px; display: inline-flex; align-items: center; gap: 4px; }
.dt-intro-toggle:hover { color: var(--accent); }
.dt-ctrl { color: var(--text-3); font-size: 13px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.dt-ctrl svg { width: 15px; height: 15px; stroke: var(--text-3); vertical-align: -2px; }
.dt-tags { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 16px; }
.dt-tag {
  border: 0.5px solid #5a5a5a;
  color: var(--text-2);
  font-size: 12.5px;
  padding: 4px 14px;
  border-radius: 14px;
  transition: 0.2s;
  text-decoration: none;
}
.dt-tag:hover { border-color: var(--accent); color: var(--accent); }

.dt-action-right {
  margin-left: auto;
  align-self: center;
  flex-shrink: 0;
  padding-left: 24px;
}
.dt-top-play-btn {
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 20px rgba(105, 255, 125, 0.35);
  cursor: pointer;
}
.dt-top-play-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(105, 255, 125, 0.55);
}

.detail-shots { position: relative; margin-top: 20px; border-radius: var(--radius); overflow: hidden; background: #000; }
.detail-shots .track { display: flex; transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1); }
.detail-shots .slide { flex: 0 0 100%; aspect-ratio: 21 / 7; min-height: 260px; }
.detail-shots .slide img { width: 100%; height: 100%; object-fit: cover; }
.detail-shots .slide-video { position: relative; }
.detail-shots .slide-video video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.detail-shots .video-tip {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.55);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 5px;
  pointer-events: none;
}
.detail-shots .dots { position: absolute; left: 50%; transform: translateX(-50%); bottom: 14px; display: flex; gap: 6px; }
.detail-shots .dots button { width: 7px; height: 7px; border-radius: 4px; background: rgba(255, 255, 255, 0.35); transition: 0.2s; }
.detail-shots .dots button.on { background: #fff; width: 18px; }

.detail-section { margin-top: 30px; }
.detail-section h3 { font-size: 17px; font-weight: 700; margin-bottom: 14px; }
.detail-desc { color: var(--text-2); font-size: 14.5px; white-space: pre-line; }

.detail-article-content { color: var(--text-2); font-size: 15px; line-height: 1.85; white-space: normal; }
.detail-article-content h2 { font-size: 18px; font-weight: 800; color: var(--text); margin: 26px 0 12px; }
.detail-article-content h3 { font-size: 16px; font-weight: 700; color: var(--text); margin: 20px 0 10px; }
.detail-article-content p { margin-bottom: 14px; }
.detail-article-content strong { color: var(--text); font-weight: 700; }
.detail-article-content ul, .detail-article-content ol { margin: 12px 0 16px 20px; padding: 0; }
.detail-article-content li { margin-bottom: 6px; }
.detail-article-content code { background: var(--panel-2); color: var(--accent); padding: 2px 6px; border-radius: 4px; font-size: 13.5px; }
.detail-article-content .prose-quote { background: var(--panel-2); border-left: 3px solid var(--gold); padding: 14px 18px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 18px 0; font-style: italic; color: var(--text); }
.detail-article-content .prose-alert { background: var(--panel-2); border: 1px solid rgba(105, 255, 125, 0.25); border-radius: var(--radius-sm); padding: 16px 18px; margin: 20px 0; }
.detail-article-content .alert-title { color: var(--accent); font-weight: 800; margin-bottom: 6px; font-size: 14px; }

.related-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 14px; }
.related-row .v-card { flex: none; }

/* ---------------- 关联游戏卡片与试玩按钮 ---------------- */
.article-game-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  background: var(--panel-2);
  border: 1px solid rgba(105, 255, 125, 0.3);
  border-radius: var(--radius-sm);
  transition: 0.2s;
}
.article-game-row:hover {
  border-color: var(--accent);
  background: #282828;
}
.article-game-row .thumb {
  flex: 0 0 150px;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #1e1e1e;
}
.article-game-row .thumb img {
  width: 60%;
  height: 100%;
  object-fit: cover;
  margin: 0 auto;
}
.article-game-row .agr-info {
  flex: 1;
  min-width: 0;
}
.article-game-row .agr-name {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.article-game-row .agr-name:hover {
  color: var(--accent);
}
.article-game-row .agr-score {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}
.article-game-row .agr-phrase {
  color: var(--text-2);
  font-size: 13px;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.article-game-row .agr-tags {
  color: var(--text-3);
  font-size: 12px;
}

/* ---------------- 基础按钮与发光试玩体系 ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 32px;
  background: var(--accent);
  color: #0c2b12;
  font-size: 15.5px;
  font-weight: 800;
  border-radius: 999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(105, 255, 125, 0.35);
  transition: transform 0.2s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
  box-sizing: border-box;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(105, 255, 125, 0.6);
}
.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: #0c2b12;
}
.btn-block {
  display: flex;
  width: 100%;
  text-align: center;
}

.btn-trial {
  padding: 8px 20px;
  background: var(--accent);
  color: #0c2b12;
  font-weight: 800;
  font-size: 13.5px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 0 16px rgba(105, 255, 125, 0.4);
  transition: all 0.2s cubic-bezier(0.22, 0.61, 0.36, 1);
  text-decoration: none;
  flex-shrink: 0;
}
.btn-trial:hover {
  transform: scale(1.05);
  box-shadow: 0 0 24px rgba(105, 255, 125, 0.7);
}
.btn-trial svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  fill: #0c2b12;
}

.btn-trial-glow {
  box-shadow: 0 4px 25px rgba(105, 255, 125, 0.45);
  animation: pulse-trial 2.4s infinite ease-in-out;
}
@keyframes pulse-trial {
  0%, 100% { box-shadow: 0 4px 20px rgba(105, 255, 125, 0.35); }
  50% { box-shadow: 0 8px 32px rgba(105, 255, 125, 0.75); }
}

.play-bar {
  position: sticky;
  bottom: 16px;
  z-index: 50;
  margin: 34px auto 10px;
  max-width: 680px;
  padding: 0 16px;
}
.play-bar .btn {
  box-shadow: 0 8px 30px rgba(105, 255, 125, 0.3);
}

/* ---------------- 数据总览条 ---------------- */
.stats-bar { margin-top: 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat { background: var(--panel); border-radius: var(--radius); padding: 14px 18px; display: flex; align-items: baseline; gap: 9px; transition: 0.2s; }
.stat:hover { background: var(--panel-2); }
.stat b { font-size: 24px; font-weight: 900; color: var(--accent); }
.stat span { color: var(--text-2); font-size: 13px; }

/* ---------------- 页脚 ---------------- */
.site-footer { margin-top: 60px; border-top: 1px solid var(--line); background: var(--bg-2); }
.site-footer .wrap { padding-top: 36px; padding-bottom: 26px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 26px; }
.footer-brand { display: flex; align-items: center; gap: 9px; font-size: 17px; font-weight: 800; margin-bottom: 10px; }
.footer-brand img { width: 28px; height: 28px; }
.footer-brand b { color: var(--accent); }
.footer-desc { color: var(--text-3); font-size: 13px; max-width: 340px; }
.footer-col h5 { font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.footer-col a, .footer-col span { display: block; color: var(--text-3); font-size: 13px; margin-bottom: 7px; transition: 0.2s; }
.footer-col a:hover { color: var(--accent); }
.footer-copy { border-top: 1px solid var(--line); padding-top: 16px; color: var(--text-3); font-size: 12.5px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1024px) {
  .w-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .wrap { padding: 0 14px; }
  .site-header .wrap { gap: 12px; }
  .brand { font-size: 16px; }
  .brand img { width: 27px; height: 27px; }
  .main-nav a { padding: 6px 9px; font-size: 13.5px; }
  .header-search { flex: 1; min-width: 0; display: flex; justify-content: flex-end; }
  .header-search input { width: 100%; max-width: 160px; }
  .header-search input:focus { max-width: 100%; width: 100%; }
  .hero-slide { aspect-ratio: 16 / 9; min-height: 230px; }
  .hero-info { left: 20px; bottom: 20px; right: 16px; }
  .hero-arrow { display: none; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .w-grid { grid-template-columns: repeat(2, 1fr); }
  .rank-list { grid-template-columns: 1fr; }
  .v-card { flex-basis: 126px; }
  .lib-layout { flex-direction: column; }
  .lib-side {
    position: static;
    flex: none;
    width: 100%;
    max-height: none;
    display: flex;
    overflow-x: auto;
    border-radius: var(--radius);
    padding: 6px;
  }
  .lib-side a,
  .lib-side button { width: auto; flex-shrink: 0; border-left: none; border-bottom: 2px solid transparent; padding: 8px 14px; border-radius: 7px; text-decoration: none; }
  .lib-side a.on,
  .lib-side a.active,
  .lib-side a.current,
  .lib-side button.on { border-bottom-color: var(--accent); color: var(--accent); }
  .lib-main { padding: 14px 0 0; width: 100%; }
  .lib-search { display: none; }
  .lib-row { align-items: flex-start; }
  .lib-row .thumb { flex: 0 0 110px; }
  .lib-row .lr-score { display: none; }
  .detail-shots .slide { aspect-ratio: 16 / 9; min-height: 180px; }
  .tl-item { flex-basis: 126px; }
  .detail-top { flex-direction: column; }
  .detail-top .dt-cover.dt-article-cover { width: 100%; height: auto; aspect-ratio: 16 / 10; }
  .dt-action-right { margin-left: 0; width: 100%; margin-top: 14px; padding-left: 0; }
  .dt-top-play-btn { width: 100%; justify-content: center; }
  .article-game-row { flex-direction: column; align-items: stretch; }
  .article-game-row .thumb { width: 100%; flex: none; }
  .article-game-row .btn-trial { justify-content: center; width: 100%; margin-top: 10px; }
  .pagination { gap: 4px; margin: 24px 0 16px; }
  .pagination a, .pagination span, .pagination button { min-width: 32px; height: 32px; padding: 0 8px; font-size: 12px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .related-row { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .w-grid { grid-template-columns: 1fr; }
  .pagination a, .pagination span, .pagination button { min-width: 28px; height: 28px; padding: 0 6px; font-size: 11.5px; }
}

/* ---------------- 试玩 / 游戏下载通道弹窗 ---------------- */
.play-modal-mask {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: pm-fade-in 0.22s ease-out;
}
.play-modal-mask[hidden] {
  display: none !important;
}
@keyframes pm-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.play-modal-box {
  position: relative;
  width: 100%;
  max-width: 400px;
  background: #181818;
  border: 1px solid rgba(105, 255, 125, 0.35);
  border-radius: 16px;
  padding: 24px 22px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 35px rgba(105, 255, 125, 0.15);
  animation: pm-pop-up 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
}
@keyframes pm-pop-up {
  from { transform: scale(0.92) translateY(16px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.pm-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--text-3);
  font-size: 22px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: 0.2s;
}
.pm-close:hover {
  background: var(--panel-2);
  color: var(--text);
}
.pm-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 18px;
  letter-spacing: 0.2px;
}
.pm-btn-play {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 13px 20px;
  background: #2563eb;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(37, 99, 235, 0.45);
  transition: transform 0.2s, box-shadow 0.2s;
  letter-spacing: 0.5px;
}
.pm-btn-play:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37, 99, 235, 0.65);
}
.pm-coupon-box {
  margin-top: 18px;
  background: rgba(59, 130, 246, 0.04);
  border: 1.5px dashed rgba(59, 130, 246, 0.55);
  border-radius: 12px;
  padding: 16px;
}
.pm-coupon-top {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pm-coupon-badge {
  padding: 3px 8px;
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  font-size: 11.5px;
  font-weight: 800;
  border-radius: 4px;
  border: 1px solid rgba(239, 68, 68, 0.35);
  flex-shrink: 0;
}
.pm-coupon-code {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  flex: 1;
  letter-spacing: 0.5px;
}
.pm-coupon-copy {
  padding: 5px 14px;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.35);
  color: #60a5fa;
  font-size: 12.5px;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s;
  flex-shrink: 0;
}
.pm-coupon-copy:hover {
  background: #2563eb;
  color: #fff;
}
.pm-coupon-copy.copied {
  background: var(--accent);
  color: #0c2b12;
  border-color: var(--accent);
}
.pm-coupon-tip {
  margin-top: 12px;
  color: var(--text-2);
  font-size: 12.5px;
  line-height: 1.6;
}
.pm-hl {
  color: #ef4444;
  font-weight: 800;
}
