/* SVG 图标系统 */
.icon-svg {
  width: 24px;
  height: 24px;
  display: block;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-item .icon-svg { width: 22px; height: 22px; }

.nav-item.active .icon-svg {
  stroke: url(#nav-gradient);
  fill: none;
  filter: drop-shadow(0 0 6px rgba(34, 211, 238, 0.45));
}

.icon-btn .icon-svg { width: 20px; height: 20px; }

.action-icon .icon-svg {
  width: 22px;
  height: 22px;
  stroke: #fff;
}

.menu-icon .icon-svg {
  width: 20px;
  height: 20px;
  stroke: var(--text-secondary);
}

/* 品牌 Logo */
.brand-mark {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.brand-mark svg { width: 100%; height: 100%; }

/* 用户头像 */
.user-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}

.user-avatar::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: conic-gradient(from 180deg, #22d3ee, #a78bfa, #f472b6, #22d3ee);
  animation: avatarSpin 4s linear infinite;
}

.user-avatar::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  background: var(--bg-primary);
}

.user-avatar-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(145deg, #1e293b, #0f172a);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-size: 24px;
  font-weight: 700;
  color: #a78bfa;
}

.user-avatar-inner svg {
  width: 32px;
  height: 32px;
  stroke: url(#avatar-gradient);
  fill: none;
  stroke-width: 1.5;
}

.user-avatar-sm {
  width: 48px;
  height: 48px;
}

.user-avatar-sm .user-avatar-inner svg {
  width: 24px;
  height: 24px;
}

@keyframes avatarSpin {
  to { transform: rotate(360deg); }
}

/* 币种 Logo */
.coin-logo-wrap {
  position: relative;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
}

.coin-logo-wrap.coin-logo-sm {
  width: 36px;
  height: 36px;
}

.coin-logo-wrap.coin-logo-lg {
  width: 52px;
  height: 52px;
}

.coin-logo-wrap .coin-glow {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  opacity: 0.4;
  filter: blur(6px);
  z-index: 0;
}

.coin-svg-box {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.35);
}

.coin-svg {
  width: 100%;
  height: 100%;
  display: block;
}
