/**
 * Mark Inc — 大气门户版式
 * 亮绿 #16BF6C + 大留白 / 大图 / 强层级
 */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&family=Noto+Sans+SC:wght@400;500;700&display=swap');

:root {
  --bg: #f3f6f4;
  --panel: #ffffff;
  --ink: #1a1a1a;
  --text-2: #555;
  --muted: #8a8a8a;
  --line: #e8eee9;
  --primary: #16bf6c;
  --primary-deep: #0e9a54;
  --primary-soft: #e9f9f0;
  --download: #16bf6c;
  --download-hover: #0fa85c;
  --download-glow: rgba(22, 191, 108, 0.4);
  --hot: #ff5a5f;
  --warn: #f5a623;
  --radius: 20px;
  --shadow: 0 8px 30px rgba(22, 80, 50, 0.06);
  --shadow-lg: 0 20px 50px rgba(22, 80, 50, 0.1);
  --header-h: 76px;
  --nav-h: 52px;
  --max: 1400px;
  --font: "Manrope", "Noto Sans SC", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --space: 40px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary); }
button, input, select { font: inherit; }
ul { list-style: none; }

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

/* ========== Header ========== */
.topbar {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}
.topbar__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand__logo {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(145deg, #1ed97a, #16bf6c);
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  line-height: 1;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(22, 191, 108, 0.35);
}
.brand__name {
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.04em;
}
.brand__name i { font-style: normal; color: var(--primary); }

.search {
  flex: 1;
  max-width: 560px;
  display: flex;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: #f7faf8;
  transition: box-shadow 0.25s, border-color 0.25s;
}
.search:focus-within {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 5px rgba(22, 191, 108, 0.12);
}
.search__input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 14px 22px;
  font-size: 15px;
}
.search__btn {
  border: 0;
  background: var(--primary);
  color: #fff;
  padding: 0 28px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
}
.search__btn:hover { background: var(--primary-deep); }
.top-links {
  display: flex;
  gap: 20px;
  margin-left: auto;
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
  flex-shrink: 0;
}
.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  margin-left: auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.menu-btn span { width: 18px; height: 2px; background: var(--ink); display: block; }

.nav {
  background: #fff;
  height: var(--nav-h);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
}
.nav__link {
  color: var(--text-2);
  padding: 0 20px;
  height: var(--nav-h);
  display: inline-flex;
  align-items: center;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  position: relative;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.25s var(--ease);
}
.nav__link:hover,
.nav__link.is-active { color: var(--primary); }
.nav__link.is-active::after,
.nav__link:hover::after { transform: scaleX(1); }

/* ========== Page rhythm ========== */
/* hide legacy topbar/nav if leftover on other pages still using both */
body:has(.site-head) .topbar,
body:has(.site-head) > .nav { display: none !important; }

.page { padding: 36px 0 24px; }

.section-block {
  margin-bottom: 56px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.section-head h2 {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: var(--ink);
}
.section-head p {
  margin-top: 8px;
  font-size: 15px;
  color: var(--muted);
}
.section-head__more {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}
.section-head__more:hover { border-bottom-color: var(--primary); }

.mod {
  background: var(--panel);
  border: 1px solid rgba(22, 191, 108, 0.06);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 0;
  overflow: hidden;
}
.mod + .mod { margin-top: 28px; }
.mod__hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  border-bottom: 1px solid var(--line);
}
.mod__title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 12px;
}
.mod__title::before {
  content: "";
  width: 5px;
  height: 22px;
  border-radius: 4px;
  background: var(--primary);
}
.mod__more {
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
}
.mod__more:hover { color: var(--primary); }
.mod__bd { padding: 28px; }
.mod__bd--flush { padding: 0; }

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 32px;
  align-items: start;
}
.layout > * {
  min-width: 0;
}

/* ========== HERO — 全幅大气 ========== */
.hero-banner {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  min-height: 460px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}
.hero-banner .focus-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 0.7s var(--ease), transform 1s var(--ease);
  display: flex;
  align-items: flex-end;
  padding: 48px 52px;
  color: #fff;
  z-index: 1;
}
.hero-banner .focus-slide.is-active {
  opacity: 1;
  transform: scale(1);
}
.hero-banner .focus-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.25) 55%, rgba(0,0,0,.15) 100%);
  z-index: 1;
}
.hero-banner .focus-slide > div {
  position: relative;
  z-index: 2;
  max-width: 620px;
}
.hero-kicker {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(22, 191, 108, 0.9);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
.focus-slide__title {
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.15;
  margin-bottom: 14px;
  text-shadow: 0 4px 24px rgba(0,0,0,.25);
}
.focus-slide__desc {
  font-size: 18px;
  opacity: 0.92;
  line-height: 1.55;
  margin-bottom: 24px;
  max-width: 520px;
}
.focus-slide__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.focus-dots {
  position: absolute;
  right: 36px;
  bottom: 36px;
  z-index: 4;
  display: flex;
  gap: 8px;
}
.focus-dots button {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  padding: 0;
  transition: width 0.25s, background 0.25s;
}
.focus-dots button.is-active {
  background: #fff;
  width: 28px;
}

/* 资讯条 — 横排大气 */
.news-strip {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 56px;
  border: 1px solid rgba(22, 191, 108, 0.06);
  min-height: 72px;
}
.news-strip__label {
  background: linear-gradient(160deg, #16bf6c, #0fa85c);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.04em;
}
.news-strip__list {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 8px;
  overflow-x: auto;
}
.news-strip__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  border-radius: 12px;
  transition: background 0.2s;
}
.news-strip__item:hover { background: var(--primary-soft); color: var(--ink); }
.news-strip__item time {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

/* ========== 分类 — 大卡片 ========== */
.cat-entry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}
.cat-entry__item {
  background: var(--panel);
  border: 1px solid rgba(22, 191, 108, 0.08);
  border-radius: 24px;
  padding: 32px 20px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.25s;
}
.cat-entry__item:hover {
  border-color: rgba(22, 191, 108, 0.35);
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  color: var(--ink);
}
.cat-entry__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  transition: transform 0.35s var(--ease);
  box-shadow: 0 12px 28px rgba(0,0,0,.12);
}
.cat-entry__item:hover .cat-entry__icon { transform: scale(1.08) rotate(-3deg); }
.cat-entry__name {
  font-size: 17px;
  font-weight: 750;
  color: var(--ink);
}

/* ========== 栏目页应用/游戏卡片 ========== */
.app-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.app-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px 16px 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: inherit;
  transition: border-color 0.22s, box-shadow 0.22s, background 0.22s;
}
.app-card:hover {
  border-color: #b7e8cb;
  background: #fbfefc;
  box-shadow: 0 10px 28px rgba(22, 191, 108, 0.1);
}
.app-card__top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}
.app-card__ico {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  flex: 0 0 72px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(22, 80, 50, 0.12);
}
.app-card__ico:hover { color: #fff; }
.app-card__info {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 2px;
}
.app-card__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
  transition: color 0.2s;
}
.app-card__title:hover { color: var(--primary-deep); }
.app-card:hover .app-card__title { color: var(--primary-deep); }
.app-card__stars {
  display: flex;
  gap: 2px;
  line-height: 1;
}
.app-card__stars i {
  width: 14px;
  height: 14px;
  display: inline-block;
  background: #f0b429;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.app-card__stars i.is-empty { background: #dce5df; }
.app-card__stars i.is-half {
  background: linear-gradient(90deg, #f0b429 50%, #dce5df 50%);
}
.app-card__meta {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.app-card__desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-2);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.app-card__dl {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  border: 1px solid #7ad4a3;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-deep);
  font-size: 15px;
  font-weight: 700;
  transition: background 0.22s, color 0.22s, border-color 0.22s, box-shadow 0.22s;
}
.app-card__dl:hover,
.app-card:hover .app-card__dl {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 8px 20px var(--download-glow);
}

/* ========== 游戏 — 大海报 ========== */
.game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.game-grid--detail {
  grid-template-columns: repeat(3, 1fr);
}

/* Detail — keyword-matched related apps (icon grid) */
.related-apps {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px 12px;
}
.related-apps__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  color: inherit;
  min-width: 0;
}
.related-apps__item:hover { color: inherit; }
.related-apps__ico {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px rgba(22, 80, 50, 0.1);
  transition: transform 0.25s var(--ease);
}
.related-apps__item:hover .related-apps__ico { transform: translateY(-3px) scale(1.04); }
.related-apps__name {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}
.related-apps__item:hover .related-apps__name { color: var(--primary-deep); }
.game-card { display: block; color: inherit; }
.game-card:hover { color: inherit; }
.game-card:hover .game-card__cover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.game-card:hover .game-card__name { color: var(--primary); }
.game-card__cover {
  aspect-ratio: 16 / 10;
  width: 100%;
  max-width: none;
  margin: 0 0 16px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
  border: 0;
  box-shadow: var(--shadow);
}
.game-card__cover-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 20px;
  color: #fff;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.03em;
  line-height: 1.2;
  text-align: left;
  position: relative;
  transition: transform 0.55s var(--ease);
}
.game-card:hover .game-card__cover-inner { transform: scale(1.05); }
.game-card__cover-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.72));
}
.game-card__cover-inner span { position: relative; z-index: 1; }
.game-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: var(--hot);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(255, 90, 95, 0.35);
}
.game-card__name {
  font-size: 18px;
  font-weight: 750;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 6px;
  transition: color 0.2s;
  text-align: left;
  color: var(--ink);
}
.game-card__meta {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  gap: 12px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

/* ========== 软件行 — 宽松 ========== */
.soft-list { display: flex; flex-direction: column; gap: 4px; }
.soft-list__head {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) 100px 90px 100px 110px;
  gap: 20px;
  padding: 0 8px 14px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}
.soft-list__head span:nth-child(n+3) { text-align: center; }
.soft-row {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) 100px 90px 100px 110px;
  gap: 20px;
  align-items: center;
  padding: 20px 12px;
  border-radius: 16px;
  border-bottom: 0;
  transition: background 0.2s, transform 0.25s;
}
.soft-row:hover {
  background: var(--primary-soft);
  transform: translateX(4px);
  padding-left: 12px;
}
.soft-row__icon {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
  transition: transform 0.3s var(--ease);
}
.soft-row:hover .soft-row__icon { transform: scale(1.05); }
.soft-row__name {
  font-weight: 750;
  font-size: 18px;
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
}
.soft-row__desc {
  font-size: 14px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.soft-row__cell {
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 24px;
  height: 44px;
  border-radius: 999px;
  font-weight: 750;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 22px rgba(22, 191, 108, 0.3);
}
.btn--primary:hover { color: #fff; background: var(--primary-deep); }
.btn--download {
  background: var(--download);
  color: #fff;
  box-shadow: 0 8px 24px var(--download-glow);
}
.btn--download:hover { color: #fff; background: var(--download-hover); }
.btn--ghost {
  background: #fff;
  border-color: #dde5df;
  color: var(--text-2);
}
.btn--ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-soft);
}
.btn--lg { height: 52px; padding: 0 32px; font-size: 16px; }
.btn--xl {
  height: 60px;
  padding: 0 36px;
  font-size: 18px;
  width: 100%;
  border-radius: 999px;
}
.btn--block { width: 100%; }
.btn--pulse { animation: ctaPulse 2.4s ease-in-out infinite; }
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 8px 24px var(--download-glow); }
  50% { box-shadow: 0 12px 36px rgba(22, 191, 108, 0.55), 0 0 0 8px rgba(22, 191, 108, 0.1); }
}
.btn--on-dark {
  background: #fff;
  color: var(--ink);
}
.btn--on-dark:hover { background: var(--primary-soft); color: var(--primary); }

/* ========== Rank / tags ========== */
.rank-list { display: flex; flex-direction: column; gap: 4px; }
.rank-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 4px;
  font-size: 15px;
  border-bottom: 1px dashed var(--line);
  transition: transform 0.2s;
}
.rank-item:hover { transform: translateX(4px); }
.rank-item:last-child { border-bottom: 0; }
.rank-item__n {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: #eef2f0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.rank-item:nth-child(-n+3) .rank-item__n {
  background: var(--hot);
  color: #fff;
}
.rank-item__meta {
  margin-left: auto;
  font-size: 13px;
  color: var(--muted);
  flex-shrink: 0;
}
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-cloud a {
  padding: 10px 18px;
  background: #f4f7f5;
  border-radius: 999px;
  font-size: 14px;
  color: var(--text-2);
  font-weight: 600;
  transition: all 0.2s;
}
.tag-cloud a:hover,
.tag-cloud a.is-active {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
}
.crumb span { opacity: 0.45; }
.page-hd { margin-bottom: 28px; }
.page-hd h1 {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.page-hd p { font-size: 15px; color: var(--muted); }

/* ========== DETAIL — 大气白卡 ========== */
.detail-hero {
  border-radius: 28px;
  overflow: hidden;
  margin-bottom: 32px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(22, 191, 108, 0.08);
}
.detail-hero__bg,
.detail-hero__veil { display: none; }
.detail-hero__body {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) 280px;
  gap: 36px;
  padding: 44px 48px;
  align-items: center;
}
.detail-hero__body > div,
.detail-hero__cta {
  min-width: 0;
}
.detail-hero__icon {
  width: 180px;
  height: 180px;
  border-radius: 36px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 42px;
  box-shadow: 0 16px 40px rgba(22, 191, 108, 0.2);
}
.detail-hero__icon--game,
.detail-hero__icon.detail-hero__icon--game {
  width: 180px;
  height: 180px;
  border-radius: 36px;
  font-size: 20px;
  text-align: center;
  padding: 20px;
  line-height: 1.3;
}
.detail-hero__icon.ico--img,
.detail-hero__icon--game.ico--img {
  padding: 0;
}
.detail-hero h1 {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.2;
  margin-bottom: 14px;
  color: var(--ink);
}
.detail-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}
.detail-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  font-size: 15px;
  color: var(--muted);
  width: 100%;
}
.detail-hero__meta strong {
  color: var(--text-2);
  font-weight: 700;
}
.detail-hero__meta-time {
  white-space: nowrap;
}
.detail-hero__cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.detail-hero__dl-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.detail-hero__dl-btns:empty { display: none; }
[data-hero-dl]:not([data-filled="1"]) { display: none; }
[data-cta-score][hidden],
[data-cta-guide][hidden] { display: none !important; }
.detail-hero__meta time {
  font-weight: 600;
  color: var(--text-2);
}
.score-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #f7faf8;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
}
.score-pill b {
  font-size: 32px;
  color: var(--warn);
  font-weight: 800;
  line-height: 1;
}
.score-pill span {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.35;
}

.chip {
  display: inline-flex;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  background: var(--primary-soft);
  color: var(--primary-deep);
  font-weight: 700;
}
.chip--hot { background: #ffe8e9; color: var(--hot); }

/* Gallery */
.gallery { margin-bottom: 8px; }
.gallery:not([data-filled="1"]) { display: none; }
.gallery__main {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #eef2f0;
  cursor: zoom-in;
  margin-bottom: 16px;
}
.gallery__main-inner {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 26px;
  transition: transform 0.5s var(--ease);
  position: relative;
}
.gallery__main:hover .gallery__main-inner { transform: scale(1.03); }
.gallery__main-label {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 10px;
}
.gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.gallery__thumb {
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  border: 3px solid transparent;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s, border-color 0.2s, transform 0.25s;
  padding: 0;
  background: none;
}
.gallery__thumb:hover { opacity: 1; transform: translateY(-3px); }
.gallery__thumb.is-active {
  opacity: 1;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(22, 191, 108, 0.18);
}
.gallery__thumb-inner {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

/* Shot strip — unified 16:9 frames; portrait sits centered over blurred fill */
.shot-strip:not([data-filled="1"]) { display: none; }
.shot-strip {
  --shot-h: 240px;
  position: relative;
  padding: 0 28px 28px;
}
.shot-strip__track {
  display: flex;
  align-items: center;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 4px 0 8px;
  min-height: calc(var(--shot-h) + 8px);
  scrollbar-width: thin;
  scrollbar-color: rgba(22, 191, 108, 0.45) transparent;
}
.shot-strip__track::-webkit-scrollbar { height: 6px; }
.shot-strip__track::-webkit-scrollbar-thumb {
  background: rgba(22, 191, 108, 0.45);
  border-radius: 999px;
}
.shot-strip__track::-webkit-scrollbar-track { background: transparent; }
.shot-strip__item {
  flex: 0 0 auto;
  height: var(--shot-h);
  aspect-ratio: 16 / 9;
  border: 0;
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
  cursor: zoom-in;
  scroll-snap-align: center;
  background: #0f1a14;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.shot-strip__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14);
}
.shot-strip__inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  font-weight: 800;
  font-size: clamp(13px, 1.6vw, 18px);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  padding: 0;
  text-align: center;
  line-height: 1.35;
}
.shot-strip__inner > img:not(.shot-strip__blur) {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.shot-strip__blur {
  position: absolute;
  inset: -18%;
  width: 136%;
  height: 136%;
  max-width: none;
  object-fit: cover;
  filter: blur(28px) saturate(1.2);
  transform: scale(1.08);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.shot-strip__item[data-orient="portrait"] .shot-strip__inner::after,
.shot-strip__item[data-orient="square"] .shot-strip__inner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 14, 12, 0.28), transparent 22%, transparent 78%, rgba(8, 14, 12, 0.28)),
    linear-gradient(180deg, rgba(8, 14, 12, 0.12), transparent 30%, transparent 70%, rgba(8, 14, 12, 0.18));
}
.shot-strip__item[data-orient="portrait"] .shot-strip__inner > img:not(.shot-strip__blur) {
  width: auto;
  max-width: 46%;
  height: calc(100% - 20px);
  object-fit: contain;
  border-radius: 12px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 12px 28px rgba(0, 0, 0, 0.35);
}
.shot-strip__item[data-orient="square"] .shot-strip__inner > img:not(.shot-strip__blur) {
  width: auto;
  max-width: 68%;
  height: calc(100% - 16px);
  object-fit: contain;
  border-radius: 12px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 12px 28px rgba(0, 0, 0, 0.35);
}

/* Detail info list */
.detail-info {
  margin: 0;
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.detail-info__row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.detail-info__row:last-child { border-bottom: 0; }
.detail-info__row:nth-child(even) { background: #fafcfb; }
.detail-info dt {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}
.detail-info dd {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  word-break: break-all;
}
.detail-info a {
  color: var(--primary-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.detail-info a:hover { color: var(--primary); }
.detail-info--compact .detail-info__row {
  grid-template-columns: 88px minmax(0, 1fr);
  padding: 12px 14px;
}
.detail-info--compact dt { font-size: 13px; }
.detail-info--compact dd { font-size: 14px; }

/* Download card */
.dl-card {
  position: relative;
  top: auto;
  background: #fff;
  border: 1px solid rgba(22, 191, 108, 0.14);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  padding: 28px;
  overflow: hidden;
}
.dl-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, #1ed97a, #16bf6c);
}
.dl-card__title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.dl-card__sub {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
}
.dl-card__info {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px dashed var(--line);
}
.dl-card__info-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.dl-card__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 20px 0;
}
.dl-card__fact {
  background: #f7faf8;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 10px;
  text-align: center;
}
.dl-card__fact b {
  display: block;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 4px;
}
.dl-card__fact span {
  font-size: 12px;
  color: var(--muted);
}
.dl-alts {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
}
.dl-alts:not(:has(.dl-alt[data-filled="1"])) { display: none; }
.dl-alts__title {
  font-size: 13px;
  font-weight: 750;
  color: var(--muted);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}
.dl-alt {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #f9fbfa;
  margin-bottom: 10px;
  font-weight: 700;
  font-size: 15px;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.dl-alt[data-filled="1"] { display: flex; }
.dl-alt:hover {
  border-color: #b4ebd0;
  background: #f0fdf4;
  color: var(--primary-deep);
  transform: translateX(4px);
}
.dl-alt small {
  font-weight: 600;
  font-size: 12px;
  color: var(--muted);
}
.dl-card__note {
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.55;
}

.tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  margin: -28px -28px 24px;
  padding: 0 20px;
  background: #fafcfb;
  height: 58px;
  align-items: stretch;
}
.tabs__btn {
  padding: 0 22px;
  border: 0;
  background: none;
  font-weight: 600;
  font-size: 16px;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
}
.tabs__btn.is-active {
  color: var(--ink);
  font-weight: 800;
  font-size: 17px;
  border-bottom-color: var(--primary);
  background: #fff;
}
.tab-panel[hidden] { display: none; }
.prose h3 {
  font-size: 20px;
  margin: 24px 0 12px;
  font-weight: 800;
}
.prose p {
  color: var(--text-2);
  margin-bottom: 16px;
  font-size: 15px;
  line-height: 1.85;
}
.prose ul {
  padding-left: 1.25em;
  list-style: disc;
  color: var(--text-2);
  margin-bottom: 14px;
  font-size: 15px;
  line-height: 1.8;
}
.prose li + li { margin-top: 8px; }

/* 资讯列表：图 + 标题 + 描述 + 日期（精确到分） */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.news-list__item {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
}
.news-list__item:first-child { padding-top: 0; }
.news-list__item:last-child { border-bottom: 0; padding-bottom: 4px; }
.news-list__item:hover { color: inherit; }
.news-list__thumb {
  display: block;
  width: 168px;
  height: 112px;
  border-radius: 14px;
  flex-shrink: 0;
}
.news-list__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 2px 0;
}
.news-list__title {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.news-list__item:hover .news-list__title { color: var(--primary); }
.news-list__desc {
  font-style: normal;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-list__body time {
  margin-top: auto;
  font-size: 13px;
  color: #aaa;
}

@media (max-width: 700px) {
  .news-list__item {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 12px;
    padding: 14px 0;
  }
  .news-list__thumb {
    width: 112px;
    height: 84px;
    border-radius: 12px;
  }
  .news-list__title { font-size: 15px; }
  .news-list__desc {
    font-size: 13px;
    -webkit-line-clamp: 2;
  }
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.spec-table th,
.spec-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.spec-table th {
  width: 130px;
  background: #f7faf8;
  color: var(--muted);
  font-weight: 700;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10, 20, 15, 0.82);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
}
.lightbox.is-open { display: flex; animation: fadeIn 0.25s var(--ease); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox__panel {
  width: min(1000px, 100%);
  max-height: min(88vh, 900px);
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.lightbox__panel.is-portrait {
  width: min(520px, 92vw);
  aspect-ratio: 9 / 16;
  max-height: min(88vh, 900px);
}
.lightbox__panel.is-square {
  width: min(640px, 92vw);
  aspect-ratio: 1 / 1;
  max-height: min(88vh, 900px);
}
.lightbox__panel .gallery__main-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #0a1410;
}
.lightbox__panel .gallery__main-inner img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.lightbox__panel.is-portrait .gallery__main-inner img:not(.shot-strip__blur),
.lightbox__panel.is-square .gallery__main-inner img:not(.shot-strip__blur) {
  width: auto;
  max-width: 88%;
  height: auto;
  max-height: 92%;
  border-radius: 14px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 18px 40px rgba(0, 0, 0, 0.45);
}
.lightbox__panel .gallery__main-inner .shot-strip__blur {
  position: absolute;
  inset: -20%;
  width: 140%;
  height: 140%;
  object-fit: cover;
  filter: blur(32px) saturate(1.15);
  z-index: 0;
  pointer-events: none;
}
.lightbox__close {
  position: absolute;
  top: -48px;
  right: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.3rem;
}

.filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding: 18px 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 24px;
  font-size: 14px;
  box-shadow: var(--shadow);
}
.filter label { color: var(--muted); font-weight: 600; }
.filter select,
.filter .filter__chip {
  border: 1px solid #dde5df;
  border-radius: 999px;
  padding: 8px 16px;
  background: #fff;
}
.filter__chip { cursor: pointer; color: var(--muted); font-weight: 600; }
.filter__chip.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.pager {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}
.pager a {
  min-width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  transition: all 0.2s;
}
.pager a.is-active,
.pager a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.pager a[data-page="prev"],
.pager a[data-page="next"] {
  padding: 0 14px;
}
.seg {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}
.seg__btn {
  padding: 12px 24px;
  border: 0;
  background: #fff;
  font-weight: 750;
  font-size: 15px;
  color: var(--muted);
  cursor: pointer;
  border-right: 1px solid var(--line);
}
.seg__btn:last-child { border-right: 0; }
.seg__btn.is-active {
  background: var(--primary);
  color: #fff;
}
.rank-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.rank-table th,
.rank-table td {
  padding: 18px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.rank-table th {
  background: #f7faf8;
  font-size: 13px;
  color: var(--muted);
  font-weight: 700;
}
.rank-table tr:hover td { background: var(--primary-soft); }
.rank-table__game {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 750;
  font-size: 16px;
}
.rank-table__thumb {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}
.article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 48px;
  box-shadow: var(--shadow);
  max-width: 860px;
  margin: 0 auto;
}
.article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 14px;
  align-items: center;
}
.article h1 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.article__cover {
  height: 320px;
  border-radius: 18px;
  margin-bottom: 28px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 28px;
  box-shadow: var(--shadow);
}
.about-page .prose ul {
  margin: 12px 0 20px;
  padding-left: 1.2em;
  color: var(--text-2);
}
.about-page .prose li {
  list-style: disc;
  line-height: 1.7;
}

.site-footer {
  background: #fff;
  color: var(--text-2);
  padding: 28px 0 22px;
  margin-top: 16px;
  font-size: 14px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.site-footer a { color: var(--text-2); }
.site-footer a:hover { color: var(--primary); }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
  margin-bottom: 16px;
}
.footer-nav a {
  font-size: 14px;
  color: #555;
}
.footer-copy {
  border-top: 0;
  padding-top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}
.footer-copy__line {
  color: #666;
}
.footer-icp {
  color: #666;
  margin-left: 4px;
}
.footer-icp:hover { color: var(--primary); }
.footer-copy__disc {
  max-width: 820px;
  color: #999;
  font-size: 12px;
}
.footer-grid {
  display: none;
}

/* Covers */
.c-elden { background: linear-gradient(145deg, #1a0a0a, #9a3412 55%, #c2410c); }
.c-cyber { background: linear-gradient(145deg, #0f172a, #312e81 50%, #0891b2); }
.c-zelda { background: linear-gradient(145deg, #14532d, #15803d 45%, #84cc16); }
.c-gta { background: linear-gradient(145deg, #111827, #4b5563 40%, #f59e0b); }
.c-star { background: linear-gradient(145deg, #1e1b4b, #6d28d9 50%, #e879f9); }
.c-witch { background: linear-gradient(145deg, #1c1917, #57534e 50%, #a8a29e); }
.c-valor { background: linear-gradient(145deg, #450a0a, #dc2626 50%, #fb7185); }
.c-mine { background: linear-gradient(145deg, #14532d, #22c55e); }
.c-wukong { background: linear-gradient(145deg, #422006, #b45309 50%, #fbbf24); }
.c-office { background: linear-gradient(145deg, #1e3a8a, #3b82f6); }
.c-ps { background: linear-gradient(145deg, #0c4a6e, #0284c7 50%, #67e8f9); }
.c-chrome { background: linear-gradient(145deg, #9a3412, #ea580c 45%, #fbbf24); }
.c-vscode { background: linear-gradient(145deg, #0f172a, #0078d4); }
.c-pot { background: linear-gradient(145deg, #312e81, #6366f1); }
.c-bandi { background: linear-gradient(145deg, #7f1d1d, #ef4444); }
.c-7zip { background: linear-gradient(145deg, #334155, #94a3b8); }
.c-notion { background: linear-gradient(145deg, #18181b, #71717a); }
.c-qq { background: linear-gradient(145deg, #0c4a6e, #0284c7 50%, #38bdf8); }
.c-shot1 { background: linear-gradient(135deg, #0ea5e9, #6366f1 50%, #ec4899); }
.c-shot2 { background: linear-gradient(135deg, #14b8a6, #0f766e 40%, #115e59); }
.c-shot3 { background: linear-gradient(135deg, #f59e0b, #ea580c 45%, #7c2d12); }
.c-shot4 { background: linear-gradient(135deg, #8b5cf6, #4c1d95 50%, #1e1b4b); }
.c-shot5 { background: linear-gradient(135deg, #22c55e, #166534 50%, #052e16); }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   QQ 软件中心风格顶栏 + 32r 精品推荐翻页
   ========================================================= */
.site-head {
  background: #fff;
  border-bottom: 1px solid #eef1f4;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 12px rgba(20, 40, 30, 0.04);
}
.site-head__inner {
  height: 88px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.main-nav {
  display: flex;
  align-items: center;
  flex: 1;
  margin-left: 28px;
  height: 100%;
}
.main-nav__item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  margin-right: 8px;
}
.main-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 14px;
  font-size: 18px;
  font-weight: 500;
  color: #181818;
  position: relative;
  white-space: nowrap;
}
.main-nav__link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: -24px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  opacity: 0;
  transition: opacity 0.2s;
}
.main-nav__item.is-active .main-nav__link,
.main-nav__item:hover .main-nav__link {
  color: var(--primary);
}
.main-nav__item.is-active .main-nav__link::after,
.main-nav__item:hover .main-nav__link::after {
  opacity: 1;
}
.caret {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #999;
  margin-top: 2px;
}
.main-nav__item:hover .caret { border-top-color: var(--primary); }

.mega {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 420px;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid #f0f4f2;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(22, 191, 108, 0.12);
  z-index: 50;
  flex-wrap: wrap;
  gap: 4px 0;
}
.main-nav__item.has-menu:hover .mega {
  display: flex;
}
.mega a {
  width: 50%;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  font-size: 14px;
  color: #39404c;
  padding-right: 8px;
  box-sizing: border-box;
}
.mega a:hover { color: var(--primary); }
.mega__ico {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  flex-shrink: 0;
}

.head-search {
  position: relative;
  display: flex;
  align-items: center;
  margin-left: auto;
  flex-shrink: 0;
}
.head-search input {
  width: 300px;
  height: 42px;
  border: 0;
  outline: 0;
  border-radius: 24px;
  padding: 0 72px 0 20px;
  font-size: 14px;
  color: #4d4d4d;
  background: linear-gradient(90deg, rgba(22, 191, 108, 0.08), rgba(17, 180, 120, 0.08));
}
.head-search input::placeholder { color: #9aa3ad; }
.head-search button {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  min-width: 58px;
  height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 18px;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
  white-space: nowrap;
}
.head-search button:hover { background: var(--primary-deep); }

.site-head .menu-btn {
  display: none;
  margin-left: 10px;
}

/* —— 首页精品：黄/青斜切条 —— */
.feat {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 36px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.feat__hot {
  position: relative;
}
.feat__hot-ribbon {
  position: absolute;
  top: 10px;
  left: -26px;
  z-index: 5;
  width: 88px;
  padding: 3px 0;
  background: #ff7a00;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.06em;
  transform: rotate(-45deg);
}

.feat__hot-stage {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 128px;
  padding: 16px 8px 14px 16px;
  overflow: hidden;
}
.feat__hot-skew {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.feat__hot-skew-y,
.feat__hot-skew-g {
  position: absolute;
  inset: 0;
  display: block;
}
.feat__hot-skew-y {
  background: #ffd000;
  clip-path: polygon(0 0, 53% 0, 47% 100%, 0 100%);
}
.feat__hot-skew-g {
  background: #26cfc5;
  clip-path: polygon(53% 0, 100% 0, 100% 100%, 47% 100%);
}
.feat__hot-skew::after {
  content: "";
  position: absolute;
  top: -8%;
  left: 49%;
  width: 3px;
  height: 116%;
  background: #fff;
  transform: skewX(-10deg);
}

.feat__viewport {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
}
.feat__page {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 6px 2px;
}
.feat__page[hidden] { display: none; }

.feat__rail {
  position: relative;
  z-index: 1;
  width: 36px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-right: 4px;
}
.feat__rail-btn {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 4px;
  background: #fff;
  color: #666;
  font-size: 11px;
  line-height: 30px;
  padding: 0;
  cursor: pointer;
}
.feat__rail-btn:hover {
  color: #26cfc5;
}

.feat__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  color: inherit;
  min-width: 0;
}
.feat__item:hover { color: inherit; }
.feat__ico {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}
.feat__name {
  font-size: 12px;
  color: #333;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.2;
}

.feat__line {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px 10px;
}
.feat__line + .feat__line {
  border-top: 1px dotted #e5e5e5;
}
.feat__line-label {
  flex-shrink: 0;
  width: 40px;
  padding-top: 5px;
  font-size: 14px;
  font-weight: 700;
  color: #333;
  white-space: nowrap;
}
.feat__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}
.feat__tags a {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 11px;
  border-radius: 14px;
  border: 1px solid #e0e0e0;
  background: #fff;
  color: #555;
  font-size: 12px;
  white-space: nowrap;
}
.feat__tags a:hover {
  color: #26cfc5;
  border-color: #26cfc5;
}

@media (max-width: 560px) {
  .feat__page { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .feat__line { flex-direction: column; gap: 8px; padding: 10px 12px; }
  .feat__hot-ribbon {
    top: 8px;
    left: -30px;
    width: 80px;
    font-size: 11px;
  }
}

@media (max-width: 1100px) {
  .feat__page { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .feat__hot-skew-y { clip-path: polygon(0 0, 100% 0, 100% 50%, 0 50%); }
  .feat__hot-skew-g { clip-path: polygon(0 50%, 100% 50%, 100% 100%, 0 100%); }
  .feat__hot-skew::after {
    left: 0;
    top: 49.5%;
    width: 100%;
    height: 3px;
    transform: none;
  }
  .main-nav__link { font-size: 16px; padding: 0 10px; }
  .head-search input { width: 220px; }
  .mega { width: 480px; }
  .mega a { width: 33.33%; }
}
@media (max-width: 900px) {
  .main-nav { display: none; }
  .main-nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 0;
    right: 0;
    top: 88px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 12px 16px 20px;
    height: auto;
    align-items: stretch;
    box-shadow: var(--shadow);
    z-index: 180;
  }
  .main-nav.is-open .main-nav__item {
    height: auto;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
  }
  .main-nav.is-open .main-nav__link {
    height: 44px;
    padding: 0 12px;
  }
  .main-nav.is-open .main-nav__link::after { display: none; }
  .main-nav.is-open .mega {
    position: static;
    transform: none;
    display: none;
    width: 100%;
    box-shadow: none;
    border: 0;
    padding: 4px 8px 12px;
  }
  .main-nav.is-open .main-nav__item.is-mega-open .mega { display: flex; }
  .site-head .menu-btn { display: flex; }
  .site-head__inner { height: 68px; position: relative; }
  .feat__ico { width: 52px; height: 52px; border-radius: 10px; }

  /* 搜索聚焦放大，方便输入 */
  .head-search {
    transition: flex 0.25s, width 0.25s;
  }
  .head-search input {
    width: 150px;
    transition: width 0.25s;
  }
  .site-head__inner.is-search-focus .brand,
  .site-head__inner.is-search-focus .menu-btn {
    display: none;
  }
  .site-head__inner.is-search-focus .head-search {
    flex: 1;
    width: 100%;
    margin-left: 0;
  }
  .site-head__inner.is-search-focus .head-search input {
    width: 100%;
    height: 44px;
    font-size: 16px; /* 避免 iOS 自动放大 */
  }
  .site-head__inner.is-search-focus .head-search button {
    height: 36px;
    min-width: 64px;
  }
}


/* ========== Detail page — 最新资讯（侧栏）& 最新推荐 ========== */
.side-news {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.side-news__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
}
.side-news__item:first-child { padding-top: 0; }
.side-news__item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.side-news__item:hover { color: inherit; }
.side-news__item b {
  font-size: 14px;
  font-weight: 750;
  line-height: 1.45;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.side-news__item:hover b { color: var(--primary-deep); }
.side-news__item time {
  font-size: 12px;
  color: #aaa;
}

/* 最新游戏 — 横向卡片滚动 */
.latest-scroll__track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 4px 2px 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(22, 191, 108, 0.45) transparent;
}
.latest-scroll__track::-webkit-scrollbar { height: 6px; }
.latest-scroll__track::-webkit-scrollbar-thumb {
  background: rgba(22, 191, 108, 0.45);
  border-radius: 999px;
}
.latest-scroll__card {
  flex: 0 0 148px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 18px 12px 14px;
  border-radius: 18px;
  background: #f7faf8;
  border: 1px solid var(--line);
  scroll-snap-align: start;
  color: inherit;
  transition: transform 0.25s var(--ease), border-color 0.2s, background 0.2s;
}
.latest-scroll__card:hover {
  color: inherit;
  transform: translateY(-3px);
  border-color: rgba(22, 191, 108, 0.3);
  background: #fff;
}
.latest-scroll__ico {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 6px 18px rgba(22, 80, 50, 0.1);
}
.latest-scroll__name {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}
.latest-scroll__card:hover .latest-scroll__name { color: var(--primary-deep); }
.latest-scroll__meta {
  font-size: 12px;
  color: var(--muted);
}
.latest-scroll__date {
  margin-top: auto;
  font-size: 11px;
  font-weight: 700;
  color: var(--primary-deep);
  background: var(--primary-soft);
  padding: 3px 8px;
  border-radius: 999px;
}

/* 最新应用 — 列表行式 */
.latest-rows {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.latest-rows__item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  padding: 12px 10px;
  border-radius: 14px;
  color: inherit;
  transition: background 0.2s;
}
.latest-rows__item:hover {
  color: inherit;
  background: var(--primary-soft);
}
.latest-rows__ico {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}
.latest-rows__main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.latest-rows__title-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}
.latest-rows__main b {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.latest-rows__item:hover .latest-rows__main b { color: var(--primary-deep); }
.latest-rows__ver {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
}
.latest-rows__main em {
  font-style: normal;
  font-size: 13px;
  color: var(--muted);
}
.latest-rows__time {
  font-size: 13px;
  color: #aaa;
  white-space: nowrap;
}
.latest-rows__go {
  font-size: 13px;
  font-weight: 800;
  color: var(--primary-deep);
  padding: 7px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(22, 191, 108, 0.35);
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.latest-rows__item:hover .latest-rows__go {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}


@media (max-width: 1100px) {
  .layout { grid-template-columns: 1fr; }
  .game-grid,
  .game-grid--detail { grid-template-columns: repeat(2, 1fr); }
  .related-apps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 10px; }
  .related-apps__ico { width: 64px; height: 64px; border-radius: 16px; }
  .app-card-grid { grid-template-columns: 1fr; }
  .cat-entry { grid-template-columns: repeat(4, 1fr); }
  .detail-hero__body {
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 20px;
    padding: 28px 24px;
  }
  .detail-hero__icon,
  .detail-hero__icon--game {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    font-size: 28px;
  }
  .detail-hero__icon--game { font-size: 16px; padding: 14px; }
  .detail-hero__icon.ico--img,
  .detail-hero__icon--game.ico--img { padding: 0; }
  .detail-hero__cta { grid-column: 1 / -1; max-width: none; width: 100%; }
  .dl-card { position: static; }
  .soft-row,
  .soft-list__head { grid-template-columns: 88px minmax(0, 1fr) 110px; }
  .soft-row__cell--hide,
  .soft-list__head .soft-row__cell--hide { display: none; }
}

@media (max-width: 768px) {
  .wrap { width: min(100% - 28px, var(--max)); }
  .top-links { display: none; }
  .search { max-width: none; }
  .menu-btn { display: flex; }
  .nav { display: none; height: auto; }
  .nav.is-open { display: block; padding: 8px 0; background: #fff; }
  .nav.is-open .nav__inner { flex-direction: column; align-items: stretch; height: auto; }
  .nav.is-open .nav__link { height: 44px; }
  .hero-banner { min-height: 320px; border-radius: 20px; }
  .hero-banner .focus-slide { padding: 28px 24px; }
  .news-strip { grid-template-columns: 1fr; }
  .news-strip__label { padding: 12px; }
  .cat-entry { grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 40px; }
  .game-grid,
  .game-grid--detail { grid-template-columns: 1fr; gap: 16px; }
  .related-apps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .related-apps__ico { width: 60px; height: 60px; border-radius: 16px; }
  .related-apps__name { font-size: 12px; }
  .section-block { margin-bottom: 40px; }
  .section-head h2 { font-size: 26px; }
  .layout { gap: 20px; }
  .crumb { font-size: 13px; margin-bottom: 16px; flex-wrap: wrap; }

  /* 详情页 Hero */
  .detail-hero { border-radius: 20px; margin-bottom: 24px; }
  .detail-hero__body {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px 20px;
  }
  .detail-hero__icon,
  .detail-hero__icon--game {
    width: 104px;
    height: 104px;
    border-radius: 22px;
    font-size: 24px;
    margin: 0 auto;
  }
  .detail-hero__icon--game { font-size: 15px; padding: 12px; }
  .detail-hero__icon.ico--img,
  .detail-hero__icon--game.ico--img { padding: 0; }
  .detail-hero h1 {
    font-size: clamp(22px, 6vw, 28px);
    text-align: center;
    margin-bottom: 12px;
  }
  .detail-hero__tags { justify-content: center; margin-bottom: 14px; }
  .detail-hero__meta {
    justify-content: flex-start;
    gap: 8px 14px;
    font-size: 14px;
  }
  .detail-hero__meta-time { white-space: normal; }
  .detail-hero__cta { width: 100%; max-width: none; }
  .detail-hero__cta .btn--xl { width: 100%; }
  .score-pill { padding: 12px; }
  .score-pill b { font-size: 28px; }

  /* 详情页模块 */
  .mod__hd { padding: 16px 20px; }
  .mod__title { font-size: 18px; }
  .mod__title::before { height: 18px; }
  .mod + .mod { margin-top: 20px; }
  .dl-card { padding: 20px; border-radius: 20px; }
  .dl-card__title { font-size: 20px; }
  .soft-list .soft-row {
    grid-template-columns: 64px minmax(0, 1fr) auto;
    gap: 12px;
    padding: 14px 8px;
  }
  .soft-list .soft-row__icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    font-size: 16px;
  }
  .soft-list .soft-row__name { font-size: 15px; margin-bottom: 4px; }
  .soft-list .soft-row__desc { font-size: 13px; white-space: normal; }
  .soft-list .soft-row .btn { padding: 8px 14px; font-size: 13px; white-space: nowrap; }

  .gallery__thumbs { grid-template-columns: repeat(3, 1fr); }
  .shot-strip { --shot-h: 180px; padding: 0 16px 16px; }
  .detail-info__row { grid-template-columns: 100px minmax(0, 1fr); padding: 14px 16px; }
  .detail-info--compact .detail-info__row { grid-template-columns: 76px minmax(0, 1fr); padding: 12px 14px; }
  .detail-info--compact dt { font-size: 12px; }
  .detail-info--compact dd { font-size: 13px; word-break: break-word; }
  .latest-scroll__card { flex: 0 0 132px; padding: 16px 10px 12px; }
  .latest-scroll__ico { width: 56px; height: 56px; border-radius: 16px; font-size: 12px; }
  .latest-scroll__name { font-size: 12px; min-height: 2.5em; }
  .latest-rows__item {
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 10px 6px;
  }
  .latest-rows__ico { width: 48px; height: 48px; border-radius: 12px; font-size: 11px; }
  .latest-rows__main b { font-size: 14px; }
  .latest-rows__main em { font-size: 12px; }
  .latest-rows__ver { font-size: 12px; }
  .latest-rows__time { display: none; }
  .latest-rows__go { padding: 6px 12px; font-size: 12px; }
  .side-news__item b { font-size: 13px; }
  .article { padding: 24px; }
  .mod__bd { padding: 20px; }
  .rank-table th:nth-child(3),
  .rank-table td:nth-child(3),
  .rank-table th:nth-child(4),
  .rank-table td:nth-child(4) { display: none; }
}

@media (max-width: 480px) {
  .wrap { width: min(100% - 24px, var(--max)); }
  .detail-hero__body { padding: 20px 16px; gap: 16px; }
  .detail-hero h1 { font-size: 20px; }
  .detail-hero__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .chip { font-size: 12px; padding: 6px 12px; }
  .mod__hd { padding: 14px 16px; }
  .mod__bd { padding: 16px; }
  .dl-card { padding: 16px; }
  .dl-card__note { font-size: 11px; word-break: break-all; }
  .soft-list .soft-row {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 10px;
  }
  .soft-list .soft-row .btn { display: none; }
  .soft-list .soft-row__icon { width: 56px; height: 56px; border-radius: 14px; }
  .latest-rows__item {
    grid-template-columns: 44px minmax(0, 1fr);
    grid-template-rows: auto auto;
  }
  .latest-rows__go {
    grid-column: 1 / -1;
    justify-self: stretch;
    text-align: center;
    margin-top: 4px;
  }
  .latest-rows__title-line { flex-wrap: wrap; gap: 4px 8px; }
  .shot-strip { --shot-h: 160px; padding: 0 12px 12px; }
  .game-card__cover-inner { font-size: 18px; padding: 14px; }
}
