:root {
  --bg: #0a0f14;
  --bg-soft: rgba(10, 15, 20, 0.72);
  --text: #ffffff;
  --text-soft: #b8c2cc;
  --text-muted: #8894a2;
  --border: rgba(255, 255, 255, 0.10);
  --accent: #2E7D32;          /* 绿荫色：足球草坪深草绿 */
  --accent-soft: rgba(46, 125, 50, 0.14);
  --accent-dark: #1B5E20;
  --header-bg: rgba(255, 255, 255, 0.95);
  --header-text: #0a0f14;
  --card-bg: rgba(12, 17, 24, 0.82);
  --card-bg-solid: #0c1118;
  --max-width: 1180px;
  --radius: 12px;
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* ===== 全屏深色球场背景 =====
   使用固定 background-attachment: fixed + cover 保证整张图铺满视口。
   如需替换：把 public/images/hero-bg.jpg 换成你想要的世界杯/球星图。
*/
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  background: var(--bg);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(10,15,20,0.45) 0%, rgba(10,15,20,0.65) 50%, rgba(10,15,20,0.88) 100%),
    url('/images/hero-bg.jpg') center/cover no-repeat fixed;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at 50% 0%, rgba(255,255,255,0.06), transparent 55%);
}

a { color: var(--accent); text-decoration: none; }

/* ===== 进入遮罩：绕过浏览器自动播放限制，提供合规开声入口 ===== */
.enter-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 12, 9, 0.86);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}
.enter-gate.show {
  opacity: 1;
  pointer-events: auto;
}
.enter-card {
  text-align: center;
  padding: 40px 46px;
  border-radius: 18px;
  background: var(--card-bg-solid);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  max-width: 90vw;
}
.enter-logo {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: .5px;
  margin-bottom: 10px;
}
.enter-logo .brand-reborn { color: var(--accent); }
.enter-logo .brand-football-text { color: #fff; }
.enter-sub {
  color: var(--text-soft);
  font-size: 15px;
  margin: 0 0 22px;
}
.enter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  padding: 13px 30px;
  border-radius: 999px;
  transition: background .2s ease, transform .1s ease;
}
.enter-btn:hover { background: var(--accent-dark); }
.enter-btn:active { transform: scale(.97); }
.enter-hint {
  color: var(--text-muted);
  font-size: 13px;
  margin: 16px 0 0;
}
a:hover { text-decoration: underline; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* ===== Header：参考图风格，白色圆角浮岛 ===== */
header.site {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 1160px;
  z-index: 100;
}
.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--header-bg);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 999px;
  padding: 10px 22px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.35);
  backdrop-filter: blur(12px);
  transition: background .25s ease, box-shadow .25s ease, opacity .25s ease;
}
/* 页面下拉（PC 滚轮 / 手机拖动）时：整条页头变玻璃态透明；回到顶部恢复不透明 */
header.site.scrolled .header-inner {
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
  opacity: 0.9;
}
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: transparent;
  border: none;
  border-radius: 999px;
  cursor: pointer;
}
.menu-toggle:hover { background: rgba(0,0,0,0.06); }
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--header-text);
  border-radius: 2px;
}
.brand {
  color: var(--accent);
  font-weight: 900;
  font-size: 1.3rem;
  letter-spacing: .3px;
  white-space: nowrap;
}
.brand:hover { text-decoration: none; opacity: .85; }

/* 酷炫足球风格品牌文字：Reborn 渐变发光 + Football 深色稳重 */
.brand-football {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 1.25rem;
  line-height: 1;
}
.brand-reborn {
  background: linear-gradient(135deg, #9be15d 0%, #76ff03 45%, #2E7D32 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,0.30));
  font-weight: 900;
}
.brand-football-sep {
  color: var(--accent);
  font-weight: 900;
  margin: 0 1px;
}
.brand-football-text {
  color: var(--header-text);
  font-weight: 900;
  opacity: .92;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  flex-shrink: 0;
}
.header-right .header-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(46, 125, 50, 0.25);
  flex-shrink: 0;
}

/* 页头音乐播放器：头像即“正在播放”封面，右侧上/下曲 */
.music-player { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.music-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.10);
  color: var(--header-text);
  border-radius: 999px;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.music-btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); transform: translateY(-1px); }
.music-prev, .music-next { width: 30px; height: 30px; font-size: 1.25rem; line-height: 1; }
.music-play { width: 38px; height: 38px; padding: 0; overflow: hidden; }
.music-cover { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.music-play.playing .music-cover { animation: musicSpin 4s linear infinite; }
@keyframes musicSpin { to { transform: rotate(360deg); } }
.music-meta { display: flex; flex-direction: column; justify-content: center; line-height: 1.15; max-width: 150px; }
.music-title { font-size: .78rem; font-weight: 700; color: var(--header-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.music-cat { font-size: .66rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.site-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.site-nav a {
  color: var(--header-text);
  opacity: .85;
  font-size: .92rem;
  font-weight: 600;
  padding: 7px 13px;
  border-radius: 999px;
  transition: background .15s, opacity .15s, transform .15s;
}
.site-nav a:hover { background: rgba(0,0,0,0.08); opacity: 1; text-decoration: none; transform: translateY(-1px); }

.lang-select {
  background: rgba(0,0,0,0.05);
  color: var(--header-text);
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: .85rem;
  cursor: pointer;
  font-weight: 600;
}
.lang-select option { color: #111; }

/* Telegram 联系图标 + 二维码悬停 */
.contact-trigger {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.06);
  cursor: pointer;
  transition: background .15s, transform .15s;
}
.contact-trigger:hover { background: rgba(0,0,0,0.12); transform: translateY(-1px); }
.contact-trigger img { width: 22px; height: 22px; object-fit: contain; }
.contact-trigger .qr-popup {
  position: absolute;
  top: 50px;
  right: 0;
  width: 190px;
  height: 190px;
  padding: 10px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s, transform .2s, visibility .2s;
  pointer-events: none;
  z-index: 200;
}
.contact-trigger:hover .qr-popup { opacity: 1; visibility: visible; transform: translateY(0); }
.contact-trigger .qr-popup img { width: 100%; height: 100%; object-fit: contain; border-radius: 8px; }

/* 固定 header 占位的安全距离 */
main { padding: 96px 0 60px; min-height: 70vh; }

/* ===== 首页全宽轮播（图片铺满） ===== */
.hero-wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}
.hero-carousel {
  position: relative;
  width: 100%;
  height: 520px;
  min-height: auto;
  max-height: 640px;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: #000;
}
.carousel-track { display: flex; height: 100%; transition: transform .7s ease-in-out; will-change: transform; }
.carousel-slide { min-width: 100%; height: 100%; position: relative; }
.carousel-slide img.carousel-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.carousel-slide img.carousel-media {
  /* 普通轮播：仅淡入，不缩放、不缓动 */
  animation: carouselFadeIn .8s ease both;
}
@keyframes carouselFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 90px 0 70px;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.35) 60%, transparent 100%);
  color: #fff;
}
.carousel-caption .container { display: flex; flex-direction: column; align-items: flex-start; }
.carousel-caption h2 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  font-weight: 900;
  text-shadow: 0 2px 14px rgba(0,0,0,0.7);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.carousel-caption h2 span { color: var(--accent); }
.carousel-caption p { margin: 0 0 22px; font-size: 1.2rem; opacity: .92; max-width: 620px; text-shadow: 0 1px 6px rgba(0,0,0,0.6); }
.carousel-caption .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
  transition: transform .15s, box-shadow .15s, background .15s;
}
.carousel-caption .btn:hover { transform: translateY(-2px); box-shadow: 0 8px 26px rgba(0,0,0,0.45); text-decoration: none; background: var(--accent-dark); }

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(12, 17, 24, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  transition: background .15s, border-color .15s, transform .15s, opacity .15s;
  z-index: 5;
  opacity: 0.82;
}
.carousel-btn:hover { background: var(--accent); border-color: var(--accent); opacity: 1; transform: translateY(-50%) scale(1.06); }
.carousel-btn.prev { left: 22px; }
.carousel-btn.next { right: 22px; }
.carousel-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
}
.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  padding: 0;
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  transition: background .15s, transform .15s;
}
.carousel-dot:hover { transform: scale(1.15); }
.carousel-dot.active { background: var(--accent); }

@media (max-width: 900px) {
  .hero-carousel { height: 380px; }
  .carousel-btn { width: 42px; height: 42px; font-size: 1.5rem; }
  .carousel-btn.prev { left: 14px; }
  .carousel-btn.next { right: 14px; }
}
@media (max-width: 560px) {
  .hero-wrapper { padding: 0 12px; }
  .hero-carousel { height: 260px; border-radius: 16px; }
  .carousel-caption { padding: 40px 0 30px; }
  .carousel-caption h2 { font-size: clamp(1.4rem, 6.5vw, 2rem); }
  .carousel-caption p { font-size: .95rem; margin-bottom: 14px; }
  .carousel-caption .btn { padding: 9px 18px; }
}

/* ===== 首页两栏布局 ===== */
.home-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  align-items: start;
  padding-top: 28px;
}
@media (max-width: 900px) {
  .home-grid { grid-template-columns: 1fr; }
  .home-sidebar { order: 2; }
  .home-main { order: 1; }
}

/* ===== 区块标题 ===== */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}
.section-title { font-size: 1.4rem; margin: 0; color: var(--text); font-weight: 800; }
.section-title span { color: var(--accent); }
.section-more { font-size: .95rem; font-weight: 700; color: #ffffff; }
.section-more:hover { color: var(--accent); text-decoration: none; }
.more a { color: #ffffff; }
.more a:hover { color: var(--accent); }

/* ===== 文章卡片（横向长方形 + 间距 + 圆角 + 悬停变色） ===== */
.post-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 18px; }
.post-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: stretch;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card-bg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
  transition: background .15s, border-color .15s, transform .15s;
}
.post-card:hover { background: rgba(20, 27, 38, 0.92); border-color: var(--accent); transform: translateY(-3px); }
.post-card .post-thumb-wrap {
  width: 220px;
  height: 100%;
  overflow: hidden;
  background: #1a2028;
  flex-shrink: 0;
}
.post-card .post-thumb { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card .post-body { padding: 18px 20px; display: flex; flex-direction: column; flex: 1; min-width: 0; }
.post-card .post-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.post-card h2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-card .desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-card .cat-badge {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
}
.post-card .post-date { color: var(--text-muted); font-size: .85rem; }
.post-card h2 { margin: 0 0 8px; font-size: 1.18rem; line-height: 1.35; }
.post-card h2 a { color: var(--text); }
.post-card h2 a:hover { color: var(--accent); text-decoration: none; }
.post-card .desc { color: var(--text-soft); margin: 0; font-size: .95rem; line-height: 1.55; flex: 1; }
.post-card .post-stats {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
  color: var(--text-muted);
  font-size: .85rem;
}
.post-card .post-stats span { display: inline-flex; align-items: center; gap: 5px; }
.post-card .post-stats svg { width: 16px; height: 16px; opacity: .75; }

@media (max-width: 640px) {
  .post-card { grid-template-columns: 1fr; }
  .post-card .post-thumb-wrap { width: 100%; aspect-ratio: 16 / 9; height: auto; }
}

.tags { margin-top: 10px; }
.tag {
  display: inline-block;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px 11px;
  font-size: .75rem;
  color: var(--text-soft);
  margin-right: 6px;
  margin-bottom: 4px;
  font-weight: 600;
  transition: background .15s, border-color .15s;
}
.tag:hover { background: var(--accent-soft); border-color: var(--accent); text-decoration: none; color: var(--text); }

.more { margin-top: 22px; }
.empty { color: var(--text-soft); margin-top: 18px; }
.gear-rating .empty,
.rating-detail-score .empty { margin: 0; display: inline-block; }

/* ===== 侧边栏小部件 ===== */
.sidebar-widget {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}
.sidebar-widget h3 { margin: 0 0 14px; font-size: 1.05rem; color: var(--text); font-weight: 700; }
.search-input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.08);
  color: var(--text);
  font-size: .95rem;
}
.search-input::placeholder { color: var(--text-muted); }
.search-input:focus { outline: none; border-color: var(--accent); background: rgba(255,255,255,0.12); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud .tag { margin: 0; cursor: pointer; }

.rank-list { list-style: none; padding: 0; margin: 0; }
.rank-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: .92rem;
}
.rank-list li:last-child { border-bottom: none; }
.rank-list .pos {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  font-size: .8rem;
  margin-right: 10px;
}
.rank-list .team { flex: 1; color: var(--text); }
.rank-list .pts { font-weight: 700; color: var(--text-muted); }

.gear-list { display: flex; flex-direction: column; gap: 14px; }
.gear-item { display: flex; gap: 12px; align-items: center; }
.gear-item img { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; background: #1a2028; }
.gear-item .gear-info { flex: 1; }
.gear-item .gear-name { font-size: .92rem; color: var(--text); font-weight: 600; }
.gear-item .gear-price { font-size: .85rem; color: var(--accent); font-weight: 700; }

/* ===== 分页 ===== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  background: var(--card-bg);
  color: var(--text);
  border: 1px solid var(--border);
  transition: background .15s, color .15s, transform .15s;
}
.pagination a:hover { background: var(--accent); color: #fff; text-decoration: none; transform: translateY(-2px); }
.pagination .current { background: var(--accent); color: #fff; }
.pagination .disabled { opacity: .45; pointer-events: none; }

/* ===== 文章详情 ===== */
.article { background: var(--card-bg); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); border: 1px solid var(--border); backdrop-filter: blur(6px); }
.article h1 { font-size: 1.9rem; margin: 0 0 10px; color: var(--text); }
.article .meta { color: var(--text-muted); font-size: .9rem; margin-bottom: 18px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.article .meta span { display: inline-flex; align-items: center; gap: 4px; }
.article .featured-image { width: 100%; border-radius: var(--radius); margin-bottom: 22px; }
.article .prose { font-size: 1.05rem; line-height: 1.75; color: var(--text-soft); }

.prose img { max-width: 100%; border-radius: var(--radius); }
.prose h2, .prose h3 { color: var(--text); }
.prose pre {
  background: #0f141a;
  padding: 14px 16px;
  border-radius: var(--radius);
  overflow: auto;
  border: 1px solid var(--border);
  color: var(--text-soft);
}
.prose code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; background: rgba(255,255,255,0.08); padding: 2px 5px; border-radius: 4px; }
.prose blockquote {
  border-left: 3px solid var(--accent);
  margin: 1em 0;
  padding: .2em 1em;
  color: var(--text-soft);
  background: rgba(255,255,255,0.05);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.prose table { border-collapse: collapse; width: 100%; }
.prose th, .prose td { border: 1px solid var(--border); padding: 8px 10px; color: var(--text-soft); }
.prose th { color: var(--text); background: rgba(255,255,255,0.06); }

.giscus { margin-top: 48px; }

/* ===== 文章点赞 ===== */
.like-box {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
  padding: 18px 20px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}
.like-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s, transform .15s, opacity .15s;
}
.like-btn:hover { background: var(--accent-dark); transform: translateY(-2px); }
.like-btn.liked { background: var(--accent-dark); cursor: default; opacity: .85; }
.like-btn.liked:hover { transform: none; }
.like-count { display: inline-flex; align-items: center; gap: 6px; color: var(--text-soft); font-size: .95rem; font-weight: 600; }
.like-count .like-num { color: var(--accent); font-weight: 800; }

/* ===== Footer：与页头同色 ===== */
footer.site {
  background: var(--header-bg);
  color: var(--header-text);
  font-size: .9rem;
  padding: 34px 0 28px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}
.footer-contact { font-size: 1.05rem; color: var(--header-text); font-weight: 700; }
.footer-contact a { color: var(--accent-dark); }
.footer-brands { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.footer-brands a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.10);
  transition: transform .15s, background .15s;
}
.footer-brands a:hover { transform: translateY(-3px); background: rgba(0,0,0,0.16); }
.footer-brands img { width: 100%; height: 100%; object-fit: cover; }
.footer-brands .brand-initial {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: .8rem;
  color: var(--header-text);
  text-transform: uppercase;
}
.footer-copy { color: var(--header-text); opacity: .7; }
.footer-rss { margin: 4px 0; }
.footer-rss a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--header-text);
  opacity: .88;
  font-weight: 700;
  font-size: .9rem;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(0,0,0,0.06);
  transition: background .15s, opacity .15s, transform .15s, color .15s;
}
.footer-rss a:hover {
  background: var(--accent);
  color: #fff;
  opacity: 1;
  text-decoration: none;
  transform: translateY(-2px);
}
.footer-rss svg { opacity: .9; }

/* ===== 商品评分版块 ===== */
.page-ratings { padding-top: 12px; }
.page-title { font-size: clamp(2rem, 5vw, 2.8rem); margin: 0 0 10px; }
.page-lead { color: var(--text-soft); margin: 0 0 28px; max-width: 720px; }
.rating-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.rating-step {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}
.step-badge {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: .95rem;
  background: var(--accent);
  color: #fff;
}
.step-body h3 { margin: 0 0 6px; font-size: 1.1rem; color: var(--text); }
.step-body p { margin: 0; color: var(--text-soft); font-size: .95rem; line-height: 1.55; }

.gear-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.gear-card {
  display: flex;
  flex-direction: column;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .15s, border-color .15s;
  backdrop-filter: blur(6px);
}
.gear-card:hover { transform: translateY(-4px); border-color: var(--accent); text-decoration: none; }
.gear-card img { width: 100%; height: 180px; object-fit: cover; background: #111820; }
.gear-card-body { padding: 16px; }
.gear-brand { font-size: .8rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; }
.gear-card h3 { margin: 4px 0 8px; font-size: 1.05rem; color: var(--text); }
.gear-rating { display: flex; align-items: center; gap: 3px; color: #f5c542; font-size: 1.1rem; margin-bottom: 8px; }
.gear-rating .half {
  background: linear-gradient(90deg, #f5c542 50%, rgba(255,255,255,.25) 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gear-rating .empty { color: rgba(255,255,255,.25); margin: 0; display: inline-block; }
.gear-rating b { color: var(--text); font-size: .9rem; margin-left: 6px; }
.gear-price { font-size: 1.1rem; font-weight: 800; color: var(--accent); }

.page-rating-detail { padding-top: 12px; }
.rating-detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 36px;
  align-items: center;
  margin-bottom: 36px;
}
.rating-detail-image { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.rating-detail-brand { font-size: .85rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; }
.rating-detail-info h1 { margin: 8px 0 14px; font-size: clamp(1.6rem, 4vw, 2.2rem); }
.rating-detail-score { display: flex; align-items: center; gap: 3px; color: #f5c542; font-size: 1.4rem; margin-bottom: 10px; }
.rating-detail-score .half {
  background: linear-gradient(90deg, #f5c542 50%, rgba(255,255,255,.25) 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.rating-detail-score .empty { color: rgba(255,255,255,.25); margin: 0; display: inline-block; }
.rating-detail-score b { color: var(--text); margin-right: 6px; }
.rating-detail-price { font-size: 1.6rem; font-weight: 800; color: var(--accent); margin-bottom: 20px; }
.btn-accent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(0,0,0,.35);
  transition: background .15s, transform .15s;
}
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-2px); text-decoration: none; }
.rating-detail-review {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}
.rating-detail-review h2 { margin: 0 0 14px; }

.sidebar-widget h3 a { color: var(--text); }
.sidebar-widget h3 a:hover { color: var(--accent); text-decoration: none; }
.gear-item { text-decoration: none; }
.gear-item:hover .gear-name { color: var(--accent); }

@media (max-width: 960px) {
  .gear-grid { grid-template-columns: repeat(2, 1fr); }
  .rating-steps { grid-template-columns: 1fr; }
  .rating-detail-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .header-inner { gap: 10px; padding: 10px 16px; }
  .menu-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--header-bg);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 18px;
    padding: 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
    backdrop-filter: blur(12px);
    z-index: 99;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 10px 12px; font-size: .92rem; }
  .brand { font-size: 1.1rem; }
  .header-avatar { width: 34px; height: 34px; }
  .music-meta { display: none; }
  .music-prev, .music-next { width: 28px; height: 28px; font-size: 1.1rem; }
  .music-play { width: 34px; height: 34px; }
  .gear-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .header-inner { flex-wrap: nowrap; }
  .header-right { margin-left: auto; order: 0; width: auto; justify-content: flex-end; }
  .site-nav { border-radius: 14px; padding: 10px; }
}

/* ===== 首页视频版块 ===== */
.video-section { padding: 16px 0 28px; }
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.video-card {
  display: flex;
  flex-direction: column;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .15s, border-color .15s;
  backdrop-filter: blur(6px);
}
.video-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  text-decoration: none;
}
.video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111820;
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s;
}
.video-card:hover .video-thumb img { transform: scale(1.05); }
.video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.32);
  transition: background .15s;
}
.video-card:hover .video-play { background: rgba(0,0,0,0.48); }
.video-play svg {
  width: 48px;
  height: 48px;
  fill: #fff;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.5));
  transition: transform .15s;
}
.video-card:hover .video-play svg { transform: scale(1.1); }
.video-info { padding: 16px; }
.video-title { margin: 0 0 6px; font-size: 1.05rem; color: var(--text); font-weight: 700; line-height: 1.25; }
.video-desc { margin: 0; color: var(--text-soft); font-size: .9rem; line-height: 1.5; }

/* 视频分页器 */
.video-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}
.vp-btn {
  padding: 8px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card-bg);
  color: var(--text);
  font-size: .92rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .15s, background .15s, opacity .15s;
}
.vp-btn:hover:not(:disabled) { border-color: var(--accent); }
.vp-btn:disabled { opacity: .4; cursor: not-allowed; }
.vp-info { color: var(--text-soft); font-size: .9rem; }

/* 通用按钮 / 居中 */
.btn-primary {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  transition: transform .15s, opacity .15s;
}
.btn-primary:hover { transform: translateY(-2px); opacity: .92; text-decoration: none; }
.text-center { text-align: center; }

/* 视频中转详情页 */
.video-detail { padding: 24px 0 44px; max-width: 880px; }
.vd-back { display: inline-block; margin-bottom: 18px; color: var(--accent); font-weight: 600; }
.vd-back:hover { text-decoration: underline; }
.vd-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}
.vd-thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; background: #111820; }
.vd-body { padding: 26px; }
.vd-badge {
  display: inline-block;
  padding: 4px 13px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .02em;
  margin-bottom: 14px;
}
.vd-title { margin: 0 0 10px; font-size: 1.7rem; color: var(--text); line-height: 1.2; }
.vd-desc { margin: 0 0 22px; color: var(--text-soft); font-size: 1rem; line-height: 1.6; }
.vd-watch {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: transform .15s, opacity .15s;
}
.vd-watch:hover { transform: translateY(-2px); opacity: .92; text-decoration: none; }
.vd-keyword {
  display: inline-block;
  margin-top: 14px;
  padding: 7px 16px;
  border: 1px dashed var(--accent);
  border-radius: 8px;
  background: transparent;
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-decoration: none;
  transition: background .15s, color .15s;
}
.vd-keyword:hover { background: var(--accent); color: #fff; text-decoration: none; }
.vd-note { margin: 16px 0 0; color: var(--text-soft); font-size: .85rem; }

/* ===== related posts (SEO 内链) ===== */
.related-posts { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); }
.related-title { font-size: 1.25rem; margin: 0 0 16px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-card { display: block; text-decoration: none; color: inherit; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--card); transition: transform .15s, box-shadow .15s; }
.related-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.12); text-decoration: none; }
.related-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.related-card-title { display: block; padding: 12px 14px; font-weight: 600; font-size: .95rem; line-height: 1.4; }
@media (max-width: 720px) { .related-grid { grid-template-columns: 1fr; } }

@media (max-width: 960px) {
  .video-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .video-grid { grid-template-columns: 1fr; }
}

/* ===== 侧边栏真实积分榜 ===== */
.standings-widget .standings-select {
  width: 100%;
  margin-bottom: 10px;
  padding: 7px 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: var(--text);
  font-size: .85rem;
}
.standings-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 2px 0 6px;
}
.standings-league {
  font-size: .92rem;
  font-weight: 700;
  color: var(--text);
}
.standings-season {
  font-size: .72rem;
  font-weight: 600;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  padding: 1px 7px;
  border-radius: 999px;
  white-space: nowrap;
}
.standings-caption {
  margin: 0 0 6px;
  font-size: .72rem;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.standings-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .85rem;
}
.standings-table td {
  padding: 5px 4px;
  border-bottom: 1px solid var(--border);
}
.standings-table tr:last-child td { border-bottom: none; }
.standings-table .pos {
  width: 22px;
  color: var(--accent);
  font-weight: 700;
  text-align: center;
}
.standings-table .team { color: var(--text); }
.standings-table .pts {
  text-align: right;
  color: var(--text-soft);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
/* Route announcer */
	.astro-route-announcer {
		position: absolute;
		left: 0;
		top: 0;
		clip: rect(0 0 0 0);
		clip-path: inset(50%);
		overflow: hidden;
		white-space: nowrap;
		width: 1px;
		height: 1px;
	}@keyframes astroFadeInOut {
	from {
		opacity: 1;
	}
	to {
		opacity: 0;
	}
}

@keyframes astroFadeIn {
	from {
		opacity: 0;
		mix-blend-mode: plus-lighter;
	}
	to {
		opacity: 1;
		mix-blend-mode: plus-lighter;
	}
}

@keyframes astroFadeOut {
	from {
		opacity: 1;
		mix-blend-mode: plus-lighter;
	}
	to {
		opacity: 0;
		mix-blend-mode: plus-lighter;
	}
}

@keyframes astroSlideFromRight {
	from {
		transform: translateX(100%);
	}
}

@keyframes astroSlideFromLeft {
	from {
		transform: translateX(-100%);
	}
}

@keyframes astroSlideToRight {
	to {
		transform: translateX(100%);
	}
}

@keyframes astroSlideToLeft {
	to {
		transform: translateX(-100%);
	}
}

@media (prefers-reduced-motion) {
	::view-transition-group(*),
	::view-transition-old(*),
	::view-transition-new(*) {
		animation: none !important;
	}

	[data-astro-transition-scope] {
		animation: none !important;
	}
}
