/* ===================== 积分商城 + 个性化装扮 ===================== */
.shop-head {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; margin-bottom: 8px;
}
.shop-credit { font-size: 15px; color: var(--text-2, #6b7280); }
.shop-credit strong { color: var(--tech-1, #7c5cff); font-size: 18px; }
.shop-credit .btn { margin-left: 10px; }

.shop-section {
  font-size: 18px; margin: 28px 0 14px; padding-left: 10px;
  border-left: 3px solid var(--tech-1, #7c5cff);
}
.shop-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.shop-card {
  background: var(--card, #fff); border: 1px solid var(--hairline, #ececf1);
  border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 10px;
  box-shadow: 0 2px 10px rgba(20, 20, 40, .04);
}
.shop-icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  font-size: 28px; background: color-mix(in srgb, var(--c) 18%, #fff);
  border: 1px solid color-mix(in srgb, var(--c) 45%, #fff);
}
.shop-meta { flex: 1; }
.shop-name { font-weight: 700; font-size: 15px; }
.shop-type {
  display: inline-block; font-size: 12px; color: var(--tech-1, #7c5cff);
  background: color-mix(in srgb, var(--tech-1, #7c5cff) 12%, #fff);
  padding: 1px 8px; border-radius: 999px; margin: 4px 0;
}
.shop-desc { font-size: 13px; color: var(--text-2, #6b7280); line-height: 1.5; min-height: 38px; }
.shop-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  border-top: 1px solid var(--hairline, #ececf1); padding-top: 10px;
}
.shop-cost { font-weight: 700; color: var(--tech-1, #7c5cff); }
.inline-form { display: inline; }
.equipped-tag {
  font-size: 12px; color: #16a34a; background: #dcfce7;
  padding: 3px 10px; border-radius: 999px; font-weight: 600;
}
.btn-ghost { background: transparent; border: 1px solid var(--hairline, #ececf1); color: var(--text-2, #6b7280); }
.btn-disabled, .btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-xs { padding: 3px 10px; font-size: 12px; }

.my-cosmetics { background: var(--card, #fff); border: 1px solid var(--hairline, #ececf1);
  border-radius: 16px; padding: 16px; }
.my-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.my-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px;
  border: 1px solid var(--hairline, #ececf1); border-radius: 999px; background: var(--bg, #f6f6fa);
}
.my-ico {
  width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-size: 15px;
  background: color-mix(in srgb, var(--c) 18%, #fff);
}
.my-name { font-size: 14px; }

/* ---------- 对话中的个性化渲染 ---------- */
.avatar.has-frame { position: relative; border-radius: 50%; }
.avatar-badge {
  position: absolute; right: -4px; bottom: -4px; font-size: 13px; line-height: 1;
  background: #fff; border-radius: 999px; padding: 1px; box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.uname { font-weight: 600; }
.title-chip {
  display: inline-block; font-size: 11px; color: #fff; padding: 1px 7px;
  border-radius: 999px; margin-left: 4px; vertical-align: middle; font-weight: 600;
}
