:root {
  --ps-blue: #0070cc;
  --ps-dark-blue: #003791;
  --ps-light-blue: #2d7aff;
  --ps-plus-gold: #f5d849;
  --ps-plus-gold-dark: #e28d18;
  --bg-card: #1a1f33;
  --bg-card-hover: #222b4d;
  --text: #e5e7eb;
  --text-dim: #8899bb;
  --badge-plat: #c0c8d8;
  --badge-plat-bg: rgba(192,200,216,0.1);
  --badge-plat-border: rgba(192,200,216,0.2);
  --tier-gold: #ffd700;
  --tier-gold-light: #ffb300;
  --ps4-purple: #b39ddb;
  --ps4-purple-dark: #9575cd;
  --ps5-blue: #1565c0;
  --ps5-blue-dark: #0d47a1;
  /* ══ 主题骨架令牌（深色＝站点现状；浅色层见下） ══ */
  --bg-page: #0a0e1a;
  --bg-sunken: #333645;
  --bg-elev: rgba(20,24,38,0.97);
  --bg-elev-2: #121a30;
  --line-soft: rgba(255,255,255,0.04);
  --line: rgba(255,255,255,0.06);
  --line-strong: rgba(255,255,255,0.10);
  --line-bright: rgba(255,255,255,0.18);
  --surface-1: rgba(255,255,255,0.06);
  --surface-2: rgba(255,255,255,0.08);
  --surface-3: rgba(255,255,255,0.14);
  --shadow: 0 8px 30px rgba(0,0,0,0.4);
  --shadow-xs: 0 2px 8px rgba(0,0,0,0.4);
  --shadow-top: 0 2px 12px rgba(0,0,0,0.4);
  --shadow-menu: 0 10px 32px rgba(0,0,0,0.5);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.6);
  --mask: rgba(0,0,0,0.65);
  --accent-soft: rgba(0,112,204,0.12);
  --accent-soft-2: rgba(0,112,204,0.2);
  --accent-line: rgba(0,112,204,0.3);
  --accent-line-soft: rgba(94,140,255,0.25);
  --accent-glow: 0 4px 20px rgba(0,112,204,0.4);
  --accent-faint: rgba(0,112,204,0.10);
  --glow-deep: rgba(0,55,145,0.25);
  --glow-deep-2: rgba(0,55,145,0.12);
  --glow-1: rgba(0,112,204,0.15);
  --grid: rgba(0,112,204,0.03);
  --gold-ink: #f5d849;
  --green-ink: #3ddc84;
  /* 4 个彩色入口横幅的墨色：浅色层压深；深色值＝站点原硬编码 ⇒ 深色零变化 */
  --red-ink: #ff6b6b;
  --orange-ink: #ffa726;
  --blue-ink: #4d8dff;
  --purple-ink: #b39ddb;
  --icon-faint: rgba(255,255,255,0.3);
  --logo-a: var(--ps-light-blue);
  --logo-b: #ffffff;
  --logo-c: var(--ps-plus-gold);
  /* 平台标签（全站统一：PS4=紫 / PS5=蓝） */
  --plat-ps4-a: #b39ddb;
  --plat-ps4-b: #9575cd;
  --plat-ps5-a: #1565c0;
  --plat-ps5-b: #0d47a1;
  /* ══ 装饰层（四符号 ＋ 四奖杯；深色＝原硬编码值） ══ */
  --sym-tri: #3ba55c;
  --sym-cir: #ff6b6b;
  --sym-squ: #f0c0e0;
  --sym-crs: var(--ps-light-blue);
  --sym-plat: #c0c8d8;
  --sym-gold: #ffd700;
  --sym-silver: #b0b8c0;
  --sym-bronze: #cd7f32;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: var(--bg-page);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── PS主题背景 ── */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background:
    radial-gradient(ellipse 400px 300px at 10% 10%, var(--glow-deep) 0%, transparent 70%),
    radial-gradient(ellipse 500px 350px at 90% 15%, var(--glow-1) 0%, transparent 70%),
    radial-gradient(ellipse 400px 400px at 5% 85%, var(--glow-deep-2) 0%, transparent 70%),
    radial-gradient(ellipse 450px 350px at 95% 80%, var(--accent-faint) 0%, transparent 70%),
    repeating-linear-gradient(0deg, transparent, transparent 40px, var(--grid) 40px, var(--grid) 41px),
    repeating-linear-gradient(90deg, transparent, transparent 40px, var(--grid) 40px, var(--grid) 41px);
  pointer-events: none;
  z-index: 0;
}

/* 按钮符号飘浮背景 */
.ps-symbols {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.ps-symbols span {
  position: absolute;
  font-size: 60px;
  font-weight: 900;
  opacity: 0.06;
  user-select: none;
}
.ps-symbols .tri { color: var(--sym-tri); }
.ps-symbols .cir { color: var(--sym-cir); }
.ps-symbols .squ { color: var(--sym-squ); }
.ps-symbols .crs { color: var(--sym-crs); }
/* 奖杯元素 */
.ps-symbols .trophy { font-size: 48px; }
.ps-symbols .trophy-plat { color: var(--sym-plat); opacity: 0.07; }
.ps-symbols .trophy-gold { color: var(--sym-gold); opacity: 0.07; }
.ps-symbols .trophy-silver { color: var(--sym-silver); opacity: 0.06; }
.ps-symbols .trophy-bronze { color: var(--sym-bronze); opacity: 0.06; }

/* 顶部渐变条纹 */
body::after {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 5px;
  background: linear-gradient(90deg,
    var(--ps-plus-gold) 0%,
    var(--ps-plus-gold-dark) 25%,
    var(--ps-blue) 50%,
    var(--ps-dark-blue) 100%);
  z-index: 100;
}

/* ── Header ── */
header {
  text-align: center;
  padding: 88px 20px 30px;
  position: relative;
  z-index: 1;
}
/* 右上角用户信息 */
#user-info {
  position: absolute;
  top: 8px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 180px;
  padding: 4px 8px 4px 4px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s;
  z-index: 5;
}
#user-info:hover { background: var(--surface-1); }
#user-info .u-avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--surface-2);
  border: 1.5px solid var(--line-strong);
  overflow: hidden; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--icon-faint);
}
#user-info .u-avatar img { width: 100%; height: 100%; object-fit: cover; }
#user-info .u-name {
  font-size: 13px; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
#user-info.bind-cta .u-name { display: none; }
#user-info.bind-cta { width: 38px; height: 38px; padding: 0; gap: 0; justify-content: center; }
@media (max-width: 600px) { #user-info:not(.bind-cta) .u-name { display: none; } #user-info:not(.bind-cta) { width: 38px; height: 38px; padding: 0; gap: 0; justify-content: center; } }
/* 下拉菜单 */
.user-menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  min-width: 160px;
  background: var(--bg-elev);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 6px;
  display: none;
  box-shadow: var(--shadow-menu);
  z-index: 100;
  backdrop-filter: blur(8px);
}
.user-menu.show { display: block; }
.user-menu-item {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
}
.user-menu-item:hover { background: var(--surface-2); }
.user-menu-item .menu-arrow { margin-left: auto; color: var(--text-dim); font-size: 12px; }
.notif-badge {
  min-width: 18px; height: 18px; padding: 0 5px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: #ff4d6d; color: #fff;
  font-size: 11px; font-weight: 800; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.notif-panel {
  position: absolute; top: calc(100% + 8px); right: 0;
  width: 320px; max-height: 420px;
  display: none; flex-direction: column;
  background: var(--bg-elev);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  box-shadow: var(--shadow-menu);
  z-index: 100;
  backdrop-filter: blur(8px);
  overflow: hidden;
}
.notif-panel.show { display: flex; }
.notif-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px;
  font-size: 14px; font-weight: 800;
  border-bottom: 1px solid var(--line);
}
.notif-readall {
  border: none; background: transparent; cursor: pointer;
  color: var(--ps-blue); font-size: 12px; font-weight: 700; font-family: inherit;
  padding: 2px 6px; border-radius: 6px;
}
.notif-readall:hover { background: var(--surface-2); }
.notif-list { overflow-y: auto; max-height: 350px; }
.notif-empty { padding: 26px 14px; text-align: center; color: var(--text-dim); font-size: 12.5px; }
.notif-item {
  display: flex; gap: 10px; padding: 11px 14px;
  cursor: pointer; border-bottom: 1px solid var(--line-soft);
  transition: background 0.15s;
}
.notif-item:last-child { border-bottom: none; }
.notif-item:hover { background: var(--surface-2); }
.notif-item.unread { background: rgba(0,112,204,0.07); }
.notif-item.unread:hover { background: rgba(0,112,204,0.12); }
.notif-ic { font-size: 17px; line-height: 1.3; }
.notif-body { min-width: 0; flex: 1; }
.notif-title { font-size: 13px; font-weight: 700; color: var(--text); }
.notif-title b { color: var(--ps-blue); }
.notif-text {
  font-size: 12px; color: var(--text-dim); margin-top: 3px;
  overflow: hidden; text-overflow: ellipsis; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  word-break: break-all;
}
.notif-time { font-size: 11px; color: var(--text-dim); margin-top: 4px; }
@media (max-width: 480px) {
  .notif-panel { position: fixed; top: 56px; right: 10px; left: 10px; width: auto; }
}
.header-badge-bar {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: 24px;
}
.header-badge-bar span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
}
.header-badge-bar .ps-brand { color: var(--ps-light-blue); }
.header-badge-bar .ps-plus-color { color: var(--gold-ink); }

.ps-logo-symbol {
  display: inline-block;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--ps-blue), var(--ps-dark-blue));
  border-radius: 12px;
  color: #fff;
  font-size: 28px;
  font-weight: 900;
  line-height: 60px;
  text-align: center;
  margin-bottom: 12px;
  position: relative;
}
.ps-logo-symbol::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--ps-plus-gold), var(--ps-plus-gold-dark), var(--ps-blue));
  z-index: -1;
  opacity: 0.5;
}

.header-logo {
  width: fit-content; margin-left: auto; margin-right: auto;
  font-size: 42px;
  font-weight: 800;
  letter-spacing: 3px;
  background: linear-gradient(135deg, var(--logo-a) 0%, var(--logo-b) 50%, var(--logo-c) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 14px;
}
.header-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.header-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: 20px;
  padding: 8px 22px;
  font-size: 14px;
  color: var(--ps-light-blue);
  text-decoration: none;
  transition: all 0.3s;
}
.header-badge:hover {
  background: var(--ps-blue);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--accent-glow);
}
.header-badge svg { width: 18px; height: 18px; }

/* ── 彩蛋动画 ── */
/* ⚠️ 用 ID 选择器:与 .section 特异性相同会按定义顺序取胜(靠后赢),ID 特异性更高必然生效 */
.easter-egg-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
#easter-egg { margin-bottom: 20px; }
.easter-egg-section.revealed {
  opacity: 1;
  transform: translateY(0);
}
.easter-egg-section.revealed .section-title {
  animation: eggBounce 0.6s ease;
}
.easter-egg-section.revealed .video-card:first-child {
  animation: slideInLeft 0.5s 0.2s both ease;
}
.easter-egg-section.revealed .video-card:last-child {
  animation: slideInRight 0.5s 0.3s both ease;
}
@keyframes eggBounce {
  0% { transform: scale(0.3); opacity: 0; }
  50% { transform: scale(1.1); }
  70% { transform: scale(0.95); }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

/* 彩纸粒子容器 */
#confetti-container {
  position: relative;
  height: 0;
  overflow: visible;
  z-index: 2;
  pointer-events: none;
}
.confetti-piece {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  animation: confettiFall 1.2s ease-in forwards;
}
@keyframes confettiFall {
  0% {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: translateY(160px) rotate(720deg);
  }
}

/* ── 热门攻略（与首页卡片网格一致：平铺 1:1 封面 contain 顶满）── */
#hot-games-box .hot-cover img { object-fit: cover; }
.hot-guides-grid { gap: 10px; }
.hot-guide-card {
  flex: 0 0 112px;
  width: 112px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s;
}
.hot-guide-card:hover { transform: translateY(-2px); }
.hot-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-sunken);
}
.hot-cover img { width: 100%; height: 100%; object-fit: contain; display: block; }
.hot-rank {
  position: absolute;
  top: 6px;
  left: 6px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  background: rgba(10,14,26,0.72);
  border-radius: 6px;
  box-shadow: var(--shadow-xs);
  z-index: 2;
}
.hot-rank.r1 { background: linear-gradient(135deg, #ffd700, #ffb300); color: #1a1a1a; }
.hot-rank.r2 { background: linear-gradient(135deg, #dfe4ec, #aab3c2); color: #1a1a1a; }
.hot-rank.r3 { background: linear-gradient(135deg, #e2a76e, #c07a3c); color: #1a1a1a; }
.hot-name {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 600px) {
  .hot-guides-grid { gap: 8px; }
  .hot-guide-card { flex: 0 0 96px; width: 96px; }
  .hot-name { font-size: 11.5px; }
}

/* ── 视频卡片 ── */
.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 600px) {
  .video-grid { grid-template-columns: 1fr; }
}
.video-card {
  display: flex;
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s;
  border: 1px solid var(--line-soft);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.video-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(245,216,73,0.2);
}
.video-card-cover {
  width: 168px;
  min-height: 94px;
  flex-shrink: 0;
  object-fit: cover;
  display: block;
  background: var(--bg-card);
}
.video-card-info {
  flex: 1;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.video-card-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.video-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--gold-ink);
}
.video-card-badge svg {
  width: 14px;
  height: 14px;
}
@media (max-width: 600px) {
  .video-card-cover {
    width: 130px;
    min-height: 73px;
  }
  .video-card-title {
    font-size: 13px;
  }
  .video-card-info {
    padding: 10px 12px;
  }
}

/* ── Section／Card ── */
.container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 20px 60px;
  position: relative;
  z-index: 1;
}
.section { margin-bottom: 34px; }
.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.section-title .icon {
  width: 30px; height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.section-title .icon.hui { background: rgba(245,216,73,0.2); }
.section-title .icon.ruku { background: var(--accent-soft-2); }
.section-title .icon.chuku { background: rgba(255,107,107,0.2); }
.section-title .count {
  margin-left: auto;
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 400;
}
.section-video-links {
  display: flex;
  gap: 8px;
  margin: -8px 0 16px;
  flex-wrap: wrap;
}
.section-video-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  background: rgba(255,77,77,0.15);
  border: 1px solid rgba(255,77,77,0.35);
  text-decoration: none;
  transition: all 0.25s;
  white-space: nowrap;
}
.section-video-link:hover {
  background: rgba(255,77,77,0.35);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255,77,77,0.25);
}
.section-video-link .sv-icon {
  font-size: 13px;
}
@media (max-width: 600px) {
  .section-title { flex-wrap: wrap; gap: 8px; }
  .section-video-links { margin-left: 0; }
  .section-video-link { font-size: 11px; padding: 3px 10px; }
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
  gap: 16px;
}
.card {
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s;
  cursor: default;
  border: 1px solid var(--line-soft);
}
.card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(45,122,255,0.15);
}

/* 封面 */
.card-cover-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--bg-sunken);
}
.card-cover {
  width: 100%; height: 100%; object-fit: contain; display: block;
  animation: coverFadeIn 0.3s ease;
}
@keyframes coverFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.card-cover-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--bg-card), var(--bg-card-hover));
  display: flex; align-items: center; justify-content: center;
  color: var(--text); font-size: 32px; font-weight: 700;
}

/* 档位标签（左上）- 与配图一致 */
.tier-badge-overlay {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 1px;
  box-shadow: var(--shadow-xs);
}
.tier-2 { background: linear-gradient(135deg, #ffd700 0%, #ffb300 100%); color: #1a1a1a; }
.tier-3 { background: linear-gradient(135deg, #4a4a4a 0%, #3a3a3a 100%); color: #ffd700; }
.tier-1 { background: linear-gradient(135deg, #4d83c1 0%, #253f81 100%); color: #fff; }

/* MC评分（右下）- 与配图一致 */
.mc-badge-overlay {
  position: absolute;
  bottom: 8px;
  right: 8px;
  padding: 3px 7px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--shadow-xs);
}
.mc-green { background: rgba(129,199,84,0.85); color: #fff; }
.mc-yellow { background: rgba(245,216,73,0.85); color: #1a1a1a; }
.mc-red { background: rgba(229,115,115,0.85); color: #fff; }
.mc-gray { background: rgba(128,128,128,0.6); color: #ccc; }

.cover-bl {
  position: absolute;
  bottom: 8px;
  left: 8px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* 港服无标签（左下）- 与配图一致 */
.hk-none-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  color: #ffffff;
  box-shadow: var(--shadow-xs);
  white-space: nowrap;
}

/* 信息区 */
.card-info { padding: 10px 12px 12px; }
/* 游戏标题单行显示，太长结尾打… */
.card-name {
  font-size: 13px; font-weight: 600; margin-bottom: 6px;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-tags {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

/* 有白金 badge - 中性灰白风格 */
.badge-has-plat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  background: var(--badge-plat-bg);
  color: var(--badge-plat);
  border: 1px solid var(--badge-plat-border);
  width: 48px;
  box-sizing: border-box;
}

/* 有DLC badge */
.badge-has-dlc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(176,140,224,0.12);
  color: #b08ce0;
  border: 1px solid rgba(176,140,224,0.3);
  width: 48px;
  box-sizing: border-box;
}

/* 公告弹窗 */
.announce-mask {
  position: fixed; inset: 0; z-index: 999;
  background: var(--mask);
  display: none;
  align-items: center; justify-content: center;
  padding: 24px;
}
.announce-mask.show { display: flex; }
.announce-box {
  max-width: 340px; width: 100%;
  background: linear-gradient(160deg, var(--bg-elev), var(--bg-elev-2));
  border: 1px solid var(--accent-line-soft);
  border-radius: 18px;
  padding: 32px 28px 26px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: announcePop 0.35s ease;
}
@keyframes announcePop {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.announce-icon { font-size: 44px; margin-bottom: 12px; }
.announce-title { font-size: 17px; font-weight: 800; color: var(--gold-ink); margin-bottom: 10px; }
.announce-text { font-size: 13.5px; line-height: 1.7; color: var(--text-dim); margin-bottom: 22px; }
.announce-text b { color: var(--text); }
.announce-btn {
  display: inline-block;
  padding: 9px 40px;
  border-radius: 999px;
  border: none;
  font-size: 14px; font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #00bcff, #0070e0);
  cursor: pointer;
  transition: all 0.2s;
}
.announce-btn:hover { background: var(--ps-light-blue); transform: scale(1.04); }
.announce-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.announce-btn.ghost { background: none; border: 1px solid var(--line-soft-2); color: var(--text-dim); }
.announce-btn.ghost:hover { background: var(--accent-soft); color: var(--text); transform: none; }

/* 平台标签 - 与配图一致 */
.platform-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.plat-ps4 { background: linear-gradient(135deg, var(--plat-ps4-a) 0%, var(--plat-ps4-b) 100%); color: #fff; }
.plat-ps5 { background: linear-gradient(135deg, var(--plat-ps5-a) 0%, var(--plat-ps5-b) 100%); color: #fff; }

.card-actions { display: flex; gap: 4px; flex-wrap: nowrap; align-items: center; }
/* 三项强制一行(有白金/有DLC/攻略),不换行;字号不变，靠压缩 gap/badge 内边距腾空间 */
.badge-has-plat, .badge-has-dlc { flex-shrink: 0; white-space: nowrap; }
.card-guide-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  padding: 2px 4px; border-radius: 4px; font-size: 11px; font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--ps-blue), var(--ps-dark-blue));
  text-decoration: none; transition: all 0.2s;
  flex-shrink: 0; white-space: nowrap;
  width: 48px;
  box-sizing: border-box;
}
.card-guide-btn:hover {
  background: var(--ps-light-blue); transform: scale(1.05);
}
/* 图标禁止被 flex 压缩(宽度 48 固定后内容区小，默认 shrink 会把图标压小) */
.card-guide-btn svg { width: 13px; height: 13px; flex-shrink: 0; }

/* Footer */
footer {
  text-align: center; padding: 16px 20px;
  color: var(--text-dim); font-size: 13px;
  border-top: 1px solid var(--line-soft);
  position: relative; z-index: 1;
}

@media (max-width: 600px) {
  header { padding: 88px 14px 20px; }
  .header-logo { font-size: 28px; }
  .card-grid { grid-template-columns: repeat(auto-fill, minmax(135px, 1fr)); gap: 10px; }
  .container { padding: 0 12px 40px; }
  .section { margin-bottom: 30px; }
}

/* ── 一键回到顶部 ── */
#back-to-top {
  position: fixed; right: 14px; bottom: 20px;
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, #2d7aff, #003791);
  color: #fff; font-size: 20px; line-height: 1;
  border: none; cursor: pointer;
  box-shadow: var(--shadow-top);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s;
  z-index: 900;
  display: flex; align-items: center; justify-content: center;
}
#back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
#back-to-top:hover { background: linear-gradient(135deg, #4d8dff, #003791); transform: translateY(-2px); }

  /* 页脚上方留白统一 */
  .container { padding-bottom: 44px !important; }
  .container > :last-child,
  .container > :last-child > :last-child { margin-bottom: 0 !important; }

/* ══ 浅色主题 ══ */
:root[data-theme="light"] {
  color-scheme: light;
  --bg-page: #f4f6fa;
  --bg-card: #ffffff;
  --bg-card-hover: #eef2f7;
  /* 封面底框：图片是 contain，宽幅图中会露出这圈。深色下它是明显提亮的一圈，
     浅色下须比页面底(#f4f6fa)明显压暗，否则跟页面糊在一起（1.08:1 → 1.37:1） */
  --bg-sunken: #cbd5e5;
  --bg-elev: rgba(255,255,255,0.99);
  --bg-elev-2: #ffffff;
  --line-soft: rgba(15,35,70,0.07);
  --line: rgba(15,35,70,0.10);
  --line-strong: rgba(15,35,70,0.15);
  --line-bright: rgba(15,35,70,0.22);
  --surface-1: rgba(15,35,70,0.04);
  --surface-2: rgba(15,35,70,0.07);
  --surface-3: rgba(15,35,70,0.10);
  --shadow: 0 8px 30px rgba(23,35,61,0.10);
  --shadow-xs: 0 2px 8px rgba(23,35,61,0.10);
  --shadow-top: 0 2px 12px rgba(23,35,61,0.12);
  --shadow-menu: 0 10px 32px rgba(23,35,61,0.14);
  --shadow-lg: 0 20px 60px rgba(23,35,61,0.18);
  --mask: rgba(23,35,61,0.45);
  --accent-soft: rgba(11,107,214,0.09);
  --accent-soft-2: rgba(11,107,214,0.14);
  --accent-line: rgba(11,107,214,0.35);
  --accent-line-soft: rgba(11,107,214,0.28);
  --accent-glow: 0 4px 20px rgba(11,107,214,0.22);
  --accent-faint: rgba(11,107,214,0.08);
  --glow-deep: rgba(0,90,190,0.09);
  --glow-deep-2: rgba(0,112,204,0.06);
  --glow-1: rgba(0,112,204,0.07);
  --grid: rgba(0,112,204,0.02);
  --gold-ink: #b45309;   /* 琥珀金 · 全站统一（原 #a67c00） */
  --green-ink: #0e8a45;
  --red-ink: #d32f2f;
  --orange-ink: #bf4d00;
  --blue-ink: #2563eb;
  --purple-ink: #7e57c2;
  --icon-faint: rgba(15,35,70,0.30);
  --logo-a: #0b6bd6;
  --logo-b: #1b2333;
  --logo-c: #b45309;
  --text: #1b2333;
  --text-dim: #6c7891;
  --badge-plat: #64748b;
  --badge-plat-bg: rgba(100,116,139,0.10);
  --badge-plat-border: rgba(100,116,139,0.26);
  /* 平台标签：PS4 的亮紫(#b39ddb)铺在白卡上跟背景分不开、白字只有 2.4:1 ⇒ 压深一档
     PS5 的深蓝本来就成立，不覆盖 */
  --plat-ps4-a: #7e57c2;
  --plat-ps4-b: #5e35b1;
  /* 装饰层：底白，原来 6% 的亮色几乎不见 ⇒ 换墨色 */
  --sym-tri: #0e8a45;
  --sym-cir: #d32f2f;
  --sym-squ: #a34d86;
  --sym-crs: #0b6bd6;
  --sym-plat: #7f8aa0;
  --sym-gold: #b58900;
  --sym-silver: #78828f;
  --sym-bronze: #9c5a1e;
}

/* 浅色下装饰层：符号换墨色后 6% 偏淡，略提；奖杯是彩色字形，只能靠不透明度 */
:root[data-theme="light"] .ps-symbols span            { opacity: 0.085; }
:root[data-theme="light"] .ps-symbols .trophy-plat    { opacity: 0.13; }
:root[data-theme="light"] .ps-symbols .trophy-gold    { opacity: 0.14; }
:root[data-theme="light"] .ps-symbols .trophy-silver  { opacity: 0.13; }
:root[data-theme="light"] .ps-symbols .trophy-bronze  { opacity: 0.13; }

/* ⚠️ 顶栏适配与切换按钮已移交 user.js（自带 --psu-* 令牌 + 注入按钮）—— 这里不再重复 */
/* ══ 首页版式 ══ */
.entry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 1fr;
  gap: 10px;
  margin-bottom: 34px;
}
.entry-grid > a {
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 12px;
  margin-bottom: 0;
  border-radius: 12px;
}
.entry-grid > a::before { display: none; }
.entry-grid > a > div:first-child {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  font-size: 12px;
  line-height: 1.2;
}
.entry-grid > a > div:nth-child(2) > div:first-child {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.entry-grid > a > div:nth-child(2) > div:not(:first-child) { display: none; }
.entry-grid > a > div:nth-child(2) > span { display: none; }
.entry-grid > a > div:nth-child(3) { display: none; }

.rail-wrap { position: relative; }
.scroll-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 2px 0 6px;
}
.scroll-row::-webkit-scrollbar { display: none; }
.scroll-row > * { scroll-snap-align: start; flex: 0 0 auto; }
.video-rail .video-card { width: 300px; flex-direction: column; }
.video-rail .video-card-cover {
  width: 100%;
  aspect-ratio: 16/9;
  height: auto;
  min-height: 0;
}
.video-rail .video-card-info { padding: 10px 12px 12px; }
.rail-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--bg-elev);
  color: var(--text);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  line-height: 1;
  z-index: 3;
  box-shadow: var(--shadow-xs);
}
.rail-wrap:hover .rail-btn { display: flex; }
.rail-btn.prev { left: -12px; }
.rail-btn.next { right: -12px; }
.rail-btn[disabled] { opacity: 0; pointer-events: none; }

.post-featured {
  display: block;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  text-decoration: none;
  color: #fff;
  margin-bottom: 10px;
  transition: all 0.25s;
}
.post-featured:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.post-hero { display: flex; height: 172px; background: var(--bg-sunken); }
.post-hero img { flex: 1; width: 0; height: 100%; object-fit: cover; display: block; }
.post-hero-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6,10,20,0.95) 0%, rgba(6,10,20,0.62) 42%, rgba(6,10,20,0.10) 100%);
}
.post-hero-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px; }
.post-hero-title { font-size: 17px; font-weight: 800; line-height: 1.35; margin-bottom: 6px; color: #fff; }
.post-hero-body .post-meta { color: rgba(255,255,255,0.78); }
.post-hidden, .post-list .post-card.post-hidden { display: none; }
.post-list { display: flex; flex-direction: column; gap: 10px; }
.post-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 13px;
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s;
}
.post-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(245,216,73,0.22);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xs);
}
.post-thumbs { display: flex; gap: 4px; flex: 0 0 auto; }
.post-thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
  background: var(--bg-sunken);
}
.post-main { flex: 1; min-width: 0; }
.post-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.post-meta {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 3px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
}
.post-stat {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-variant-numeric: tabular-nums;
}
.post-stat svg { width: 13px; height: 13px; }
.post-stats {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.post-hero-body .post-stat { color: rgba(255,255,255,0.85); }
.post-tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 5px;
}
.post-tag.hui { background: rgba(245,216,73,0.14); color: var(--gold-ink); }
.post-tag.ruku { background: var(--accent-soft-2); color: var(--blue-ink); }
.post-tag.chuku { background: rgba(255,107,107,0.15); color: var(--red-ink); }
.post-more {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 11px;
  border-radius: 12px;
  border: 1px dashed var(--line-strong);
  background: transparent;
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
}
.post-more:hover { color: var(--text); border-color: var(--line-bright); }

@media (max-width: 600px) {
  .entry-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 28px; }
  .entry-grid > a { flex-direction: column; align-items: flex-start; padding: 11px; gap: 7px; }
  .entry-grid > a > div:first-child { width: 30px; height: 30px; font-size: 11px; border-radius: 8px; }
  .entry-grid > a > div:nth-child(2) > div:first-child { font-size: 12px; }
  .video-rail .video-card { width: calc(50vw - 18px); }
  .rail-btn { display: none !important; }
  .post-hero { height: 140px; }
  .post-hero-title { font-size: 15px; }
  .post-thumbs { display: none; }
}

.player-rail .psc {
  flex: 0 0 auto;
  width: min(92vw, 460px);
  margin: 0;
  --psc-in: 14px;
}
.player-rail .psc-id .n .nm {
  color: inherit;
  text-decoration: none;
}
.player-rail .psc-id .n a.nm {
  pointer-events: auto;
  cursor: pointer;
}
.player-rail .psc-id .n a.nm:hover { text-decoration: underline; text-underline-offset: 2px; }
.player-rail .psc-id .n a.nm:active { opacity: .7; }
.player-rail .player-cta {
  flex: 0 0 auto;
  width: 148px;
  height: 132px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  text-align: center;
  background: linear-gradient(135deg, rgba(245,216,73,0.10), rgba(0,112,204,0.10));
  border: 1px dashed rgba(245,216,73,0.35);
  transition: all 0.25s;
}
.player-cta:hover {
  background: linear-gradient(135deg, rgba(245,216,73,0.16), rgba(0,112,204,0.14));
  transform: translateY(-3px);
  box-shadow: var(--shadow-xs);
}
.player-cta .plus {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(245,216,73,0.15);
  color: var(--gold-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}
.player-cta .t {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}
.player-cta .s {
  font-size: 11px;
  color: var(--text-dim);
}
.platinum-rail .pk-thumb {
  flex: 0 0 auto;
  width: 148px;
  aspect-ratio: 9 / 16;
  padding: 0;
  border: 1px solid rgba(232,198,110,0.26);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-sunken);
  cursor: pointer;
  display: block;
  box-shadow: var(--shadow-xs);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.platinum-rail .pk-thumb:hover {
  transform: translateY(-3px);
  border-color: rgba(232,198,110,0.6);
  box-shadow: 0 12px 26px rgba(0,0,0,0.34), 0 0 18px rgba(232,198,110,0.14);
}
.platinum-rail .pk-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.platinum-rail .pk-cta {
  flex: 0 0 auto;
  width: 148px;
  aspect-ratio: 9 / 16;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 12px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  border-radius: 14px;
  border: 1px dashed rgba(245,216,73,0.4);
  background: linear-gradient(160deg, rgba(245,216,73,0.12), rgba(0,112,204,0.10));
  transition: transform .25s, box-shadow .25s, background .25s;
}
.platinum-rail .pk-cta:hover {
  transform: translateY(-3px);
  background: linear-gradient(160deg, rgba(245,216,73,0.18), rgba(0,112,204,0.14));
  box-shadow: var(--shadow-xs);
}
.platinum-rail .pk-cta-ico {
  width: 46px;
  height: 46px;
  object-fit: contain;
}
.platinum-rail .pk-cta .t {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}
.platinum-rail .pk-cta .s {
  font-size: 11px;
  color: var(--text-dim);
  line-height: 1.5;
}
.pk-view {
  position: fixed;
  inset: 0;
  z-index: 100002;
  background: rgba(4,6,12,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}
.pk-view.show { display: flex; }
.pk-view img {
  max-width: min(94vw, 420px);
  max-height: 86vh;
  width: auto;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.66), 0 0 0 1px rgba(232,198,110,0.32);
}
.pk-view-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.12);
  color: #f0e7d4;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.pk-view-tip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
}
body.pk-view-open { overflow: hidden; }
@media (max-width: 600px) {
  .platinum-rail .pk-thumb, .platinum-rail .pk-cta { width: 124px; }
  .player-rail .player-card { width: 118px; padding: 13px 8px 11px; }
  .player-av { width: 52px; height: 52px; }
}

/* 2026-11-26 新站：月度更新「查看更多」与分页 */
.post-more-wrap { padding: 14px 0 6px; text-align: center; }
a.post-more { text-decoration: none; box-sizing: border-box; }
a.post-more:hover { text-decoration: none; }
