/* 战歌排行 + 功勋商城 v5 — 对齐全站金色体系 */

:root {
  --wsg-gold: #c9a227;
  --wsg-gold-bright: #e8d48b;
  --wsg-gold-deep: #a67c00;
  --wsg-cream: #f4e4a6;
  --wsg-ink: #1a1510;
  --wsg-panel: linear-gradient(165deg, rgba(18, 24, 38, 0.94) 0%, rgba(10, 14, 24, 0.9) 100%);
  --wsg-border: rgba(212, 175, 55, 0.28);
  --wsg-glow: rgba(212, 175, 55, 0.35);
}

#pills-wsgmerit.tab-pane-streamlined,
#pills-wsgrank.tab-pane-streamlined {
  font-size: 1.125rem;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.92);
}
#pills-wsgmerit .welcome-section.download-section-wrap,
#pills-wsgrank .welcome-section.download-section-wrap {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35) !important;
  padding: 32px 28px !important;
}
#pills-wsgmerit .download-section-title,
#pills-wsgrank .download-section-title {
  font-size: clamp(1.7rem, 4.5vw, 2.2rem) !important;
}
#pills-wsgmerit .download-section-subtitle,
#pills-wsgrank .download-section-subtitle {
  font-size: 1.2rem !important;
  color: rgba(244, 228, 166, 0.85) !important;
}

.content1 .wsg-hero-deco {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 12px;
}
.content1 .wsg-hero-deco-line {
  flex: 1;
  max-width: 90px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.65), transparent);
}
.content1 .wsg-hero-deco-icon {
  font-size: 1.35rem;
  color: var(--wsg-cream);
  text-shadow: 0 0 18px var(--wsg-glow);
  animation: wsg-pulse 2.8s ease-in-out infinite;
}
@keyframes wsg-pulse {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

.content1 .wsg-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 1.75rem;
}
.content1 .wsg-step {
  position: relative;
  padding: 20px 18px 18px;
  border-radius: 14px;
  background: var(--wsg-panel);
  border: 1px solid var(--wsg-border);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.32);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  overflow: hidden;
}
.content1 .wsg-step::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--wsg-gold-bright), transparent);
  opacity: 0.7;
}
.content1 .wsg-step:hover {
  transform: translateY(-3px);
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4), 0 0 20px rgba(212, 175, 55, 0.08);
}
.content1 .wsg-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  border-radius: 50%;
  font-family: "Noto Serif SC", serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--wsg-ink);
  background: linear-gradient(145deg, var(--wsg-gold-bright), var(--wsg-gold-deep));
  box-shadow: 0 0 16px var(--wsg-glow);
}
.content1 .wsg-step-title {
  font-family: "Noto Serif SC", serif;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--wsg-cream);
  margin: 0 0 8px;
}
.content1 .wsg-step-desc {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.65;
}
.content1 .wsg-step-desc strong { color: var(--wsg-cream); }

.content1 .wsg-panel {
  margin-top: 0.5rem;
  padding: 26px 26px 28px;
  border-radius: 16px;
  background: var(--wsg-panel);
  border: 1px solid var(--wsg-border);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.content1 .wsg-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.16);
}
.content1 .wsg-panel-head-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.content1 .wsg-panel-title {
  font-family: "Noto Serif SC", serif;
  font-size: 1.32rem;
  font-weight: 700;
  margin: 0;
  color: var(--wsg-cream);
}
.content1 .wsg-panel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--wsg-ink);
  font-weight: 800;
  background: linear-gradient(145deg, var(--wsg-gold-bright), var(--wsg-gold-deep));
  box-shadow: 0 0 16px var(--wsg-glow);
}
.content1 .wsg-btn-logout {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  padding: 7px 16px;
  font-size: 0.92rem;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.content1 .wsg-btn-logout:hover {
  border-color: rgba(212, 175, 55, 0.55);
  color: var(--wsg-cream);
  background: rgba(212, 175, 55, 0.08);
}

.content1 .wsg-merit-hero {
  display: grid;
  grid-template-columns: 1.15fr 2fr;
  gap: 0;
  margin-bottom: 1.75rem;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.42);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.42), 0 0 40px rgba(212, 175, 55, 0.08);
  background: linear-gradient(135deg, rgba(32, 24, 8, 0.96) 0%, rgba(14, 18, 30, 0.98) 55%, rgba(8, 12, 22, 0.98) 100%);
}
.content1 .wsg-merit-hero-main {
  position: relative;
  padding: 30px 24px;
  text-align: center;
  background: linear-gradient(160deg, rgba(212, 175, 55, 0.22) 0%, rgba(166, 124, 0, 0.06) 100%);
  border-right: 1px solid rgba(212, 175, 55, 0.22);
  overflow: hidden;
}
.content1 .wsg-merit-hero-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(244, 228, 166, 0.16), transparent 70%);
  pointer-events: none;
}
.content1 .wsg-merit-hero-label {
  display: block;
  position: relative;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 228, 166, 0.8);
  margin-bottom: 12px;
}
.content1 .wsg-merit-hero-num {
  display: block;
  position: relative;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(2.7rem, 6vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
  color: #fff;
  text-shadow: 0 0 36px rgba(244, 228, 166, 0.55), 0 2px 8px rgba(0, 0, 0, 0.5);
}
.content1 .wsg-merit-hero-num small {
  font-size: 0.38em;
  font-weight: 600;
  color: rgba(244, 228, 166, 0.75);
  margin-left: 6px;
}
.content1 .wsg-merit-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.content1 .wsg-merit-stat {
  padding: 24px 16px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.2s ease;
}
.content1 .wsg-merit-stat:last-child { border-right: none; }
.content1 .wsg-merit-stat:hover { background: rgba(212, 175, 55, 0.06); }
.content1 .wsg-merit-stat-label {
  display: block;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}
.content1 .wsg-merit-stat-val {
  display: block;
  font-family: "Noto Serif SC", serif;
  font-size: 1.32rem;
  font-weight: 700;
  color: var(--wsg-cream);
  line-height: 1.3;
}
.content1 .wsg-merit-stat-val--tier { font-size: 1.1rem; }

.content1 .wsg-section {
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.content1 .wsg-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}
.content1 .wsg-section-title {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 0.5rem;
}
.content1 .wsg-section-num {
  font-family: "Noto Serif SC", serif;
  font-size: 1.12rem;
  font-weight: 800;
  color: rgba(212, 175, 55, 0.9);
}
.content1 .wsg-section-title h4 {
  font-family: "Noto Serif SC", serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--wsg-cream);
  margin: 0;
}
.content1 .wsg-hint {
  margin: 0 0 1rem;
  font-size: 0.96rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.65;
}

.content1 .wsg-char-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}
.content1 .wsg-char-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(8, 12, 22, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.15s ease, box-shadow 0.18s ease;
}
.content1 .wsg-char-card:hover {
  border-color: rgba(212, 175, 55, 0.42);
  background: rgba(212, 175, 55, 0.06);
  transform: translateY(-2px);
}
.content1 .wsg-char-card.wsg-char-selected {
  border-color: rgba(212, 175, 55, 0.7);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.16), rgba(212, 175, 55, 0.04));
  box-shadow: inset 3px 0 0 var(--wsg-gold), 0 6px 18px rgba(212, 175, 55, 0.12);
}
.content1 .wsg-char-race {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  background: rgba(0, 0, 0, 0.3);
}
.content1 .wsg-char-info { flex: 1; min-width: 0; }
.content1 .wsg-char-name {
  font-family: "Noto Serif SC", serif;
  font-size: 1.08rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.content1 .wsg-char-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
}
.content1 .wsg-char-class {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  object-fit: cover;
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}
.content1 .wsg-char-class-name {
  color: var(--wsg-cream);
  font-weight: 600;
}
.content1 .wsg-char-sep {
  opacity: 0.4;
}
.content1 .wsg-char-race-name {
  color: rgba(255, 255, 255, 0.6);
}
.content1 .wsg-char-meta .recall-level-badge {
  margin-left: 2px;
}
.content1 .wsg-char-pick {
  flex-shrink: 0;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--wsg-cream);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  background: rgba(212, 175, 55, 0.1);
  cursor: pointer;
  transition: all 0.18s ease;
}
.content1 .wsg-char-card.wsg-char-selected .wsg-char-pick {
  color: var(--wsg-ink);
  background: linear-gradient(135deg, var(--wsg-gold-bright), var(--wsg-gold));
  border-color: transparent;
}

.content1 .wsg-shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
}
.content1 .wsg-shop-card {
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(24, 30, 46, 0.98) 0%, rgba(12, 16, 28, 0.96) 100%);
  border: 1px solid rgba(212, 175, 55, 0.26);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.content1 .wsg-shop-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.55);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 28px rgba(212, 175, 55, 0.12);
}
.content1 .wsg-shop-card-top {
  position: relative;
  padding: 20px 18px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.content1 .wsg-shop-card-top::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--wsg-gold-bright), var(--wsg-gold), var(--wsg-gold-bright), transparent);
}
.content1 .wsg-shop-card-icon {
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(212, 175, 55, 0.2), rgba(166, 124, 0, 0.08));
  border: 1px solid rgba(212, 175, 55, 0.38);
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.14);
}
.content1 .wsg-shop-card-icon i {
  color: var(--wsg-cream);
  font-size: 1.45rem;
  text-shadow: 0 0 12px rgba(244, 228, 166, 0.45);
}
.content1 .wsg-shop-card-icon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}
.content1 .wsg-shop-card-meta { flex: 1; min-width: 0; }
.content1 .wsg-shop-card-name {
  font-family: "Noto Serif SC", serif;
  font-size: 1.12rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
  line-height: 1.35;
}
.content1 .wsg-shop-card-cost {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
}
.content1 .wsg-shop-card-cost .cost-num {
  font-family: "Noto Serif SC", serif;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--wsg-cream);
  margin-right: 4px;
  text-shadow: 0 0 16px rgba(244, 228, 166, 0.35);
}
.content1 .wsg-shop-btn {
  display: block;
  width: 100%;
  padding: 14px 16px;
  border: none;
  border-top: 1px solid rgba(212, 175, 55, 0.22);
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.16) 0%, rgba(212, 175, 55, 0.06) 100%);
  color: var(--wsg-cream);
  font-family: "Noto Serif SC", serif;
  font-size: 1.02rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.content1 .wsg-shop-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--wsg-gold-bright) 0%, var(--wsg-gold) 100%);
  color: var(--wsg-ink);
}
.content1 .wsg-shop-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.content1 .wsg-rank-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}
.content1 .wsg-rank-toolbar .recall-server-tabs {
  flex: 1 1 260px;
  margin-top: 0;
  margin-bottom: 0 !important;
}
.content1 .wsg-segment {
  display: inline-flex;
  padding: 4px;
  gap: 3px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.4);
}
.content1 .wsg-segment-btn {
  appearance: none;
  border: none;
  background: transparent;
  padding: 11px 26px;
  border-radius: 999px;
  font-family: "Noto Serif SC", serif;
  font-size: 1.02rem;
  font-weight: 700;
  color: rgba(244, 228, 166, 0.6);
  cursor: pointer;
  transition: all 0.22s ease;
  white-space: nowrap;
}
.content1 .wsg-segment-btn:hover {
  color: var(--wsg-cream);
  background: rgba(212, 175, 55, 0.1);
}
.content1 .wsg-segment-btn.active {
  color: var(--wsg-ink);
  background: linear-gradient(135deg, var(--wsg-gold-bright) 0%, var(--wsg-gold-deep) 100%);
  box-shadow: 0 4px 16px var(--wsg-glow);
}

.content1 .wsg-podium {
  display: grid;
  grid-template-columns: 1fr 1.18fr 1fr;
  gap: 14px;
  align-items: end;
  margin-bottom: 1.75rem;
}
.content1 .wsg-podium-card {
  position: relative;
  padding: 22px 16px 20px;
  border-radius: 14px 14px 8px 8px;
  text-align: center;
  background: linear-gradient(180deg, rgba(20, 26, 40, 0.96) 0%, rgba(10, 14, 24, 0.96) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease;
  animation: wsg-fade-up 0.45s ease both;
}
.content1 .wsg-podium-card:nth-child(1) { animation-delay: 0.08s; }
.content1 .wsg-podium-card:nth-child(2) { animation-delay: 0s; }
.content1 .wsg-podium-card:nth-child(3) { animation-delay: 0.16s; }
@keyframes wsg-fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.content1 .wsg-podium-card:hover { transform: translateY(-4px); }
.content1 .wsg-podium-card--1 {
  padding-top: 32px;
  padding-bottom: 30px;
  border-color: rgba(255, 215, 0, 0.55);
  background: linear-gradient(180deg, rgba(48, 38, 8, 0.96) 0%, rgba(20, 16, 4, 0.96) 100%);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45), 0 0 36px rgba(255, 215, 0, 0.2);
}
.content1 .wsg-podium-card--2 {
  border-color: rgba(192, 192, 192, 0.5);
  background: linear-gradient(180deg, rgba(36, 38, 42, 0.96) 0%, rgba(16, 18, 22, 0.96) 100%);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.42), 0 0 24px rgba(192, 192, 192, 0.14);
}
.content1 .wsg-podium-card--3 {
  border-color: rgba(205, 127, 50, 0.5);
  background: linear-gradient(180deg, rgba(40, 26, 14, 0.96) 0%, rgba(18, 12, 6, 0.96) 100%);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.42), 0 0 24px rgba(205, 127, 50, 0.16);
}
.content1 .wsg-podium-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 12px;
  border-radius: 50%;
  font-family: "Noto Serif SC", serif;
  font-size: 1.45rem;
  font-weight: 800;
}
.content1 .wsg-podium-card--1 .wsg-podium-rank {
  background: linear-gradient(145deg, #ffe566, #d4a017);
  color: var(--wsg-ink);
  box-shadow: 0 0 24px rgba(255, 215, 0, 0.55);
}
.content1 .wsg-podium-card--2 .wsg-podium-rank {
  background: linear-gradient(145deg, #e8e8e8, #9ca3af);
  color: var(--wsg-ink);
  box-shadow: 0 0 16px rgba(192, 192, 192, 0.45);
}
.content1 .wsg-podium-card--3 .wsg-podium-rank {
  background: linear-gradient(145deg, #d4a574, #8b4513);
  color: #fff;
  box-shadow: 0 0 16px rgba(205, 127, 50, 0.45);
}
.content1 .wsg-podium-name {
  font-family: "Noto Serif SC", serif;
  font-size: 1.12rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.content1 .wsg-podium-rate {
  font-family: "Noto Serif SC", serif;
  font-size: 1.55rem;
  font-weight: 800;
  color: #86efac;
  margin: 0 0 8px;
  line-height: 1;
}
.content1 .wsg-podium-card--1 .wsg-podium-rate { font-size: 1.75rem; }
.content1 .wsg-podium-meta {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

.content1 .wsg-rank-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.content1 .wsg-rank-row {
  display: grid;
  grid-template-columns: 56px 1fr 90px 80px 110px;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(8, 12, 22, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.15s ease;
}
.content1 .wsg-rank-row:hover {
  background: rgba(212, 175, 55, 0.07);
  border-color: rgba(212, 175, 55, 0.32);
  transform: translateX(3px);
}
.content1 .wsg-rank-row-num {
  font-family: "Noto Serif SC", serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
}
.content1 .wsg-rank-row-name {
  font-family: "Noto Serif SC", serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.content1 .wsg-rank-row-rate {
  font-family: "Noto Serif SC", serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #86efac;
}
.content1 .wsg-rank-row-games {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.65);
}
.content1 .wsg-rank-row-tier { text-align: right; }

.content1 .wsg-tier-tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
}
.content1 .wsg-tier-tag--0 { border-color: rgba(96, 165, 250, 0.5); color: #93c5fd; background: rgba(59, 130, 246, 0.12); }
.content1 .wsg-tier-tag--1 { border-color: rgba(212, 175, 55, 0.5); color: var(--wsg-cream); background: rgba(212, 175, 55, 0.12); }
.content1 .wsg-tier-tag--2 { border-color: rgba(248, 113, 113, 0.5); color: #fca5a5; background: rgba(239, 68, 68, 0.12); }

.content1 .wsg-empty {
  margin: 0;
  padding: 36px 16px;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1rem;
}

.content1 .wsg-msg {
  margin: 0 0 1.25rem !important;
  padding: 14px 18px !important;
  border-radius: 12px !important;
  font-size: 1rem !important;
  font-weight: 600;
}
.content1 .wsg-msg.alert-success {
  background: rgba(62, 207, 142, 0.12) !important;
  color: #6ee7b7 !important;
  border: 1px solid rgba(62, 207, 142, 0.4) !important;
}
.content1 .wsg-msg.alert-danger {
  background: rgba(248, 113, 113, 0.12) !important;
  color: #fca5a5 !important;
  border: 1px solid rgba(248, 113, 113, 0.4) !important;
}

.content1 .wsg-nav-footer {
  margin-top: 1.85rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  text-align: center;
}
.content1 .wsg-nav-footer a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 34px;
  font-family: "Noto Serif SC", serif;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--wsg-ink);
  text-decoration: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--wsg-gold-bright) 0%, var(--wsg-gold) 100%);
  border: 1px solid rgba(212, 175, 55, 0.55);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.content1 .wsg-nav-footer a::after {
  content: "→";
  font-size: 1.1em;
  opacity: 0.75;
}
.content1 .wsg-nav-footer a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(212, 175, 55, 0.42);
  color: var(--wsg-ink);
  text-decoration: none;
}

@media (max-width: 768px) {
  .content1 .wsg-steps { grid-template-columns: 1fr; }
  .content1 .wsg-merit-hero { grid-template-columns: 1fr; }
  .content1 .wsg-merit-hero-main {
    border-right: none;
    border-bottom: 1px solid rgba(212, 175, 55, 0.22);
  }
  .content1 .wsg-merit-hero-stats { grid-template-columns: 1fr; }
  .content1 .wsg-merit-stat {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .content1 .wsg-merit-stat:last-child { border-bottom: none; }
  .content1 .wsg-podium { grid-template-columns: 1fr; }
  .content1 .wsg-podium-card--1 { padding-top: 22px; padding-bottom: 22px; }
  .content1 .wsg-rank-row {
    grid-template-columns: 40px 1fr 70px;
    gap: 10px;
  }
  .content1 .wsg-rank-row-games,
  .content1 .wsg-rank-row-tier { display: none; }
  .content1 .wsg-rank-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 14px;
  }
  /* 服务器选择：对齐功勋商城手机端紧凑样式 */
  .content1 .wsg-rank-toolbar .recall-server-tabs {
    flex: none;
    width: 100%;
    margin-top: 0;
    gap: 8px;
  }
  .content1 .wsg-rank-toolbar .server-tab {
    padding: 10px 8px 9px;
    border-radius: 10px;
  }
  .content1 .wsg-rank-toolbar .server-tab-icon {
    font-size: 1.15rem;
    margin-bottom: 3px;
  }
  .content1 .wsg-rank-toolbar .server-tab-name {
    font-size: 1.05rem;
    margin-bottom: 2px;
  }
  .content1 .wsg-rank-toolbar .server-tab-desc {
    font-size: 0.8rem;
  }
  .content1 .wsg-segment {
    width: 100%;
    justify-content: stretch;
  }
  .content1 .wsg-segment-btn {
    flex: 1;
    padding: 9px 12px;
    font-size: 0.95rem;
  }
  .content1 .wsg-shop-grid,
  .content1 .wsg-char-grid { grid-template-columns: 1fr; }
}


/* ===== 排行榜角色图标（对齐服务器状态） ===== */
.content1 .wsg-podium-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
}
.content1 .wsg-icon-race,
.content1 .wsg-icon-class {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  background: rgba(0, 0, 0, 0.25);
  vertical-align: middle;
}
.content1 .wsg-podium-card--1 .wsg-icon-race,
.content1 .wsg-podium-card--1 .wsg-icon-class {
  width: 36px;
  height: 36px;
}
.content1 .wsg-icon-fallback {
  display: inline-block;
  min-width: 32px;
  color: rgba(255, 255, 255, 0.35);
  text-align: center;
}
.content1 .wsg-rank-table-shell {
  margin-top: 0.25rem;
}
.content1 .wsg-rank-table thead th {
  font-size: 0.95rem;
  padding: 14px 10px;
  text-align: center;
  vertical-align: middle;
}
.content1 .wsg-rank-table thead th:nth-child(2) {
  text-align: left;
}
.content1 .wsg-rank-table tbody td,
.content1 .wsg-rank-table tbody th {
  padding: 12px 10px;
  font-size: 1.02rem;
  text-align: center;
  vertical-align: middle;
}
.content1 .wsg-rank-table tbody th {
  text-align: left;
  color: #fff;
  font-weight: 700;
  font-family: "Noto Serif SC", serif;
}
.content1 .wsg-rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.9);
}
.content1 .wsg-rank-badge--1 {
  background: linear-gradient(145deg, #ffe566 0%, #d4a017 100%);
  color: #1a1510;
  box-shadow: 0 0 16px rgba(255, 215, 0, 0.45);
}
.content1 .wsg-rank-badge--2 {
  background: linear-gradient(145deg, #e8e8e8 0%, #9ca3af 100%);
  color: #1a1510;
  box-shadow: 0 0 12px rgba(192, 192, 192, 0.35);
}
.content1 .wsg-rank-badge--3 {
  background: linear-gradient(145deg, #d4a574 0%, #8b4513 100%);
  color: #fff;
  box-shadow: 0 0 12px rgba(205, 127, 50, 0.35);
}
@media (max-width: 768px) {
  .content1 .wsg-rank-table thead th:nth-child(7),
  .content1 .wsg-rank-table tbody td:nth-child(7),
  .content1 .wsg-rank-table thead th:nth-child(8),
  .content1 .wsg-rank-table tbody td:nth-child(8) {
    display: none;
  }
}
@media (max-width: 480px) {
  .content1 .wsg-rank-toolbar .server-tab {
    padding: 8px 6px 7px;
  }
  .content1 .wsg-rank-toolbar .server-tab-icon {
    font-size: 1.05rem;
    margin-bottom: 2px;
  }
  .content1 .wsg-rank-toolbar .server-tab-name {
    font-size: 0.98rem;
  }
  .content1 .wsg-rank-toolbar .server-tab-desc {
    font-size: 0.74rem;
  }
}


/* ===== 坐骑福利：角色卡片变体 ===== */
.content1 .wsg-char-card--claimable {
  border-color: rgba(212, 175, 55, 0.32);
}
.content1 .wsg-char-quota {
  margin-left: 2px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.content1 .wsg-char-quota--ok {
  color: #6ee7b7;
  background: rgba(62, 207, 142, 0.12);
  border-color: rgba(62, 207, 142, 0.35);
}
.content1 .wsg-char-pick--claim {
  color: #1a1510;
  background: linear-gradient(135deg, #e8d48b, #c9a227);
  border-color: transparent;
  white-space: nowrap;
}
.content1 .wsg-char-pick--claim:hover:not(:disabled) {
  background: linear-gradient(135deg, #f0e0a0, #d4af37);
  transform: translateY(-1px);
}
.content1 .wsg-char-pick--disabled {
  opacity: 0.45;
  cursor: not-allowed;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}
