.account-page {
  padding-top: 118px;
  padding-bottom: 96px;
  display: grid;
  gap: 22px;
}

.account-preview-banner {
  position: sticky;
  top: 0;
  z-index: 80;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  padding: 12px 18px;
  background: linear-gradient(135deg, rgba(42, 48, 58, 0.94), rgba(70, 82, 98, 0.92));
  color: #f4f6f8;
  font-size: 13px;
  box-shadow: 0 8px 24px rgba(20, 24, 30, 0.18);
}

.account-preview-banner strong {
  font-weight: 750;
  letter-spacing: 0.02em;
}

.account-preview-banner span {
  opacity: 0.88;
}

.account-preview-banner a {
  margin-left: auto;
  color: #fff;
  text-decoration: none;
  font-weight: 650;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.account-preview-banner a:hover {
  background: rgba(255, 255, 255, 0.22);
}

body.account-preview-mode .account-page {
  padding-top: 96px;
}

.account-preview-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(42, 48, 58, 0.08);
  font-size: 13px;
  font-weight: 650;
}

.account-profile {
  position: relative;
  overflow: hidden !important;
  padding: 42px 40px 34px;
  text-align: center;
  isolation: isolate;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, color 0.35s ease;
}

.account-profile.soft-card {
  overflow: hidden !important;
}

.account-profile::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0.55;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(185, 168, 149, 0.28), transparent 60%);
  z-index: 0;
}

.account-profile-glow {
  position: absolute;
  inset: -20% auto auto 50%;
  width: min(520px, 80%);
  height: 220px;
  transform: translateX(-50%);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(185, 168, 149, 0.35), transparent 68%),
    radial-gradient(circle at 30% 40%, rgba(143, 159, 145, 0.28), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* 等级叠层舞台 */
.account-tier-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: inherit;
}

.tier-motif {
  position: absolute;
  right: 4%;
  top: 50%;
  width: min(240px, 46vw);
  height: min(240px, 46vw);
  margin-top: calc(min(240px, 46vw) / -2);
  opacity: 0.42;
  display: grid;
  place-items: center;
  perspective: 920px;
  perspective-origin: 50% 45%;
  transform-style: preserve-3d;
}

.tier-motif .motif-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 14px 32px rgba(0, 0, 0, 0.22));
  transform-style: preserve-3d;
  transform-origin: 50% 50%;
  backface-visibility: visible;
  will-change: transform;
}

.motif-spin {
  animation: motif-spin-3d 5.8s linear infinite;
}

.motif-spin-slow {
  animation: motif-spin-3d 7.2s linear infinite;
}

.motif-leaf {
  animation: motif-pulse 5s ease-in-out infinite;
}

.motif-float {
  animation: motif-float-3d 5.5s ease-in-out infinite;
}

.tier-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.35;
  animation: orb-drift 9s ease-in-out infinite;
}

.tier-orb--a {
  width: 120px;
  height: 120px;
  left: -30px;
  top: 18%;
  background: radial-gradient(circle, rgba(185, 168, 149, 0.45), transparent 70%);
}

.tier-orb--b {
  width: 90px;
  height: 90px;
  right: 18%;
  bottom: 12%;
  background: radial-gradient(circle, rgba(143, 159, 145, 0.4), transparent 70%);
  animation-delay: -3s;
}

.tier-orb--c {
  width: 60px;
  height: 60px;
  left: 28%;
  bottom: 20%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.35), transparent 70%);
  animation-delay: -5.5s;
}

/* 风格水印：大字叠小字，宋体淡印（偏左上，勿居中） */
.account-watermark {
  --wm-ink: rgba(168, 148, 120, 0.55);
  --wm-ink-soft: rgba(168, 148, 120, 0.32);
  position: absolute;
  left: 3%;
  top: 6%;
  z-index: 0;
  width: min(240px, 52vw);
  height: min(220px, 48vw);
  pointer-events: none;
  user-select: none;
  font-family: "Songti SC", "STSong", "SimSun", "Noto Serif SC", "Source Han Serif SC", serif;
}

.account-watermark .wm-main,
.account-watermark .wm-sub {
  position: absolute;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: 500;
  font-style: normal;
  letter-spacing: -0.04em;
  -webkit-font-smoothing: antialiased;
}

.account-watermark .wm-main {
  left: 8%;
  top: 4%;
  font-size: clamp(110px, 20vw, 168px);
  color: var(--wm-ink);
  opacity: 1;
  background: linear-gradient(
    160deg,
    color-mix(in srgb, var(--wm-ink) 88%, #fff) 0%,
    var(--wm-ink) 48%,
    color-mix(in srgb, var(--wm-ink) 70%, #000) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: opacity(0.34);
}

.account-watermark .wm-sub {
  right: 2%;
  bottom: 6%;
  font-size: clamp(58px, 11vw, 92px);
  color: var(--wm-ink-soft);
  opacity: 1;
  background: linear-gradient(
    150deg,
    color-mix(in srgb, var(--wm-ink-soft) 90%, #fff) 0%,
    var(--wm-ink-soft) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: opacity(0.55);
  transform: translate(4%, 6%);
}

/* 无 color-mix 时的回退 */
@supports not (background: color-mix(in srgb, red 50%, blue)) {
  .account-watermark .wm-main,
  .account-watermark .wm-sub {
    background: none;
    -webkit-text-fill-color: currentColor;
    color: var(--wm-ink);
  }

  .account-watermark .wm-main {
    opacity: 0.16;
    filter: none;
  }

  .account-watermark .wm-sub {
    opacity: 0.09;
    filter: none;
    color: var(--wm-ink-soft);
  }
}

.account-profile[data-tier="normal"] .account-watermark {
  --wm-ink: #a89988;
  --wm-ink-soft: #c4b5a4;
}

.account-welcome {
  position: relative;
  z-index: 1;
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.account-profile[data-vip]:not([data-vip=""]) .account-welcome {
  padding-inline: 96px;
}

.account-avatar-wrap {
  position: relative;
  z-index: 1;
  width: 112px;
  height: 112px;
  margin: 0 auto 22px;
}

.account-avatar-wrap::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: conic-gradient(from 200deg, #8f9f91, #c4b5a4, #8f9f91);
  opacity: 0.55;
  z-index: 0;
}

/* 统一翅膀：资源朝右（根在左、羽尖朝右），左侧用 scaleX(-1) 镜像 */
.tier-wing {
  --wing-img: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 90' fill='none'%3E%3Cpath d='M8 48C18 28 36 16 58 14c18-2 34 6 46 18-14-4-28-2-38 6 14 2 28 10 38 22-16-6-34-6-48 2 10 6 22 14 30 26-18-8-36-10-50-4 6-8 8-18 4-28-8 4-16 4-24-2 2-8 4-14 8-20z' fill='%23a89988'/%3E%3Cpath d='M14 46c12-16 28-26 48-26 16 0 30 8 40 18-12-2-24 0-32 6 12 2 24 8 32 18-14-4-28-4-40 2 8 6 18 12 24 22-14-6-30-8-42-2 4-8 6-16 2-24-6 2-14 2-20-2 2-6 4-10 8-14z' fill='%23d4c4b0' opacity='.92'/%3E%3Cpath d='M20 44c10-12 24-20 40-18 12 2 22 8 30 16-10 0-18 2-24 6 8 2 16 6 22 14-10-2-20-2-28 2 6 4 12 10 16 16-10-4-22-6-30-2 2-6 2-12 0-18-6 2-12 2-16 0 0-6 2-10 6-16z' fill='%23fff8ee' opacity='.6'/%3E%3C/svg%3E");
  display: none;
  flex: 0 0 auto;
  width: 42px;
  height: 34px;
  margin: 0;
  padding: 0;
  border: 0;
  background-color: transparent;
  background-image: var(--wing-img);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  pointer-events: none;
  opacity: 0;
}

.tier-wing--l {
  transform: scaleX(-1);
}

.account-badge-row {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin: 10px auto 10px;
  max-width: 100%;
}

.account-badge-row .tier-wing--badge {
  width: 40px;
  height: 32px;
  flex-shrink: 0;
}

.account-avatar-lg,
.account-avatar-fallback {
  position: relative;
  z-index: 2;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.92);
  box-shadow:
    0 18px 40px rgba(54, 62, 75, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.account-avatar-lg {
  object-fit: cover;
  background: rgba(255, 255, 255, 0.7);
}

.account-avatar-fallback {
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(145deg, #6f7f72, #a89988);
}

.account-profile h1 {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 36px);
  letter-spacing: -0.04em;
}

.account-member-badge {
  --wing-glow: rgba(168, 153, 136, 0.35);
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(42, 48, 58, 0.1);
  background: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow: 0 10px 24px rgba(54, 62, 75, 0.06);
  overflow: hidden;
  isolation: isolate;
}

.account-member-badge.has-stars {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 4px 16px;
  min-height: 0;
  line-height: 1;
}

.account-member-badge .badge-label,
.account-member-badge .stars {
  position: relative;
  z-index: 2;
  text-align: center;
}

.account-member-badge.has-stars .badge-label {
  line-height: 1;
  display: block;
  text-align: center;
}

.account-member-badge .stars {
  color: #a69382;
  letter-spacing: 0.06em;
}

.account-member-badge.has-stars .stars {
  display: block;
  line-height: 1;
  margin: 0;
  text-align: center;
}

.account-member-badge .badge-shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.account-member-badge .badge-shine::after {
  content: "";
  position: absolute;
  top: -40%;
  left: -60%;
  width: 46%;
  height: 180%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 35%,
    rgba(255, 255, 255, 0.55) 50%,
    rgba(255, 255, 255, 0.08) 65%,
    transparent 100%
  );
  transform: skewX(-18deg);
  opacity: 0;
}

/* 等级 → 显示徽章翅膀 */
.account-profile[data-tier="silver"] .tier-wing--badge,
.account-profile[data-tier="gold"] .tier-wing--badge,
.account-profile[data-tier="platinum"] .tier-wing--badge,
.account-profile[data-tier="black_gold"] .tier-wing--badge,
.account-profile[data-tier="black_diamond"] .tier-wing--badge {
  display: block;
  opacity: 1;
}

.account-profile[data-tier="gold"] .account-member-badge .badge-shine::after,
.account-profile[data-tier="platinum"] .account-member-badge .badge-shine::after,
.account-profile[data-tier="black_gold"] .account-member-badge .badge-shine::after,
.account-profile[data-tier="black_diamond"] .account-member-badge .badge-shine::after {
  opacity: 1;
  animation: badge-shine-sweep 3.6s ease-in-out infinite;
}

.account-profile[data-tier="silver"] .tier-wing--badge,
.account-profile[data-tier="gold"] .tier-wing--badge,
.account-profile[data-tier="platinum"] .tier-wing--badge,
.account-profile[data-tier="black_gold"] .tier-wing--badge,
.account-profile[data-tier="black_diamond"] .tier-wing--badge {
  animation: wing-float 3.2s ease-in-out infinite;
}

.account-profile[data-tier="silver"] .tier-wing--badge.tier-wing--l,
.account-profile[data-tier="gold"] .tier-wing--badge.tier-wing--l,
.account-profile[data-tier="platinum"] .tier-wing--badge.tier-wing--l,
.account-profile[data-tier="black_gold"] .tier-wing--badge.tier-wing--l,
.account-profile[data-tier="black_diamond"] .tier-wing--badge.tier-wing--l {
  animation-name: wing-float-l;
}

@keyframes wing-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

@keyframes wing-float-l {
  0%, 100% { transform: scaleX(-1) translateY(0); }
  50% { transform: scaleX(-1) translateY(-3px); }
}

@keyframes badge-shine-sweep {
  0% { left: -70%; opacity: 0; }
  12% { opacity: 1; }
  45% { left: 120%; opacity: 0.85; }
  100% { left: 120%; opacity: 0; }
}

@keyframes badge-pulse-glow {
  0%, 100% { box-shadow: 0 10px 28px rgba(54, 62, 75, 0.1), 0 0 0 0 var(--wing-glow); }
  50% { box-shadow: 0 14px 36px rgba(54, 62, 75, 0.14), 0 0 22px 2px var(--wing-glow); }
}

@keyframes motif-spin-3d {
  /*
   * 宽黏滞区（约 ±40°）里不均匀拱动 = 努力挣脱
   * 挣脱瞬间猛甩，下一圈正面再撞黏
   * 0°↔360° 闭环：末尾黏区接开头黏区
   */
  0%   { transform: rotateY(0deg); }
  4%   { transform: rotateY(12deg); }
  8%   { transform: rotateY(22deg); }
  11%  { transform: rotateY(28deg); }    /* 顿一下 */
  14%  { transform: rotateY(40deg); }
  16%  { transform: rotateY(48deg); }    /* 快挣开 */
  18%  { transform: rotateY(135deg); }   /* 猛甩 */
  24%  { transform: rotateY(148deg); }
  25%  { transform: rotateY(152deg); }   /* 撞进宽黏区 */

  29%  { transform: rotateY(160deg); }
  33%  { transform: rotateY(168deg); }
  35%  { transform: rotateY(172deg); }   /* 顿 */
  39%  { transform: rotateY(182deg); }
  43%  { transform: rotateY(192deg); }
  45%  { transform: rotateY(196deg); }   /* 再顿 */
  49%  { transform: rotateY(208deg); }
  53%  { transform: rotateY(220deg); }
  55%  { transform: rotateY(230deg); }   /* 挣脱边缘 */

  57%  { transform: rotateY(318deg); }   /* 猛甩 */
  63%  { transform: rotateY(332deg); }
  64%  { transform: rotateY(336deg); }   /* 撞黏（接回 0°） */

  70%  { transform: rotateY(345deg); }
  76%  { transform: rotateY(352deg); }
  80%  { transform: rotateY(355deg); }   /* 顿 */
  90%  { transform: rotateY(358deg); }
  100% { transform: rotateY(360deg); }  /* =0°，下轮继续拱到 48° */
}

@keyframes motif-pulse {
  0%, 100% { opacity: 0.85; transform: scale(1) rotateY(-8deg); }
  50% { opacity: 1; transform: scale(1.06) rotateY(8deg); }
}

@keyframes motif-float-3d {
  0%, 100% { transform: translateY(0) rotateY(-18deg); }
  50% { transform: translateY(-10px) rotateY(18deg); }
}

@keyframes orb-drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(12px, -18px, 0) scale(1.08); }
}

.account-profile-sub {
  position: relative;
  z-index: 1;
  margin: 0 auto 18px;
  max-width: 42ch;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.account-growth-bar {
  position: relative;
  z-index: 1;
  width: min(100%, 360px);
  margin: 0 auto 18px;
  text-align: left;
}

.account-growth-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--muted);
}

.account-growth-meta strong {
  color: var(--ink);
  font-size: 15px;
}

.member-progress {
  height: 8px;
  border-radius: 999px;
  background: rgba(42, 48, 58, 0.08);
  overflow: hidden;
}

.member-progress > i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(135deg, #66776a, #a69382);
}

/* —— 白银：冷金属银 —— */
.account-profile[data-tier="silver"] {
  border-color: rgba(150, 170, 190, 0.35);
  box-shadow:
    0 24px 48px rgba(90, 110, 130, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  background:
    linear-gradient(165deg, rgba(232, 238, 244, 0.92), rgba(248, 250, 252, 0.88));
}

.account-profile[data-tier="silver"] .account-watermark {
  --wm-ink: #8aa0b4;
  --wm-ink-soft: #a8bbc8;
}

.account-profile[data-tier="silver"] .tier-motif {
  opacity: 0.5;
}

.account-profile[data-tier="silver"] .tier-orb--a {
  background: radial-gradient(circle, rgba(170, 190, 210, 0.5), transparent 70%);
}

.account-profile[data-tier="silver"] .account-welcome {
  color: #5a7084;
}

.account-profile[data-tier="silver"]::before {
  background:
    radial-gradient(ellipse 70% 45% at 50% 0%, rgba(190, 205, 220, 0.55), transparent 65%),
    linear-gradient(120deg, transparent 40%, rgba(255, 255, 255, 0.5) 50%, transparent 60%);
}

.account-profile[data-tier="silver"] .account-profile-glow {
  background: radial-gradient(circle, rgba(170, 190, 210, 0.55), transparent 68%);
}

.account-profile[data-tier="silver"] .account-avatar-wrap::before {
  background: conic-gradient(from 180deg, #9aafc0, #e8eef4, #7a90a4, #c8d4de, #9aafc0);
  opacity: 0.75;
  animation: tier-ring-spin 14s linear infinite;
}

.account-profile[data-tier="silver"] .account-member-badge {
  --wing-glow: rgba(140, 165, 190, 0.4);
  border-color: rgba(120, 145, 170, 0.35);
  background: linear-gradient(135deg, #e8eef3, #f7f9fb);
  color: #4a5c6e;
  box-shadow: 0 8px 20px rgba(90, 120, 150, 0.12);
  animation: badge-pulse-glow 4s ease-in-out infinite;
}

.account-profile[data-tier="silver"] .tier-wing--badge {
  --wing-img: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20120%2090%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M8%2048C18%2028%2036%2016%2058%2014c18-2%2034%206%2046%2018-14-4-28-2-38%206%2014%202%2028%2010%2038%2022-16-6-34-6-48%202%2010%206%2022%2014%2030%2026-18-8-36-10-50-4%206-8%208-18%204-28-8%204-16%204-24-2%202-8%204-14%208-20z%22%20fill%3D%22%239ab0c4%22%2F%3E%3Cpath%20d%3D%22M14%2046c12-16%2028-26%2048-26%2016%200%2030%208%2040%2018-12-2-24%200-32%206%2012%202%2024%208%2032%2018-14-4-28-4-40%202%208%206%2018%2012%2024%2022-14-6-30-8-42-2%204-8%206-16%202-24-6%202-14%202-20-2%202-6%204-10%208-14z%22%20fill%3D%22%23d8e4ee%22%20opacity%3D%22.95%22%2F%3E%3Cpath%20d%3D%22M20%2044c10-12%2024-20%2040-18%2012%202%2022%208%2030%2016-10%200-18%202-24%206%208%202%2016%206%2022%2014-10-2-20-2-28%202%206%204%2012%2010%2016%2016-10-4-22-6-30-2%202-6%202-12%200-18-6%202-12%202-16%200%200-6%202-10%206-16z%22%20fill%3D%22%23ffffff%22%20opacity%3D%22.55%22%2F%3E%3C%2Fsvg%3E");
  width: 36px;
  height: 28px;
  filter: drop-shadow(0 4px 8px rgba(120, 150, 180, 0.35));
}

.account-profile[data-tier="silver"] .account-member-badge .stars {
  color: #7a92a8;
}

.account-profile[data-tier="silver"] .member-progress > i {
  background: linear-gradient(135deg, #8aa0b4, #c5d2dc);
}

/* —— 黄金：暖金光泽 —— */
.account-profile[data-tier="gold"] {
  border-color: rgba(210, 165, 70, 0.42);
  box-shadow:
    0 28px 56px rgba(160, 120, 40, 0.14),
    inset 0 1px 0 rgba(255, 245, 220, 0.9);
  background:
    linear-gradient(165deg, rgba(255, 246, 228, 0.95), rgba(255, 252, 245, 0.9));
}

.account-profile[data-tier="gold"] .account-watermark {
  --wm-ink: #c4a46a;
  --wm-ink-soft: #d4bc8a;
}

.account-profile[data-tier="gold"] .account-watermark .wm-main {
  filter: opacity(0.38);
}

.account-profile[data-tier="gold"] .account-watermark .wm-sub {
  filter: opacity(0.62);
}

.account-profile[data-tier="gold"] .tier-motif {
  opacity: 0.52;
}

.account-profile[data-tier="gold"] .tier-orb--a {
  background: radial-gradient(circle, rgba(230, 185, 90, 0.5), transparent 70%);
}

.account-profile[data-tier="gold"] .account-welcome {
  color: #8a6418;
}

.account-profile[data-tier="gold"]::before {
  opacity: 0.7;
  background:
    radial-gradient(ellipse 75% 50% at 50% -5%, rgba(235, 190, 90, 0.45), transparent 60%),
    radial-gradient(circle at 85% 80%, rgba(220, 170, 80, 0.18), transparent 40%);
}

.account-profile[data-tier="gold"] .account-profile-glow {
  background: radial-gradient(circle, rgba(230, 185, 90, 0.55), transparent 68%);
}

.account-profile[data-tier="gold"] .account-avatar-wrap::before {
  background: conic-gradient(from 200deg, #c9a227, #f5e6b8, #a67c1a, #e8c86a, #c9a227);
  opacity: 0.9;
  animation: tier-ring-spin 12s linear infinite;
  filter: drop-shadow(0 0 8px rgba(210, 160, 50, 0.35));
}

.account-profile[data-tier="gold"] .account-member-badge {
  --wing-glow: rgba(210, 160, 50, 0.45);
  border-color: rgba(190, 145, 50, 0.45);
  background: linear-gradient(135deg, #f0d78a, #c9a227 55%, #e8c86a);
  color: #4a3508;
  text-shadow: 0 1px 0 rgba(255, 245, 210, 0.45);
  box-shadow: 0 10px 24px rgba(180, 130, 40, 0.22);
  animation: badge-pulse-glow 3.4s ease-in-out infinite;
}

.account-profile[data-tier="gold"] .tier-wing--badge {
  --wing-img: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20120%2090%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M8%2048C18%2028%2036%2016%2058%2014c18-2%2034%206%2046%2018-14-4-28-2-38%206%2014%202%2028%2010%2038%2022-16-6-34-6-48%202%2010%206%2022%2014%2030%2026-18-8-36-10-50-4%206-8%208-18%204-28-8%204-16%204-24-2%202-8%204-14%208-20z%22%20fill%3D%22%23c9a227%22%2F%3E%3Cpath%20d%3D%22M14%2046c12-16%2028-26%2048-26%2016%200%2030%208%2040%2018-12-2-24%200-32%206%2012%202%2024%208%2032%2018-14-4-28-4-40%202%208%206%2018%2012%2024%2022-14-6-30-8-42-2%204-8%206-16%202-24-6%202-14%202-20-2%202-6%204-10%208-14z%22%20fill%3D%22%23f0d78a%22%20opacity%3D%22.95%22%2F%3E%3Cpath%20d%3D%22M20%2044c10-12%2024-20%2040-18%2012%202%2022%208%2030%2016-10%200-18%202-24%206%208%202%2016%206%2022%2014-10-2-20-2-28%202%206%204%2012%2010%2016%2016-10-4-22-6-30-2%202-6%202-12%200-18-6%202-12%202-16%200%200-6%202-10%206-16z%22%20fill%3D%22%23fff6d8%22%20opacity%3D%22.7%22%2F%3E%3C%2Fsvg%3E");
  filter: drop-shadow(0 4px 10px rgba(200, 150, 50, 0.45));
  width: 44px;
  height: 34px;
}

.account-profile[data-tier="gold"] .account-member-badge .stars {
  color: #6b4e10;
}

.account-profile[data-tier="gold"] .member-progress > i {
  background: linear-gradient(135deg, #c9a227, #f0d78a, #a67c1a);
}

/* —— 铂金：冰蓝白金 —— */
.account-profile[data-tier="platinum"] {
  border-color: rgba(110, 170, 200, 0.45);
  box-shadow:
    0 30px 60px rgba(70, 130, 170, 0.14),
    0 0 0 1px rgba(180, 220, 240, 0.35) inset;
  background:
    linear-gradient(165deg, rgba(220, 240, 250, 0.95), rgba(245, 250, 255, 0.92));
}

.account-profile[data-tier="platinum"] .account-watermark {
  --wm-ink: #7aadc8;
  --wm-ink-soft: #9ec9e0;
}

.account-profile[data-tier="platinum"] .tier-motif {
  opacity: 0.5;
}

.account-profile[data-tier="platinum"] .tier-orb--a {
  background: radial-gradient(circle, rgba(140, 200, 230, 0.5), transparent 70%);
}

.account-profile[data-tier="platinum"] .account-welcome {
  color: #2a6280;
}

.account-profile[data-tier="platinum"]::before {
  opacity: 0.75;
  background:
    radial-gradient(ellipse 80% 55% at 50% -8%, rgba(140, 200, 230, 0.5), transparent 58%),
    radial-gradient(circle at 15% 90%, rgba(160, 210, 230, 0.22), transparent 42%),
    linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, 0.65) 50%, transparent 58%);
}

.account-profile[data-tier="platinum"] .account-profile-glow {
  width: min(580px, 90%);
  background:
    radial-gradient(circle, rgba(140, 200, 230, 0.5), transparent 65%),
    radial-gradient(circle at 70% 40%, rgba(200, 230, 245, 0.4), transparent 55%);
}

.account-profile[data-tier="platinum"] .account-avatar-wrap::before {
  inset: -7px;
  background: conic-gradient(from 160deg, #7eb8d4, #e8f6fc, #a8d4e8, #f0faff, #6aa8c8, #7eb8d4);
  opacity: 0.95;
  animation: tier-ring-spin 10s linear infinite;
  filter: drop-shadow(0 0 10px rgba(120, 190, 220, 0.4));
}

.account-profile[data-tier="platinum"] .account-member-badge {
  --wing-glow: rgba(100, 180, 220, 0.5);
  border-color: rgba(90, 160, 200, 0.4);
  background: linear-gradient(135deg, #d8eef8, #9ec9e0 50%, #eaf6fc);
  color: #1e4a62;
  letter-spacing: 0.04em;
  box-shadow: 0 12px 28px rgba(80, 150, 190, 0.2);
  animation: badge-pulse-glow 3s ease-in-out infinite;
}

.account-profile[data-tier="platinum"] .tier-wing--badge {
  --wing-img: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20120%2090%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M8%2048C18%2028%2036%2016%2058%2014c18-2%2034%206%2046%2018-14-4-28-2-38%206%2014%202%2028%2010%2038%2022-16-6-34-6-48%202%2010%206%2022%2014%2030%2026-18-8-36-10-50-4%206-8%208-18%204-28-8%204-16%204-24-2%202-8%204-14%208-20z%22%20fill%3D%22%236aa8c8%22%2F%3E%3Cpath%20d%3D%22M14%2046c12-16%2028-26%2048-26%2016%200%2030%208%2040%2018-12-2-24%200-32%206%2012%202%2024%208%2032%2018-14-4-28-4-40%202%208%206%2018%2012%2024%2022-14-6-30-8-42-2%204-8%206-16%202-24-6%202-14%202-20-2%202-6%204-10%208-14z%22%20fill%3D%22%23c8e8f5%22%20opacity%3D%22.95%22%2F%3E%3Cpath%20d%3D%22M20%2044c10-12%2024-20%2040-18%2012%202%2022%208%2030%2016-10%200-18%202-24%206%208%202%2016%206%2022%2014-10-2-20-2-28%202%206%204%2012%2010%2016%2016-10-4-22-6-30-2%202-6%202-12%200-18-6%202-12%202-16%200%200-6%202-10%206-16z%22%20fill%3D%22%23ffffff%22%20opacity%3D%22.7%22%2F%3E%3C%2Fsvg%3E");
  filter: drop-shadow(0 0 10px rgba(120, 190, 230, 0.45));
  width: 48px;
  height: 38px;
}

.account-profile[data-tier="platinum"] .account-member-badge .stars {
  color: #3a7a9a;
}

.account-profile[data-tier="platinum"] .member-progress {
  height: 9px;
  background: rgba(80, 140, 180, 0.12);
}

.account-profile[data-tier="platinum"] .member-progress > i {
  background: linear-gradient(135deg, #5a9cbc, #c8e8f5, #7eb8d4);
}

/* —— 黑金：暗底鎏金（显著跃升） —— */
.account-profile[data-tier="black_gold"] {
  color: #f3e8d4;
  border-color: rgba(200, 155, 70, 0.5);
  box-shadow:
    0 32px 64px rgba(20, 14, 8, 0.35),
    0 0 0 1px rgba(210, 170, 90, 0.25) inset,
    0 0 48px rgba(180, 130, 50, 0.12);
  background:
    linear-gradient(155deg, #16120e 0%, #241c14 42%, #1a1510 100%);
}

.account-profile[data-tier="black_gold"] .account-watermark {
  --wm-ink: #d4b06a;
  --wm-ink-soft: #e0c488;
}

.account-profile[data-tier="black_gold"] .account-watermark .wm-main {
  filter: opacity(0.42);
}

.account-profile[data-tier="black_gold"] .account-watermark .wm-sub {
  filter: opacity(0.58);
}

.account-profile[data-tier="black_gold"] .tier-motif {
  opacity: 0.55;
}

.account-profile[data-tier="black_gold"] .tier-orb--a {
  background: radial-gradient(circle, rgba(220, 170, 70, 0.4), transparent 70%);
}

.account-profile[data-tier="black_gold"] .tier-orb--b {
  background: radial-gradient(circle, rgba(140, 100, 40, 0.35), transparent 70%);
}

.account-profile[data-tier="black_gold"] .account-welcome {
  color: rgba(240, 220, 168, 0.88);
}

.account-profile[data-tier="black_gold"]::before {
  opacity: 1;
  background:
    radial-gradient(ellipse 90% 55% at 50% -15%, rgba(210, 160, 70, 0.38), transparent 55%),
    radial-gradient(circle at 90% 70%, rgba(180, 130, 50, 0.18), transparent 35%),
    linear-gradient(125deg, transparent 45%, rgba(255, 220, 150, 0.08) 50%, transparent 55%);
}

.account-profile[data-tier="black_gold"] .account-profile-glow {
  width: min(640px, 95%);
  height: 260px;
  background:
    radial-gradient(circle, rgba(200, 150, 70, 0.45), transparent 62%),
    radial-gradient(circle at 30% 60%, rgba(120, 90, 40, 0.35), transparent 50%);
}

.account-profile[data-tier="black_gold"] h1 {
  color: #f7ecd8;
  text-shadow: 0 2px 24px rgba(200, 150, 70, 0.25);
}

.account-profile[data-tier="black_gold"] .account-profile-sub,
.account-profile[data-tier="black_gold"] .account-growth-meta {
  color: rgba(232, 210, 170, 0.72);
}

.account-profile[data-tier="black_gold"] .account-growth-meta strong {
  color: #f0dca8;
}

.account-profile[data-tier="black_gold"] .account-avatar-wrap::before {
  inset: -8px;
  background: conic-gradient(
    from 0deg,
    #8a6a28,
    #f0d78a,
    #c9a227,
    #5a4018,
    #e8c86a,
    #8a6a28
  );
  opacity: 1;
  animation: tier-ring-spin 8s linear infinite;
  filter: drop-shadow(0 0 14px rgba(210, 160, 60, 0.55));
}

.account-profile[data-tier="black_gold"] .account-avatar-lg,
.account-profile[data-tier="black_gold"] .account-avatar-fallback {
  border-color: rgba(240, 210, 140, 0.65);
  box-shadow:
    0 20px 44px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(200, 150, 70, 0.35);
}

.account-profile[data-tier="black_gold"] .account-avatar-fallback {
  background: linear-gradient(145deg, #2a2218, #c9a227);
}

.account-profile[data-tier="black_gold"] .account-member-badge {
  --wing-glow: rgba(220, 170, 70, 0.55);
  border-color: rgba(230, 190, 100, 0.55);
  background: linear-gradient(135deg, #3a2e18, #c9a227 45%, #8a6a28 70%, #e8c86a);
  color: #fff8e8;
  letter-spacing: 0.08em;
  text-transform: none;
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 230, 170, 0.35);
  animation: badge-pulse-glow 2.8s ease-in-out infinite;
}

.account-profile[data-tier="black_gold"] .tier-wing--badge {
  --wing-img: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20120%2090%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M8%2048C18%2028%2036%2016%2058%2014c18-2%2034%206%2046%2018-14-4-28-2-38%206%2014%202%2028%2010%2038%2022-16-6-34-6-48%202%2010%206%2022%2014%2030%2026-18-8-36-10-50-4%206-8%208-18%204-28-8%204-16%204-24-2%202-8%204-14%208-20z%22%20fill%3D%22%238a6a28%22%2F%3E%3Cpath%20d%3D%22M14%2046c12-16%2028-26%2048-26%2016%200%2030%208%2040%2018-12-2-24%200-32%206%2012%202%2024%208%2032%2018-14-4-28-4-40%202%208%206%2018%2012%2024%2022-14-6-30-8-42-2%204-8%206-16%202-24-6%202-14%202-20-2%202-6%204-10%208-14z%22%20fill%3D%22%23e8c86a%22%20opacity%3D%22.95%22%2F%3E%3Cpath%20d%3D%22M20%2044c10-12%2024-20%2040-18%2012%202%2022%208%2030%2016-10%200-18%202-24%206%208%202%2016%206%2022%2014-10-2-20-2-28%202%206%204%2012%2010%2016%2016-10-4-22-6-30-2%202-6%202-12%200-18-6%202-12%202-16%200%200-6%202-10%206-16z%22%20fill%3D%22%23fff0c0%22%20opacity%3D%22.75%22%2F%3E%3C%2Fsvg%3E");
  filter: drop-shadow(0 0 12px rgba(220, 170, 70, 0.55));
  width: 54px;
  height: 42px;
}

.account-profile[data-tier="black_gold"] .account-member-badge .badge-shine::after {
  animation-duration: 2.8s;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 230, 160, 0.15) 35%,
    rgba(255, 245, 200, 0.7) 50%,
    rgba(255, 230, 160, 0.15) 65%,
    transparent 100%
  );
}

.account-profile[data-tier="black_gold"] .account-member-badge .stars {
  color: #ffe9a8;
  filter: drop-shadow(0 0 4px rgba(255, 200, 80, 0.5));
}

.account-profile[data-tier="black_gold"] .member-progress {
  height: 9px;
  background: rgba(255, 220, 150, 0.1);
  box-shadow: inset 0 0 0 1px rgba(200, 150, 70, 0.2);
}

.account-profile[data-tier="black_gold"] .member-progress > i {
  background: linear-gradient(90deg, #8a6a28, #f0d78a, #c9a227);
  box-shadow: 0 0 12px rgba(220, 170, 70, 0.45);
}

.account-profile[data-tier="black_gold"] .primary-btn {
  background: linear-gradient(135deg, #c9a227, #8a6a28);
  color: #1a140c;
  border: 0;
  box-shadow: 0 12px 28px rgba(180, 130, 40, 0.35);
}

.account-profile[data-tier="black_gold"] .secondary-btn {
  background: rgba(255, 230, 180, 0.06);
  border-color: rgba(210, 170, 90, 0.4);
  color: #f0dca8;
}

/* —— 黑钻：至尊暗夜虹彩 —— */
.account-profile[data-tier="black_diamond"] {
  color: #e8eef8;
  border-color: rgba(160, 200, 230, 0.45);
  box-shadow:
    0 36px 72px rgba(4, 6, 12, 0.45),
    0 0 0 1px rgba(180, 210, 240, 0.2) inset,
    0 0 60px rgba(100, 160, 220, 0.15),
    0 0 80px rgba(160, 120, 220, 0.08);
  background:
    linear-gradient(150deg, #080a10 0%, #121620 38%, #0a0c12 100%);
  padding-top: 48px;
  padding-bottom: 40px;
}

.account-profile[data-tier="black_diamond"] .account-watermark {
  --wm-ink: #9ec4e8;
  --wm-ink-soft: #b8a8e0;
}

.account-profile[data-tier="black_diamond"] .account-watermark .wm-main {
  filter: opacity(0.4) drop-shadow(0 0 28px rgba(140, 190, 255, 0.2));
}

.account-profile[data-tier="black_diamond"] .account-watermark .wm-sub {
  filter: opacity(0.55);
}

.account-profile[data-tier="black_diamond"] .tier-motif {
  opacity: 0.58;
  right: 2%;
}

.account-profile[data-tier="black_diamond"] .tier-orb--a {
  background: radial-gradient(circle, rgba(140, 190, 255, 0.4), transparent 70%);
}

.account-profile[data-tier="black_diamond"] .tier-orb--b {
  background: radial-gradient(circle, rgba(180, 140, 230, 0.35), transparent 70%);
}

.account-profile[data-tier="black_diamond"] .tier-orb--c {
  background: radial-gradient(circle, rgba(220, 240, 255, 0.3), transparent 70%);
}

.account-profile[data-tier="black_diamond"] .account-welcome {
  color: rgba(200, 220, 245, 0.9);
  letter-spacing: 0.08em;
}

.account-profile[data-tier="black_diamond"]::before {
  opacity: 1;
  background:
    radial-gradient(ellipse 95% 60% at 50% -20%, rgba(140, 190, 240, 0.42), transparent 52%),
    radial-gradient(circle at 12% 85%, rgba(160, 100, 220, 0.22), transparent 38%),
    radial-gradient(circle at 92% 75%, rgba(80, 180, 220, 0.2), transparent 36%),
    linear-gradient(130deg, transparent 46%, rgba(220, 240, 255, 0.1) 50%, transparent 54%);
  animation: diamond-shimmer 6s ease-in-out infinite;
}

.account-profile[data-tier="black_diamond"] .account-profile-glow {
  width: min(700px, 100%);
  height: 300px;
  background:
    radial-gradient(circle, rgba(130, 180, 230, 0.4), transparent 60%),
    radial-gradient(circle at 70% 30%, rgba(170, 130, 230, 0.28), transparent 50%),
    radial-gradient(circle at 25% 50%, rgba(90, 200, 220, 0.2), transparent 45%);
}

.account-profile[data-tier="black_diamond"] h1 {
  font-size: clamp(30px, 4.2vw, 40px);
  background: linear-gradient(120deg, #f0f6ff 10%, #a8d0f0 40%, #d8c8f8 70%, #f0f6ff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: diamond-text 8s linear infinite;
}

.account-profile[data-tier="black_diamond"] .account-profile-sub,
.account-profile[data-tier="black_diamond"] .account-growth-meta {
  color: rgba(190, 210, 235, 0.7);
}

.account-profile[data-tier="black_diamond"] .account-growth-meta strong {
  color: #d8e8f8;
}

.account-profile[data-tier="black_diamond"] .account-avatar-wrap {
  width: 120px;
  height: 120px;
}

.account-profile[data-tier="black_diamond"] .account-avatar-lg,
.account-profile[data-tier="black_diamond"] .account-avatar-fallback {
  width: 120px;
  height: 120px;
  border-color: rgba(200, 230, 255, 0.55);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(160, 200, 240, 0.35),
    0 0 28px rgba(120, 180, 240, 0.35);
}

.account-profile[data-tier="black_diamond"] .account-avatar-wrap::before {
  inset: -10px;
  background: conic-gradient(
    from 0deg,
    #6a9fd4,
    #e8f4ff,
    #b89af0,
    #5ad0e8,
    #f0e8ff,
    #7ab0e0,
    #6a9fd4
  );
  opacity: 1;
  animation: tier-ring-spin 6s linear infinite;
  filter: drop-shadow(0 0 18px rgba(140, 190, 255, 0.55));
}

.account-profile[data-tier="black_diamond"] .account-avatar-fallback {
  background: linear-gradient(145deg, #121620, #6a9fd4 60%, #b89af0);
}

.account-profile[data-tier="black_diamond"] .account-member-badge {
  --wing-glow: rgba(140, 190, 255, 0.55);
  padding: 10px 22px;
  border-color: rgba(180, 220, 255, 0.45);
  background:
    linear-gradient(135deg, rgba(30, 40, 60, 0.95), rgba(60, 90, 130, 0.9) 40%, rgba(90, 70, 140, 0.85));
  color: #eef6ff;
  letter-spacing: 0.12em;
  font-size: 12px;
  text-transform: uppercase;
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.4),
    0 0 24px rgba(120, 180, 240, 0.25),
    inset 0 1px 0 rgba(220, 240, 255, 0.35);
  animation: badge-pulse-glow 2.4s ease-in-out infinite;
}

.account-profile[data-tier="black_diamond"] .tier-wing--badge {
  --wing-img: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20120%2090%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M8%2048C18%2028%2036%2016%2058%2014c18-2%2034%206%2046%2018-14-4-28-2-38%206%2014%202%2028%2010%2038%2022-16-6-34-6-48%202%2010%206%2022%2014%2030%2026-18-8-36-10-50-4%206-8%208-18%204-28-8%204-16%204-24-2%202-8%204-14%208-20z%22%20fill%3D%22%236a9fd4%22%2F%3E%3Cpath%20d%3D%22M14%2046c12-16%2028-26%2048-26%2016%200%2030%208%2040%2018-12-2-24%200-32%206%2012%202%2024%208%2032%2018-14-4-28-4-40%202%208%206%2018%2012%2024%2022-14-6-30-8-42-2%204-8%206-16%202-24-6%202-14%202-20-2%202-6%204-10%208-14z%22%20fill%3D%22%23b89af0%22%20opacity%3D%22.9%22%2F%3E%3Cpath%20d%3D%22M20%2044c10-12%2024-20%2040-18%2012%202%2022%208%2030%2016-10%200-18%202-24%206%208%202%2016%206%2022%2014-10-2-20-2-28%202%206%204%2012%2010%2016%2016-10-4-22-6-30-2%202-6%202-12%200-18-6%202-12%202-16%200%200-6%202-10%206-16z%22%20fill%3D%22%23e8f4ff%22%20opacity%3D%22.8%22%2F%3E%3C%2Fsvg%3E");
  filter: drop-shadow(0 0 14px rgba(140, 190, 255, 0.65));
  width: 62px;
  height: 48px;
}

.account-profile[data-tier="black_diamond"] .account-member-badge .badge-shine::after {
  animation-duration: 2.2s;
  width: 55%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(180, 220, 255, 0.2) 30%,
    rgba(255, 255, 255, 0.85) 48%,
    rgba(200, 170, 255, 0.35) 58%,
    transparent 100%
  );
}

.account-profile[data-tier="black_diamond"] .account-member-badge .stars {
  color: #c8e0ff;
  filter: drop-shadow(0 0 6px rgba(160, 210, 255, 0.7));
}

.account-profile[data-tier="black_diamond"] .member-progress {
  height: 10px;
  background: rgba(160, 200, 240, 0.1);
  box-shadow: inset 0 0 0 1px rgba(140, 190, 230, 0.25);
}

.account-profile[data-tier="black_diamond"] .member-progress > i {
  background: linear-gradient(90deg, #5a8fc0, #c8e8ff, #a890e0, #6ad0e8);
  background-size: 200% 100%;
  animation: diamond-bar 3.5s ease-in-out infinite;
  box-shadow: 0 0 16px rgba(140, 200, 255, 0.5);
}

.account-profile[data-tier="black_diamond"] .primary-btn {
  background: linear-gradient(135deg, #6a9fd4, #8a70c8);
  color: #f4f8ff;
  border: 0;
  box-shadow: 0 14px 32px rgba(80, 130, 200, 0.4);
}

.account-profile[data-tier="black_diamond"] .secondary-btn {
  background: rgba(180, 210, 255, 0.06);
  border-color: rgba(160, 200, 240, 0.4);
  color: #c8dcec;
}

@keyframes tier-ring-spin {
  to { transform: rotate(360deg); }
}

@keyframes diamond-shimmer {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 1; }
}

@keyframes diamond-text {
  to { background-position: 200% center; }
}

@keyframes diamond-bar {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.account-profile[data-tier="black_gold"].soft-card,
.account-profile[data-tier="black_diamond"].soft-card {
  backdrop-filter: blur(24px) saturate(1.15);
}

.account-profile[data-tier="black_gold"].soft-card:hover,
.account-profile[data-tier="black_diamond"].soft-card:hover {
  transform: translateY(-4px);
  border-color: rgba(210, 170, 90, 0.55);
}

.account-profile[data-tier="black_diamond"].soft-card:hover {
  border-color: rgba(160, 210, 255, 0.55);
  box-shadow:
    0 40px 80px rgba(4, 6, 12, 0.5),
    0 0 70px rgba(100, 160, 220, 0.2);
}

@media (prefers-reduced-motion: reduce) {
  .account-profile[data-tier] .account-avatar-wrap::before,
  .account-profile[data-tier="black_diamond"]::before,
  .account-profile[data-tier="black_diamond"] h1,
  .account-profile[data-tier="black_diamond"] .member-progress > i,
  .account-member-badge,
  .account-member-badge .badge-shine::after,
  .tier-wing,
  .motif-spin,
  .motif-spin-slow,
  .motif-leaf,
  .motif-float,
  .tier-orb {
    animation: none !important;
  }
}

@media (max-width: 640px) {
  .account-profile {
    padding-left: 22px;
    padding-right: 22px;
  }

  .tier-motif {
    width: 140px;
    height: 140px;
    margin-top: -70px;
    opacity: 0.16;
  }

  .account-watermark {
    width: 200px;
    height: 190px;
  }

  .account-watermark .wm-main {
    font-size: 108px;
  }

  .account-watermark .wm-sub {
    font-size: 58px;
  }

  .account-profile[data-tier="black_diamond"] .tier-wing--badge,
  .account-profile[data-tier="black_gold"] .tier-wing--badge {
    width: 40px;
    height: 32px;
  }
}

.account-profile-actions,
.account-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.account-shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.account-side {
  padding: 18px 14px;
  position: sticky;
  top: 108px;
}

.account-side-label {
  margin: 0 10px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(32, 36, 43, 0.42);
}

.account-side-nav {
  display: grid;
  gap: 6px;
}

.account-side-nav button {
  appearance: none;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 12px 14px;
  border-radius: 16px;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  color: rgba(32, 36, 43, 0.62);
  cursor: pointer;
  transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.account-side-nav button:hover {
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
}

.account-side-nav button.active {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 24px rgba(54, 62, 75, 0.08);
}

.account-main {
  padding: 28px 28px 30px;
  min-height: 420px;
}

.account-panel[hidden] {
  display: none !important;
}

.account-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.account-panel-head h2 {
  margin: 0 0 6px;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.account-panel-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  max-width: 52ch;
}

.member-card-view {
  margin-bottom: 22px;
}

.member-pass {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 22px 24px 20px;
  border-radius: 22px;
  border: 1px solid rgba(42, 48, 58, 0.12);
  background:
    radial-gradient(circle at 90% 10%, rgba(201, 162, 39, 0.2), transparent 42%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(245, 240, 232, 0.88));
  box-shadow: 0 16px 36px rgba(54, 62, 75, 0.08);
}

.member-pass-glow {
  position: absolute;
  inset: auto -15% -40% auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.28), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.member-pass-head,
.member-pass-stats,
.member-pass-foot {
  position: relative;
  z-index: 1;
}

.member-pass-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.member-pass-head em {
  display: block;
  margin-bottom: 4px;
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.member-pass-head h3 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.member-pass-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.member-pass-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.04em;
}

.member-pass-chip--tier {
  background: rgba(42, 48, 58, 0.08);
  color: var(--ink);
}

.member-pass-chip--vip {
  background: linear-gradient(135deg, #c9a227, #8a6a28);
  color: #fff8e8;
}

.member-pass-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.member-pass-stats span {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  color: var(--muted);
}

.member-pass-stats strong {
  font-size: 22px;
  letter-spacing: -0.03em;
}

.member-pass-foot {
  display: grid;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

.member-pass[data-vip="gzvip"],
.member-pass[data-vip="lvip"] {
  color: #f4eee2;
  background:
    radial-gradient(circle at 88% 8%, rgba(240, 200, 100, 0.22), transparent 40%),
    linear-gradient(150deg, #14120e 0%, #242018 50%, #12100c 100%);
  border-color: rgba(210, 170, 90, 0.35);
}

.member-pass[data-vip="gzvip"] .member-pass-head em,
.member-pass[data-vip="lvip"] .member-pass-head em,
.member-pass[data-vip="gzvip"] .member-pass-stats span,
.member-pass[data-vip="lvip"] .member-pass-stats span,
.member-pass[data-vip="gzvip"] .member-pass-foot,
.member-pass[data-vip="lvip"] .member-pass-foot {
  color: rgba(240, 220, 180, 0.72);
}

.member-pass[data-vip="lvip"] {
  background:
    radial-gradient(circle at 85% 10%, rgba(150, 200, 255, 0.25), transparent 42%),
    linear-gradient(150deg, #080a12 0%, #141a28 48%, #0a0c14 100%);
  border-color: rgba(160, 200, 240, 0.4);
}

.member-pass[data-vip="lvip"] .member-pass-head em,
.member-pass[data-vip="lvip"] .member-pass-stats span,
.member-pass[data-vip="lvip"] .member-pass-foot {
  color: rgba(200, 220, 245, 0.72);
}

.member-pass[data-vip="lvip"] .member-pass-chip--vip {
  background: linear-gradient(135deg, #f0f6ff, #a8d0f0 45%, #c8a8f0);
  color: #101828;
}

.member-card-ledger-title {
  margin: 0 0 10px;
  font-size: 15px;
  letter-spacing: -0.02em;
}

@media (max-width: 900px) {
  .member-pass-stats {
    grid-template-columns: 1fr;
  }
}

.account-bind-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.account-bind-card {
  padding: 18px 18px 16px;
  border-radius: 22px;
  border: 1px solid rgba(42, 48, 58, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.42));
}

.account-bind-card h3 {
  margin: 0 0 12px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(32, 36, 43, 0.45);
}

.account-bind-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.account-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(42, 48, 58, 0.1);
  background: rgba(255, 255, 255, 0.7);
}

.account-bind-meta {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.account-bind-meta strong {
  font-size: 15px;
}

.account-bind-meta span {
  font-size: 13px;
  color: var(--muted);
}

.assets-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin: -6px 0 18px;
}

.assets-search-wrap {
  position: relative;
  flex: 1 1 240px;
  min-width: min(100%, 220px);
  max-width: 420px;
}

.assets-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
  opacity: 0.75;
}

.assets-search {
  width: 100%;
  box-sizing: border-box;
  padding: 11px 14px 11px 40px;
  border-radius: 14px;
  border: 1px solid rgba(42, 48, 58, 0.1);
  background: rgba(255, 255, 255, 0.72);
  font: inherit;
  font-size: 14px;
  color: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.assets-search::placeholder {
  color: rgba(84, 92, 104, 0.55);
}

.assets-search:focus {
  border-color: rgba(85, 99, 87, 0.35);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 0 3px rgba(85, 99, 87, 0.1);
}

.assets-count {
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}

.assets-grid {
  display: grid;
  gap: 12px;
}

.assets-warn {
  margin: 0 0 4px;
  grid-column: 1 / -1;
}

.asset-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px 16px;
  padding: 12px 16px 12px 12px;
  border-radius: 18px;
  border: 1px solid rgba(42, 48, 58, 0.08);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(248, 246, 242, 0.62));
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.asset-card.is-link {
  cursor: pointer;
}

.asset-card.is-link:hover {
  transform: translateY(-2px);
  border-color: rgba(85, 99, 87, 0.22);
  box-shadow: 0 12px 28px rgba(54, 62, 75, 0.08);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(244, 246, 242, 0.88));
}

.asset-card-thumb {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 25%, rgba(185, 168, 149, 0.35), transparent 55%),
    linear-gradient(145deg, #e8ebe6, #d5ddd6);
  color: #4d5a50;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.04em;
  flex-shrink: 0;
}

.asset-card-thumb.has-cover {
  background: #e7e4de;
}

.asset-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.asset-card-body {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.asset-card-title {
  font-size: 15px;
  letter-spacing: -0.02em;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.asset-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  min-width: 0;
}

.asset-chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(85, 99, 87, 0.12);
  color: #4d5a50;
}

.asset-txn {
  font-size: 12px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  max-width: 100%;
}

.asset-card-go {
  font-size: 13px;
  font-weight: 600;
  color: #4d5a50;
  white-space: nowrap;
  transition: transform 0.2s ease;
}

.asset-card.is-link:hover .asset-card-go {
  transform: translateX(2px);
}

.asset-card-go.is-muted {
  color: var(--muted);
  font-weight: 500;
}

.account-list {
  display: grid;
  gap: 10px;
}

.account-list-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(42, 48, 58, 0.08);
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  width: 100%;
  transition: background 0.2s ease, transform 0.2s ease;
}

.account-list-item:hover {
  background: rgba(255, 255, 255, 0.82);
  transform: translateY(-1px);
}

.account-list-item strong {
  font-size: 14px;
}

.account-list-item span,
.account-list-item small {
  color: var(--muted);
  font-size: 12px;
}

.account-status {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(102, 119, 106, 0.12);
  color: #556357;
}

.account-status.is-pending {
  background: rgba(185, 168, 149, 0.22);
  color: #7a6550;
}

.account-status.is-paid {
  background: rgba(102, 119, 106, 0.16);
  color: #3f5344;
}

.account-status.is-refunded {
  background: rgba(140, 90, 90, 0.14);
  color: #7a4545;
}

.task-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.task-btn {
  display: grid;
  gap: 6px;
  padding: 16px 16px;
  border-radius: 18px;
  border: 1px solid rgba(42, 48, 58, 0.08);
  background: rgba(255, 255, 255, 0.55);
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.task-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.82);
  transform: translateY(-1px);
}

.task-btn:disabled {
  opacity: 0.55;
  cursor: default;
}

.task-btn strong {
  font-size: 14px;
}

.task-btn span {
  font-size: 12px;
  color: var(--muted);
}

.account-inline-meta {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
}

.account-empty {
  padding: 28px 8px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.account-offer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px dashed rgba(102, 119, 106, 0.35);
  background: rgba(255, 255, 255, 0.5);
  margin-bottom: 12px;
}

.account-drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(32, 36, 43, 0.28);
  backdrop-filter: blur(8px);
}

.account-drawer[hidden] {
  display: none !important;
}

.account-drawer-panel {
  width: min(100%, 560px);
  max-height: min(84vh, 720px);
  overflow: auto;
  padding: 24px;
}

.account-drawer-panel h3 {
  margin: 0 0 8px;
}

.account-drawer-meta {
  display: grid;
  gap: 8px;
  margin: 14px 0;
  font-size: 13px;
}

.account-drawer-meta div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(42, 48, 58, 0.08);
}

@media (max-width: 900px) {
  .account-shell {
    grid-template-columns: 1fr;
  }

  .account-side {
    position: static;
    padding: 12px;
  }

  .account-side-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .account-side-nav button {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .account-side-label {
    display: none;
  }

  .account-bind-grid,
  .task-grid {
    grid-template-columns: 1fr;
  }

  .account-main {
    padding: 22px 18px;
  }

  .account-panel-head {
    flex-direction: column;
  }

  .asset-card {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
  }

  .asset-card-thumb {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    font-size: 18px;
  }

  .asset-card-go {
    grid-column: 2;
    justify-self: start;
  }

  .asset-card-title {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
}

/* —— 冲卡特权（工作台上方 · 横向循环） —— */
.account-vip-band {
  padding: 22px 22px 18px;
  overflow: hidden;
}

.account-vip-band.soft-card:hover {
  transform: none;
}

.vip-band-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
  margin-bottom: 16px;
}

.vip-band-eyebrow {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(32, 36, 43, 0.42);
}

.vip-band-head h2 {
  margin: 0 0 6px;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.vip-band-head > div > p:last-child {
  margin: 0;
  max-width: 46ch;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* 资料卡右上角 VIP 斜标（与会员徽章分离） */
.profile-vip-ribbon {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 6;
  width: 196px;
  height: 196px;
  overflow: hidden;
  pointer-events: none;
}

.profile-vip-ribbon[hidden] {
  display: none !important;
}

.profile-vip-ribbon-band {
  position: absolute;
  top: 42px;
  right: -58px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 280px;
  height: 58px;
  transform: rotate(45deg);
  background: linear-gradient(180deg, #3a4568 0%, #1e2744 48%, #12182e 100%);
  box-shadow:
    0 8px 20px rgba(18, 24, 46, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.profile-vip-ribbon-band strong {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0.16em;
  line-height: 1;
  color: #f0d78a;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.profile-vip-ribbon-shine {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    105deg,
    transparent 28%,
    rgba(255, 255, 255, 0.38) 48%,
    transparent 64%
  );
  transform: translateX(-120%);
  animation: vip-ribbon-shine 3.2s ease-in-out infinite;
}

.profile-vip-ribbon[data-vip="svip"] .profile-vip-ribbon-band {
  background: linear-gradient(180deg, #2e4a8a 0%, #162448 100%);
}
.profile-vip-ribbon[data-vip="svip"] .profile-vip-ribbon-band strong {
  color: #dce8ff;
}
.profile-vip-ribbon[data-vip="zvip"] .profile-vip-ribbon-band {
  background: linear-gradient(180deg, #4a3480 0%, #1e1638 100%);
}
.profile-vip-ribbon[data-vip="zvip"] .profile-vip-ribbon-band strong {
  color: #e8d4ff;
}
.profile-vip-ribbon[data-vip="gzvip"] .profile-vip-ribbon-band {
  background: linear-gradient(180deg, #3a2e14 0%, #14100a 100%);
}
.profile-vip-ribbon[data-vip="gzvip"] .profile-vip-ribbon-band strong {
  color: #f0d78a;
}
.profile-vip-ribbon[data-vip="lvip"] .profile-vip-ribbon-band {
  background: linear-gradient(180deg, #1a2438 0%, #080a14 100%);
}
.profile-vip-ribbon[data-vip="lvip"] .profile-vip-ribbon-band strong {
  color: #e8f0ff;
  text-shadow: 0 0 12px rgba(160, 200, 255, 0.45), 0 1px 2px rgba(0, 0, 0, 0.5);
}

@keyframes vip-ribbon-shine {
  0%, 55% { transform: translateX(-120%); }
  75%, 100% { transform: translateX(120%); }
}

.vip-summary {
  min-width: min(100%, 420px);
  flex: 1 1 320px;
}

.vip-summary-card {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(42, 48, 58, 0.08);
  background:
    radial-gradient(circle at 90% 10%, rgba(201, 162, 39, 0.16), transparent 42%),
    rgba(255, 255, 255, 0.55);
}

.vip-balance-num {
  color: #8a6a28;
}

.vip-note {
  margin: 8px 2px 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
}

.vip-tier-balance-line {
  position: relative;
  z-index: 1;
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.vip-tier-balance-line b {
  color: #8a6a28;
}

.vip-summary-label {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  color: var(--muted);
}

.vip-summary-card strong {
  font-size: 18px;
  letter-spacing: -0.03em;
}

.vip-current-label {
  background: linear-gradient(120deg, #c9a227, #8a6a28);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.vip-summary-next {
  display: grid;
  gap: 6px;
  align-content: center;
  font-size: 12px;
  color: var(--muted);
}

.vip-progress {
  height: 7px;
  border-radius: 999px;
  background: rgba(42, 48, 58, 0.08);
  overflow: hidden;
}

.vip-progress > i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #c9a227, #f0d78a, #8a6a28);
}

.vip-marquee {
  position: relative;
  overflow: hidden;
  margin: 0 -6px;
  padding: 4px 0 8px;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.vip-marquee-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 14px;
  width: max-content;
  will-change: transform;
}

.vip-marquee.is-ready:not(.is-static) .vip-marquee-track {
  animation: vip-marquee-scroll 36s linear infinite;
}

.vip-marquee:hover .vip-marquee-track {
  animation-play-state: paused;
}

@keyframes vip-marquee-scroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

.vip-tier-card {
  position: relative;
  overflow: hidden;
  flex: 0 0 300px;
  width: 300px;
  padding: 22px 20px 18px;
  border-radius: 24px;
  border: 1px solid rgba(42, 48, 58, 0.12);
  background: rgba(255, 255, 255, 0.6);
  min-height: 300px;
  isolation: isolate;
  transform: translateZ(0);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    filter 0.35s ease;
}

.vip-tier-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 2;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.vip-tier-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 22px 48px rgba(40, 48, 64, 0.18);
}

.vip-tier-glow {
  position: absolute;
  inset: auto -20% -30% auto;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
  animation: vip-glow-pulse 4.2s ease-in-out infinite;
}

.vip-tier-sheen {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 28%,
    rgba(255, 255, 255, 0.28) 46%,
    transparent 64%
  );
  transform: translateX(-130%) skewX(-12deg);
  animation: vip-card-sheen 5.5s ease-in-out infinite;
}

.vip-gift-ribbon {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 4;
  width: 96px;
  height: 96px;
  overflow: hidden;
  pointer-events: none;
}

.vip-gift-ribbon span {
  position: absolute;
  top: 16px;
  right: -34px;
  display: block;
  width: 128px;
  padding: 5px 0;
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff8e8;
  transform: rotate(45deg);
  background: linear-gradient(180deg, #d4a84b, #a67c1a 55%, #7a5a14);
  box-shadow: 0 4px 12px rgba(120, 80, 20, 0.35);
}

.vip-tier-head,
.vip-tier-status,
.vip-tier-balance-line,
.vip-perk-list {
  position: relative;
  z-index: 3;
}

@keyframes vip-card-sheen {
  0%, 62% { transform: translateX(-130%) skewX(-12deg); opacity: 0; }
  70% { opacity: 1; }
  88%, 100% { transform: translateX(140%) skewX(-12deg); opacity: 0; }
}

@keyframes vip-glow-pulse {
  0%, 100% { opacity: 0.45; transform: scale(1); }
  50% { opacity: 0.75; transform: scale(1.08); }
}

.vip-tier-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin: 4px 0 10px;
  padding-right: 28px;
}

.vip-tier-head em {
  display: block;
  margin-bottom: 4px;
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.vip-tier-head h3 {
  margin: 0;
  font-size: 28px;
  letter-spacing: 0.04em;
}

.vip-tier-price {
  text-align: right;
}

.vip-tier-price span {
  display: block;
  font-size: 11px;
  color: var(--muted);
}

.vip-tier-price strong {
  font-size: 22px;
  letter-spacing: -0.03em;
}

.vip-tier-status {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

.vip-perk-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.vip-perk-list li {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink);
}

.vip-perk-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.45;
}

.vip-tier-card.is-locked {
  opacity: 0.7;
  filter: saturate(0.78) brightness(0.97);
}

.vip-tier-card.is-locked:hover {
  transform: translateY(-3px) scale(1.01);
}

.vip-tier-card.is-current {
  box-shadow:
    0 18px 42px rgba(54, 62, 75, 0.16),
    0 0 0 1px rgba(201, 162, 39, 0.28);
  animation: vip-current-breathe 3.6s ease-in-out infinite;
}

@keyframes vip-current-breathe {
  0%, 100% { box-shadow: 0 18px 42px rgba(54, 62, 75, 0.14), 0 0 0 1px rgba(201, 162, 39, 0.22); }
  50% { box-shadow: 0 22px 52px rgba(54, 62, 75, 0.2), 0 0 0 1px rgba(201, 162, 39, 0.42); }
}

.vip-tier-card[data-vip="vip"] {
  background:
    radial-gradient(circle at 85% 15%, rgba(120, 170, 255, 0.22), transparent 40%),
    linear-gradient(160deg, rgba(232, 240, 255, 0.96), rgba(255, 255, 255, 0.78));
  border-color: rgba(90, 130, 200, 0.32);
}
.vip-tier-card[data-vip="vip"] .vip-tier-glow {
  background: radial-gradient(circle, rgba(90, 140, 220, 0.4), transparent 70%);
}
.vip-tier-card[data-vip="vip"] h3 {
  color: #3a5f9a;
}
.vip-tier-card[data-vip="vip"] .vip-gift-ribbon span {
  background: linear-gradient(180deg, #6a9ae8, #3a5f9a 60%, #2a4470);
}

.vip-tier-card[data-vip="svip"] {
  background:
    radial-gradient(circle at 85% 12%, rgba(90, 150, 255, 0.28), transparent 42%),
    linear-gradient(160deg, rgba(230, 242, 255, 0.98), rgba(200, 220, 255, 0.6));
  border-color: rgba(70, 120, 210, 0.4);
}
.vip-tier-card[data-vip="svip"] .vip-tier-glow {
  background: radial-gradient(circle, rgba(70, 130, 230, 0.48), transparent 70%);
}
.vip-tier-card[data-vip="svip"] h3 {
  color: #2453a8;
}
.vip-tier-card[data-vip="svip"] .vip-gift-ribbon span {
  background: linear-gradient(180deg, #5a8ef0, #2453a8 60%, #183870);
}

.vip-tier-card[data-vip="zvip"] {
  background:
    radial-gradient(circle at 88% 10%, rgba(180, 120, 255, 0.28), transparent 42%),
    linear-gradient(160deg, rgba(248, 238, 255, 0.98), rgba(255, 250, 255, 0.72));
  border-color: rgba(140, 90, 200, 0.4);
}
.vip-tier-card[data-vip="zvip"] .vip-tier-glow {
  background: radial-gradient(circle, rgba(160, 100, 220, 0.45), transparent 70%);
}
.vip-tier-card[data-vip="zvip"] h3 {
  color: #6b3fa0;
}
.vip-tier-card[data-vip="zvip"] .vip-gift-ribbon span {
  background: linear-gradient(180deg, #b07af0, #6b3fa0 60%, #4a2870);
}

.vip-tier-card[data-vip="gzvip"] {
  color: #f6ecd8;
  background:
    radial-gradient(circle at 80% 0%, rgba(240, 200, 100, 0.22), transparent 45%),
    linear-gradient(155deg, #1a1610 0%, #2a2218 50%, #18140f 100%);
  border-color: rgba(210, 170, 90, 0.5);
}
.vip-tier-card[data-vip="gzvip"] .vip-tier-glow {
  background: radial-gradient(circle, rgba(220, 170, 70, 0.48), transparent 70%);
}
.vip-tier-card[data-vip="gzvip"] h3,
.vip-tier-card[data-vip="gzvip"] .vip-tier-price strong {
  color: #f0d78a;
}
.vip-tier-card[data-vip="gzvip"] em,
.vip-tier-card[data-vip="gzvip"] .vip-tier-price span,
.vip-tier-card[data-vip="gzvip"] .vip-tier-status,
.vip-tier-card[data-vip="gzvip"] .vip-tier-balance-line,
.vip-tier-card[data-vip="gzvip"] .vip-perk-list li {
  color: rgba(240, 220, 180, 0.78);
}
.vip-tier-card[data-vip="gzvip"] .vip-gift-ribbon span {
  color: #1a1408;
  background: linear-gradient(180deg, #f0d78a, #c9a227 55%, #8a6a28);
}

.vip-tier-card[data-vip="lvip"] {
  color: #e8eef8;
  background:
    radial-gradient(circle at 82% 8%, rgba(150, 200, 255, 0.28), transparent 40%),
    radial-gradient(circle at 20% 90%, rgba(180, 130, 230, 0.18), transparent 45%),
    linear-gradient(150deg, #080a12 0%, #141a28 45%, #0a0c14 100%);
  border-color: rgba(160, 200, 240, 0.48);
  box-shadow: 0 0 40px rgba(100, 160, 230, 0.14);
}
.vip-tier-card[data-vip="lvip"] .vip-tier-glow {
  background:
    radial-gradient(circle, rgba(140, 190, 255, 0.48), transparent 68%),
    radial-gradient(circle at 30% 70%, rgba(180, 130, 230, 0.32), transparent 50%);
}
.vip-tier-card[data-vip="lvip"] h3 {
  background: linear-gradient(120deg, #f0f6ff, #a8d0f0 45%, #d0b8f8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.vip-tier-card[data-vip="lvip"] em,
.vip-tier-card[data-vip="lvip"] .vip-tier-price span,
.vip-tier-card[data-vip="lvip"] .vip-tier-status,
.vip-tier-card[data-vip="lvip"] .vip-tier-balance-line,
.vip-tier-card[data-vip="lvip"] .vip-perk-list li {
  color: rgba(200, 220, 245, 0.78);
}
.vip-tier-card[data-vip="lvip"] .vip-tier-price strong {
  color: #d8e8ff;
}
.vip-tier-card[data-vip="lvip"] .vip-gift-ribbon span {
  color: #101828;
  background: linear-gradient(180deg, #f0f6ff, #a8d0f0 45%, #c8a8f0);
}
.vip-tier-card[data-vip="lvip"].is-current {
  animation: vip-lvip-breathe 3.2s ease-in-out infinite;
}

@keyframes vip-lvip-breathe {
  0%, 100% { box-shadow: 0 0 36px rgba(100, 160, 230, 0.14), 0 0 0 1px rgba(160, 200, 240, 0.35); }
  50% { box-shadow: 0 0 56px rgba(140, 180, 255, 0.28), 0 0 0 1px rgba(200, 220, 255, 0.55); }
}

@media (max-width: 900px) {
  .vip-summary-card {
    grid-template-columns: 1fr;
  }

  .vip-tier-card {
    flex-basis: 260px;
    width: 260px;
  }

  .profile-vip-ribbon {
    width: 156px;
    height: 156px;
  }

  .profile-vip-ribbon-band {
    top: 34px;
    right: -52px;
    width: 230px;
    height: 48px;
  }

  .profile-vip-ribbon-band strong {
    font-size: 20px;
    letter-spacing: 0.12em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vip-marquee.is-ready:not(.is-static) .vip-marquee-track {
    animation: none;
  }

  .vip-marquee-track {
    flex-wrap: wrap;
    width: 100%;
  }

  .vip-tier-sheen,
  .vip-tier-glow,
  .vip-tier-card.is-current,
  .vip-tier-card[data-vip="lvip"].is-current,
  .profile-vip-ribbon-shine {
    animation: none !important;
  }

  .vip-tier-card:hover {
    transform: none;
  }
}
