﻿/* =========================================================
   RAIDER · V8 暗黑强化 + 直播感
   —— A：信号失真叠层 / 裁切揭幕 / 文字 RGB 分离
   —— B：实时战况条 / 倒计时翻牌
   ========================================================= */

/* =========================================================
   A1. 首屏信号失真层
   ========================================================= */
.es-distort {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  mix-blend-mode: screen;
}

.es-distort::before {
  content: "";
  position: absolute;
  inset: -30%;
  opacity: 0.055;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: esGrain 0.55s steps(3) infinite;
}

.es-distort::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background: repeating-linear-gradient(
    0deg,
    rgba(255, 47, 174, 0.07) 0 1px,
    transparent 1px 7px
  );
  animation: esBarsFlick 6.5s steps(2) infinite;
}

.es-distort i {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #5b7cff 30%, #ff2fae 70%, transparent);
  opacity: 0.5;
  animation: esGlitchBar 8s steps(1) infinite;
}

.es-distort i:nth-child(2) {
  height: 1px;
  animation-duration: 11s;
  animation-delay: -3s;
}

.es-distort i:nth-child(3) {
  height: 3px;
  opacity: 0.3;
  animation-duration: 14s;
  animation-delay: -7s;
}

@keyframes esGrain {
  0% {
    transform: translate(0, 0);
  }
  33% {
    transform: translate(-2%, 1.5%);
  }
  66% {
    transform: translate(1.5%, -1%);
  }
  100% {
    transform: translate(0, 0);
  }
}

@keyframes esBarsFlick {
  0%,
  94%,
  100% {
    opacity: 0.2;
  }
  95% {
    opacity: 0.55;
  }
  96% {
    opacity: 0.15;
  }
  97% {
    opacity: 0.42;
  }
}

@keyframes esGlitchBar {
  0%,
  88%,
  100% {
    top: 112%;
  }
  89% {
    top: 18%;
  }
  90% {
    top: 64%;
  }
  91% {
    top: 33%;
  }
  92% {
    top: 88%;
  }
}

/* =========================================================
   A2. 裁切揭幕（区块 / 卡片）
   ========================================================= */
[data-reveal] {
  clip-path: inset(0 0 100% 0);
  opacity: 0;
  transform: translate3d(0, 10px, 0);
  transition: clip-path 0.62s cubic-bezier(0.7, 0, 0.2, 1), opacity 0.36s ease 0.04s,
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].in {
  clip-path: inset(0 0 0 0);
  opacity: 1;
  transform: none;
}

[data-reveal-group] > * {
  clip-path: inset(0 100% 0 0);
  opacity: 0;
  transform: none;
  transition: clip-path 0.55s cubic-bezier(0.7, 0, 0.2, 1), opacity 0.3s ease 0.06s;
}

[data-reveal-group].in > * {
  clip-path: inset(0 0 0 0);
  opacity: 1;
}

/* =========================================================
   A3. 文字 RGB 分离（hover 触发）
   ========================================================= */
.nav > a,
.sec-head h2,
.section-head h2,
.btn,
.tag,
.event-card h3,
.member-card .member-name,
.admin-card span {
  transition: text-shadow 0.16s ease, color 0.2s ease;
}

.nav > a.is-rgb,
.sec-head h2.is-rgb,
.section-head h2.is-rgb,
.btn.is-rgb,
.tag.is-rgb,
.event-card h3.is-rgb,
.member-card .member-name.is-rgb {
  animation: esRgbJitter 0.26s steps(2) infinite;
  text-shadow: 2px 0 #ff2fae, -2px 0 #5b7cff;
  transition: none;
}

@keyframes esRgbJitter {
  0% {
    transform: translateX(0);
  }
  33% {
    transform: translateX(1px);
  }
  66% {
    transform: translateX(-1px);
  }
  100% {
    transform: translateX(0);
  }
}

/* =========================================================
   B1. 实时战况条
   ========================================================= */
.live-strip {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 47, 174, 0.32);
  border-bottom: 1px solid rgba(91, 124, 255, 0.28);
  background: rgba(8, 8, 11, 0.92);
  overflow: hidden;
}

.live-strip-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 0;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  background: #ff2fae;
  color: #08080b;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.live-badge i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #08080b;
  animation: esLiveBlink 1.6s steps(2) infinite;
}

@keyframes esLiveBlink {
  0%,
  55% {
    opacity: 1;
  }
  56%,
  100% {
    opacity: 0.2;
  }
}

.live-updated {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: rgba(244, 244, 242, 0.4);
}

.live-viewport {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}

.live-track {
  display: flex;
  gap: 32px;
  width: max-content;
  padding: 7px 0 9px;
  animation: esLiveScroll 42s linear infinite;
}

.live-strip:hover .live-track {
  animation-play-state: paused;
}

@keyframes esLiveScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.live-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: rgba(244, 244, 242, 0.7);
  white-space: nowrap;
}

.live-item::before {
  content: "▮";
  color: #ff2fae;
  font-size: 8px;
}

.live-item b {
  color: #fff;
  font-weight: 700;
  transition: color 0.3s ease;
}

.live-item b.is-up {
  color: #ffd400;
  animation: esLiveUp 1.1s ease;
}

@keyframes esLiveUp {
  0% {
    text-shadow: 0 0 12px rgba(255, 212, 0, 0.9);
  }
  100% {
    text-shadow: none;
  }
}

.live-item.is-hot b {
  color: #ff2fae;
}

.live-count {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 0 16px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: rgba(244, 244, 242, 0.45);
  white-space: nowrap;
}

.live-count b {
  color: #ffd400;
}

/* =========================================================
   B2. 倒计时翻牌
   ========================================================= */
.cd-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 26px;
  padding: 12px 18px;
  border: 1px solid #26262e;
  background: linear-gradient(115deg, rgba(36, 64, 255, 0.12), rgba(255, 47, 174, 0.1));
  max-width: 100%;
  flex-wrap: wrap;
}

.cd-title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: #ffd400;
  white-space: nowrap;
}

.cd {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.cd-num {
  position: relative;
  min-width: 54px;
  padding: 6px 8px;
  text-align: center;
  font-family: "Anton", var(--font-display);
  font-size: 30px;
  line-height: 1;
  letter-spacing: 0.06em;
  color: #fff;
  background: #0b0b0f;
  border: 1px solid #2c2c36;
  overflow: hidden;
  box-shadow: inset 0 -1px 0 rgba(255, 47, 174, 0.35);
}

.cd-num::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.cd-num.is-flip {
  animation: esFlip 0.42s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes esFlip {
  0% {
    transform: rotateX(88deg);
    opacity: 0.25;
  }
  100% {
    transform: rotateX(0deg);
    opacity: 1;
  }
}

.cd-label {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.18em;
  color: rgba(244, 244, 242, 0.4);
}

.cd-sep {
  font-family: "Anton", var(--font-display);
  font-size: 24px;
  color: #ff2fae;
  opacity: 0.7;
  margin-bottom: 14px;
}

.cd.is-over .cd-num {
  color: #ff2fae;
}

.cd.is-over .cd-title {
  color: #ff2fae;
}

/* =========================================================
   减弱动效
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  .es-distort,
  .es-distort *,
  .live-track,
  .live-badge i,
  .cd-num.is-flip,
  .is-rgb {
    animation: none !important;
  }

  [data-reveal],
  [data-reveal-group] > * {
    clip-path: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .live-track {
    flex-wrap: wrap;
    width: auto;
  }
}

@media (max-width: 760px) {
  .es-distort::after {
    opacity: 0.14;
  }

  .live-track {
    animation-duration: 32s;
    gap: 22px;
  }

  .live-count {
    display: none;
  }

  .cd-num {
    min-width: 46px;
    font-size: 24px;
  }

  .cd-ribbon {
    gap: 10px;
    padding: 10px 12px;
  }
}

/* 去掉导航 hover 的粉色方括号效果 */
.nav > a::before,
.nav > a::after {
  content: none !important;
  display: none !important;
}

/* 服务器地图卡：加强遮罩，保证文字可读 */
.server-veil {
  background: linear-gradient(180deg, rgba(4, 4, 8, 0.22) 0%, rgba(4, 4, 8, 0.72) 46%, rgba(4, 4, 8, 0.95) 76%, #08080b 100%) !important;
}
.server-data {
  background: rgba(8, 8, 11, 0.94) !important;
}

/* 服务器地图卡遮罩（覆盖 v9 的 has-map 高优先级规则） */
.server-card.has-map .server-veil,
.server-card.has-mapname .server-veil {
  background-image: linear-gradient(180deg, rgba(4, 4, 8, 0.24) 0%, rgba(4, 4, 8, 0.74) 46%, rgba(4, 4, 8, 0.96) 78%, #08080b 100%) !important;
  background-color: transparent !important;
}
.server-card .server-data {
  background: rgba(8, 8, 11, 0.94) !important;
}


/* 首页 Hero 多图轮播 */
.club-hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.club-hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 36%;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.15s ease, transform 7s ease;
  will-change: opacity, transform;
}
.club-hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}
.club-hero-dots {
  position: absolute;
  right: 36px;
  bottom: 28px;
  z-index: 4;
  display: flex;
  gap: 7px;
}
.club-hero-dot {
  width: 22px;
  height: 3px;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.22);
  transition: background 0.25s ease, width 0.25s ease;
}
.club-hero-dot.is-active {
  width: 34px;
  background: var(--poster-yellow, #ffd400);
}


/* =========================================================
   首页标题自动动效（不需要点击）
   ========================================================= */
.club-hero h1 {
  position: relative;
  width: fit-content;
  animation: heroTitleGlow 5.6s ease-in-out infinite;
}
.club-hero h1::after {
  content: "";
  position: absolute;
  inset: -8% -6%;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.55) 46%, rgba(255, 255, 255, 0.08) 54%, transparent 72%);
  mix-blend-mode: overlay;
  transform: translateX(-130%) skewX(-18deg);
  animation: heroTitleSweep 5.6s ease-in-out infinite;
}
.club-hero h1 em .tch {
  animation: clubGradient 6s linear infinite;
  background: linear-gradient(100deg, #ff2fae 0%, #ff8ad8 24%, #5b7cff 46%, #ff2fae 68%, #ffd400 100%);
  background-size: 280% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 22px rgba(255, 47, 174, 0.35);
}
@keyframes heroTitleGlow {
  0%, 100% { text-shadow: 0 0 0 rgba(255, 47, 174, 0); }
  50% { text-shadow: 0 0 30px rgba(255, 47, 174, 0.3); }
}
@keyframes heroTitleSweep {
  0%, 55% { transform: translateX(-130%) skewX(-18deg); opacity: 0; }
  60% { opacity: 1; }
  82% { transform: translateX(130%) skewX(-18deg); opacity: 1; }
  100% { transform: translateX(130%) skewX(-18deg); opacity: 0; }
}
@keyframes clubGradient {
  to { background-position: 280% 0; }
}

/* YY 频道弹层 */
.yy-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(2, 2, 5, 0.78);
  backdrop-filter: blur(8px);
}
.yy-modal-card {
  width: min(480px, 100%);
  border: 1px solid rgba(255, 47, 174, 0.45);
  background: #0b0b10;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.65), 0 0 40px rgba(255, 47, 174, 0.12);
  padding: 20px;
}
.yy-modal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--poster-yellow, #ffd400);
  font-size: 10px;
  letter-spacing: 0.16em;
}
.yy-modal-close {
  border: 1px solid var(--separator-strong);
  background: transparent;
  color: var(--secondary);
  width: 26px;
  height: 26px;
  cursor: pointer;
}
.yy-modal-card h3 {
  margin: 16px 0 8px;
  font-family: var(--font-display);
  font-size: 26px;
  color: #fff;
}
.yy-modal-desc {
  margin: 0 0 18px;
  color: var(--secondary);
  font-size: 14px;
}
.yy-modal-desc b {
  color: #fff;
}
.yy-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.yy-modal-sub {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}
.yy-modal-tip {
  margin: 16px 0 0;
  color: var(--tertiary);
  font-size: 12px;
  line-height: 1.7;
}
@media (prefers-reduced-motion: reduce) {
  .club-hero h1,
  .club-hero h1::after,
  .club-hero h1 em .tch {
    animation: none !important;
  }
}

/* CLUB 自动渐变时保持可见（覆盖开场逐字动画的初始隐藏状态） */
.club-hero h1 em .tch {
  opacity: 1 !important;
  transform: none !important;
  clip-path: none !important;
  -webkit-text-fill-color: transparent !important;
}

/* =========================================================
   跨电脑字号统一：桌面端固定核心文字尺寸，不随 vw 变化
   ========================================================= */
@media (min-width: 900px) {
  body {
    font-size: 14px;
  }
  .club-tag {
    font-size: 24px;
  }
  .club-intro {
    font-size: 15px;
  }
  .club-cta .btn-lg {
    font-size: 15px;
  }
  .club-stats li b {
    font-size: 40px;
  }
  .club-stats li span {
    font-size: 13px;
  }
  .section-head h2 {
    font-size: 42px;
  }
  .section-head p {
    font-size: 15px;
  }
  .nav a {
    font-size: 14px;
  }
}
@media (min-width: 1280px) {
  .club-hero-grid .club-hero-copy h1 {
    font-size: 140px;
  }
}
@media (min-width: 900px) and (max-width: 1279px) {
  .club-hero-grid .club-hero-copy h1 {
    font-size: 110px;
  }
}


/* 玩家投稿页 */
.submission-layout {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.submission-form-card {
  position: sticky;
  top: 92px;
}
.submission-list .gallery-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.submission-list .card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
}
@media (max-width: 960px) {
  .submission-layout {
    grid-template-columns: 1fr;
  }
  .submission-form-card {
    position: static;
  }
}
@media (max-width: 640px) {
  .submission-list .gallery-grid {
    grid-template-columns: 1fr;
  }
}


/* 登录：保持登录 */
.remember-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 2px 0 12px;
  color: var(--secondary);
  font-size: 13px;
  cursor: pointer;
  user-select: none;
}
.remember-line input {
  width: 15px;
  height: 15px;
  accent-color: var(--poster-magenta, #ff2fae);
  cursor: pointer;
}


/* =========================================================
   继续降低板块透明度：所有常用面板实底
   ========================================================= */
.card,
.stat-tile,
.pf-info,
.pf-side,
.pf-chip,
.table-wrap,
.title-card,
.tier-card,
.team-card,
.srv-community,
.notice-slide,
.event-card,
.rule-card,
.tactic-card,
.sp-card,
.sp-podium-card,
.member-card,
.hw-board-card,
.hw-tab,
.hw-podium-slot,
.op,
.panel,
.post-card {
  background-color: #0b0b0f !important;
  background-image: none !important;
}

/* =========================================================
   个人主页美化：模糊头像/战场背景 + 光晕 + 装饰字
   ========================================================= */
.page-head.pf-head {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(760px 420px at 78% 18%, rgba(255, 47, 174, 0.16), transparent 64%),
    radial-gradient(680px 380px at 12% 8%, rgba(91, 124, 255, 0.16), transparent 62%),
    radial-gradient(420px 300px at 50% 100%, rgba(255, 212, 0, 0.1), transparent 70%),
    #08080b !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.page-head.pf-head::before {
  content: "";
  position: absolute;
  inset: -8%;
  z-index: 0;
  background-image: var(--pf-cover, url("/assets/img/hero/squad-06.jpg"));
  background-size: cover;
  background-position: center 38%;
  filter: grayscale(0.45) saturate(1.25) contrast(1.08) blur(2px);
  opacity: 0.26;
  transform: scale(1.06);
  mask-image: linear-gradient(90deg, transparent 0%, #000 24%, #000 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 24%, #000 88%, transparent 100%);
  pointer-events: none;
}
.page-head.pf-head::after {
  content: "PLAYER";
  position: absolute;
  right: 1.5%;
  bottom: -38px;
  z-index: 0;
  font-family: var(--font-display);
  font-size: clamp(120px, 15vw, 230px);
  line-height: 0.8;
  letter-spacing: 0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.075);
  pointer-events: none;
  white-space: nowrap;
}
.page-head.pf-head .shell {
  position: relative;
  z-index: 2;
}
.pf-avatar {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow:
    0 0 0 1px rgba(255, 47, 174, 0.18),
    0 22px 46px -26px rgba(0, 0, 0, 0.9),
    0 0 46px rgba(255, 47, 174, 0.18);
}
.pf-ring {
  border: 0;
  inset: -8px;
  border-radius: 34px;
  background: conic-gradient(from 0deg, #ff2fae, #ffd400, #5b7cff, #ff2fae);
  padding: 1px;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.72;
  animation: pfRingSpin 10s linear infinite;
}
.pf-main h1 {
  text-shadow: 0 0 34px rgba(255, 47, 174, 0.12);
}
.pf-side {
  background: rgba(10, 10, 16, 0.94) !important;
  border-color: rgba(255, 255, 255, 0.13);
  box-shadow: 0 22px 60px -34px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.title-showcase {
  background:
    radial-gradient(820px 240px at 18% 0%, rgba(255, 47, 174, 0.1), transparent 70%),
    #08080b !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.title-card {
  border-color: rgba(255, 255, 255, 0.12) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 12px 28px -24px rgba(0, 0, 0, 0.9);
}
.pf-stat-tiles .stat-tile {
  background-color: #0b0b0f !important;
}
@keyframes pfRingSpin {
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .pf-ring {
    animation: none;
  }
}

/* =========================================================
   个人设置页（模块化）
   ========================================================= */
.me-settings-card {
  display: none !important;
}
.me-set-head {
  padding-top: 104px;
}
.me-set-title {
  position: relative;
  z-index: 2;
  padding-bottom: 14px;
}
.me-set-title h1 {
  margin: 10px 0 8px;
  font-size: 44px;
}
.me-set-title h1 em {
  color: var(--poster-magenta, #ff2fae);
  font-style: normal;
}
.me-set-title p {
  margin: 0;
  color: var(--secondary);
  font-size: 14px;
}
.settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}
.settings-cover-card {
  grid-column: 1 / -1;
}
.cover-preview {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7;
  border: 1px solid var(--separator-strong);
  border-radius: 6px;
  overflow: hidden;
  background:
    radial-gradient(600px 240px at 78% 18%, rgba(255, 47, 174, 0.22), transparent 70%),
    radial-gradient(500px 220px at 12% 8%, rgba(91, 124, 255, 0.2), transparent 70%),
    #0b0b0f;
  background-size: cover;
  background-position: center;
}
.cover-preview.has-img {
  background-size: cover;
}
.cover-preview-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 8, 11, 0.06), rgba(8, 8, 11, 0.82));
}
.cover-preview-user {
  position: absolute;
  left: 20px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1;
}
.cover-preview-avatar {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background-color: #111;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-weight: 900;
  color: var(--secondary);
}
.cover-preview-user b {
  display: block;
  color: #fff;
  font-size: 16px;
}
.cover-preview-user i {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  font-style: normal;
}
.cover-presets {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.cover-preset {
  width: 108px;
  height: 48px;
  border: 1px solid var(--separator-strong);
  border-radius: 4px;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  opacity: 0.65;
  transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.cover-preset:hover,
.cover-preset.is-active {
  opacity: 1;
  border-color: var(--poster-magenta, #ff2fae);
  transform: translateY(-1px);
}
@media (max-width: 900px) {
  .settings-grid {
    grid-template-columns: 1fr;
  }
}

/* 个人主页比例模块化 */
.pf-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
}
.pf-main h1 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}
.pf-side {
  align-self: stretch;
}
@media (max-width: 960px) {
  .pf-hero {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .pf-side {
    grid-column: 1 / -1;
    justify-self: stretch;
  }
}
@media (max-width: 620px) {
  .pf-hero {
    grid-template-columns: 1fr;
  }
  .pf-avatar {
    width: 104px;
    height: 104px;
    font-size: 38px;
  }
  .pf-side {
    grid-column: auto;
  }
}

/* =========================================================
   各页面头部背景美化：Squad 场景 + 页面专属色调
   ========================================================= */
.page-head.srv-head,
.page-head.team-head,
.page-head.ev-head,
.page-head.ev-detail-head,
.page-head.rank-head,
.page-head.nb-head,
.page-head.gallery-head,
.page-head.sub-head,
.page-head.sp-head,
.page-head.hw-head,
.page-head.tc-head {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  background-color: #08080b !important;
  background-position: center 42% !important;
  background-size: cover !important;
}
.page-head.srv-head .shell,
.page-head.team-head .shell,
.page-head.ev-head .shell,
.page-head.ev-detail-head .shell,
.page-head.rank-head .shell,
.page-head.nb-head .shell,
.page-head.gallery-head .shell,
.page-head.sub-head .shell,
.page-head.sp-head .shell,
.page-head.hw-head .shell,
.page-head.tc-head .shell {
  position: relative;
  z-index: 2;
}
.page-head.srv-head {
  background-image:
    linear-gradient(90deg, rgba(8, 8, 11, 0.97) 0 34%, rgba(8, 8, 11, 0.68) 58%, rgba(8, 8, 11, 0.9) 100%),
    radial-gradient(700px 380px at 82% 20%, rgba(74, 124, 255, 0.3), transparent 68%),
    url("/assets/img/hero/squad-12.jpg") !important;
}
.page-head.team-head {
  background-image:
    linear-gradient(90deg, rgba(8, 8, 11, 0.97) 0 34%, rgba(8, 8, 11, 0.64) 58%, rgba(8, 8, 11, 0.9) 100%),
    radial-gradient(700px 380px at 82% 20%, rgba(255, 47, 174, 0.3), transparent 68%),
    url("/assets/img/hero/squad-15.jpg") !important;
}
.page-head.ev-head,
.page-head.ev-detail-head {
  background-image:
    linear-gradient(90deg, rgba(8, 8, 11, 0.97) 0 34%, rgba(8, 8, 11, 0.66) 58%, rgba(8, 8, 11, 0.9) 100%),
    radial-gradient(700px 380px at 82% 20%, rgba(255, 212, 0, 0.24), transparent 68%),
    url("/assets/img/hero/squad-06.jpg") !important;
}
.page-head.rank-head {
  background-image:
    linear-gradient(90deg, rgba(8, 8, 11, 0.97) 0 34%, rgba(8, 8, 11, 0.66) 58%, rgba(8, 8, 11, 0.9) 100%),
    radial-gradient(700px 380px at 82% 20%, rgba(34, 211, 238, 0.24), transparent 68%),
    url("/assets/img/hero/squad-09.jpg") !important;
}
.page-head.nb-head {
  background-image:
    linear-gradient(90deg, rgba(8, 8, 11, 0.97) 0 34%, rgba(8, 8, 11, 0.64) 58%, rgba(8, 8, 11, 0.9) 100%),
    radial-gradient(700px 380px at 82% 20%, rgba(74, 217, 143, 0.24), transparent 68%),
    url("/assets/img/hero/squad-12.jpg") !important;
}
.page-head.gallery-head {
  background-image:
    linear-gradient(90deg, rgba(8, 8, 11, 0.97) 0 34%, rgba(8, 8, 11, 0.66) 58%, rgba(8, 8, 11, 0.9) 100%),
    radial-gradient(700px 380px at 82% 20%, rgba(168, 85, 247, 0.28), transparent 68%),
    url("/assets/img/hero/squad-15.jpg") !important;
}
.page-head.sub-head {
  background-image:
    linear-gradient(90deg, rgba(8, 8, 11, 0.97) 0 34%, rgba(8, 8, 11, 0.66) 58%, rgba(8, 8, 11, 0.9) 100%),
    radial-gradient(700px 380px at 82% 20%, rgba(74, 124, 255, 0.28), transparent 68%),
    url("/assets/img/hero/squad-09.jpg") !important;
}
.page-head.sp-head {
  background-image:
    linear-gradient(90deg, rgba(8, 8, 11, 0.97) 0 34%, rgba(8, 8, 11, 0.66) 58%, rgba(8, 8, 11, 0.9) 100%),
    radial-gradient(700px 380px at 82% 20%, rgba(255, 47, 174, 0.3), transparent 68%),
    url("/assets/img/hero/squad-06.jpg") !important;
}
.page-head.hw-head {
  background-image:
    linear-gradient(90deg, rgba(8, 8, 11, 0.97) 0 34%, rgba(8, 8, 11, 0.66) 58%, rgba(8, 8, 11, 0.9) 100%),
    radial-gradient(700px 380px at 82% 20%, rgba(255, 212, 0, 0.28), transparent 68%),
    url("/assets/img/hero/squad-09.jpg") !important;
}
.page-head.tc-head {
  background-image:
    linear-gradient(90deg, rgba(8, 8, 11, 0.97) 0 34%, rgba(8, 8, 11, 0.66) 58%, rgba(8, 8, 11, 0.9) 100%),
    radial-gradient(700px 380px at 82% 20%, rgba(74, 217, 143, 0.24), transparent 68%),
    url("/assets/img/hero/squad-12.jpg") !important;
}

/* 个人中心：设置模块不再和活动卡并排占位 */
.grid.grid-2:has(> .me-settings-card) {
  grid-template-columns: minmax(0, 1fr);
}

/* =========================================================
   树洞评论 / 投诉工单 / 玩家点赞 / 排行榜前三
   ========================================================= */
.wall-top-actions {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
}
.wall-like,
.wall-comment-btn {
  border: 1px solid var(--separator-strong);
  background: #0b0b0f;
  color: var(--secondary);
  padding: 5px 10px;
  border-radius: 3px;
  cursor: pointer;
  font-size: 11px;
}
.wall-like:hover,
.wall-comment-btn:hover,
.wall-like.is-liked {
  color: #ff7ac8;
  border-color: rgba(255, 47, 174, 0.5);
  background: rgba(255, 47, 174, 0.08);
}
.wall-meta {
  display: flex;
  gap: 8px;
  align-items: center;
}
.wall-comments {
  margin-top: 10px;
  padding: 12px 0 0;
  border-top: 1px dashed var(--separator);
}
.wall-comments-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.wall-comment {
  display: flex;
  gap: 9px;
  align-items: flex-start;
}
.wall-avatar-sm {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
}
.wall-comment b {
  display: block;
  font-size: 11.5px;
  color: var(--primary);
}
.wall-comment p {
  margin: 2px 0;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--secondary);
  white-space: pre-line;
}
.wall-comment span.mono {
  color: var(--quaternary);
  font-size: 8.5px;
}
.wall-comment-form {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.wall-comment-form .input {
  flex: 1;
  min-width: 0;
}
.wall-pagination {
  margin-top: 18px;
}

/* 玩家主页点赞 */
.pf-like {
  border: 1px solid rgba(255, 47, 174, 0.4);
  background: rgba(255, 47, 174, 0.08);
  color: #ff8ad8;
  border-radius: 3px;
  padding: 4px 10px;
  font-size: 11px;
  cursor: pointer;
}
.pf-like b {
  font-size: 13px;
}
.pf-like.is-liked {
  background: rgba(255, 47, 174, 0.2);
  color: #fff;
  box-shadow: 0 0 16px rgba(255, 47, 174, 0.2);
}
.pf-like:disabled {
  opacity: 0.6;
  cursor: wait;
}

/* 排行榜前三 */
.rank-row-1 {
  background: linear-gradient(90deg, rgba(255, 212, 0, 0.1), transparent 64%) !important;
}
.rank-row-2 {
  background: linear-gradient(90deg, rgba(210, 220, 235, 0.09), transparent 64%) !important;
}
.rank-row-3 {
  background: linear-gradient(90deg, rgba(205, 127, 50, 0.11), transparent 64%) !important;
}
.rank-medal {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-right: 5px;
  border-radius: 50%;
  font-size: 9px;
  vertical-align: middle;
  animation: rankMedalFloat 2.6s ease-in-out infinite;
}
.rank-medal-1 {
  color: #241a00;
  background: linear-gradient(180deg, #fff7c4, #ffd400);
  box-shadow: 0 0 14px rgba(255, 212, 0, 0.55);
}
.rank-medal-2 {
  color: #1a1d22;
  background: linear-gradient(180deg, #fff, #9aa8ba);
  box-shadow: 0 0 12px rgba(210, 220, 235, 0.4);
}
.rank-medal-3 {
  color: #2a1608;
  background: linear-gradient(180deg, #ffd1a1, #c97832);
  box-shadow: 0 0 12px rgba(205, 127, 50, 0.45);
}
.rank-name {
  position: relative;
  font-weight: 900;
}
.rank-name-1 {
  background: linear-gradient(100deg, #fff7c4, #ffd400 36%, #fff 52%, #ffb800 70%, #fff3a8);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  animation: rankNameShine 4s linear infinite;
  text-shadow: 0 0 16px rgba(255, 212, 0, 0.25);
}
.rank-name-2 {
  background: linear-gradient(100deg, #fff, #c8d3e4 45%, #fff, #aebdd2);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  animation: rankNameShine 4.6s linear infinite;
}
.rank-name-3 {
  background: linear-gradient(100deg, #ffd1a1, #d88a45 45%, #fff0d7, #c97832);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  animation: rankNameShine 5s linear infinite;
}
@keyframes rankNameShine {
  to { background-position: 220% 0; }
}
@keyframes rankMedalFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

/* 投诉工单页 */
.tickets-head {
  background-image:
    linear-gradient(90deg, rgba(8, 8, 11, 0.97) 0 34%, rgba(8, 8, 11, 0.68) 58%, rgba(8, 8, 11, 0.92) 100%),
    radial-gradient(700px 380px at 82% 20%, rgba(255, 47, 174, 0.28), transparent 68%),
    url("/assets/img/hero/squad-06.jpg") !important;
  background-position: center 42% !important;
  background-size: cover !important;
}
.ticket-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 20px;
  align-items: start;
}
.ticket-form-card {
  position: sticky;
  top: 92px;
}
.ticket-history .card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.ticket-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ticket-item {
  border: 1px solid var(--separator-strong);
  background: #0b0b0f;
  border-radius: 5px;
  padding: 14px;
}
.ticket-item-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}
.ticket-item-head b {
  font-size: 13px;
}
.ticket-target {
  margin: 8px 0 4px;
  color: var(--accent);
  font-size: 11px;
}
.ticket-detail {
  margin: 0 0 8px;
  color: var(--secondary);
  font-size: 12.5px;
  line-height: 1.7;
  white-space: pre-line;
}
.ticket-evidence {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 8px 0;
}
.ticket-evidence img {
  width: 92px;
  height: 62px;
  object-fit: cover;
  border: 1px solid var(--separator-strong);
  border-radius: 3px;
}
.ticket-evidence a {
  color: var(--accent);
  font-size: 11px;
  border: 1px solid var(--separator-strong);
  padding: 4px 8px;
  border-radius: 3px;
}
.ticket-note {
  margin: 8px 0;
  padding: 8px 10px;
  border-left: 2px solid var(--accent);
  background: rgba(91, 124, 255, 0.06);
  color: var(--secondary);
  font-size: 12px;
}
.ticket-at {
  display: block;
  color: var(--quaternary);
  font-size: 9px;
}
.ticket-evidence-preview {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
@media (max-width: 960px) {
  .ticket-layout {
    grid-template-columns: 1fr;
  }
  .ticket-form-card {
    position: static;
  }
}

/* 导航项较多：桌面端压缩间距，避免换行 */
@media (min-width: 960px) {
  .site-head .head-in {
    gap: 14px;
  }
  .site-head .nav {
    gap: 12px;
  }
  .site-head .nav > a {
    font-size: 12px;
    white-space: nowrap;
  }
}
@media (min-width: 960px) and (max-width: 1279px) {
  .site-head .nav {
    gap: 8px;
  }
  .site-head .nav > a {
    font-size: 11.5px;
  }
}

/* =========================================================
   导航「更多」下拉
   ========================================================= */
.nav-more {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 0;
  background: transparent;
  color: var(--secondary);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  padding: 4px 0;
}
.nav-more-btn i {
  font-style: normal;
  font-size: 9px;
  color: var(--tertiary);
}
.nav-more-btn:hover,
.nav-more.open .nav-more-btn,
.nav-more:has(a.is-active) .nav-more-btn {
  color: #fff;
}
.nav-more-panel {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 150px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 5px;
  background: #0b0b10;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.6);
  z-index: 120;
}
.nav-more.open .nav-more-panel {
  display: grid;
  gap: 2px;
}
.nav-more-panel a {
  padding: 8px 12px;
  border-radius: 3px;
  color: var(--secondary);
  font-size: 12px;
  white-space: nowrap;
}
.nav-more-panel a:hover,
.nav-more-panel a.is-active {
  color: #fff;
  background: rgba(255, 47, 174, 0.1);
}

/* =========================================================
   赞助榜华丽化 + 自定义标签背景
   ========================================================= */
.sp-podium-card {
  position: relative;
  overflow: hidden;
  background: #0b0b0f !important;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.sp-podium-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  padding: 1px;
  border-radius: inherit;
  background: conic-gradient(from 0deg, transparent, rgba(255, 212, 0, 0.8), transparent 28%, rgba(255, 47, 174, 0.75), transparent 62%);
  animation: spBorderSpin 9s linear infinite;
  opacity: 0.8;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.sp-podium-card > * {
  position: relative;
  z-index: 1;
}
.sp-podium-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px -34px rgba(255, 212, 0, 0.65);
}
.sp-podium-card.is-gold {
  border-color: rgba(255, 212, 0, 0.6);
  background:
    radial-gradient(420px 220px at 50% 0%, rgba(255, 212, 0, 0.18), transparent 70%),
    #0b0b0f !important;
}
.sp-podium-card.is-silver {
  border-color: rgba(203, 213, 225, 0.5);
  background:
    radial-gradient(420px 220px at 50% 0%, rgba(203, 213, 225, 0.14), transparent 70%),
    #0b0b0f !important;
}
.sp-podium-card.is-bronze {
  border-color: rgba(205, 127, 50, 0.55);
  background:
    radial-gradient(420px 220px at 50% 0%, rgba(205, 127, 50, 0.15), transparent 70%),
    #0b0b0f !important;
}
.sp-podium-rank {
  font-size: 34px;
  color: rgba(255, 255, 255, 0.45);
  text-shadow: 0 0 24px rgba(255, 212, 0, 0.25);
}
.sp-podium-card.is-gold .sp-podium-rank {
  color: #ffd400;
}
.sp-podium-card.is-silver .sp-podium-rank {
  color: #d7e0ec;
}
.sp-podium-card.is-bronze .sp-podium-rank {
  color: #e08a3c;
}
.sp-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border: 1px solid rgba(255, 47, 174, 0.35);
  border-radius: 3px;
  background: rgba(255, 47, 174, 0.08);
  color: #ff8ad8;
  font-size: 10px;
  letter-spacing: 0.05em;
  background-size: cover;
  background-position: center;
}
.sp-tag.has-bg {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
  box-shadow: inset 0 0 0 100px rgba(0, 0, 0, 0.22);
}
.sp-card-tags,
.sp-podium-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 8px 0 0;
}
.sp-podium-tags {
  justify-content: center;
}
.sp-podium-since {
  display: block;
  margin-top: 6px;
  color: var(--quaternary);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
}
.sp-card {
  position: relative;
  border-color: rgba(255, 255, 255, 0.1);
  background: #0b0b0f;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.sp-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 47, 174, 0.35);
}
.sp-card-tags .honor-pill,
.sp-podium-tags .honor-pill {
  font-size: 8.5px;
  padding: 2px 7px 2px 15px;
}
.tag-bg-preview {
  min-height: 72px;
  display: grid;
  place-items: center;
  margin: 12px 0;
  border: 1px dashed var(--separator-strong);
  border-radius: 4px;
  background: #08080b;
}
.tag-bg-preview .sp-tag {
  padding: 8px 18px;
  font-size: 13px;
}
@keyframes spBorderSpin {
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .sp-podium-card::before {
    animation: none;
  }
}

/* 头衔管理拖动排序 */
#view table tbody tr[draggable="true"] {
  cursor: grab;
}
#view table tbody tr.is-dragging {
  opacity: 0.45;
  background: rgba(255, 47, 174, 0.1) !important;
}

/* 导航下拉层级修复（避免被公告条/首屏盖住） */
.site-head {
  z-index: 300 !important;
}
.nav-more.open .nav-more-panel {
  z-index: 500;
}

/* 头衔铭牌再强化：更像“装逼铭牌” */
.honor-pill {
  box-shadow:
    0 0 14px color-mix(in srgb, var(--pill, #ffd400) 38%, transparent),
    0 0 30px color-mix(in srgb, var(--pill, #ffd400) 18%, transparent),
    inset 0 0 12px color-mix(in srgb, var(--pill, #ffd400) 22%, transparent);
  filter: drop-shadow(0 0 8px color-mix(in srgb, var(--pill, #ffd400) 30%, transparent));
}
.page-head h1 .honor-pill,
.pf-main h1 .honor-pill,
.profile-head h1 .honor-pill {
  font-size: 12.5px;
  padding: 5px 13px 5px 23px;
  vertical-align: 6px;
  box-shadow:
    0 0 18px color-mix(in srgb, var(--pill, #ffd400) 45%, transparent),
    0 0 40px color-mix(in srgb, var(--pill, #ffd400) 22%, transparent),
    inset 0 0 14px color-mix(in srgb, var(--pill, #ffd400) 28%, transparent);
}
.page-head h1 .honor-pill::before,
.pf-main h1 .honor-pill::before,
.profile-head h1 .honor-pill::before {
  font-size: 10px;
}
.honor-pill:hover {
  filter: drop-shadow(0 0 14px color-mix(in srgb, var(--pill, #ffd400) 70%, transparent)) brightness(1.25);
}

/* 赞助联系弹层 */
.sponsor-contact-steps {
  margin: 14px 0 16px;
  padding: 12px 14px;
  border: 1px solid var(--separator-strong);
  background: #0d0d13;
}
.sponsor-contact-steps p {
  margin: 6px 0;
  color: var(--secondary);
  font-size: 13px;
  line-height: 1.6;
}
.sponsor-contact-steps b {
  color: #fff;
}

/* 战队榜前三行也沿用玩家榜效果 */
#view .rank-row-1 td,
.rank-row-1 td {
  border-top-color: rgba(255, 212, 0, 0.22);
}
.rank-row-2 td {
  border-top-color: rgba(203, 213, 225, 0.18);
}
.rank-row-3 td {
  border-top-color: rgba(205, 127, 50, 0.2);
}

/* 导航字号增大 */
@media (min-width: 960px) {
  .site-head .nav {
    gap: 16px;
  }
  .site-head .nav > a,
  .site-head .nav-more-btn {
    font-size: 13.5px;
  }
}
@media (min-width: 960px) and (max-width: 1279px) {
  .site-head .nav {
    gap: 10px;
  }
  .site-head .nav > a,
  .site-head .nav-more-btn {
    font-size: 12.5px;
  }
}

/* 赞助伙伴：平等展示 + 老板情绪价值 */
.sp-equal-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.sp-equal-head h2 {
  margin: 4px 0 4px;
  font-size: clamp(22px, 2.4vw, 32px);
}
.sp-equal-head p {
  margin: 0;
  color: var(--secondary);
  font-size: 13px;
}
.sp-equal-head > .mono {
  color: var(--quaternary);
  font-size: 10px;
  letter-spacing: 0.12em;
}
.sp-all-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.sp-equal-card {
  position: relative;
  overflow: hidden;
  min-height: 218px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 7px;
  background:
    radial-gradient(300px 180px at 30% 0%, rgba(255, 212, 0, 0.06), transparent 70%),
    #0b0b0f;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  isolation: isolate;
}
.sp-equal-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(360px 200px at var(--mx, 50%) var(--my, 0%), rgba(255, 212, 0, 0.18), transparent 66%);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.sp-equal-card:hover::before {
  opacity: 1;
}
.sp-equal-card:hover {
  transform: translateY(-7px) scale(1.012);
  border-color: rgba(255, 212, 0, 0.55);
  box-shadow: 0 28px 70px -38px rgba(255, 212, 0, 0.7), 0 0 34px rgba(255, 47, 174, 0.12);
}
.sp-card-glow {
  position: absolute;
  inset: -35%;
  z-index: 0;
  background: conic-gradient(from 0deg, transparent, rgba(255, 212, 0, 0.38), transparent 24%, rgba(255, 47, 174, 0.3), transparent 58%);
  filter: blur(28px);
  opacity: 0.06;
  animation: spGlowSpin 8s linear infinite;
  pointer-events: none;
}
.sp-equal-card:hover .sp-card-glow {
  opacity: 0.2;
}
.sp-equal-card > *:not(.sp-card-glow) {
  position: relative;
  z-index: 2;
}
.sp-card-thanks {
  position: absolute;
  top: 12px;
  right: 12px;
  color: #ffd400;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.16em;
  opacity: 0;
  transform: translateY(-5px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  text-shadow: 0 0 12px rgba(255, 212, 0, 0.65);
}
.sp-equal-card:hover .sp-card-thanks {
  opacity: 1;
  transform: translateY(0);
}
.sp-equal-card .sp-logo {
  width: 52px;
  height: 52px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.sp-equal-card:hover .sp-logo {
  transform: rotate(-4deg) scale(1.1);
  box-shadow: 0 0 30px rgba(255, 212, 0, 0.25);
}
.sp-equal-card .sp-card-top {
  margin-top: 14px;
}
.sp-equal-card .sp-card-top b {
  font-size: 18px;
  background: linear-gradient(100deg, #fff, #ffe680 55%, #ffd400);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: spNameShine 4.5s linear infinite;
}
.sp-equal-card .sp-card-tags {
  margin: 9px 0;
}
.sp-equal-card .sp-card-body p {
  color: var(--secondary);
  font-size: 12.5px;
  line-height: 1.7;
  min-height: 40px;
}
.sp-equal-card .sp-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
  color: var(--quaternary);
  font-size: 10px;
}
.sp-card-heart {
  color: #ff2fae;
  font-size: 14px;
  display: inline-block;
  animation: spHeartBeat 1.6s ease-in-out infinite;
}
@keyframes spGlowSpin {
  to { transform: rotate(360deg); }
}
@keyframes spNameShine {
  to { background-position: 200% 0; }
}
@keyframes spHeartBeat {
  0%, 100% { transform: scale(1); }
  18% { transform: scale(1.3); }
  36% { transform: scale(1); }
}
@media (max-width: 620px) {
  .sp-equal-grid,
  .sp-all-grid {
    grid-template-columns: 1fr;
  }
  .sp-equal-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* 赞助伙伴标签动效（修复“赞助伙伴”头衔效果不显示） */
.sp-tag-animated {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-color: rgba(255, 47, 174, 0.65);
  background-color: rgba(255, 47, 174, 0.1);
  animation: spTagBreath 2.8s ease-in-out infinite;
}
.sp-tag-animated::after {
  content: "";
  position: absolute;
  inset: -60% -130%;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.5) 50%, transparent 65%);
  animation: spTagShine 3.2s ease-in-out infinite;
  pointer-events: none;
}
.sp-tag-animated.has-bg {
  background-blend-mode: normal;
  box-shadow: inset 0 0 0 100px rgba(0, 0, 0, 0.18), 0 0 16px rgba(255, 47, 174, 0.25);
}
.sp-equal-card.is-mine {
  border-color: rgba(255, 212, 0, 0.7);
  box-shadow: 0 0 0 1px rgba(255, 212, 0, 0.18), 0 24px 60px -40px rgba(255, 212, 0, 0.8);
}
.sp-mine-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  left: auto;
  z-index: 3;
  padding: 3px 8px;
  white-space: nowrap;
  border: 1px solid rgba(255, 212, 0, 0.55);
  border-radius: 3px;
  background: rgba(255, 212, 0, 0.1);
  color: #ffd400;
  font-size: 9px;
  letter-spacing: 0.08em;
}
@keyframes spTagBreath {
  0%, 100% { box-shadow: 0 0 7px rgba(255, 47, 174, 0.25); filter: brightness(1); }
  50% { box-shadow: 0 0 20px rgba(255, 47, 174, 0.55); filter: brightness(1.25); }
}
@keyframes spTagShine {
  0%, 52% { transform: translateX(-120%) skewX(-18deg); }
  86%, 100% { transform: translateX(120%) skewX(-18deg); }
}
.sp-equal-card.is-mine .sp-mine-badge {
  animation: spTagBreath 2.4s ease-in-out infinite;
}
.sp-equal-card.is-mine .sp-card-thanks {
  top: 40px;
}

/* 树洞图片/评论增强 */
.wall-upload-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0;
}
.wall-image-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0;
}
.wall-preview-item {
  position: relative;
  width: 92px;
  height: 70px;
  border: 1px solid var(--separator-strong);
  border-radius: 4px;
  overflow: hidden;
  background: #08080b;
}
.wall-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wall-preview-item button {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 18px;
  height: 18px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  cursor: pointer;
  line-height: 1;
}
.wall-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 8px;
  margin: 10px 0 4px;
  max-width: 560px;
}
.wall-images img {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  border: 1px solid var(--separator-strong);
  border-radius: 5px;
  cursor: zoom-in;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.wall-images img:hover {
  transform: scale(1.015);
  border-color: rgba(255, 47, 174, 0.45);
}
.wall-lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  padding: 30px;
  background: rgba(0, 0, 0, 0.88);
  cursor: zoom-out;
}
.wall-lightbox img {
  max-width: min(1100px, 94vw);
  max-height: 88vh;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7);
}
.wall-comments.is-open {
  display: block;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--separator);
}
.wall-comment-count {
  color: var(--tertiary);
  font-size: 12px;
}
.wall-comments-all {
  border: 0;
  background: transparent;
  color: var(--accent);
  font-size: 11px;
  cursor: pointer;
  padding: 0;
}
.wall-comments-all:hover {
  text-decoration: underline;
}
.wall-comment-form {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
.wall-comment-form .input {
  flex: 1;
}
