* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px; /* 粘性导航栏高度 + 留白，锚点不被遮挡 */
}

body {
  font-family: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #f5f7fa;
  color: #2c3e50;
  min-height: 100vh;
  line-height: 1.6;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============== 顶部导航栏（带入场动画） ============== */
@keyframes navbarFadeIn {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes logoFadeIn {
  0%   { opacity: 0; transform: translateX(-8px); }
  60%  { opacity: 0; transform: translateX(-8px); }
  100% { opacity: 1; transform: translateX(0); }
}

/* ========== 导航栏 · 完全长方形 ========== */
header {
  background: #0a0a12;
  color: #fff;
  height: 76px;
  position: sticky;
  top: 0;
  z-index: 100;
  animation: navbarFadeIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
  display: flex;
  align-items: center;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.3s ease,
              background 0.3s ease;
  will-change: transform;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.25),
              0 1px 0 rgba(167, 139, 250, 0.6);
}

/* 顶部装饰线：卡拉彼丘风格 玫红→科技蓝 渐变 */
.header-accent-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg,
    #fc8181 0%,
    #f56565 15%,
    #a78bfa 35%,
    #667eea 55%,
    #4299e1 75%,
    #38b2ac 100%);
  z-index: 101;
}

/* 下滑隐藏导航栏（通过 JS 添加类） */
header.header-hidden {
  transform: translateY(-110%);
  box-shadow: none;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  height: 100%;
  width: 100%;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  animation: logoFadeIn 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
  flex-shrink: 0;
  gap: 12px;
  height: 100%;
}

.logo:hover .logo-img {
  transform: scale(1.03);
}

.logo:hover .logo-text {
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(255, 255, 255, 0.35);
}

/* header高度已固定为76px，logo直接用真实高度，完全不影响导航栏高度 */
.logo-img {
  height: 70px;
  width: auto;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.12));
}

.logo-text {
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 3px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  white-space: nowrap;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

/* ============== 导航链接（下划线动画 / 无图标无按钮背景） ============== */
nav {
  display: flex;
  gap: 0;
  align-items: center;
  flex-wrap: wrap;
}

.nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  padding: 12px 4px;
  margin: 0 14px;
  font-size: 14.5px;
  font-weight: 500;
  cursor: pointer;
  letter-spacing: 0.5px;
  background: transparent;
  border: none;
  border-radius: 0;
  transition: color 0.28s ease;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* 导航图标 */
.nav-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity 0.28s ease;
}

.nav-link:hover .nav-icon { opacity: 1; }
.nav-link.active .nav-icon { opacity: 1; }

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.35);
}

.nav-link:hover {
  color: #fff;
  background: transparent;
  transform: none;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-link.active {
  color: #fff;
  font-weight: 600;
  background: transparent;
}

.nav-link.active::after {
  transform: scaleX(1);
  height: 2.5px;
  background: linear-gradient(90deg, #ffffff 0%, #fef3c7 100%);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* ============ 头图 Hero Banner（大横幅，不满整屏） ============ */
/* 使用固定宽高比横幅：桌面 16:6（约720px@1920宽），大气但不铺满整个屏幕 */
.hero-banner {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 6;
  min-height: 280px;
  overflow: hidden;
  border-radius: 0;
  background: #a7c7ff; /* 插画主色调，极端比例下作背景补色 */
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 30%; /* 偏下对齐，保住下方主要人物 */
  border-radius: 0;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(90deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.7) 28%, rgba(255,255,255,0.25) 52%, rgba(0,0,0,0.05) 100%);
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}

.hero-title {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: 3px;
  margin-bottom: 14px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.hero-subtitle {
  font-size: 17px;
  margin-bottom: 28px;
  color: #e2e8f0;
  letter-spacing: 1.5px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============ 按钮重设计：左上角直角 · 右下角刀切斜切角 ============
   1. 去掉圆角 border-radius → 全直角，仅右下角用 clip-path 切出斜角（刀切效果）
   2. 去掉图标，文字居中
   3. 发光 drop-shadow 跟随 clip-path 形状（贴合切角）
   4. 渐变 + 内高光，增加设计感
*/
.hero-btn {
  position: relative;
  padding: 14px 36px;
  border-radius: 0;           /* 去掉所有圆角，左上角保证直角 */
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s ease, filter 0.3s ease, background 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-height: 48px;
  /* 形状：左上(0,0)直角 右上(100%,0)直角 左下(0,100%)直角，右下角切掉一块（刀切效果） */
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 16px),
    calc(100% - 16px) 100%,
    0 100%
  );
}

/* 主按钮：纯黑底（与导航栏背景色完全一致#0a0a12）+ 白字，黑白简洁 */
.hero-btn-primary {
  background: #0a0a12;
  color: #fff;
  filter: drop-shadow(0 4px 12px rgba(10, 10, 18, 0.32));
}

.hero-btn-primary:hover {
  transform: translateY(-2px);
  background: #111118;
  filter: drop-shadow(0 6px 18px rgba(10, 10, 18, 0.45));
}

/* 幽灵按钮（备用风格） */
.hero-btn-ghost {
  background: rgba(10, 10, 18, 0.6);
  color: #fff;
  border: 1.5px solid rgba(10, 10, 18, 0.3);
  backdrop-filter: blur(10px);
  filter: drop-shadow(0 4px 10px rgba(10, 10, 18, 0.15));
}

.hero-btn-ghost:hover {
  background: rgba(10, 10, 18, 0.78);
  transform: translateY(-2px);
  filter: drop-shadow(0 6px 16px rgba(10, 10, 18, 0.22));
}

/* 次按钮：白色实心 + 纯黑描边 2px（与导航栏黑#0a0a12完全匹配）+ 黑字
   使用 padding-box/border-box 双层背景技巧实现描边，标准 border 无法跟随 clip-path 斜切边。
   这样即使右下角刀切了一个斜角，那道斜切的斜边也会有 2px 黑描边，不会缺一条边 */
.hero-btn-solid {
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(#0a0a12, #0a0a12) border-box;
  color: #0a0a12;
  border: 2px solid transparent;   /* 留 2px 宽度给 border-box 层的黑色描边 */
  filter: drop-shadow(0 4px 12px rgba(10, 10, 18, 0.22));
}

.hero-btn-solid:hover {
  transform: translateY(-2px);
  background:
    linear-gradient(#f8f8f8, #f8f8f8) padding-box,
    linear-gradient(#0a0a12, #0a0a12) border-box;
  filter: drop-shadow(0 6px 20px rgba(10, 10, 18, 0.3));
}

/* Light banner 明亮插画适配 */
.hero-overlay-soft {
  background: linear-gradient(90deg, rgba(255,255,255,0.88) 0%, rgba(255,255,255,0.55) 35%, rgba(255,255,255,0.05) 70%);
}

.hero-content-left {
  align-items: flex-start;
}

.hero-title-dark {
  color: #1a202c;
  text-shadow: 0 2px 6px rgba(255,255,255,0.6);
}

.hero-subtitle-dark {
  color: #4a5568;
  font-weight: 500;
}

/* ============ 内容区块 ============ */
.content-section {
  background: #fff;
  border-radius: 14px;
  padding: 32px;
  margin-bottom: 32px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 14px;
}

.section-hint {
  font-size: 12.5px;
  color: #a0aec0;
}

main {
  padding: 36px 0 48px;
}

.page-title {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 0;
  color: #1a202c;
  padding-bottom: 12px;
  letter-spacing: 0.8px;
  border-bottom: 2px solid #e2e8f0;
  flex: 1;
}

.page-title.no-border {
  border-bottom: none;
  padding-bottom: 0;
}

.tabs {
  display: flex;
  gap: 0;
  background: #fff;
  border-radius: 12px;
  padding: 6px;
  margin-bottom: 24px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  width: fit-content;
}

.tab-btn {
  padding: 10px 24px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #718096;
  transition: all 0.25s ease;
}

.tab-btn.active {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
}

.tab-btn:hover:not(.active) {
  background: #edf2f7;
  color: #2d3748;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  transition: box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.card-video-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  position: relative;
  overflow: hidden;
}

.card-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-rank-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  z-index: 2;
}

.rank-1 { background: linear-gradient(135deg, #f6d365, #fda085); }
.rank-2 { background: linear-gradient(135deg, #c0c4cc, #909399); }
.rank-3 { background: linear-gradient(135deg, #e6a23c, #c68b1d); }
.rank-n { background: rgba(45, 55, 72, 0.75); }

.card-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-title {
  font-size: 15px;
  font-weight: 600;
  color: #1a202c;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-desc {
  font-size: 12.5px;
  color: #718096;
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #a0aec0;
  padding-top: 6px;
  border-top: 1px solid #f0f4f8;
}

.verdict-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.verdict-实锤外挂 { background: #fed7d7; color: #c53030; }
.verdict-高度可疑 { background: #feebc8; color: #c05621; }
.verdict-存疑 { background: #fefcbf; color: #975a16; }
.verdict-大概率正常 { background: #c6f6d5; color: #276749; }
.verdict-绝对清白 { background: #bee3f8; color: #2b6cb0; }
.verdict-暂无投票 { background: #e2e8f0; color: #718096; }

.cheat-score-bar {
  width: 100%;
  height: 6px;
  background: #edf2f7;
  border-radius: 3px;
  overflow: hidden;
  margin-top: 4px;
}

.cheat-score-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.4s ease;
}

.btn-detail {
  display: block;
  text-align: center;
  padding: 12px;
  border-radius: 8px;
  background: #f7fafc;
  color: #4a5568;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
  margin-top: 4px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-detail:hover {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  border-color: transparent;
}

.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: #a0aec0;
}

.empty-state-icon {
  font-size: 64px;
  margin-bottom: 16px;
  opacity: 0.5;
}

/* ============ 外挂封神榜：用户名 / ID / 封号时长 · 横向无缝滚动 ============ */
.banned-scroll-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 6px;
  /* 裁切两侧，让卡片左右滚入滚出自然 */
  mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

.banned-scroll-row {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 6px 0;
}

/* 单行由「主track + 克隆track」组成，两者并排横向排列
   通过 CSS @keyframes 把整块 -translateX(50%)，走完一瞬间回到 0，视觉上无缝循环 */
.banned-scroll-track {
  display: inline-flex;
  gap: 16px;
  white-space: nowrap;
  will-change: transform;
  padding-right: 16px; /* 最后一张和 clone 第一张的衔接间距 */
}
.banned-scroll-track.banned-clone { padding-right: 0; padding-left: 16px; }

/* 上排：向左滚动 */
.banned-scroll-row--a .banned-scroll-track {
  animation: bannedScrollLeft 60s linear infinite;
}
/* 下排：向右滚动（track 本身用 reverse 方向，duration 稍快/稍慢制造差异） */
.banned-scroll-row--b .banned-scroll-track {
  animation: bannedScrollRight 72s linear infinite;
}

/* hover 时暂停滚动，方便用户看名单 */
.banned-scroll-row:hover .banned-scroll-track { animation-play-state: paused; }

@keyframes bannedScrollLeft {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes bannedScrollRight {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* —— 精简卡片：只含 用户名 / ID / 封号时长 三要素（不显示头像、无左侧红边） —— */
.banned-card {
  flex: 0 0 auto;
  width: 320px;
  min-width: 320px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 4px 14px rgba(229, 62, 62, 0.08),
              0 1px 4px rgba(0,0,0,0.04);
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  row-gap: 8px;
  align-items: start;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.banned-card--no-avatar {
  /* 去掉头像后：直接单列，信息占满卡片宽度 */
}
.banned-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(229, 62, 62, 0.16),
              0 2px 6px rgba(0,0,0,0.06);
}

/* 左侧头像（保留样式兼容，但不再渲染） */
.banned-avatar {
  display: none;
}

/* 第一行：用户名 + 时长徽章（并排对齐） */
.banned-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}
.banned-username {
  font-size: 15.5px;
  font-weight: 800;
  color: #1a202c;
  line-height: 1.2;
  letter-spacing: 0.2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 第二行：ID 单独一行 */
.banned-id {
  grid-column: 1 / -1;
  font-size: 12.5px;
  color: #718096;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 封号时长徽章：放在第一行最右 */
.ban-duration {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: 0.2px;
  background: linear-gradient(135deg, #fff5f5, #fed7d7);
  color: #c53030;
  border: 1px solid #feb2b2;
}
.ban-duration.permanent {
  background: linear-gradient(135deg, #1a202c, #742a2a);
  color: #fff;
  border-color: #1a202c;
  box-shadow: 0 2px 6px rgba(197,48,48,0.25);
}

/* 小屏：每张卡片变窄，避免换行（已移除头像，改单列） */
@media (max-width: 768px) {
  .banned-card {
    width: 260px; min-width: 260px; padding: 14px;
    grid-template-columns: 1fr; column-gap: 0; row-gap: 6px;
  }
  .banned-avatar { display: none; }
  .banned-username { font-size: 14.5px; }
  .ban-duration { font-size: 11.5px; padding: 3px 9px; }
  .banned-scroll-wrap { gap: 10px; }
}
@media (max-width: 420px) {
  .banned-card { width: 240px; min-width: 240px; padding: 12px 14px; }
}

/* 上传页 */
.upload-form {
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.form-group {
  margin-bottom: 22px;
}

.form-label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 8px;
}

.form-label .required {
  color: #e53e3e;
  margin-left: 4px;
}

.form-input, .form-textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
  color: #2d3748;
  background: #f7fafc;
  transition: all 0.2s ease;
  font-family: inherit;
}

.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: #667eea;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(102,126,234,0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.upload-area {
  border: 2px dashed #cbd5e0;
  border-radius: 12px;
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  background: #f7fafc;
}

.upload-area.dragover,
.upload-area:hover {
  border-color: #667eea;
  background: #edf2ff;
}

.upload-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

.upload-hint {
  color: #718096;
  font-size: 13px;
  margin-top: 8px;
}

.uploaded-file {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: #edf2ff;
  border-radius: 10px;
  margin-top: 14px;
  border: 1px solid #bee3f8;
}

.uploaded-file .fname {
  flex: 1;
  font-size: 13px;
  font-weight: 500;
  color: #2d3748;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.uploaded-file .remove-btn {
  padding: 4px 10px;
  background: #fed7d7;
  color: #c53030;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
}

.submit-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(102,126,234,0.3);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(102,126,234,0.4);
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* 详情页 */
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 4fr);
  gap: 24px;
  align-items: start;
  max-width: 1220px;
  margin: 0 auto;
}

.detail-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.video-player-wrap {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  position: sticky;
  top: 88px;   /* 视频在滚动时吸顶，不要跑到导航栏下面 */
}

.video-player-wrap video {
  width: 100%;
  max-height: 640px;
  display: block;
  background: #000;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

/* 对局回放文件下载按钮 */
.replay-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity .2s, transform .2s;
  min-height: 44px;
}
.replay-link-btn:hover { opacity: .9; transform: translateY(-1px); }

.video-info {
  padding: 24px 26px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.video-title {
  font-size: 20px;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 10px;
  line-height: 1.4;
}

.video-desc {
  font-size: 14px;
  color: #4a5568;
  margin-bottom: 16px;
  white-space: pre-wrap;
}

.video-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: #a0aec0;
  font-size: 13px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0f4f8;
}

/* 投票区 */
.vote-section {
  background: #fff;
  border-radius: 12px;
  padding: 26px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.section-title {
  font-size: 17px;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.stats-overview {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 18px;
  background: linear-gradient(135deg, #f5f7fa, #edf2f7);
  border-radius: 10px;
  margin-bottom: 22px;
}

.cheat-score-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.verdict-info {
  flex: 1;
}

.verdict-info .verdict {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.verdict-info .total-votes {
  font-size: 13px;
  color: #718096;
}

.vote-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 26px;
}

.vote-btn {
  padding: 16px 14px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  overflow: hidden;
  min-height: 48px;
}

.vote-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.vote-btn:disabled {
  cursor: not-allowed;
  opacity: 0.75;
}

.vote-btn.selected {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.vote-btn.vote-yes { border-color: #fed7d7; }
.vote-btn.vote-yes:hover:not(:disabled) { border-color: #feb2b2; background: #fff5f5; }
.vote-btn.vote-yes.selected { border-color: #fc8181; background: #fff5f5; }

.vote-btn.vote-maybe { border-color: #feebc8; }
.vote-btn.vote-maybe:hover:not(:disabled) { border-color: #fbd38d; background: #fffaf0; }
.vote-btn.vote-maybe.selected { border-color: #f6ad55; background: #fffaf0; }

.vote-btn.vote-maybe-no { border-color: #c6f6d5; }
.vote-btn.vote-maybe-no:hover:not(:disabled) { border-color: #9ae6b4; background: #f0fff4; }
.vote-btn.vote-maybe-no.selected { border-color: #68d391; background: #f0fff4; }

.vote-btn.vote-no { border-color: #bee3f8; }
.vote-btn.vote-no:hover:not(:disabled) { border-color: #90cdf4; background: #ebf8ff; }
.vote-btn.vote-no.selected { border-color: #63b3ed; background: #ebf8ff; }

.vote-label {
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.vote-bar-wrap {
  height: 6px;
  background: #edf2f7;
  border-radius: 3px;
  overflow: hidden;
}

.vote-bar-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.5s ease;
}

.fill-yes { background: linear-gradient(90deg, #fc8181, #f56565); }
.fill-maybe { background: linear-gradient(90deg, #f6ad55, #ed8936); }
.fill-maybe-no { background: linear-gradient(90deg, #68d391, #48bb78); }
.fill-no { background: linear-gradient(90deg, #63b3ed, #4299e1); }

.vote-count {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  font-weight: 600;
  color: #718096;
  background: rgba(255,255,255,0.9);
  padding: 3px 8px;
  border-radius: 5px;
}

/* ======== 主按钮（共用） ======== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 10px rgba(102,126,234,0.25);
  min-height: 44px;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(102,126,234,0.35); }
.btn-primary:active { transform: translateY(0); }

.btn-lg {
  padding: 13px 26px;
  font-size: 15.5px;
  border-radius: 12px;
  width: 100%;
}

/* ======== 详情页 summary：4个小比例条 ======== */
.vote-mini-bars {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.mini-bar-row {
  display: grid;
  grid-template-columns: 100px 1fr 50px;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
}
.mini-bar-label {
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.label-yes { color: #e53e3e; }
.label-maybe { color: #dd6b20; }
.label-maybe-no { color: #38a169; }
.label-no { color: #3182ce; }

.mini-bar {
  height: 7px;
  background: #edf2f7;
  border-radius: 4px;
  overflow: hidden;
}
.mini-bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.5s ease;
  width: 0;
}
.mini-bar-pct {
  text-align: right;
  font-weight: 700;
  color: #4a5568;
}

.vote-open-btn {
  animation: voteBtnPulse 2.2s ease-in-out infinite;
}
@keyframes voteBtnPulse {
  0%,100% { box-shadow: 0 2px 10px rgba(102,126,234,0.3); }
  50%     { box-shadow: 0 4px 22px rgba(102,126,234,0.55); }
}

/* ======== Modal 弹窗 ======== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15,23,42,0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  width: 100%;
  max-width: 640px;
  max-height: calc(100vh - 40px);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px) scale(0.96);
  opacity: 0;
  transition: transform 0.28s cubic-bezier(0.2,0.9,0.3,1.2), opacity 0.28s ease;
}
.modal-backdrop.is-open .modal-dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid #edf2f7;
  background: linear-gradient(135deg, #f5f7fa, #fff);
}
.modal-header h3 {
  font-size: 17.5px;
  font-weight: 700;
  color: #1a202c;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.modal-close {
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  color: #718096;
  font-size: 28px;
  line-height: 1;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.modal-close:hover {
  background: #edf2f7;
  color: #1a202c;
  transform: rotate(90deg);
}

.modal-body {
  padding: 22px 24px;
  overflow-y: auto;
  flex: 1;
}
.modal-body .vote-options {
  margin-bottom: 8px;
}

.modal-footer {
  padding: 12px 24px 16px;
  text-align: center;
  border-top: 1px solid #edf2f7;
  background: #fafbfc;
}
.modal-hint {
  font-size: 12px;
  color: #a0aec0;
  letter-spacing: 0.3px;
}

/* ======== 详情弹窗（宽版） ======== */
.modal-dialog--detail {
  max-width: 1200px;
  width: calc(100vw - 60px);
  max-height: calc(100vh - 48px);
}
.detail-modal-body {
  padding: 22px 24px 26px;
}
/* Modal 中 detail-layout 占满模态框宽度，去掉全局max-width限制，吸顶改为static避免浮到header上 */
.modal-dialog--detail .detail-layout {
  max-width: 100%;
}
.modal-dialog--detail .video-player-wrap {
  position: static;
  top: auto;
}
.modal-dialog--detail .video-title {
  font-size: 18.5px;
  line-height: 1.4;
}
.modal-dialog--detail .vote-section,
.modal-dialog--detail .video-info {
  padding: 18px 20px;
}
.modal-dialog--detail .section-title {
  font-size: 16px;
  margin-bottom: 14px;
}
.modal-dialog--detail .stats-overview {
  padding: 13px 15px;
  margin-bottom: 18px;
  gap: 16px;
}
.modal-dialog--detail .cheat-score-circle {
  width: 72px;
  height: 72px;
  font-size: 20px;
}
.modal-dialog--detail .vote-options {
  margin-bottom: 0;
}

/* Toast */
.toast {
  position: fixed;
  top: 24px;
  right: 24px;
  padding: 12px 20px;
  background: #2d3748;
  color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  z-index: 9999;
  transform: translateX(120%);
  transition: transform 0.3s ease;
  font-size: 14px;
}

.toast.show {
  transform: translateX(0);
}

.toast.success { background: #38a169; }
.toast.error { background: #e53e3e; }
.toast.info { background: #3182ce; }

/* ============ 四格统计卡 ============ */
.stats-section {
  margin-top: -36px;            /* 向上伸进头图底部一点，更有整体感 */
  position: relative;
  z-index: 10;
  padding: 0 0 36px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px 24px 22px;
  box-shadow: 0 10px 30px rgba(45, 55, 72, 0.10),
              0 2px 6px rgba(45, 55, 72, 0.05);
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 10px;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.3s ease;
  animation: statCardIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}
.stat-card:nth-child(1) { animation-delay: 0.05s; }
.stat-card:nth-child(2) { animation-delay: 0.15s; }
.stat-card:nth-child(3) { animation-delay: 0.25s; }
.stat-card:nth-child(4) { animation-delay: 0.35s; }

@keyframes statCardIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(45, 55, 72, 0.15),
              0 4px 10px rgba(45, 55, 72, 0.08);
}

/* 右上角彩色光斑（装饰） */
.stat-card::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  opacity: 0.12;
  pointer-events: none;
}
.stat-card--blue::before   { background: linear-gradient(135deg, #63b3ed, #3182ce); }
.stat-card--red::before    { background: linear-gradient(135deg, #fc8181, #e53e3e); }
.stat-card--purple::before { background: linear-gradient(135deg, #a78bfa, #7c3aed); }
.stat-card--orange::before { background: linear-gradient(135deg, #f6ad55, #dd6b20); }

.stat-title-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 14px;
}

.stat-title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #2d3748;
  letter-spacing: 0.5px;
}

.stat-en {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #a0aec0;
}

.stat-number {
  position: relative;
  z-index: 2;
  font-size: 44px;
  font-weight: 800;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.stat-card--blue   .stat-number { background-image: linear-gradient(135deg, #4299e1, #2b6cb0); }
.stat-card--red    .stat-number { background-image: linear-gradient(135deg, #f56565, #c53030); }
.stat-card--purple .stat-number { background-image: linear-gradient(135deg, #9f7aea, #6b46c1); }
.stat-card--orange .stat-number { background-image: linear-gradient(135deg, #ed8936, #c05621); }

/* 文字左列 & 表情包右列 */
.stat-left {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stat-emoji {
  position: relative;
  z-index: 2;
  height: 88px;
  width: auto;
  flex-shrink: 0;
  align-self: flex-end;
  object-fit: contain;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.10));
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.stat-card:hover .stat-emoji {
  transform: translateY(-4px) rotate(-4deg) scale(1.05);
}

/* 响应式 */
@media (max-width: 640px) {
  .stats-section { margin-top: -22px; padding: 0 0 24px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat-card { padding: 14px 14px 13px; border-radius: 12px; }
  .stat-title { font-size: 14px; }
  .stat-en { font-size: 9.5px; letter-spacing: 0.8px; }
  .stat-number { font-size: 28px; }
  .stat-card::before { width: 90px; height: 90px; top: -26px; right: -26px; }
  .stat-emoji { height: 52px; }
  .container { padding: 0 16px; }
  header { height: auto; min-height: 64px; padding: 8px 0; display: block; }
  header .container { flex-direction: column; align-items: flex-start; height: auto; gap: 4px; }
  .logo-img { height: 44px; transform: none; }
  .logo { gap: 10px; height: auto; }
  .logo-text { font-size: 17px; letter-spacing: 1px; }
  nav { width: 100%; justify-content: space-between; gap: 0; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .nav-link { margin: 0; padding: 8px 4px; font-size: 12.5px; min-height: 40px; gap: 4px; white-space: nowrap; }
  .nav-icon { width: 15px; height: 15px; }
  .nav-link::after { bottom: 4px; }
  .header-right { gap: 8px !important; }
  .vote-options { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; gap: 16px; }
  .upload-form { padding: 20px; }
  .video-info { padding: 18px; }
  .vote-section { padding: 18px; }
  .stats-overview { flex-direction: column; text-align: center; gap: 14px; padding: 14px; }
  main { padding: 20px 0 32px; }
  .detail-layout { grid-template-columns: 1fr; max-width: 100%; gap: 18px; }
  .detail-side { gap: 18px; }
  .video-player-wrap { position: static; top: auto; }
  .hero-banner { aspect-ratio: 16/9; min-height: auto; }
  .hero-title { font-size: clamp(20px, 5vw, 28px); letter-spacing: 1.2px; margin-bottom: 8px; }
  .hero-subtitle { font-size: clamp(12px, 3vw, 14px); letter-spacing: 0.5px; margin-bottom: 14px; }
  .hero-btn {
    padding: 10px 20px;
    font-size: 13px;
    letter-spacing: 0.6px;
    border-radius: 0;
    gap: 0;
    min-height: 44px;
    /* 移动端按钮更小：刀切宽度缩小到 10px，更协调 */
    clip-path: polygon(
      0 0,
      100% 0,
      100% calc(100% - 10px),
      calc(100% - 10px) 100%,
      0 100%
    );
  }
  .hero-content { padding: 14px; }
  .content-section { padding: 20px; margin-bottom: 20px; border-radius: 10px; }
  .section-header { align-items: flex-start; flex-direction: column; gap: 6px; }
  /* Modal 手机端全屏 */
  .modal-backdrop { padding: 0; }
  .modal-dialog { max-width: 100%; max-height: 100%; border-radius: 0; }
  .modal-header { padding: 14px 16px; }
  .modal-body { padding: 16px; }
  .modal-footer { padding: 10px 16px 14px; }
  .mini-bar-row { grid-template-columns: 84px 1fr 44px; gap: 6px; font-size: 12px; }
  .vote-mini-bars { gap: 8px; margin-bottom: 16px; }
  .cheat-score-circle { width: 68px; height: 68px; font-size: 19px; }
  /* 移动端票数角标缩小 */
  .vote-count { font-size: 11px; padding: 2px 6px; }
}

/* ==============================================================
   🎉 投票特效 VOTE EFFECTS （涟漪 · 脉冲 · 粒子 · 弹跳 · 平滑过渡）
   ============================================================== */

/* ---------- 1) 按钮涟漪 Ripple ---------- */
.vote-btn { overflow: hidden; position: relative; }
.vote-ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: voteRippleExpand 650ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
  background: rgba(255, 255, 255, 0.65);
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: screen;
}
.vote-btn.vote-yes        .vote-ripple { background: rgba(252, 129, 129, 0.45); }
.vote-btn.vote-maybe      .vote-ripple { background: rgba(246, 173, 85, 0.5); }
.vote-btn.vote-maybe-no   .vote-ripple { background: rgba(104, 211, 145, 0.45); }
.vote-btn.vote-no         .vote-ripple { background: rgba(99, 179, 237, 0.5); }
@keyframes voteRippleExpand {
  0%   { transform: scale(0);   opacity: 0.9; }
  80%  { opacity: 0.35; }
  100% { transform: scale(4);   opacity: 0; }
}

/* ---------- 2) 按钮选中弹跳 + 增强发光 ---------- */
.vote-btn.selected {
  animation: voteBtnPop 520ms cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes voteBtnPop {
  0%   { transform: scale(1); }
  25%  { transform: scale(1.085); }
  50%  { transform: scale(0.965); }
  75%  { transform: scale(1.025); }
  100% { transform: scale(1); }
}
.vote-btn.vote-yes.selected      { box-shadow: 0 6px 20px rgba(245, 101, 101, 0.42), 0 0 0 1px rgba(245,101,101,0.3); }
.vote-btn.vote-maybe.selected    { box-shadow: 0 6px 20px rgba(237, 137, 54, 0.42),  0 0 0 1px rgba(237,137,54,0.3); }
.vote-btn.vote-maybe-no.selected { box-shadow: 0 6px 20px rgba(72, 187, 120, 0.42),  0 0 0 1px rgba(72,187,120,0.3); }
.vote-btn.vote-no.selected       { box-shadow: 0 6px 20px rgba(66, 153, 225, 0.42),  0 0 0 1px rgba(66,153,225,0.3); }

/* ---------- 3) 挂值圆环脉冲光环（投票成功后触发一次） ---------- */
.cheat-score-circle { position: relative; }
.cheat-score-circle.score-pulse::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid currentColor;
  color: inherit;
  animation: scorePulseRing 1100ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  pointer-events: none;
}
@keyframes scorePulseRing {
  0%   { transform: scale(0.85); opacity: 0.95; inset: -2px; }
  60%  { opacity: 0.35; }
  100% { transform: scale(1.55); opacity: 0; inset: -18px; }
}
.cheat-score-circle.score-pulse::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: inherit;
  animation: scorePulseGlow 1100ms ease-out;
  filter: blur(10px) brightness(1.2);
  z-index: -1;
}
@keyframes scorePulseGlow {
  0%   { transform: scale(1);    opacity: 0.15; }
  40%  { transform: scale(1.12); opacity: 0.85; }
  100% { transform: scale(1);    opacity: 0; }
}

/* ---------- 4) 进度条填充平滑动画强化（更慢+回弹） ---------- */
.vote-bar-fill {
  transition: width 1100ms cubic-bezier(0.22, 1, 0.36, 1);
  background-size: 200% 100%;
  background-position: 100% 0;
}
.vote-bar-fill.bar-grow-anim {
  animation: barShine 1400ms ease-out;
}
@keyframes barShine {
  0%   { background-position: 100% 0; filter: brightness(1); }
  35%  { filter: brightness(1.5); }
  100% { background-position: -20% 0; filter: brightness(1); }
}

/* ---------- 5) 粒子爆炸 Canvas（叠在最上层） ---------- */
#vote-fx-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
}

/* ---------- 6) 成功 Toast 跳跃动画 ---------- */
.toast.toast-success.toast-bounce {
  animation: toastBounce 750ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes toastBounce {
  0%   { transform: translate(-50%, -10px) scale(0.85); opacity: 0; }
  30%  { transform: translate(-50%, 0) scale(1.07);    opacity: 1; }
  55%  { transform: translate(-50%, -4px) scale(0.97); }
  80%  { transform: translate(-50%, 0) scale(1.015); }
  100% { transform: translate(-50%, 0) scale(1); }
}

/* ---------- 7) 数字滚动高亮（count-up 期闪一次） ---------- */
.count-up-flash {
  animation: countFlash 900ms ease-out;
}
@keyframes countFlash {
  0%   { filter: brightness(1);    color: inherit; }
  30%  { filter: brightness(1.6); }
  100% { filter: brightness(1); }
}

/* ==============================================================
   📌 关于板块 ABOUT SECTION （制作人名单 · 友情链接 · 站点说明）
   ============================================================== */
.about-section {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* —— 子区块容器 —— */
.about-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.about-block-title {
  font-size: 16px;
  font-weight: 700;
  color: #1a202c;
  padding-left: 12px;
  border-left: 3px solid #667eea;
  letter-spacing: 0.5px;
}

/* ---------- 制作人名单 ---------- */
.credits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.credit-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid #edf2f7;
  border-radius: 12px;
  padding: 14px 16px;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
  text-decoration: none;
  color: inherit;
}
.credit-card:hover {
  box-shadow: 0 4px 14px rgba(102, 126, 234, 0.10);
  border-color: #e2e8f0;
}
.credit-card:hover .credit-role {
  color: #667eea;
}
.credit-avatar {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.10);
}
.credit-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.credit-name {
  font-size: 14px;
  font-weight: 700;
  color: #1a202c;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.credit-role {
  font-size: 12px;
  color: #718096;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- 友情链接 ---------- */
.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}
.link-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid #edf2f7;
  border-radius: 12px;
  padding: 14px 16px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.link-card:hover {
  box-shadow: 0 4px 14px rgba(102, 126, 234, 0.12);
  border-color: #e2e8f0;
}
.link-card:hover .link-arrow {
  transform: translateX(2px) translateY(-2px);
  color: #667eea;
}
.link-icon {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0,0,0,0.10);
}
.link-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}
.link-name {
  font-size: 14px;
  font-weight: 700;
  color: #1a202c;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.link-desc {
  font-size: 12px;
  color: #718096;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.link-arrow {
  flex: 0 0 auto;
  font-size: 18px;
  color: #a0aec0;
  font-weight: 700;
  transition: transform 0.25s ease, color 0.25s ease;
  line-height: 1;
}

/* ---------- 站点说明 ---------- */
.about-note {
  background: #f7fafc;
  border-radius: 10px;
  padding: 14px 18px;
  border-left: 3px solid #cbd5e0;
}
.about-note p {
  font-size: 12.5px;
  color: #4a5568;
  line-height: 1.7;
  margin: 0;
}

/* ---------- 关于板块入场动画 ---------- */
@keyframes aboutFadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.about-block {
  animation: aboutFadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.about-block:nth-child(2) { animation-delay: 0.08s; }
.about-block:nth-child(3) { animation-delay: 0.16s; }
.about-note { animation: aboutFadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.24s both; }

/* ---------- 移动端响应式 ---------- */
@media (max-width: 640px) {
  .credits-grid { grid-template-columns: 1fr; gap: 10px; }
  .links-grid   { grid-template-columns: 1fr; gap: 10px; }
  .credit-card, .link-card { padding: 12px 14px; }
  .about-section { gap: 22px; }
}

/* ==============================================================
   👤 导航栏用户登录状态
   ============================================================== */
.user-area {
  display: flex;
  align-items: center;
  margin-left: 16px;
  flex-shrink: 0;
  position: relative;
}
/* 未登录的"登录"按钮：跟其他 .nav-link 下划线风格完全一致，
   而不是紫色渐变按钮，避免视觉格格不入 */
.login-link {
  position: relative;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  padding: 12px 4px;
  margin: 0 16px;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.5px;
  background: transparent;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: color 0.28s ease,
              font-weight 0.28s ease,
              text-shadow 0.28s ease;
  box-shadow: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.login-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 2px;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 2px;
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
              opacity   0.28s ease,
              background 0.28s ease;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
  opacity: 0.9;
}
.login-link:hover {
  color: #fff;
  background: transparent;
  transform: none;
  box-shadow: none;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.2);
}
.login-link:hover::after { transform: scaleX(1); opacity: 1; }
.login-link:active { background: transparent; transform: none; box-shadow: none; }
.user-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 5px;
  border-radius: 999px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.25s ease;
  position: relative;
  user-select: none;
  min-height: 40px;
}
.user-chip:hover {
  background: rgba(255, 255, 255, 0.14);
}
.user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  background: #2d3748;
  flex-shrink: 0;
}
.user-name {
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.user-caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid rgba(255, 255, 255, 0.7);
  transition: transform 0.25s ease;
}
.user-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 140px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
  padding: 6px;
  display: none;
  z-index: 200;
}
.user-menu.show {
  display: block;
  animation: userMenuFade 0.2s ease;
}
@keyframes userMenuFade {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.user-menu-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  text-align: left;
  padding: 8px 12px;
  border: none;
  background: transparent;
  color: #2d3748;
  font-size: 13.5px;
  text-decoration: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  font-family: inherit;
}

.menu-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 0.7;
}
.user-menu-item:hover .menu-icon { opacity: 1; }
.user-menu-item:hover {
  background: #edf2f7;
  color: #667eea;
}
.user-menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-decoration: none;
}
.menu-unread-badge {
  flex: 0 0 auto;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: #e53e3e;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}
@media (max-width: 640px) {
  .user-area { margin-left: 0; margin-top: 8px; }
  .user-name { max-width: 80px; }
}

/* ==============================================================
   🏆 赞助榜
   ============================================================== */
.sponsor-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sponsor-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid #edf2f7;
  border-radius: 12px;
  padding: 14px 16px;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.sponsor-row:hover {
  box-shadow: 0 4px 14px rgba(102, 126, 234, 0.10);
  border-color: #e2e8f0;
}
.sponsor-row--top {
  border-color: rgba(214, 158, 46, 0.35);
  background: linear-gradient(135deg, #ffffff, #fffbeb);
}
.sponsor-rank {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
}
.sponsor-rank-1 { background: linear-gradient(135deg, #f6ad55, #dd6b20); }
.sponsor-rank-2 { background: linear-gradient(135deg, #cbd5e0, #a0aec0); }
.sponsor-rank-3 { background: linear-gradient(135deg, #ed8936, #c05621); }
.sponsor-rank-n { background: #edf2f7; color: #718096; }

/* 赞助者头像：取昵称首字符作为圆形头像 */
.sponsor-avatar {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #667eea, #764ba2);
  user-select: none;
  flex-shrink: 0;
}
/* 图片头像：用抓取到的B站头像，铺满圆形容器并裁剪 */
.sponsor-avatar-img {
  display: block;
  object-fit: cover;
  background: #edf2f7;
}
/* 可点击头像链接：包裹头像与B站角标 */
.sponsor-avatar-link {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  flex-shrink: 0;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.sponsor-avatar-link:hover { transform: translateY(-2px); }
.sponsor-avatar-link:hover .sponsor-avatar {
  box-shadow: 0 6px 16px rgba(102, 126, 234, 0.35);
}
.sponsor-avatar-link:focus-visible {
  outline: 2px solid #667eea;
  outline-offset: 3px;
  border-radius: 50%;
}
.sponsor-avatar-link:active { transform: translateY(0) scale(0.96); }
/* B站角标：提示该头像可点击跳转B站主页 */
.sponsor-bili-badge {
  position: absolute;
  right: -6px;
  bottom: -4px;
  background: #fb7299;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  padding: 3px 5px;
  border-radius: 6px;
  border: 1.5px solid #fff;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

/* 柱状图信息区 */
.sponsor-bar-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sponsor-bar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.sponsor-name {
  font-size: 14.5px;
  font-weight: 700;
  color: #1a202c;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sponsor-amount {
  flex: 0 0 auto;
  font-size: 16px;
  font-weight: 800;
  color: #dd6b20;
  letter-spacing: 0.3px;
  font-variant-numeric: tabular-nums;
}
.sponsor-bar-track {
  height: 10px;
  background: #f0f4f8;
  border-radius: 6px;
  overflow: hidden;
}
.sponsor-bar-fill {
  height: 100%;
  border-radius: 6px;
  transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.sponsor-bar-fill-1 { background: linear-gradient(90deg, #f6ad55, #ed8936); }
.sponsor-bar-fill-2 { background: linear-gradient(90deg, #cbd5e0, #a0aec0); }
.sponsor-bar-fill-3 { background: linear-gradient(90deg, #ed8936, #c05621); }
.sponsor-bar-fill-n { background: linear-gradient(90deg, #a3bffa, #667eea); }
.sponsor-note {
  font-size: 12px;
  color: #718096;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .sponsor-row { padding: 10px 12px; gap: 10px; }
  .sponsor-amount { font-size: 14px; }
  .sponsor-bar-track { height: 8px; }
}

/* ==============================================================
   ⭐ 贡献榜
   ============================================================== */
.contribution-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contribution-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid #edf2f7;
  border-radius: 12px;
  padding: 14px 16px;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.contribution-row:hover {
  box-shadow: 0 4px 14px rgba(102, 126, 234, 0.10);
  border-color: #e2e8f0;
}
.contribution-row--top {
  border-color: rgba(214, 158, 46, 0.35);
  background: linear-gradient(135deg, #ffffff, #fffbeb);
}
.contribution-rank {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
}
.contribution-rank-1 { background: linear-gradient(135deg, #f6ad55, #dd6b20); }
.contribution-rank-2 { background: linear-gradient(135deg, #cbd5e0, #a0aec0); }
.contribution-rank-3 { background: linear-gradient(135deg, #ed8936, #c05621); }
.contribution-rank-n { background: #edf2f7; color: #718096; }
.contribution-avatar {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  background: #edf2f7;
  border: 2px solid #e2e8f0;
}

/* 柱状图信息区 */
.contribution-bar-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contribution-bar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.contribution-name {
  font-size: 14.5px;
  font-weight: 700;
  color: #1a202c;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.contribution-points {
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 800;
  color: #667eea;
  letter-spacing: 0.3px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.contribution-points .c-points-num {
  font-size: 17px;
  color: #5a67d8;
}
.contribution-bar-track {
  height: 10px;
  background: #f0f4f8;
  border-radius: 6px;
  overflow: hidden;
}
.contribution-bar-fill {
  height: 100%;
  border-radius: 6px;
  transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.contribution-bar-fill-1 { background: linear-gradient(90deg, #f6ad55, #ed8936); }
.contribution-bar-fill-2 { background: linear-gradient(90deg, #cbd5e0, #a0aec0); }
.contribution-bar-fill-3 { background: linear-gradient(90deg, #ed8936, #c05621); }
.contribution-bar-fill-n { background: linear-gradient(90deg, #a3bffa, #667eea); }
.contribution-votes {
  font-size: 12px;
  color: #718096;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .contribution-row { padding: 10px 12px; gap: 10px; }
  .contribution-avatar { width: 32px; height: 32px; }
  .contribution-points { font-size: 13px; }
  .contribution-points .c-points-num { font-size: 15px; }
  .contribution-bar-track { height: 8px; }
}

/* ==============================================================
   🔍 详情页 - 嫌疑人档案
   ============================================================== */
.detail-suspects-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.d-mask-note {
  background: #fffaf0;
  border: 1px solid #feebc8;
  border-left: 4px solid #dd6b20;
  color: #975a16;
  font-size: 13px;
  padding: 10px 14px;
  border-radius: 8px;
  line-height: 1.6;
}
.d-mask-note b { color: #c05621; }
.d-info-value.masked {
  color: #a0aec0;
  letter-spacing: 2px;
  font-family: 'Courier New', monospace;
  font-weight: 700;
}
.d-suspect-card {
  background: #fff;
  border: 1px solid #edf2f7;
  border-radius: 12px;
  padding: 20px 22px;
  position: relative;
  overflow: hidden;
}
.d-suspect-watermark {
  position: absolute;
  right: 20px;
  top: 4px;
  font-size: 90px;
  font-weight: 900;
  color: rgba(237, 242, 247, 0.5);
  line-height: 1;
  pointer-events: none;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  letter-spacing: -3px;
}
.d-suspect-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #edf2f7;
}
.d-suspect-hash { color: #e53e3e; font-size: 20px; font-weight: 900; line-height: 1; }
.d-suspect-title { font-size: 16px; font-weight: 800; color: #1a202c; flex: 1; }

.d-suspect-info {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 14px;
}
.d-info-cell { display: flex; flex-direction: column; gap: 3px; }
.d-info-label { font-size: 12px; color: #718096; font-weight: 600; }
.d-info-value { font-size: 14.5px; color: #2d3748; font-weight: 700; word-break: break-all; }
.d-info-value.empty { color: #cbd5e0; font-weight: 500; }

.d-features { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.d-feature-tag {
  display: inline-block;
  padding: 4px 10px;
  background: #fed7d7;
  color: #c53030;
  border-radius: 4px;
  font-size: 12.5px;
  font-weight: 600;
}
.d-features-empty { font-size: 13px; color: #a0aec0; }

.d-timeline-title {
  font-size: 14px;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 8px;
}
.d-timeline-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.d-tl-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  padding: 10px 14px;
  background: #f7fafc;
  border-left: 3px solid #667eea;
  border-radius: 0 6px 6px 0;
  align-items: start;
}
.d-tl-time {
  font-size: 15px;
  font-weight: 800;
  color: #667eea;
  font-variant-numeric: tabular-nums;
  padding-top: 2px;
  cursor: pointer;
  transition: color .15s;
}
.d-tl-time:hover { color: #e53e3e; text-decoration: underline; }
.d-tl-desc { font-size: 13.5px; color: #4a5568; line-height: 1.55; word-break: break-all; }

@media (max-width: 760px) {
  .d-suspect-info { grid-template-columns: 1fr 1fr; }
  .d-tl-item { grid-template-columns: 1fr; gap: 6px; }
  .d-suspect-watermark { font-size: 60px; }
}
@media (max-width: 480px) {
  .d-suspect-info { grid-template-columns: 1fr; }
  .d-suspect-card { padding: 16px; }
}

/* ==============================================================
   ✨ 统一交互反馈系统（不动美术素材 · 纯动效增强）
   覆盖前台全部可点元素的 按压 / 键盘焦点 / 动效降级
   ============================================================== */

/* ---------- 键盘焦点反馈 :focus-visible ---------- */
/* 让使用 Tab 键盘导航的用户能清晰看到焦点位置（无障碍） */
.nav-link:focus-visible,
.login-link:focus-visible,
.upload-link:focus-visible,
.hero-btn:focus-visible,
.tab-btn:focus-visible,
.btn-detail:focus-visible,
.btn-primary:focus-visible,
.replay-link-btn:focus-visible,
.vote-btn:focus-visible,
.user-chip:focus-visible,
.user-menu-item:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.85);
}
/* 浅色背景按钮用紫色焦点环，深色导航用白色焦点环 */
.tab-btn:focus-visible,
.btn-detail:focus-visible,
.btn-primary:focus-visible,
.replay-link-btn:focus-visible,
.vote-btn:focus-visible,
.user-menu-item:focus-visible {
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.55);
}

/* ---------- 统一按压反馈（点击瞬间下沉 + 微缩） ---------- */
/* 关键点：用 translateY(0) scale()，避免与 hover 的 -2px/上浮叠加成跳动 */
.nav-link:active    { color: #fff; transform: scale(0.97); }
.hero-btn:active    { transform: translateY(0) scale(0.96); filter: brightness(0.94); }
.tab-btn:active:not(.active) { transform: scale(0.96); }
.btn-detail:active  { transform: scale(0.97); }
.btn-primary:active { transform: translateY(0) scale(0.97); box-shadow: 0 1px 6px rgba(102,126,234,0.3); }
.vote-btn:active:not(:disabled) { transform: translateY(0) scale(0.98); }
.replay-link-btn:active { transform: translateY(0) scale(0.97); }
.user-chip:active   { transform: scale(0.97); background: rgba(255,255,255,0.18); }
.user-menu-item:active { background: #e2e8f0; transform: scale(0.98); }

/* 链接类（a 直摆）也统一按压反馈，但不做容重形变 */
.card:active { transform: translateY(0) scale(0.995); }
.card {
  cursor: pointer;
  transition: box-shadow 0.25s ease, transform 0.18s ease;
}
.card:hover { transform: translateY(-2px); }
.card:hover .card-video-wrap video { transform: scale(1.015); }
.card-video-wrap video {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 榜单行：平移 + 左色条反馈（sponsor / contribution / banned） ---------- */
.sponsor-row,
.contribution-row {
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.18s ease;
}
.sponsor-row:hover,
.contribution-row:hover { transform: translateX(3px); }
.sponsor-row:active,
.contribution-row:active { transform: translateX(1px) scale(0.995); }

/* ---------- 卡片上「查看详情」按钮的进度感（细活） ---------- */
.btn-detail {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn-detail::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.35) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
  z-index: -1;
}
.btn-detail:hover::after { transform: translateX(120%); }

/* ---------- 投票按钮 hover 细节：把「票数角标」淡入强调 ---------- */
.vote-btn:hover:not(:disabled) .vote-count {
  background: rgba(255,255,255,1);
  color: #2d3748;
}

/* ---------- 动效降级：尊重用户的减少动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  header, .logo, .stat-card, .about-block, .about-note,
  .banned-scroll-track, .modal-dialog, .toast, .card {
    animation: none !important;
    transition: none !important;
  }
  .banned-scroll-row .banned-scroll-track { animation: none !important; }
}

/* ==============================================================
   SVG 图标体系（替换 emoji，卡拉彼丘风格线性图标）
   ============================================================== */

/* 标题图标：与标题文字同色，18px */
.title-icon {
  width: 20px;
  height: 20px;
  vertical-align: -4px;
  margin-right: 4px;
  flex-shrink: 0;
}

/* meta-icon：小号灰色，14px */
.meta-icon {
  width: 15px;
  height: 15px;
  vertical-align: -3px;
  margin-right: 3px;
  opacity: 0.8;
  flex-shrink: 0;
}

/* 确认封禁角标 */
.ban-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 6px;
  background: linear-gradient(135deg, #f56565, #c53030);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(197, 48, 48, 0.3);
}
.ban-badge .meta-icon {
  opacity: 1;
  width: 14px;
  height: 14px;
  margin-right: 2px;
}

/* 按钮内图标：白色，16px */
.btn-icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

/* modal-header 中的 title-icon 用主题色 */
.modal-header .title-icon {
  color: #667eea;
}

/* section-title 中的 title-icon */
.section-title .title-icon {
  color: #2d3748;
}

/* page-title 中的 title-icon 继承父色 */
.page-title .title-icon {
  color: inherit;
}

/* 移动端图标缩小 */
@media (max-width: 640px) {
  .title-icon { width: 18px; height: 18px; }
  .meta-icon { width: 13px; height: 13px; }
  .btn-icon { width: 15px; height: 15px; }
}

/* ==============================================================
   📌 页脚制作人栏 SITE FOOTER
   ============================================================== */
.site-footer {
  background: linear-gradient(180deg, #1a1f3a 0%, #0f1226 100%);
  color: #cbd5e0;
  border-top: 1px solid rgba(102, 126, 234, 0.2);
  padding: 22px 0;
  margin-top: 40px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
}
.footer-brand {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
}
.footer-copy {
  font-size: 12px;
  color: #718096;
}
.footer-credits {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-credits-label {
  font-size: 13px;
  font-weight: 600;
  color: #a0aec0;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}
.footer-credits-list {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
/* 单个制作人项 */
.footer-credit-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #cbd5e0;
  cursor: default;
  transition: color 0.2s ease, transform 0.2s ease;
}
a.footer-credit-item { cursor: pointer; }
a.footer-credit-item:hover { color: #fff; transform: translateY(-2px); }
a.footer-credit-item:focus-visible {
  outline: 2px solid #667eea;
  outline-offset: 3px;
  border-radius: 6px;
}
a.footer-credit-item:active { transform: translateY(0) scale(0.96); }
/* 制作人头像 */
.footer-credit-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #667eea, #764ba2);
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  user-select: none;
  flex-shrink: 0;
}
.footer-credit-avatar-img {
  display: block;
  object-fit: cover;
  background: #2d3748;
}
.footer-credit-name {
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-credits-list { gap: 12px; }
  .footer-credit-avatar { width: 30px; height: 30px; font-size: 12px; }
  .footer-credit-name { font-size: 12.5px; }
}



