/* =========================================================
   V102：全站清晰度 / 立体感 / 首页色彩 / 排行榜压场
   加载顺序：放在所有样式最后，用于统一覆盖
   ========================================================= */

:root {
  --shell: 1440px;
  --secondary: rgba(255, 255, 255, 0.74);
  --tertiary: rgba(255, 255, 255, 0.58);
  --quaternary: rgba(255, 255, 255, 0.34);
  --font-cjk: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB",
    "Noto Sans SC", "Source Han Sans SC", "WenQuanYi Micro Hei", system-ui, -apple-system, "Segoe UI", sans-serif;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-size: clamp(16px, 0.30vw + 11.2px, 19px);
  font-weight: 500;
  letter-spacing: 0.012em;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.shell {
  max-width: var(--shell);
  padding-left: clamp(22px, 2.2vw, 56px);
  padding-right: clamp(22px, 2.2vw, 56px);
}

h1, h2, h3, h4, .section-head h2, .page-head h1 {
  letter-spacing: -0.015em;
  text-wrap: balance;
}

p {
  line-height: 1.85;
}

.mono, .kicker, .club-kicker {
  font-size: max(11px, 0.78em);
  letter-spacing: 0.12em;
}

.kicker {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 600;
}

.section-head h2 {
  font-size: clamp(38px, 3.1vw, 58px);
  line-height: 1.12;
  color: #fff;
}

.section-head p {
  font-size: clamp(14px, 0.95vw, 17px);
  color: rgba(255, 255, 255, 0.7);
}

.page-head h1 {
  font-size: clamp(50px, 4.6vw, 88px);
}

/* ---------- 导航更清楚 ---------- */
.site-head .nav {
  gap: clamp(15px, 1.15vw, 24px);
}
.site-head .nav > a,
.site-head .nav-more-btn {
  font-size: clamp(14px, 0.8vw, 16px);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.78);
}
.site-head .nav > a:hover,
.site-head .nav > a.is-active,
.site-head .nav-more-btn:hover {
  color: #fff;
}

/* ---------- 全站立体卡片 ---------- */
.card,
.wall-item,
.server-card,
.event-card,
.team-card,
.member-card,
.stat-tile,
.home-bulletin,
.sp-equal-card,
.table-wrap,
.intro-copy,
.intro-flow,
.owner,
.ticket-item,
.gallery-item,
.rank-podium-card {
  border-color: rgba(255, 255, 255, 0.15) !important;
  border-radius: 10px !important;
  box-shadow:
    0 26px 60px -34px rgba(0, 0, 0, 0.95),
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 -1px 0 rgba(0, 0, 0, 0.58) inset,
    0 0 0 1px rgba(255, 255, 255, 0.025) !important;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.card:hover,
.wall-item:hover,
.server-card:hover,
.event-card:hover,
.team-card:hover,
.member-card:hover,
.stat-tile:hover,
.sp-equal-card:hover,
.ticket-item:hover,
.gallery-item:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.28) !important;
  box-shadow:
    0 36px 80px -34px rgba(0, 0, 0, 1),
    0 0 30px -12px rgba(255, 47, 174, 0.3),
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 -1px 0 rgba(0, 0, 0, 0.6) inset !important;
}

.card-head {
  border-bottom-color: rgba(255, 255, 255, 0.09) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent);
}

.btn {
  border-radius: 6px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow:
    0 7px 18px -10px rgba(0, 0, 0, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(0, 0, 0, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 12px 24px -12px rgba(0, 0, 0, 0.95),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.btn-primary {
  background-image: linear-gradient(135deg, #ff2fae, #ff5ac0 52%, #ffd400) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  color: #12000a !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary:hover {
  background-image: linear-gradient(135deg, #ff55bb, #ff7fce 52%, #ffe45c) !important;
}
.btn-ghost {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  color: #fff !important;
}

/* ---------- 首页 Hero：加颜色、加光、加立体 ---------- */
.club-hero-slide {
  filter: saturate(1.28) contrast(1.08) brightness(0.9);
}
.club-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 540px at 82% 18%, rgba(255, 47, 174, 0.34), transparent 64%),
    radial-gradient(760px 520px at 22% 28%, rgba(54, 132, 255, 0.3), transparent 66%),
    radial-gradient(620px 420px at 58% 88%, rgba(255, 212, 0, 0.14), transparent 70%);
  mix-blend-mode: screen;
  animation: heroColorShift 14s ease-in-out infinite alternate;
}
.club-hero-veil {
  background:
    linear-gradient(90deg, rgba(4, 4, 9, 0.94) 0%, rgba(4, 4, 9, 0.72) 42%, rgba(4, 4, 9, 0.32) 78%, rgba(4, 4, 9, 0.5) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 32%, rgba(0, 0, 0, 0.78) 100%) !important;
}
.club-hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 12%;
  width: 1px;
  height: 100%;
  z-index: 1;
  background: linear-gradient(180deg, transparent, rgba(255, 47, 174, 0.48), rgba(91, 124, 255, 0.3), transparent);
  box-shadow: 0 0 24px rgba(255, 47, 174, 0.28);
  pointer-events: none;
}
.club-hero-copy {
  position: relative;
  z-index: 2;
}
.club-hero h1 {
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.55));
}
.club-tag {
  color: #fff !important;
  font-size: clamp(23px, 1.7vw, 32px) !important;
  text-shadow: 0 0 26px rgba(255, 47, 174, 0.3);
}
.club-intro {
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: clamp(15px, 0.98vw, 18px) !important;
  max-width: 760px;
}
.club-stats li b {
  font-size: clamp(40px, 2.6vw, 58px) !important;
  background: linear-gradient(180deg, #fff, #ffe680 56%, #ffb800);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 18px rgba(255, 212, 0, 0.22));
}
.club-stats li span {
  color: rgba(255, 255, 255, 0.68) !important;
  font-size: 13.5px !important;
}
.club-cta .btn-lg {
  font-size: 15px !important;
}

/* ---------- 排行榜：前三整行压场 + 领奖台 ---------- */
.table th {
  font-size: 11.5px !important;
  letter-spacing: 0.11em;
  color: rgba(255, 255, 255, 0.56) !important;
}
.table td {
  font-size: 13.5px !important;
  padding-top: 14px !important;
  padding-bottom: 14px !important;
}
.table .num {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.88);
}
.rank-name {
  font-size: 16px !important;
}
.rank-medal {
  width: 24px !important;
  height: 24px !important;
  font-size: 12px !important;
  margin-right: 8px !important;
  border-radius: 50%;
}
.rank-row-1 td {
  background:
    linear-gradient(90deg, rgba(255, 212, 0, 0.2), rgba(255, 212, 0, 0.055) 46%, transparent 78%) !important;
  border-bottom-color: rgba(255, 212, 0, 0.22) !important;
}
.rank-row-1 td:first-child {
  box-shadow: inset 4px 0 0 #ffd400;
}
.rank-row-2 td {
  background: linear-gradient(90deg, rgba(210, 220, 235, 0.14), rgba(210, 220, 235, 0.04) 46%, transparent 78%) !important;
  border-bottom-color: rgba(210, 220, 235, 0.2) !important;
}
.rank-row-2 td:first-child {
  box-shadow: inset 4px 0 0 #cbd5e1;
}
.rank-row-3 td {
  background: linear-gradient(90deg, rgba(205, 127, 50, 0.16), rgba(205, 127, 50, 0.045) 46%, transparent 78%) !important;
  border-bottom-color: rgba(205, 127, 50, 0.22) !important;
}
.rank-row-3 td:first-child {
  box-shadow: inset 4px 0 0 #d08a43;
}
.rank-row .rank {
  font-size: 25px !important;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.86);
}
.rank-row-1 .rank {
  color: #ffd400 !important;
  text-shadow: 0 0 20px rgba(255, 212, 0, 0.45);
}
.rank-row-2 .rank {
  color: #dbe5f2 !important;
}
.rank-row-3 .rank {
  color: #e0a05c !important;
}

.rk-podium {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.14fr) minmax(0, 1fr);
  gap: 14px;
  align-items: end;
  margin: 2px 0 20px;
}
.rk-podium-card {
  position: relative;
  overflow: hidden;
  padding: 24px 16px 18px;
  text-align: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012));
  isolation: isolate;
}
.rk-podium-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.22;
  background: radial-gradient(380px 240px at 50% 0%, var(--pod, #ffd400), transparent 72%);
}
.rk-podium-card.place-1 {
  --pod: #ffd400;
  transform: translateY(-16px);
  border-color: rgba(255, 212, 0, 0.6) !important;
  box-shadow: 0 30px 70px -34px rgba(255, 212, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}
.rk-podium-card.place-2 {
  --pod: #cbd5e1;
}
.rk-podium-card.place-3 {
  --pod: #c97832;
}
.rk-podium-card .rk-crown {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  color: #ffd400;
  font-size: 22px;
  filter: drop-shadow(0 0 12px rgba(255, 212, 0, 0.7));
  animation: rkCrownFloat 3s ease-in-out infinite;
}
.rk-avatar {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  margin: 8px auto 12px;
  border-radius: 50%;
  border: 2px solid var(--pod, #ffd400);
  background: #0c0c12;
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  box-shadow: 0 0 26px color-mix(in srgb, var(--pod, #ffd400) 35%, transparent);
  background-size: cover;
  background-position: center;
}
.rk-podium-card.place-1 .rk-avatar {
  width: 78px;
  height: 78px;
  font-size: 28px;
}
.rk-name {
  display: block;
  color: #fff;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.3;
}
.place-1 .rk-name {
  font-size: 23px;
  background: linear-gradient(100deg, #fff, #ffe680 45%, #ffd400);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.rk-sub {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
}
.rk-metric {
  display: block;
  margin-top: 10px;
  color: var(--pod, #ffd400);
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
}
.place-1 .rk-metric {
  font-size: 34px;
}
.rk-place-label {
  display: inline-block;
  margin-top: 12px;
  padding: 3px 10px;
  border: 1px solid color-mix(in srgb, var(--pod, #ffd400) 45%, transparent);
  border-radius: 999px;
  color: var(--pod, #ffd400);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
}
@keyframes heroColorShift {
  0% { opacity: 0.72; transform: scale(1); }
  100% { opacity: 0.98; transform: scale(1.035); }
}
@keyframes rkCrownFloat {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, -5px); }
}

/* ---------- 大屏：跟着屏幕放大，而不是缩成一小块 ---------- */
@media (min-width: 1600px) {
  :root { --shell: 1580px; }
  body { font-size: 17px; }
  .section-head h2 { font-size: 54px; }
  .page-head h1 { font-size: 82px; }
  .club-hero-grid .club-hero-copy h1 { font-size: clamp(150px, 8vw, 200px) !important; }
  .club-stats li b { font-size: 56px !important; }
}
@media (min-width: 1920px) {
  :root { --shell: 1760px; }
  body { font-size: 18px; }
  .club-hero-grid .club-hero-copy h1 { font-size: clamp(180px, 8.6vw, 240px) !important; }
  .club-hero { min-height: 90svh; }
}
@media (max-width: 760px) {
  .rk-podium {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .rk-podium-card.place-1 { transform: none; }
  .rank-row .rank { font-size: 19px !important; }
}

/* 首页底图恢复彩色 + 更明显的彩色氛围 */
.club-hero-media {
  filter: saturate(1.5) contrast(1.06) brightness(0.84) !important;
}
.club-hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(112deg, rgba(255, 47, 174, 0.42), rgba(255, 47, 174, 0.06) 32%, rgba(54, 132, 255, 0.28) 66%, rgba(255, 212, 0, 0.14));
  mix-blend-mode: soft-light;
}
.club-hero-veil {
  background:
    linear-gradient(90deg, rgba(4, 4, 9, 0.92) 0%, rgba(4, 4, 9, 0.62) 40%, rgba(4, 4, 9, 0.26) 76%, rgba(4, 4, 9, 0.42) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 38%, rgba(0, 0, 0, 0.7) 100%) !important;
}

/* 卡片顶部高光，让框更像有厚度 */
.card:not(.server-card):not(.event-card) {
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.008) 18%, transparent 52%);
}
.admin-toolbar,
.tabs,
.home-bulletin,
.rank-podium-card,
.table-wrap {
  box-shadow:
    0 22px 54px -30px rgba(0, 0, 0, 0.95),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(0, 0, 0, 0.55) !important;
}

/* 各页面头部也加一点色彩，避免整站只有黑白 */
.page-head {
  position: relative;
  isolation: isolate;
}
.page-head::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(255, 47, 174, 0.13), transparent 42%, rgba(54, 132, 255, 0.12) 72%, transparent),
    radial-gradient(520px 260px at 78% 10%, rgba(255, 212, 0, 0.08), transparent 70%);
  mix-blend-mode: screen;
}
.page-head > .shell {
  position: relative;
  z-index: 1;
}
.page-head p {
  color: rgba(255, 255, 255, 0.76) !important;
}

/* 卡片倒角高光：上亮下暗，强化立体厚度 */
.card,
.wall-item,
.server-card,
.event-card,
.team-card,
.member-card,
.stat-tile,
.home-bulletin,
.sp-equal-card,
.table-wrap,
.intro-copy,
.intro-flow,
.owner,
.ticket-item,
.gallery-item,
.rank-podium-card,
.admin-toolbar,
.tabs {
  border-top-color: rgba(255, 255, 255, 0.24) !important;
  border-left-color: rgba(255, 255, 255, 0.13) !important;
  border-right-color: rgba(0, 0, 0, 0.36) !important;
  border-bottom-color: rgba(0, 0, 0, 0.72) !important;
}

/* ---------- 赞助名片改版：头像 + 名字 + 头衔行 + 自定义背景 ---------- */
.sp-equal-card {
  min-height: 236px;
  background-color: #0b0b0f;
  background-image:
    linear-gradient(180deg, rgba(7, 7, 11, 0.62), rgba(7, 7, 11, 0.88) 62%, rgba(7, 7, 11, 0.96)),
    var(--card-bg, linear-gradient(135deg, #14141d, #0b0b0f 70%));
  background-size: cover;
  background-position: center;
}
.sp-card-cover {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: var(--card-bg);
  background-size: cover;
  background-position: center;
  opacity: 0.9;
  transition: transform 0.6s ease, opacity 0.3s ease;
}
.sp-card-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 8, 12, 0.5), rgba(8, 8, 12, 0.86) 68%, rgba(8, 8, 12, 0.96));
}
.sp-equal-card:hover .sp-card-cover {
  transform: scale(1.04);
}
.sp-card-body {
  position: relative;
  z-index: 2;
}
.sp-card-head {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 13px;
}
.sp-equal-card .sp-logo {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  border-radius: 9px;
}
.sp-card-headtext {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sp-card-headtext b {
  display: block;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.01em;
  word-break: normal;
  overflow-wrap: break-word;
  background: linear-gradient(100deg, #fff, #ffe680 56%, #ffd400);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: spNameShine 5s linear infinite;
}
.sp-card-headtext .mono {
  color: rgba(255, 255, 255, 0.52);
  font-size: 10px;
  letter-spacing: 0.08em;
}
.sp-equal-card .sp-card-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 10px 0 11px;
}
.sp-equal-card .sp-card-tags .honor-pill,
.sp-equal-card .sp-tag {
  white-space: nowrap;
  flex: 0 0 auto;
}
.sp-equal-card .sp-card-body p {
  min-height: 40px;
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12.5px;
  line-height: 1.72;
}
.sp-equal-card .sp-card-foot {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
}
.sp-equal-card .sp-card-body {
  display: flex;
  flex-direction: column;
  min-height: 200px;
}
.sp-equal-card .sp-card-foot .sp-card-heart {
  margin-left: auto;
}
.sp-equal-card.is-mine .sp-card-cover {
  opacity: 1;
}
.sp-equal-card .sp-card-thanks {
  z-index: 4;
}
.sp-equal-card .sp-mine-badge {
  z-index: 4;
}

/* ---------- 树洞背景/花名册卡片背景 ---------- */
.wall-head {
  background-image:
    linear-gradient(105deg, rgba(5, 5, 10, 0.86), rgba(11, 8, 20, 0.48) 52%, rgba(5, 5, 10, 0.26)),
    url("/assets/img/hero/squad-12.jpg") !important;
  background-size: cover !important;
  background-position: center 32% !important;
  min-height: 300px;
}
.wall-head h1 {
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.7);
}
.wall-compose {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background:
    radial-gradient(520px 220px at 88% 0%, rgba(255, 47, 174, 0.1), transparent 70%),
    rgba(13, 13, 19, 0.86);
  box-shadow: 0 24px 60px -36px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  padding: 18px;
}
.wall-item {
  background-image:
    radial-gradient(420px 180px at 100% 0%, rgba(91, 124, 255, 0.07), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.008)) !important;
}
.card-bg-preview {
  min-height: 132px;
  margin: 12px 0;
  border: 1px dashed var(--separator-strong);
  border-radius: 8px;
  background:
    radial-gradient(260px 120px at 50% 0%, rgba(255, 47, 174, 0.14), transparent 70%),
    #08080b;
  background-size: cover;
  background-position: center;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
}
.team-card[style*="--card-bg"] {
  background-image:
    linear-gradient(180deg, rgba(6, 6, 11, 0.52), rgba(6, 6, 11, 0.9) 72%),
    var(--card-bg) !important;
  background-size: cover !important;
  background-position: center !important;
}

/* 赞助名片：桌面四列，避免名字被挤成竖排 */
@media (min-width: 900px) {
  .sp-all-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}
.sp-card-headtext {
  flex: 1 1 0%;
  width: 0;
  min-width: 0;
  max-width: none;
}

/* 赞助名片名字保持单行 / 省略，避免被挤成竖排 */
.sp-card-headtext b {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* 修复旧 .sp-card 的居中 flex 导致内容变窄 */
.sp-equal-card {
  display: block !important;
}
.sp-equal-card .sp-card-body {
  width: 100% !important;
  align-items: stretch;
}

/* 名片默认也有氛围底纹，避免纯黑单调 */
.sp-equal-card {
  background-image:
    linear-gradient(180deg, rgba(7, 7, 11, 0.62), rgba(7, 7, 11, 0.9) 62%, rgba(7, 7, 11, 0.97)),
    radial-gradient(320px 180px at 8% 0%, rgba(255, 47, 174, 0.16), transparent 70%),
    radial-gradient(280px 180px at 92% 12%, rgba(91, 124, 255, 0.13), transparent 72%),
    linear-gradient(135deg, #171722, #0b0b0f 72%) !important;
}

/* ---------- 服务器社区卡/服务器卡：更强立体 + 更清楚 ---------- */
.srv-community {
  position: relative;
  overflow: hidden;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012) 20%, rgba(0, 0, 0, 0.18)),
    #0d0d13;
  box-shadow:
    0 24px 52px -30px rgba(0, 0, 0, 0.95),
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 -2px 0 rgba(0, 0, 0, 0.6) inset !important;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.srv-community::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--srv-color, #ff2fae), transparent);
  box-shadow: 0 0 18px var(--srv-color, #ff2fae);
}
.srv-community::after {
  content: "";
  position: absolute;
  right: -30px;
  top: -50px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--srv-color, #ff2fae) 20%, transparent), transparent 68%);
  pointer-events: none;
}
.srv-community:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--srv-color, #ff2fae) 45%, rgba(255, 255, 255, 0.2));
  box-shadow:
    0 32px 70px -30px rgba(0, 0, 0, 1),
    0 0 30px -12px var(--srv-color, #ff2fae),
    0 1px 0 rgba(255, 255, 255, 0.16) inset !important;
}
.srv-comm-top {
  position: relative;
  z-index: 1;
  font-size: 10.5px !important;
  color: rgba(255, 255, 255, 0.62) !important;
  letter-spacing: 0.1em;
}
.srv-community h2 {
  position: relative;
  z-index: 1;
  margin: 8px 0 5px;
  font-size: 21px !important;
  line-height: 1.25;
  color: #fff !important;
  text-shadow: 0 0 22px color-mix(in srgb, var(--srv-color, #ff2fae) 35%, transparent);
}
.srv-community p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 13px !important;
  color: rgba(255, 255, 255, 0.7) !important;
}
.server-card {
  overflow: hidden;
  box-shadow:
    0 30px 64px -34px rgba(0, 0, 0, 1),
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 -2px 0 rgba(0, 0, 0, 0.62) inset !important;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}
.server-card:hover {
  transform: translateY(-6px) scale(1.005);
  box-shadow:
    0 40px 80px -32px rgba(0, 0, 0, 1),
    0 0 36px -14px rgba(255, 47, 174, 0.4),
    0 1px 0 rgba(255, 255, 255, 0.18) inset,
    0 -2px 0 rgba(0, 0, 0, 0.7) inset !important;
}
.server-card .server-data {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* 字体再提清晰度：关键信息更大更亮 */
.club-stats li span {
  font-size: 14px !important;
  color: rgba(255, 255, 255, 0.78) !important;
  font-weight: 600 !important;
}
.club-stats li b {
  text-shadow: 0 0 22px rgba(255, 212, 0, 0.25);
}
.section-head p,
.page-head p {
  font-weight: 500;
}
.card-head h3 {
  font-size: 16px !important;
  color: #fff;
}
.table td {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* 首页数据沿用第二张图的颜色：白色数字 + 灰色说明 */
.club-stats li b {
  background: none !important;
  background-image: none !important;
  background-clip: border-box !important;
  -webkit-background-clip: border-box !important;
  -webkit-text-fill-color: #ffffff !important;
  color: #ffffff !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
  filter: none !important;
}
.club-stats li span {
  color: rgba(255, 255, 255, 0.56) !important;
  font-weight: 500 !important;
  font-size: 13.5px !important;
}

/* =========================================================
   赛事中心 / 排行榜：补氛围与层次
   ========================================================= */
.ev-head,
.rank-head {
  background-image:
    linear-gradient(105deg, rgba(4, 4, 8, 0.96), rgba(8, 8, 16, 0.72) 50%, rgba(4, 4, 8, 0.58)),
    url("/assets/img/hero/squad-09.jpg") !important;
  background-size: cover !important;
  background-position: center 34% !important;
}
.ev-overview {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 20px;
  margin-bottom: 20px;
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  background:
    radial-gradient(700px 240px at 0% 0%, rgba(255, 47, 174, 0.1), transparent 68%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.008));
  box-shadow: 0 26px 60px -34px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.ev-overview-main h2 {
  margin: 4px 0 3px;
  font-size: 28px;
  color: #fff;
}
.ev-overview-main p {
  margin: 0;
  color: var(--secondary);
  font-size: 13px;
}
.ev-overline {
  color: #ff8ad8;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
}
.ev-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(90px, 1fr));
  gap: 10px;
  align-items: stretch;
}
.ev-kpis div {
  min-width: 92px;
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
.ev-kpis b {
  display: block;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 25px;
  line-height: 1;
}
.ev-kpis span {
  display: block;
  margin-top: 5px;
  color: var(--tertiary);
  font-size: 10.5px;
}

.event-card {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 10px !important;
  box-shadow:
    0 28px 60px -34px rgba(0, 0, 0, 0.98),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -2px 0 rgba(0, 0, 0, 0.55) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.event-card:hover {
  transform: translateY(-7px);
  border-color: rgba(255, 47, 174, 0.45) !important;
  box-shadow:
    0 38px 80px -34px rgba(0, 0, 0, 1),
    0 0 36px -12px rgba(255, 47, 174, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.16) !important;
}
.event-cover {
  filter: saturate(1.25) contrast(1.06) brightness(0.82);
  transition: transform 0.5s ease;
}
.event-card:hover .event-cover {
  transform: scale(1.05);
}
.event-veil {
  background: linear-gradient(180deg, rgba(5, 5, 9, 0.18) 0%, rgba(5, 5, 9, 0.7) 46%, rgba(5, 5, 9, 0.96) 100%) !important;
}
.event-shine {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.09) 46%, transparent 62%);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
}
.event-card:hover .event-shine {
  transform: translateX(120%);
}
.event-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 310px;
  padding: 18px !important;
}
.event-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 10px;
}
.event-title {
  font-size: 22px !important;
  line-height: 1.3;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
}
.event-meta {
  gap: 6px 12px !important;
  margin-top: 9px;
  color: rgba(255, 255, 255, 0.62) !important;
  font-size: 11.5px !important;
}
.event-progress {
  height: 4px;
  margin: 12px 0 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}
.event-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff2fae, #ffd400);
  box-shadow: 0 0 10px rgba(255, 47, 174, 0.6);
}
.event-desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 7px 0 10px !important;
  color: rgba(255, 255, 255, 0.62) !important;
  font-size: 12.5px !important;
  line-height: 1.7;
}
.event-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 11px;
  border-top: 1px dashed rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.45);
  font-size: 10px;
}
.event-card-foot b {
  color: #ff8ad8;
  font-size: 11.5px;
  letter-spacing: 0.02em;
}
.event-card.is-internal {
  border-color: rgba(255, 212, 0, 0.25) !important;
}
.event-card.is-internal .event-card-foot b {
  color: #ffd400;
}

/* 梯队条 / 赛事服条更立体 */
.tier-strip,
.event-server-strip {
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 10px !important;
  background:
    radial-gradient(620px 220px at 100% 0%, rgba(91, 124, 255, 0.08), transparent 70%),
    rgba(12, 12, 18, 0.78) !important;
  box-shadow: 0 26px 60px -36px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  padding: 18px !important;
}
.tier-strip-grid .tier-mini,
.tier-strip-grid a {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012)) !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
  box-shadow: 0 16px 34px -24px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.tier-strip-grid .tier-mini:hover,
.tier-strip-grid a:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 47, 174, 0.35) !important;
}

/* 排行榜顶部与领奖台舞台 */
.rk-podium {
  position: relative;
  isolation: isolate;
  padding: 22px 20px 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(5, 5, 10, 0.4), rgba(5, 5, 10, 0.8)),
    url("/assets/img/hero/squad-06.jpg") center / cover !important;
  box-shadow: 0 32px 70px -38px rgba(0, 0, 0, 1), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.rk-podium::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(420px 220px at 50% 0%, rgba(255, 212, 0, 0.2), transparent 70%),
    linear-gradient(90deg, rgba(255, 47, 174, 0.08), transparent 40%, rgba(91, 124, 255, 0.08));
  pointer-events: none;
}
.rk-podium-card {
  backdrop-filter: blur(8px);
  background: linear-gradient(180deg, rgba(16, 16, 24, 0.82), rgba(9, 9, 14, 0.9)) !important;
  box-shadow:
    0 30px 60px -30px rgba(0, 0, 0, 0.95),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -2px 0 rgba(0, 0, 0, 0.55) !important;
}
.rk-podium-card.place-1 {
  box-shadow:
    0 34px 70px -28px rgba(255, 212, 0, 0.5),
    0 0 44px rgba(255, 212, 0, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}
.rk-podium-card::after {
  content: "";
  position: absolute;
  left: 14%;
  right: 14%;
  bottom: 0;
  height: 6px;
  border-radius: 50%;
  background: var(--pod, #ffd400);
  filter: blur(8px);
  opacity: 0.55;
}
.rk-avatar {
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.04), 0 0 32px color-mix(in srgb, var(--pod, #ffd400) 50%, transparent) !important;
}
.rank-head + .section .tabs {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9px;
  padding: 6px;
  background: rgba(14, 14, 20, 0.8);
  box-shadow: 0 20px 40px -30px rgba(0, 0, 0, 1), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.rank-head + .section .tab {
  padding: 9px 14px !important;
  font-size: 12.5px !important;
}
.rank-head + .section .tab.is-active {
  background: linear-gradient(135deg, #ff2fae, #ff7ac8) !important;
  color: #16000c !important;
  box-shadow: 0 6px 18px -10px rgba(255, 47, 174, 0.8);
}

@media (max-width: 900px) {
  .ev-overview {
    flex-direction: column;
  }
  .ev-kpis {
    grid-template-columns: repeat(2, 1fr);
  }
  .event-body,
  .event-card {
    min-height: 280px;
  }
}

/* 赛事报名流程：补足赛事页内容感 */
.event-flow {
  margin-top: 24px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 11px;
  background:
    radial-gradient(640px 240px at 0% 0%, rgba(255, 47, 174, 0.1), transparent 68%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.008));
  box-shadow: 0 28px 60px -38px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.09);
}
.event-flow-head h3 {
  margin: 4px 0 3px;
  color: #fff;
  font-size: 23px;
}
.event-flow-head p {
  margin: 0 0 16px;
  color: var(--secondary);
  font-size: 13px;
}
.event-flow-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.event-flow-steps > div {
  position: relative;
  min-height: 122px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  box-shadow: 0 16px 32px -24px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.event-flow-steps > div::after {
  content: "→";
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 47, 174, 0.7);
  font-size: 15px;
  z-index: 2;
}
.event-flow-steps > div:last-child::after {
  display: none;
}
.event-flow-steps b {
  display: block;
  color: #ff8ad8;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
}
.event-flow-steps strong {
  display: block;
  margin: 8px 0 5px;
  color: #fff;
  font-size: 14px;
}
.event-flow-steps span {
  display: block;
  color: rgba(255, 255, 255, 0.58);
  font-size: 11.5px;
  line-height: 1.6;
}
@media (max-width: 900px) {
  .event-flow-steps {
    grid-template-columns: 1fr;
  }
  .event-flow-steps > div::after {
    display: none;
  }
}

/* 标签背景图改为左侧缩略图，避免图片压住「赞助伙伴」文字 */
.sp-tag.has-bg {
  position: relative;
  overflow: hidden;
  background-image: none !important;
  background-color: rgba(10, 10, 16, 0.82) !important;
  padding-left: 30px;
  box-shadow: 0 0 16px rgba(255, 47, 174, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}
.sp-tag.has-bg::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  bottom: 3px;
  width: 21px;
  border-radius: 2px;
  background-image: var(--tag-bg);
  background-size: cover;
  background-position: center;
  z-index: 1;
}
.sp-tag.has-bg::after {
  display: none;
}

/* 赞助标签背景图：独立横幅展示，不与头衔文字重叠 */
.sp-tag-banner {
  display: block;
  width: 100%;
  height: 56px;
  margin: 3px 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  background-size: cover;
  background-position: center;
  box-shadow:
    0 10px 24px -16px rgba(0, 0, 0, 0.95),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: transform 0.28s ease, filter 0.28s ease, border-color 0.28s ease;
}
.sp-equal-card:hover .sp-tag-banner {
  transform: scale(1.012);
  filter: brightness(1.12) saturate(1.08);
  border-color: rgba(255, 47, 174, 0.45);
}
.sp-tag.has-bg {
  background-image: none !important;
}

/* =========================================================
   实体化：去掉透明玻璃感，框体用实色底
   ========================================================= */
.card,
.ev-overview,
.event-flow,
.event-flow-steps > div,
.ev-kpis div,
.event-server-strip,
.tier-strip,
.wall-compose,
.wall-item,
.rk-podium-card,
.sp-equal-card,
.table-wrap,
.home-bulletin,
.srv-community,
.member-card,
.team-card,
.ticket-item {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background-color: #0d0d13 !important;
}
.card,
.ev-overview,
.event-flow,
.event-server-strip,
.rk-podium-card,
.table-wrap,
.home-bulletin,
.srv-community,
.member-card,
.team-card,
.ticket-item {
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.006) 22%, rgba(0, 0, 0, 0.22)) !important;
}
.event-card .event-body {
  background: linear-gradient(180deg, rgba(8, 8, 12, 0.06), rgba(8, 8, 12, 0.58) 46%, #0b0b10 100%);
}
.ev-kpis div,
.event-flow-steps > div {
  background-image: none !important;
}
.sp-equal-card {
  background-image:
    linear-gradient(180deg, rgba(8, 8, 12, 0.86), rgba(8, 8, 12, 0.97)),
    radial-gradient(320px 180px at 8% 0%, rgba(255, 47, 174, 0.12), transparent 70%),
    radial-gradient(280px 180px at 92% 12%, rgba(91, 124, 255, 0.1), transparent 72%) !important;
}
.sp-card-cover {
  opacity: 0.72;
}

/* =========================================================
   最后一层：全部框体使用不透明实色面板
   ========================================================= */
.card,
.ev-overview,
.event-flow,
.event-server-strip,
.tier-strip,
.wall-compose,
.wall-item,
.rk-podium-card,
.table-wrap,
.home-bulletin,
.member-card,
.team-card,
.ticket-item,
.sp-equal-card,
.admin-toolbar {
  background-color: #17161f !important;
  opacity: 1 !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}
.card:not(.server-card):not(.event-card):not(.team-card),
.ev-overview,
.event-flow,
.event-server-strip,
.tier-strip,
.wall-compose,
.wall-item,
.rk-podium-card,
.table-wrap,
.home-bulletin,
.member-card,
.ticket-item {
  background-image: linear-gradient(180deg, #201e2b 0%, #17161f 42%, #14131c 100%) !important;
}
.srv-community {
  background-color: #1a1722 !important;
  background-image:
    linear-gradient(145deg, #241b31 0%, #191722 48%, #14131b 100%) !important;
  border-color: rgba(255, 255, 255, 0.24) !important;
  box-shadow:
    0 26px 52px -28px rgba(0, 0, 0, 1),
    0 1px 0 rgba(255, 255, 255, 0.18) inset,
    0 -2px 0 rgba(0, 0, 0, 0.72) inset !important;
}
.ev-kpis div,
.event-flow-steps > div {
  background-color: #1d1b27 !important;
  background-image: linear-gradient(180deg, #242131, #17161f) !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
}
.event-card .event-body {
  background: linear-gradient(180deg, rgba(8, 8, 12, 0.02), rgba(9, 9, 14, 0.68) 46%, #14131c 100%) !important;
}
.sp-equal-card {
  background-color: #17161f !important;
  background-image:
    linear-gradient(180deg, #211d2c 0%, #17161f 55%, #14131c 100%) !important;
}
.sp-equal-card .sp-card-cover {
  opacity: 0.68 !important;
}

/* =========================================================
   服务器社区卡 & 荣誉榜切换卡：换一种更有设计感的实体风格
   ========================================================= */
.srv-community {
  display: flex !important;
  align-items: center;
  gap: 16px;
  min-height: 112px;
  padding: 18px 20px !important;
  border-radius: 10px !important;
  background:
    linear-gradient(105deg, color-mix(in srgb, var(--srv-color, #ff2fae) 16%, #17161f) 0%, #17161f 42%, #12111a 100%) !important;
  border: 1px solid color-mix(in srgb, var(--srv-color, #ff2fae) 35%, #3a3848) !important;
  box-shadow:
    0 26px 54px -30px rgba(0, 0, 0, 1),
    0 1px 0 rgba(255, 255, 255, 0.14) inset,
    0 -2px 0 rgba(0, 0, 0, 0.65) inset !important;
}
.srv-community::before {
  height: 100%;
  left: 0;
  right: auto;
  width: 4px;
  top: 0;
  background: var(--srv-color, #ff2fae) !important;
  box-shadow: 0 0 20px color-mix(in srgb, var(--srv-color, #ff2fae) 55%, transparent);
}
.srv-community::after {
  width: 220px;
  height: 220px;
  right: -70px;
  top: -70px;
  opacity: 0.55;
}
.srv-comm-icon {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid color-mix(in srgb, var(--srv-color, #ff2fae) 55%, #fff);
  border-radius: 12px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--srv-color, #ff2fae) 28%, #211b2d), #14131b);
  color: #fff;
  font-size: 25px;
  font-weight: 900;
  text-shadow: 0 0 20px color-mix(in srgb, var(--srv-color, #ff2fae) 70%, transparent);
  box-shadow:
    0 10px 24px -14px rgba(0, 0, 0, 0.95),
    0 0 24px color-mix(in srgb, var(--srv-color, #ff2fae) 18%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.srv-comm-body {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  min-width: 0;
}
.srv-community .srv-comm-top {
  display: flex;
  align-items: center;
  gap: 10px;
}
.srv-community .srv-comm-top i {
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--srv-color, #ff2fae) 65%, transparent), transparent);
}
.srv-community h2 {
  margin: 7px 0 4px !important;
  font-size: 23px !important;
  letter-spacing: -0.02em;
}
.srv-community h2 em {
  margin-left: 6px;
  color: var(--srv-color, #ff2fae);
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.08em;
  vertical-align: 3px;
}
.srv-community p {
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.66) !important;
  font-size: 12.5px !important;
  line-height: 1.6;
}
.srv-comm-arrow {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  color: var(--srv-color, #ff2fae);
  font-size: 20px;
  opacity: 0.6;
  transition: transform 0.22s ease, opacity 0.22s ease;
}
.srv-community:hover .srv-comm-arrow {
  transform: translateX(4px);
  opacity: 1;
}

/* 荣誉榜切换卡：实体金边卡片，激活态不再黑底 */
.hw-tabs {
  position: relative;
  z-index: 5;
  gap: 12px !important;
}
.hw-tab {
  min-height: 92px;
  padding: 15px 18px !important;
  border-radius: 8px !important;
  border: 1px solid #3a3848 !important;
  background-color: #17161f !important;
  background-image:
    linear-gradient(180deg, #201e2b 0%, #17161f 62%, #13121a 100%) !important;
  color: rgba(255, 255, 255, 0.68) !important;
  box-shadow:
    0 20px 40px -30px rgba(0, 0, 0, 1),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -2px 0 rgba(0, 0, 0, 0.55) !important;
  overflow: hidden;
}
.hw-tab::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #ffd400;
  opacity: 0.45;
}
.hw-tab .hw-tab-idx {
  color: #ff8ad8 !important;
  font-size: 11px !important;
}
.hw-tab b {
  color: #fff !important;
  font-size: 17px !important;
}
.hw-tab i {
  color: rgba(255, 255, 255, 0.45) !important;
  font-size: 9.5px !important;
}
.hw-tab:hover {
  border-color: rgba(255, 212, 0, 0.5) !important;
  background-color: #1d1b26 !important;
}
.hw-tab.is-active {
  border-color: #ffd400 !important;
  background-color: #241e10 !important;
  background-image:
    linear-gradient(135deg, rgba(255, 212, 0, 0.22), rgba(255, 212, 0, 0.05) 58%, rgba(255, 47, 174, 0.08)) !important;
  color: #fff !important;
  box-shadow:
    0 20px 46px -26px rgba(255, 212, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 0 0 1px rgba(255, 212, 0, 0.25) !important;
}
.hw-tab.is-active::before {
  background: linear-gradient(180deg, #ffd400, #ff2fae);
  opacity: 1;
}
.hw-head {
  overflow: hidden;
}

/* 荣誉榜 tab：去掉旧白色半圆装饰，避免盖住标题 */
.hw-tab.is-active::after {
  content: none !important;
  display: none !important;
}
.hw-tab.is-active {
  background-image:
    linear-gradient(135deg, #33280f 0%, #201a0d 58%, #24121f 100%) !important;
}
.hw-tab.is-active .hw-tab-idx {
  color: #ffd400 !important;
}

/* 社区介绍允许两行，避免过度截断 */
.srv-community {
  min-height: 118px !important;
}
.srv-community p {
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  white-space: normal !important;
  overflow: hidden;
}

/* =========================================================
   TACTICAL HUD SKIN
   切线倒角 / 工业金属 / 铆钉 / 扫描线 / 战术标注
   ========================================================= */
.srv-community {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  min-height: 116px !important;
  padding: 16px 18px 16px 22px !important;
  border-radius: 0 !important;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  border: 1px solid #454953 !important;
  background-color: #0b0c11 !important;
  background-image:
    radial-gradient(circle at 12px 12px, #6d7079 0 1.5px, transparent 2px),
    radial-gradient(circle at calc(100% - 12px) 12px, #6d7079 0 1.5px, transparent 2px),
    radial-gradient(circle at 12px calc(100% - 12px), #6d7079 0 1.5px, transparent 2px),
    radial-gradient(circle at calc(100% - 12px) calc(100% - 12px), #6d7079 0 1.5px, transparent 2px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 4px),
    linear-gradient(115deg, color-mix(in srgb, var(--srv-color, #ff2fae) 10%, #101117), #0b0c11 56%) !important;
  box-shadow:
    0 24px 46px -28px rgba(0, 0, 0, 1),
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    inset 0 0 0 3px #0b0c11,
    inset 0 0 0 4px rgba(255, 255, 255, 0.035) !important;
}
.srv-community::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  width: 4px !important;
  height: auto !important;
  background: var(--srv-color, #ff2fae) !important;
  box-shadow: none !important;
}
.srv-community::after {
  content: "" !important;
  position: absolute !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 76px !important;
  height: 7px !important;
  background: repeating-linear-gradient(135deg, var(--srv-color, #ff2fae) 0 6px, transparent 6px 12px) !important;
  opacity: 0.75 !important;
  border-radius: 0 !important;
  filter: none !important;
}
.srv-comm-icon {
  width: 60px !important;
  height: 60px !important;
  border-radius: 0 !important;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  border: 2px solid color-mix(in srgb, var(--srv-color, #ff2fae) 70%, #fff) !important;
  background: #101117 !important;
  color: var(--srv-color, #ff2fae) !important;
  font-family: var(--font-mono) !important;
  font-size: 27px !important;
  text-shadow: 0 0 14px color-mix(in srgb, var(--srv-color, #ff2fae) 55%, transparent);
  box-shadow: inset 0 0 0 4px #0b0c11, inset 0 0 0 5px color-mix(in srgb, var(--srv-color, #ff2fae) 18%, transparent) !important;
}
.srv-comm-body {
  flex: 1 1 auto;
  min-width: 0;
}
.srv-community .srv-comm-top {
  font-family: var(--font-mono) !important;
  font-size: 10px !important;
  letter-spacing: 0.16em !important;
  color: rgba(255, 255, 255, 0.55) !important;
}
.srv-community .srv-comm-top i {
  height: 1px !important;
  background: linear-gradient(90deg, #454953, transparent) !important;
}
.srv-community h2 {
  margin: 6px 0 4px !important;
  font-size: 24px !important;
  font-weight: 900 !important;
  letter-spacing: 0.01em !important;
  color: #fff !important;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.55) !important;
}
.srv-community h2 em {
  margin-left: 8px !important;
  padding: 2px 7px !important;
  border: 1px solid color-mix(in srgb, var(--srv-color, #ff2fae) 55%, #fff) !important;
  background: color-mix(in srgb, var(--srv-color, #ff2fae) 12%, #0b0c11) !important;
  color: #fff !important;
  font-family: var(--font-mono) !important;
  font-size: 9px !important;
  letter-spacing: 0.18em !important;
  vertical-align: 4px !important;
}
.srv-community p {
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.6) !important;
  font-size: 12px !important;
  line-height: 1.55 !important;
}
.srv-comm-arrow {
  width: 32px !important;
  height: 32px !important;
  display: grid !important;
  place-items: center !important;
  flex: 0 0 auto;
  border: 1px solid #454953 !important;
  color: var(--srv-color, #ff2fae) !important;
  font-family: var(--font-mono) !important;
  font-size: 16px !important;
  background: #101117 !important;
  opacity: 1 !important;
}
.srv-community:hover .srv-comm-arrow {
  transform: translateX(3px);
  border-color: var(--srv-color, #ff2fae) !important;
  box-shadow: 0 0 14px color-mix(in srgb, var(--srv-color, #ff2fae) 25%, transparent);
}

/* 荣誉榜切换卡：终端选择器 */
.hw-tab {
  position: relative !important;
  min-height: 88px !important;
  padding: 14px 16px 14px 56px !important;
  border-radius: 0 !important;
  clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 13px, 100% 100%, 0 100%);
  border: 1px solid #3e424c !important;
  background-color: #0b0c11 !important;
  background-image:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 4px),
    linear-gradient(180deg, #12131a, #0b0c11) !important;
  box-shadow: inset 0 0 0 3px #0b0c11, inset 0 0 0 4px rgba(255, 255, 255, 0.025) !important;
  color: rgba(255, 255, 255, 0.66) !important;
}
.hw-tab::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  width: 42px !important;
  height: auto !important;
  background: #101117 !important;
  border-right: 1px solid #3e424c !important;
  opacity: 1 !important;
}
.hw-tab .hw-tab-idx {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  width: 42px !important;
  height: 100% !important;
  display: grid !important;
  place-items: center !important;
  margin: 0 !important;
  color: #ffd400 !important;
  font-family: var(--font-mono) !important;
  font-size: 14px !important;
  letter-spacing: 0 !important;
  z-index: 2;
}
.hw-tab b {
  position: relative;
  z-index: 2;
  font-size: 18px !important;
  color: #fff !important;
  letter-spacing: 0.02em !important;
}
.hw-tab i {
  position: relative;
  z-index: 2;
  font-family: var(--font-mono) !important;
  font-size: 9px !important;
  color: rgba(255, 255, 255, 0.42) !important;
}
.hw-tab.is-active {
  border-color: #ffd400 !important;
  background-color: #151207 !important;
  background-image:
    repeating-linear-gradient(135deg, rgba(255, 212, 0, 0.08) 0 6px, transparent 6px 14px),
    linear-gradient(180deg, #201a08, #0d0c08) !important;
  box-shadow:
    inset 0 0 0 3px #0b0c11,
    inset 0 0 0 4px rgba(255, 212, 0, 0.32),
    0 0 24px rgba(255, 212, 0, 0.12) !important;
}
.hw-tab.is-active::before {
  background: #231b05 !important;
  border-right-color: #ffd400 !important;
}
.hw-tab.is-active::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  height: 3px !important;
  width: auto !important;
  border-radius: 0 !important;
  background: repeating-linear-gradient(90deg, #ffd400 0 10px, transparent 10px 16px) !important;
}

/* 其它实体框统一切线 / 工业面板 */
.card:not(.server-card):not(.event-card),
.ev-overview,
.event-flow,
.event-server-strip,
.wall-compose,
.wall-item,
.rk-podium-card,
.table-wrap,
.home-bulletin,
.member-card,
.ticket-item,
.sp-equal-card,
.admin-toolbar {
  border-radius: 0 !important;
  border-color: #3b3f49 !important;
  background-color: #0c0d12 !important;
  background-image:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px 4px),
    linear-gradient(180deg, #12131a, #0c0d12 68%) !important;
  box-shadow:
    0 22px 42px -30px rgba(0, 0, 0, 1),
    inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}
.card:not(.server-card):not(.event-card),
.ev-overview,
.event-flow,
.wall-item,
.rk-podium-card {
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
}

/* 服务器社区卡：完全实心，不显示任何底层线/纹理 */
.srv-community {
  clip-path: none !important;
  opacity: 1 !important;
  background-color: #12131a !important;
  background-image: linear-gradient(115deg, #1c1d27 0%, #14151d 52%, #101117 100%) !important;
  border: 1px solid #4a4e59 !important;
  box-shadow:
    0 24px 46px -28px rgba(0, 0, 0, 1),
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    inset 0 0 0 3px #0b0c11 !important;
}
.srv-community::after {
  display: none !important;
}

/* 社区卡：服务器实景封面 + 实心暗色遮罩（不透明） */
.srv-community {
  position: relative !important;
  overflow: hidden !important;
  clip-path: none !important;
  min-height: 132px !important;
  background-color: #101117 !important;
  background-image: none !important;
}
.srv-comm-cover {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--comm-bg);
  background-size: cover;
  background-position: center;
  filter: saturate(1.3) contrast(1.06) brightness(0.72);
  transform: scale(1.02);
  transition: transform 0.45s ease;
}
.srv-comm-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(7, 8, 12, 0.94) 0%, rgba(7, 8, 12, 0.78) 42%, rgba(7, 8, 12, 0.42) 100%),
    linear-gradient(180deg, rgba(7, 8, 12, 0.38), rgba(7, 8, 12, 0.9) 100%);
}
.srv-community:hover .srv-comm-cover {
  transform: scale(1.06);
}
.srv-community > *:not(.srv-comm-cover) {
  position: relative;
  z-index: 1;
}
.srv-community .srv-comm-icon {
  background: rgba(10, 11, 16, 0.78) !important;
}
.srv-community .srv-comm-arrow {
  background: rgba(10, 11, 16, 0.72) !important;
}
.hw-tab {
  min-height: 104px !important;
}
.hw-tab-icon {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 2;
  width: 24px;
  height: 24px;
  color: #ffd400;
  opacity: 0.7;
}
.hw-tab-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}
.hw-tab.is-active .hw-tab-icon {
  color: #ffd400;
  opacity: 1;
  filter: drop-shadow(0 0 8px rgba(255, 212, 0, 0.45));
}

/* 社区封面：提高可见度，文字仍保持可读 */
.srv-comm-cover {
  filter: saturate(1.4) contrast(1.08) brightness(0.9) !important;
}
.srv-comm-cover::after {
  background:
    linear-gradient(100deg, rgba(7, 8, 12, 0.88) 0%, rgba(7, 8, 12, 0.62) 44%, rgba(7, 8, 12, 0.24) 100%),
    linear-gradient(180deg, rgba(7, 8, 12, 0.2), rgba(7, 8, 12, 0.78) 100%) !important;
}

/* =========================================================
   社区卡改成竖向实景封面，荣誉榜卡加实景底图
   ========================================================= */
.srv-community {
  display: block !important;
  min-height: 220px !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: #0c0d12 !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  box-shadow:
    0 26px 54px -30px rgba(0, 0, 0, 1),
    inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
}
.srv-comm-cover {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  background-image: var(--comm-bg) !important;
  background-size: cover !important;
  background-position: center !important;
  filter: saturate(1.45) contrast(1.08) brightness(0.92) !important;
  transform: scale(1.02);
  transition: transform 0.45s ease;
}
.srv-comm-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 7, 11, 0.14) 0%, rgba(6, 7, 11, 0.36) 42%, rgba(6, 7, 11, 0.92) 100%),
    linear-gradient(100deg, rgba(6, 7, 11, 0.5), transparent 55%) !important;
}
.srv-community:hover .srv-comm-cover {
  transform: scale(1.07);
}
.srv-community .srv-comm-top {
  position: absolute !important;
  top: 15px !important;
  left: 18px !important;
  right: 18px !important;
  z-index: 2 !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  color: rgba(255, 255, 255, 0.72) !important;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
}
.srv-community .srv-comm-top i {
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--srv-color, #ff2fae) 60%, transparent), transparent) !important;
}
.srv-comm-icon {
  position: absolute !important;
  top: 50px !important;
  left: 18px !important;
  z-index: 2 !important;
  width: 58px !important;
  height: 58px !important;
  background: rgba(8, 9, 13, 0.72) !important;
  border: 1px solid color-mix(in srgb, var(--srv-color, #ff2fae) 70%, #fff) !important;
  color: #fff !important;
  font-size: 26px !important;
  text-shadow: 0 0 18px color-mix(in srgb, var(--srv-color, #ff2fae) 70%, transparent);
}
.srv-comm-body {
  position: absolute !important;
  left: 18px !important;
  right: 18px !important;
  bottom: 17px !important;
  z-index: 2 !important;
  min-width: 0 !important;
}
.srv-community h2 {
  margin: 0 0 5px !important;
  color: #fff !important;
  font-size: 27px !important;
  font-weight: 900 !important;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.8);
}
.srv-community h2 em {
  margin-left: 8px !important;
  padding: 2px 7px !important;
  border: 1px solid color-mix(in srgb, var(--srv-color, #ff2fae) 70%, #fff) !important;
  background: color-mix(in srgb, var(--srv-color, #ff2fae) 18%, rgba(8, 9, 13, 0.9)) !important;
  color: #fff !important;
  font-size: 9px !important;
  letter-spacing: 0.16em !important;
  vertical-align: 5px !important;
}
.srv-community p {
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.76) !important;
  font-size: 12.5px !important;
  line-height: 1.6 !important;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9);
  padding-right: 42px;
}
.srv-comm-arrow {
  position: absolute !important;
  right: 15px !important;
  bottom: 16px !important;
  z-index: 3 !important;
  width: 32px !important;
  height: 32px !important;
  display: grid !important;
  place-items: center !important;
  border: 1px solid color-mix(in srgb, var(--srv-color, #ff2fae) 60%, #fff) !important;
  background: rgba(8, 9, 13, 0.7) !important;
  color: #fff !important;
  font-size: 16px !important;
  transition: transform 0.2s ease, background 0.2s ease;
}
.srv-community:hover .srv-comm-arrow {
  transform: translateX(4px);
  background: color-mix(in srgb, var(--srv-color, #ff2fae) 35%, #0c0d12) !important;
}

/* 荣誉榜卡：实景底图 + 深色遮罩，保留编号和图标 */
.hw-tab {
  min-height: 112px !important;
  background-color: #0c0d12 !important;
  background-image:
    linear-gradient(180deg, rgba(8, 8, 12, 0.42), rgba(8, 8, 12, 0.94)),
    var(--tab-bg) !important;
  background-size: cover !important;
  background-position: center !important;
  border-color: #454952 !important;
  clip-path: none !important;
}
.hw-tab::before {
  background: rgba(8, 8, 12, 0.62) !important;
  border-right-color: rgba(255, 255, 255, 0.12) !important;
}
.hw-tab b,
.hw-tab i {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}
.hw-tab.is-active {
  background-color: #171207 !important;
  background-image:
    linear-gradient(180deg, rgba(40, 29, 5, 0.55), rgba(8, 7, 5, 0.94)),
    var(--tab-bg) !important;
  border-color: #ffd400 !important;
}
.hw-tab.is-active::before {
  background: rgba(26, 20, 4, 0.78) !important;
}
