/* 同盟成员端 · 共享样式
 * 设计：蓝色品牌主调 + 卡片化 + 悬浮微动效 + 响应式，与门户视觉语言一致。
 * 配合 Tailwind CDN 使用，这里只放 Tailwind 不便表达的自定义部分。 */
:root {
  --tm-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --tm-title-font: "TencentSans", "Tencent Sans", "TencentSans-W7", "TencentSans W7", "PingFang SC", "Microsoft YaHei", sans-serif;
  --blu: #0052D9;
  --blu2: #006EFF;
  --blu3: #2563EB;
  --t1: #1D2129;
  --t2: #4E5969;
  --t3: #86909C;
  --line: #E5E6EB;
  --bg: #F2F3F8;
  --ok: #00B42A;
  --warn: #FF7D00;
  --red: #F53F3F;
}

html {
  overflow-y: scroll;
  scrollbar-gutter: stable;
}

body {
  font-family: var(--tm-font);
  background:
    linear-gradient(180deg, #f8fbff 0%, #f3f7fc 42%, #f7f9fc 100%);
}

.member-main { max-width: 1280px; }
h1,
h2,
.member-brand-title,
.brand-wordmark,
.brand-hero-title {
  font-family: var(--tm-title-font);
  letter-spacing: 0;
}
.content-title-btn,
.content-modal-head h3 {
  font-family: var(--tm-font);
  letter-spacing: 0;
}

.brand-logo {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: 0 0 44px;
  border-radius: 13px;
  background: #fff;
  border: 1px solid rgba(37, 99, 235, .16);
  box-shadow: 0 14px 30px -18px rgba(0, 82, 217, .5);
}
.brand-logo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  transform: scale(1.08);
}

/* 顶部导航 */
.member-topnav {
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(226, 232, 240, .9);
  box-shadow: 0 10px 28px -24px rgba(15, 23, 42, .45);
}
.member-filter-progress {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  z-index: 70;
  height: 3px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}
.member-filter-progress i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 0 999px 999px 0;
  background: linear-gradient(90deg, var(--blu2), #14b8a6);
  box-shadow: 0 0 16px rgba(0, 110, 255, .48);
}
.member-filter-progress span {
  position: absolute;
  top: 9px;
  right: 24px;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border: 1px solid rgba(191, 219, 254, .92);
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: var(--blu3);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 14px 30px -22px rgba(0, 82, 217, .45);
  backdrop-filter: blur(10px);
}
body.member-busy .member-filter-progress {
  opacity: 1;
}
body.member-busy .member-filter-progress i {
  animation: memberProgressRun 1.2s cubic-bezier(.4, 0, .2, 1) infinite;
}
.member-filter-progress.done i {
  width: 100%;
  animation: none !important;
  transition: width .2s ease;
}
@keyframes memberProgressRun {
  0% { width: 8%; transform: translateX(-10%); }
  55% { width: 72%; transform: translateX(0); }
  100% { width: 92%; transform: translateX(8%); }
}
.member-filter-control,
.portal-tab,
.rule-tab {
  position: relative;
}
.member-filter-control.is-loading select,
.member-filter-control.is-loading .curated-region-select {
  border-color: #93c5fd !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, .16), 0 12px 26px -22px rgba(0, 82, 217, .45) !important;
}
.member-filter-control.is-loading::after,
.portal-tab.is-loading::after,
.rule-tab.is-loading::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: -5px;
  height: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(191, 219, 254, .8);
}
.member-filter-control.is-loading::before,
.portal-tab.is-loading::before,
.rule-tab.is-loading::before {
  content: "";
  position: absolute;
  left: 8px;
  bottom: -5px;
  z-index: 1;
  width: 42%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blu2), #14b8a6);
  animation: memberControlProgress .78s ease-in-out infinite;
}
@keyframes memberControlProgress {
  0% { transform: translateX(-38%); }
  50% { transform: translateX(70%); }
  100% { transform: translateX(160%); }
}
.member-nav-inner {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto minmax(300px, 1fr);
  column-gap: 20px;
  height: 64px;
  width: min(1440px, calc(100vw - 48px));
  align-items: center;
  max-width: min(1760px, calc(100vw - 64px)) !important;
}
.member-nav-inner > a:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.member-nav-links {
  display: flex !important;
  justify-self: center;
  min-width: 0;
  align-items: center;
  justify-content: center;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}
.member-nav-links::-webkit-scrollbar { display: none; }
.member-nav-tools {
  display: flex !important;
  justify-self: end;
  min-width: 0;
  flex: 0 0 auto;
  gap: 12px;
  height: 64px;
  align-items: center;
  justify-content: flex-end;
}
.member-nav-tools > .text-gray-300 {
  display: inline-flex;
  align-items: center;
  height: 24px;
}
#navToggle { display: none !important; }
.member-view-switch {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  width: 148px;
  min-width: 148px;
  height: 42px;
  padding: 4px;
  box-sizing: border-box;
  flex: 0 0 auto;
  align-items: center;
  border: 1px solid #dbe8ff;
  border-radius: 999px;
  background: #eef4ff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.72);
}
.member-view-switch a,
.member-view-switch span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  box-sizing: border-box;
  color: #667085;
  font-size: 13px;
  font-weight: 750;
  line-height: 1;
  white-space: nowrap;
  transition: background-color .16s ease, color .16s ease;
}
.member-view-switch a.is-active {
  background: #fff;
  color: var(--blu3);
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, .08);
}
.member-view-switch span.is-active {
  background: #fff;
  color: var(--blu3);
  cursor: default;
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, .08);
}
.member-view-switch a:not(.is-active):hover {
  color: var(--blu3);
}
.member-view-switch.pending {
  opacity: 0;
  pointer-events: none;
}
.member-view-switch.unavailable {
  display: none !important;
}
.admin-impersonation-banner {
  position: fixed;
  top: 72px;
  left: 50%;
  z-index: 70;
  transform: translateX(-50%);
  width: min(1180px, calc(100vw - 32px));
  margin: 0;
  padding: 9px 12px;
  border: 1px solid rgba(37, 99, 235, .16);
  border-radius: 12px;
  background: #eff6ff;
  color: #1e3a8a;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  box-shadow: 0 12px 26px -24px rgba(15, 23, 42, .45);
}
.admin-impersonation-banner span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-impersonation-banner b {
  color: #0f172a;
  margin: 0 4px;
}
.admin-impersonation-banner em {
  color: #64748b;
  font-style: normal;
}
.admin-impersonation-banner button {
  border: 0;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  padding: 7px 12px;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}
.admin-impersonation-banner button:hover {
  background: #1d4ed8;
}
body.admin-impersonating-member {
  padding-top: 54px;
}
.member-profile-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 1 auto;
  max-width: 180px;
  min-height: 38px;
  padding: 4px 11px 4px 5px;
  border: 1px solid rgba(226, 232, 240, .92);
  border-radius: 999px;
  background: #fff;
  color: #475467;
  box-shadow: 0 8px 20px -18px rgba(15, 23, 42, .32);
  transition: border-color .18s ease, box-shadow .18s ease, color .18s ease, background .18s ease;
}
.member-profile-link::after {
  content: attr(data-tooltip);
  position: absolute;
  top: calc(100% + 9px);
  right: 0;
  z-index: 80;
  min-width: max-content;
  padding: 7px 10px;
  border: 1px solid rgba(191, 219, 254, .9);
  border-radius: 10px;
  background: rgba(255, 255, 255, .98);
  color: var(--blu2);
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 14px 30px -20px rgba(15, 23, 42, .42);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-3px);
  transition: opacity .16s ease, transform .16s ease;
}
.member-profile-link:hover {
  border-color: #bfdbfe;
  background: #f8fbff;
  color: var(--blu2);
  box-shadow: 0 12px 26px -20px rgba(0, 82, 217, .3);
}
.member-profile-link:hover::after,
.member-profile-link:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}
.member-profile-avatar {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 999px;
  background: linear-gradient(135deg, #e8f1ff, #dbeafe);
  color: var(--blu2);
  font-size: 12px;
  font-weight: 900;
}
.nav-user-name {
  min-width: 0;
  overflow: hidden;
  color: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.member-mobile-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  padding: 10px;
  border: 1px solid #e8eef8;
  border-radius: 14px;
  background: #f8fbff;
  color: var(--t1);
}
.member-mobile-profile span:last-child {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.member-mobile-profile b {
  overflow: hidden;
  font-size: 14px;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.member-mobile-profile small {
  color: var(--t3);
  font-size: 12px;
}
.brand-cloud {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(37, 99, 235, .16);
  border-radius: 11px;
  box-shadow: 0 10px 24px -16px rgba(37, 99, 235, .62);
}
.brand-cloud img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  transform: scale(1.08);
}
.nav-link {
  position: relative;
  height: 64px;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 6px;
  color: #667085;
  font-family: var(--tm-font);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  box-sizing: border-box;
  transition: color .18s ease;
}
span.nav-link {
  cursor: default;
}
.nav-link i { flex: 0 0 auto; }
.nav-label { white-space: nowrap; }
.nav-link:hover,
.nav-link.active { color: var(--blu2); }
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 0;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: var(--blu2);
}

/* 进入淡入上浮 */
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.fade-up { animation: fadeUp .5s cubic-bezier(.16,1,.3,1) both; }
.fade-up.d1 { animation-delay: .06s; }
.fade-up.d2 { animation-delay: .12s; }
.fade-up.d3 { animation-delay: .18s; }
.fade-up.d4 { animation-delay: .24s; }

/* 卡片悬浮微动效 */
.card-lift {
  background: rgba(255, 255, 255, .92);
  border-color: rgba(226, 232, 240, .86);
  box-shadow: 0 8px 22px -18px rgba(15, 23, 42, .26);
  transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s ease, border-color .3s ease;
}
.card-lift:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -20px rgba(0,82,217,.24);
  border-color: #bfdbfe;
}

/* 品牌渐变背景 */
.hero-grad { background: linear-gradient(135deg, #0052D9 0%, #006EFF 55%, #2f8bff 100%); }
.soft-grad { background: linear-gradient(135deg, #e8f1ff 0%, #f5f8ff 60%, #f2f3f8 100%); }

.member-hero {
  position: relative;
  overflow: hidden;
  min-height: 172px;
  border: 1px solid rgba(59, 130, 246, .2);
  border-radius: 18px;
  background-color: #0f76ff;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  box-shadow: 0 22px 52px -30px rgba(0, 82, 217, .52);
}
.member-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 100, 245, .94) 0%, rgba(0, 118, 255, .88) 37%, rgba(0, 118, 255, .42) 68%, rgba(0, 118, 255, .2) 100%);
}
.member-hero > * { position: relative; z-index: 1; }
.hero-growth-bg { background-image: url('/member/assets/visual/growth-hero.png'); }
.hero-feed-bg { background-image: url('/member/assets/visual/feed-hero.png'); }
.feed-hero-light {
  background-color: #f4f8ff;
  border-color: rgba(219, 234, 254, .9);
  box-shadow: 0 20px 48px -34px rgba(15, 23, 42, .34);
}
.feed-hero-light::before {
  background:
    linear-gradient(90deg, rgba(248, 251, 255, .98) 0%, rgba(245, 249, 255, .92) 52%, rgba(245, 249, 255, .28) 100%);
}
.feed-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #e8f1ff;
  color: var(--blu2);
  font-size: 12px;
  font-weight: 700;
}
.avatar-ring {
  width: 86px;
  height: 86px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 3px solid rgba(255, 255, 255, .62);
  background: rgba(255, 255, 255, .12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 16px 32px -18px rgba(15, 23, 42, .65);
  font-size: 24px;
  font-weight: 800;
  color: #fff;
}
.avatar-ring.logo-avatar {
  background: rgba(255, 255, 255, .96);
  border-color: rgba(255, 255, 255, .75);
  overflow: hidden;
  padding: 7px;
}
.avatar-ring.logo-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transform: scale(1.06);
}
.home-hero-avatar-link {
  position: relative;
  color: #fff;
  cursor: pointer;
  isolation: isolate;
  text-decoration: none;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.home-hero-avatar-link::after {
  content: attr(data-tooltip);
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  border-radius: inherit;
  background: rgba(15, 23, 42, .54);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  opacity: 0;
  transform: scale(.96);
  transition: opacity .16s ease, transform .16s ease;
}
.home-hero-avatar-link:hover,
.home-hero-avatar-link:focus-visible {
  border-color: rgba(255, 255, 255, .96);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2), 0 18px 34px -18px rgba(15, 23, 42, .72);
  transform: translateY(-1px);
}
.home-hero-avatar-link:hover::after,
.home-hero-avatar-link:focus-visible::after {
  opacity: 1;
  transform: scale(1);
}
.avatar-ring.logo-avatar.has-member-avatar {
  padding: 0;
}
.avatar-ring.logo-avatar.has-member-avatar img {
  object-fit: cover;
  transform: none;
}
.hero-stat {
  min-width: 118px;
  padding-left: 26px;
  border-left: 1px solid rgba(255, 255, 255, .28);
}
.home-identity-hero {
  min-height: 196px;
}
.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 520px);
  gap: 28px;
  align-items: center;
}
.home-hero-profile {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 20px;
}
.home-hero-profile-copy {
  min-width: 0;
}
.home-hero-name-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}
.home-hero-name-row h1 {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.home-hero-profile-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  color: #fff;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18);
  backdrop-filter: blur(8px);
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.home-hero-profile-action:hover {
  border-color: rgba(255, 255, 255, .58);
  background: rgba(255, 255, 255, .26);
  color: #fff;
  transform: translateY(-1px);
}
.home-hero-profile-action i {
  font-size: 12px;
}
.home-hero-identity-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  color: rgba(239, 246, 255, .96);
  font-size: 13px;
}
.home-hero-level-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}
.home-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 0;
}
.home-hero-stat-first {
  padding-left: 0;
  border-left: 0;
}
.home-hero-lower {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 22px;
  align-items: end;
  margin-top: 24px;
}
.home-hero-progress-panel {
  min-width: 0;
}
.home-hero-progress-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
  color: rgba(219, 234, 254, .95);
  font-size: 12px;
  line-height: 1.4;
}
.home-hero-progress-label span {
  min-width: 0;
}
.home-hero-progress-label span:last-child {
  text-align: right;
}
.hero-helper-links {
  display: grid;
  gap: 4px;
  margin-top: 10px;
  width: fit-content;
}
.hero-helper-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  color: rgba(239, 246, 255, .9);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.45;
  text-decoration: none;
}
.hero-helper-links a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hero-helper-links i {
  width: 14px;
  color: rgba(255, 255, 255, .78);
  text-align: center;
}
.growth-hero-helper-links {
  margin-top: 12px;
}
.home-impact-panel {
  min-height: 50px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 13px;
  background: rgba(255, 255, 255, .14);
  color: rgba(239, 246, 255, .94);
  backdrop-filter: blur(10px);
}
.home-impact-panel > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 11px;
  background: rgba(255, 255, 255, .18);
  color: #fff;
}
.home-impact-panel p {
  margin: 0;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.5;
}
.home-impact-panel b {
  color: #fff;
  font-weight: 900;
}
.hero-progress {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .34);
}
.hero-progress > div {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #fff, rgba(255, 255, 255, .72));
  box-shadow: 0 0 18px rgba(255, 255, 255, .45);
}

.quick-metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.quick-metric-grid .metric-card {
  padding: 16px !important;
}
.quick-metric-grid .metric-card > .flex {
  gap: 12px;
}
.quick-metric-grid .metric-icon {
  width: 42px;
  height: 42px;
  border-radius: 13px;
}
.metric-card {
  position: relative;
  min-height: 86px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(226, 232, 240, .9);
  border-radius: 16px;
  box-shadow: 0 8px 22px -18px rgba(15, 23, 42, .26);
}
.metric-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #eff6ff, #e0f2fe);
  color: #1677ff;
}
.metric-icon.green { background: linear-gradient(135deg, #e8fff7, #d9fbef); color: #14b8a6; }
.metric-icon.purple { background: linear-gradient(135deg, #f4f0ff, #ece7ff); color: #7c3aed; }
.metric-icon.amber { background: linear-gradient(135deg, #fff7e8, #ffedd5); color: #f59e0b; }
.metric-icon.gold { background: linear-gradient(135deg, #fff8dc, #ffedb5); color: #d97706; }
.metric-icon.blue { background: linear-gradient(135deg, #e8f1ff, #dbeafe); color: var(--blu2); }
.metric-icon.teal { background: linear-gradient(135deg, #e6fffb, #ccfbf1); color: #0f766e; }
.metric-icon.cyan { background: linear-gradient(135deg, #e0f7ff, #cffafe); color: #0891b2; }
.metric-icon.rose { background: linear-gradient(135deg, #fff1f2, #ffe4e6); color: #e11d48; }
.metric-sub {
  margin-top: 3px;
  color: var(--t3);
  font-size: 12px;
  line-height: 1.3;
}
@media (min-width: 768px) {
  .quick-metric-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 1181px) {
  .quick-metric-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}
.community-footprint {
  overflow: hidden;
}
.community-footprint-head,
.community-panel-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.community-footprint-head p,
.community-panel-title p {
  margin: 6px 0 0;
  color: var(--t3);
  font-size: 13px;
  line-height: 1.55;
}
.community-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}
.community-summary-card {
  min-height: 96px;
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  padding: 14px;
  border: 1px solid #e8eef8;
  border-radius: 14px;
  background: linear-gradient(180deg, #fff, #f8fbff);
}
.community-summary-card > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 13px;
  background: #e8f1ff;
  color: var(--blu2);
  font-size: 17px;
}
.community-summary-card.green > span { background: #e8fff7; color: #059669; }
.community-summary-card.orange > span { background: #fff7ed; color: #ea580c; }
.community-summary-card.cyan > span { background: #ecfeff; color: #0891b2; }
.community-summary-card > div {
  min-width: 0;
}
.community-summary-label,
.community-summary-note {
  overflow: hidden;
  color: var(--t3);
  font-size: 12px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.community-summary-value {
  margin: 4px 0 3px;
  color: var(--t1);
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
}
.community-summary-value small {
  margin-left: 2px;
  color: var(--t3);
  font-size: 12px;
  font-weight: 700;
}
.community-footprint-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: stretch;
}
.community-recent-panel {
  min-width: 0;
  padding: 16px;
  border: 1px solid #e8eef8;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,251,255,.96)),
    radial-gradient(circle at 96% 0%, rgba(37, 99, 235, .08), transparent 34%);
}
.community-panel-title h3 {
  margin: 0;
  color: var(--t1);
  font-size: 16px;
  font-weight: 880;
  line-height: 1.25;
}
.community-month-pill {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0 10px;
  border-radius: 999px;
  background: #e8f1ff;
  color: var(--blu2);
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}
.community-recent-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
.community-event-row {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
  padding: 12px;
  border: 1px solid #edf2f7;
  border-radius: 13px;
  background: #fff;
}
.community-event-row:hover {
  border-color: #bfdbfe;
  box-shadow: 0 12px 26px -24px rgba(0, 82, 217, .38);
}
.community-event-date {
  min-height: 64px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 5px;
  border-radius: 12px;
  background: #eff6ff;
  color: var(--blu2);
}
.community-event-row.green .community-event-date {
  background: #ecfdf5;
  color: #059669;
}
.community-event-date b {
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
}
.community-event-date span {
  min-height: 21px;
  display: inline-flex;
  align-items: center;
  padding: 0 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  font-size: 11px;
  font-weight: 850;
}
.community-event-main {
  min-width: 0;
}
.community-event-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}
.community-event-top h4 {
  display: -webkit-box;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: var(--t1);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.45;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.community-present-chip {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--blu2);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}
.community-event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 7px;
}
.community-event-meta span {
  min-height: 22px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border-radius: 999px;
  background: #f1f5f9;
  color: var(--t2);
  font-size: 12px;
  font-weight: 750;
}
.community-buddy-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}
.community-buddy,
.community-buddy-more,
.community-buddy-empty {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 112px;
  padding: 0 8px 0 4px;
  border: 1px solid #e8eef8;
  border-radius: 999px;
  background: #f8fbff;
  color: var(--t2);
  font-size: 12px;
  font-weight: 800;
}
.community-buddy i {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #e8f1ff;
  color: var(--blu2);
  font-style: normal;
  font-size: 11px;
  font-weight: 900;
}
.community-buddy b {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.community-buddy-more {
  padding: 0 9px;
  background: #eef2ff;
  color: var(--blu3);
}
.community-buddy-empty {
  max-width: none;
  padding: 0 9px;
  color: var(--t3);
}
.community-empty {
  min-height: 116px;
  display: grid;
  place-items: center;
  padding: 18px;
  border: 1px dashed #dbe5f2;
  border-radius: 13px;
  background: #fbfdff;
  color: var(--t3);
  font-size: 13px;
  line-height: 1.55;
  text-align: center;
}
.community-empty.compact {
  min-height: 96px;
}
#alliance-live,
#community-dynamic,
#salon-section,
#curated {
  scroll-margin-top: 92px;
}
.alliance-live-card {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 94% 4%, rgba(20, 184, 166, .12), transparent 30%),
    radial-gradient(circle at 4% 12%, rgba(37, 99, 235, .12), transparent 26%),
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,251,255,.96));
}
.alliance-live-head,
.curated-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.alliance-live-head p,
.curated-head p {
  margin: 6px 0 0;
  color: var(--t3);
  font-size: 13px;
  line-height: 1.55;
}
.alliance-live-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.alliance-live-summary-card {
  min-height: 104px;
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  padding: 14px;
  border: 1px solid #e8eef8;
  border-radius: 14px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 10px 26px -24px rgba(15,23,42,.34);
}
.alliance-live-summary-card > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 13px;
  background: #e8f1ff;
  color: var(--blu2);
  font-size: 17px;
}
.alliance-live-summary-card.green > span { background: #e8fff7; color: #059669; }
.alliance-live-summary-card.orange > span { background: #fff7ed; color: #ea580c; }
.alliance-live-summary-card.gold > span { background: #fffbeb; color: #d97706; }
.alliance-live-summary-card > div {
  min-width: 0;
}
.alliance-live-label,
.alliance-live-note {
  overflow: hidden;
  color: var(--t3);
  font-size: 12px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.alliance-live-value {
  margin: 4px 0 3px;
  color: var(--t1);
  font-size: 27px;
  font-weight: 920;
  line-height: 1;
}
.alliance-live-value small {
  margin-left: 2px;
  color: var(--t3);
  font-size: 12px;
  font-weight: 760;
}
.alliance-live-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, .82fr);
  gap: 14px;
}
.alliance-live-activity,
.alliance-live-pulse {
  min-width: 0;
  padding: 16px;
  border: 1px solid #e8eef8;
  border-radius: 14px;
  background: rgba(255,255,255,.86);
}
.alliance-live-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.alliance-live-title h3 {
  margin: 0;
  color: var(--t1);
  font-size: 15px;
  font-weight: 880;
}
.alliance-live-title span {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  background: #eff6ff;
  color: var(--blu2);
  font-size: 12px;
  font-weight: 820;
  white-space: nowrap;
}
.alliance-live-list {
  display: grid;
  gap: 9px;
}
.alliance-live-row {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 58px;
  padding: 10px 12px;
  border: 1px solid #edf2f7;
  border-radius: 13px;
  background: #fff;
  color: inherit;
}
.alliance-live-row > span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #e8f1ff;
  color: var(--blu2);
  font-size: 12px;
  font-weight: 860;
  white-space: nowrap;
}
.alliance-live-row.green > span { background: #ecfdf5; color: #059669; }
.alliance-live-row.orange > span { background: #fff7ed; color: #ea580c; }
.alliance-live-row.purple > span { background: #f5f3ff; color: #7c3aed; }
.alliance-live-row b {
  display: block;
  overflow: hidden;
  color: var(--t1);
  font-size: 14px;
  font-weight: 820;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.alliance-live-row small {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  color: var(--t3);
  font-size: 12px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.alliance-pulse-bars {
  height: 166px;
  display: flex;
  align-items: end;
  gap: 8px;
  padding: 16px 12px 10px;
  border: 1px solid #e8eef8;
  border-radius: 13px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,251,255,.88)),
    repeating-linear-gradient(0deg, transparent 0, transparent 38px, rgba(226,232,240,.55) 39px);
}
.alliance-pulse-bars span {
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  display: grid;
  grid-template-rows: minmax(18px, 1fr) 18px;
  align-items: end;
  gap: 7px;
}
.alliance-pulse-bars i {
  display: block;
  height: var(--h, 18%);
  min-height: 12px;
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(180deg, #2563eb, #67e8f9);
  box-shadow: 0 8px 18px -12px rgba(37,99,235,.65);
}
.alliance-pulse-bars b {
  overflow: hidden;
  color: var(--t3);
  font-size: 10px;
  font-weight: 760;
  line-height: 1;
  text-align: center;
}
.community-dynamic-card {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 94% 4%, rgba(37, 99, 235, .10), transparent 28%),
    radial-gradient(circle at 5% 16%, rgba(20, 184, 166, .10), transparent 25%),
    linear-gradient(180deg, rgba(255,255,255,.99), rgba(248,251,255,.96));
}
.community-dynamic-head,
.community-dynamic-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.community-dynamic-head p,
.community-dynamic-panel-head p {
  margin: 6px 0 0;
  color: var(--t3);
  font-size: 13px;
  line-height: 1.5;
}
.community-dynamic-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(330px, .58fr);
  gap: 18px;
}
.community-dynamic-timeline,
.community-local-card,
.community-region-cards,
.community-next-card,
.community-dynamic-strip {
  min-width: 0;
  border: 1px solid #e8eef8;
  border-radius: 15px;
  background: rgba(255,255,255,.9);
}
.community-dynamic-timeline {
  position: relative;
  padding: 17px;
}
.community-dynamic-timeline::before {
  content: "";
  position: absolute;
  left: 53px;
  top: 72px;
  bottom: 22px;
  width: 2px;
  border-radius: 999px;
  background: #dbeafe;
}
.community-dynamic-panel-head h3 {
  margin: 0;
  color: var(--t1);
  font-size: 16px;
  font-weight: 880;
  line-height: 1.25;
}
.community-dynamic-month {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: #eff6ff;
  color: var(--blu2);
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}
.community-dynamic-list {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}
.community-dynamic-event {
  position: relative;
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 12px;
}
.community-event-marker {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 7px;
  padding-top: 8px;
}
.community-event-marker::before {
  content: "";
  position: absolute;
  top: 13px;
  left: 50%;
  width: 13px;
  height: 13px;
  border: 3px solid #fff;
  border-radius: 999px;
  background: var(--blu2);
  box-shadow: 0 0 0 2px #bfdbfe;
  transform: translateX(-50%);
}
.community-dynamic-event.orange .community-event-marker::before {
  background: #f97316;
  box-shadow: 0 0 0 2px #fed7aa;
}
.community-event-marker b {
  margin-top: 21px;
  color: var(--t1);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}
.community-event-marker span {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border-radius: 999px;
  background: #e8f1ff;
  color: var(--blu2);
  font-size: 12px;
  font-weight: 850;
}
.community-dynamic-event.orange .community-event-marker span {
  background: #fff7ed;
  color: #ea580c;
}
.community-event-card {
  min-width: 0;
  padding: 14px;
  border: 1px solid #e8eef8;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 26px -24px rgba(15,23,42,.42);
}
.community-event-mainline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}
.community-event-mainline h3 {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--t1);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.community-event-mainline p {
  margin: 7px 0 0;
  overflow: hidden;
  color: var(--t3);
  font-size: 13px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.community-event-role {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}
.community-event-role.present {
  background: var(--blu2);
  color: #fff;
}
.community-event-role.absent {
  background: #f1f5f9;
  color: var(--t2);
}
.community-event-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  color: var(--t3);
  font-size: 13px;
  font-weight: 760;
}
.community-face-row {
  display: flex;
  align-items: center;
  min-width: 0;
}
.community-face {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  margin-left: -6px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #e8f1ff;
  color: var(--blu2);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}
.community-face:first-child {
  margin-left: 0;
}
.community-face.more {
  background: #f1f5f9;
  color: var(--t2);
}
.community-dynamic-side {
  display: grid;
  align-content: start;
  gap: 14px;
  min-width: 0;
}
.community-local-card,
.community-region-cards,
.community-next-card {
  padding: 15px;
}
.community-local-headline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 13px;
  color: var(--t2);
  font-size: 13px;
}
.community-local-headline b {
  color: var(--t1);
  font-size: 18px;
  font-weight: 900;
}
.community-local-bars {
  height: 128px;
  display: flex;
  align-items: end;
  gap: 6px;
  margin-top: 13px;
  padding: 13px 9px 8px;
  border: 1px solid #e8eef8;
  border-radius: 13px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,251,255,.9)),
    repeating-linear-gradient(0deg, transparent 0, transparent 31px, rgba(226,232,240,.55) 32px);
}
.community-local-bars span {
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  display: grid;
  grid-template-rows: minmax(18px, 1fr) 18px;
  align-items: end;
  gap: 6px;
}
.community-local-bars i {
  display: block;
  height: var(--h, 18%);
  min-height: 10px;
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(180deg, var(--blu2), #93c5fd);
}
.community-local-bars b {
  overflow: hidden;
  color: var(--t3);
  font-size: 10px;
  line-height: 1;
  text-align: center;
}
.community-region-cards {
  display: grid;
  gap: 2px;
}
.community-region-rank-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 54px;
  padding: 9px 0;
  border-bottom: 1px solid #edf2f7;
}
.community-region-rank-row:last-child {
  border-bottom: 0;
}
.community-region-rank-row b,
.community-next-body h4 {
  display: block;
  overflow: hidden;
  color: var(--t1);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.community-region-rank-row small {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  color: var(--t3);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.community-region-rank-row > span {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0 9px;
  border-radius: 999px;
  background: #f1f5f9;
  color: var(--t2);
  font-size: 12px;
  font-weight: 850;
}
.community-region-rank-row.active > span {
  background: #e8fff7;
  color: #059669;
}
.community-region-rank-row.low > span {
  background: #f8fafc;
  color: var(--t3);
}
.community-next-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.community-next-head h3 {
  margin: 0;
  color: var(--t1);
  font-size: 16px;
  font-weight: 900;
}
.community-next-head span {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border-radius: 999px;
  background: #e8fff7;
  color: #059669;
  font-size: 12px;
  font-weight: 850;
}
.community-next-body {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}
.community-next-date {
  min-height: 70px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 5px;
  border-radius: 13px;
  background: #eff6ff;
  color: var(--blu2);
}
.community-next-date b {
  font-size: 15px;
  font-weight: 920;
}
.community-next-date small {
  color: var(--t2);
  font-size: 12px;
}
.community-next-body p {
  margin: 6px 0 9px;
  overflow: hidden;
  color: var(--t3);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.community-dynamic-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 18px;
  padding: 17px;
  background: linear-gradient(90deg, rgba(239,246,255,.86), rgba(255,255,255,.96));
}
.community-dynamic-strip h3 {
  margin: 0;
  color: var(--t1);
  font-size: 18px;
  font-weight: 900;
}
.community-dynamic-strip p {
  margin: 6px 0 0;
  color: var(--t3);
  font-size: 13px;
}
.community-dynamic-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}
.community-dynamic-stats div {
  min-width: 86px;
  text-align: center;
}
.community-dynamic-stats b {
  color: var(--blu2);
  font-size: 27px;
  font-weight: 930;
  line-height: 1;
}
.community-dynamic-stats small {
  margin-left: 2px;
  color: var(--blu2);
  font-size: 12px;
  font-weight: 850;
}
.community-dynamic-stats span {
  display: block;
  margin-top: 5px;
  color: var(--t3);
  font-size: 12px;
  white-space: nowrap;
}
.salon-featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.salon-featured-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e8eef8;
  border-radius: 14px;
  background: #fff;
  color: inherit;
  box-shadow: 0 10px 24px -24px rgba(15,23,42,.4);
}
.salon-featured-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  background: #eef2f7;
}
.salon-featured-copy {
  display: grid;
  gap: 6px;
  padding: 13px 14px 14px;
}
.salon-featured-copy b {
  overflow: hidden;
  color: var(--t1);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.salon-featured-copy small {
  overflow: hidden;
  color: var(--t3);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.salon-city-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.salon-city-strip a {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 11px;
  border-radius: 999px;
  background: #f8fbff;
  color: var(--t2);
  font-size: 12px;
  font-weight: 780;
}
.salon-city-strip a:hover {
  background: #e8f1ff;
  color: var(--blu2);
}
.section-title-icon {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 9px;
  background: #e8f1ff;
  color: var(--blu2);
}
#earn-growth,
#growth-flow {
  scroll-margin-top: 88px;
}
.insight-strip {
  min-height: 78px;
  border: 1px solid rgba(191, 219, 254, .65);
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(239, 246, 255, .98), rgba(239, 246, 255, .68)),
    url('/member/assets/visual/growth-hero.png') right center / auto 100% no-repeat;
}
.article-card-pro {
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(226,232,240,.92);
  border-radius: 16px;
  box-shadow: 0 8px 22px -18px rgba(15,23,42,.24);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.article-card-pro:hover {
  transform: translateY(-1px);
  border-color: #bfdbfe;
  box-shadow: 0 12px 28px -20px rgba(0,82,217,.22);
}
.latest-article-panel {
  overflow: hidden;
}
.latest-article-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 30px;
}
.latest-article-list .empty {
  grid-column: 1 / -1;
  padding: 28px 12px;
}
.latest-article-row {
  min-height: 74px;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid rgba(226, 232, 240, .82);
  color: inherit;
  text-decoration: none;
}
.latest-article-row:nth-child(-n + 2) {
  border-top: 0;
}
.latest-article-row:hover .latest-article-title {
  color: var(--blu2);
}
.latest-article-date {
  width: 48px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #eff6ff, #e0f2fe);
  color: var(--blu2);
  font-size: 13px;
  font-weight: 850;
  line-height: 1;
}
.latest-article-copy {
  min-width: 0;
  display: grid;
  gap: 6px;
}
.latest-article-title {
  display: -webkit-box;
  overflow: hidden;
  color: var(--t1);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.45;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  transition: color .18s ease;
}
.latest-article-meta {
  overflow: hidden;
  color: var(--t3);
  font-size: 12px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.latest-article-badge {
  max-width: 88px;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #f2f3f5;
  color: var(--t2);
  font-size: 12px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.latest-article-badge.is-original {
  background: #e8f1ff;
  color: var(--blu2);
}
@media (max-width: 767px) {
  .latest-article-list {
    grid-template-columns: 1fr;
    column-gap: 0;
  }
  .latest-article-row:nth-child(-n + 2) {
    border-top: 1px solid rgba(226, 232, 240, .82);
  }
  .latest-article-row:first-child {
    border-top: 0;
  }
  .latest-article-row {
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 12px;
  }
  .latest-article-date {
    width: 44px;
    height: 40px;
  }
  .latest-article-badge {
    grid-column: 2;
    justify-self: start;
    margin-top: -2px;
  }
}

.home-asset-grid {
  display: grid;
  grid-template-columns: minmax(320px, .62fr) minmax(0, 1.38fr);
  gap: 18px;
  align-items: start;
}
.join-anniversary-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 116px;
  padding: 20px 22px;
  border: 1px solid rgba(191, 219, 254, .86);
  border-radius: 16px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(248,252,255,.98) 54%, rgba(239,253,244,.96) 100%);
  box-shadow: 0 8px 22px -18px rgba(15, 23, 42, .24);
}
.join-anniversary-card.is-empty {
  border-color: rgba(254, 215, 170, .88);
  background:
    linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,251,245,.98) 58%, rgba(240,249,255,.96) 100%);
}
.join-anniversary-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #ecfdf5;
  color: #059669;
  font-size: 23px;
  box-shadow: inset 0 0 0 1px rgba(16, 185, 129, .18);
}
.join-anniversary-card.is-empty .join-anniversary-icon {
  background: #fff7ed;
  color: #ea580c;
  box-shadow: inset 0 0 0 1px rgba(251, 146, 60, .2);
}
.join-anniversary-copy {
  min-width: 0;
}
.join-anniversary-kicker {
  margin-bottom: 5px;
  color: var(--t3);
  font-size: 12px;
  font-weight: 850;
}
.join-anniversary-copy h2 {
  margin: 0;
  color: var(--t1);
  font-size: 22px;
  line-height: 1.18;
  font-weight: 900;
}
.join-anniversary-copy h2 b {
  color: var(--blu2);
  font-size: 1.22em;
}
.join-anniversary-copy p {
  margin: 8px 0 0;
  color: var(--t2);
  font-size: 14px;
  line-height: 1.65;
}
.join-anniversary-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  min-width: 148px;
}
.join-anniversary-meta span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.join-anniversary-meta a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--blu2);
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
  box-shadow: 0 14px 24px -18px rgba(0,82,217,.65);
  transition: transform .18s ease, background .18s ease;
}
.join-anniversary-meta a:hover {
  background: var(--blu);
  transform: translateY(-1px);
}
.home-asset-grid.profile-complete {
  grid-template-columns: 1fr;
}
.home-asset-grid.profile-complete .profile-entry-card {
  display: none;
}
.profile-entry-link {
  display: grid;
  gap: 16px;
  min-height: 0;
  padding: 20px;
}
.profile-entry-head {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.profile-entry-copy {
  min-width: 0;
}
.profile-entry-title-line {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.profile-entry-title-line h2 {
  overflow: hidden;
  margin: 0;
  color: var(--t1);
  font-size: 21px;
  font-weight: 850;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.profile-entry-title-line span {
  flex: 0 0 auto;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  background: #fff7ed;
  color: #ea580c;
  font-size: 12px;
  font-weight: 850;
}
.profile-entry-copy p {
  margin: 7px 0 0;
  color: var(--t3);
  font-size: 13px;
  line-height: 1.55;
}
.profile-entry-progress-row {
  display: grid;
  gap: 7px;
}
.profile-entry-progress-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--t3);
  font-size: 12px;
  font-weight: 750;
}
.profile-entry-progress-label b {
  color: var(--blu2);
  font-weight: 850;
}
.profile-entry-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.profile-missing-chip {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  border: 1px solid #fed7aa;
  border-radius: 999px;
  background: #fff7ed;
  color: #ea580c;
  font-size: 12px;
  font-weight: 800;
}
.profile-missing-chip span {
  font-size: 18px;
  font-weight: 900;
}
.profile-entry-button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--blu2);
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
  box-shadow: 0 14px 24px -18px rgba(0,82,217,.65);
  transition: transform .18s ease, background .18s ease;
}
.profile-entry-link:hover .profile-entry-button {
  background: var(--blu);
  transform: translateY(-1px);
}
.asset-header-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.asset-profile-note {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  background: #f0fdf4;
  color: #059669;
  font-size: 13px;
  font-weight: 850;
}
.asset-profile-note.hidden {
  display: none;
}
.asset-overview-card {
  min-width: 0;
}
.asset-metric-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.asset-metric {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #e8eef8;
  border-radius: 10px;
  background: linear-gradient(180deg, #fff, #f8fbff);
}
.asset-metric-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 10px;
  background: #e8f1ff;
  color: var(--blu2);
}
.asset-metric-value {
  margin-top: 2px;
  color: var(--t1);
  font-size: 20px;
  font-weight: 850;
  line-height: 1.05;
}
.asset-metric-value span {
  margin-left: 2px;
  color: var(--t3);
  font-size: 12px;
  font-weight: 600;
}
.asset-metric-note {
  display: none;
  margin-top: 5px;
  color: var(--t3);
  font-size: 11.5px;
  line-height: 1.35;
}
.growth-pulse {
  padding: 14px 16px;
  border: 1px solid rgba(191, 219, 254, .8);
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(239, 246, 255, .96), rgba(240, 253, 250, .74)),
    url('/member/assets/visual/growth-hero.png') right center / auto 120% no-repeat;
}
.asset-progress {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #dbeafe;
}
.asset-progress > i {
  display: block;
  width: var(--pct, 0%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blu), #14b8a6);
}
.asset-detail-grid {
  display: grid;
  grid-template-columns: minmax(360px, 1.05fr) minmax(280px, .95fr);
  gap: 14px;
  align-items: stretch;
}
.asset-trend-card,
.home-medal-panel {
  min-height: 238px;
  min-width: 0;
  padding: 16px;
  border: 1px solid #e8eef8;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,251,255,.96)),
    radial-gradient(circle at 92% 0%, rgba(37, 99, 235, .08), transparent 32%);
}
.asset-trend-card {
  display: grid;
  grid-template-rows: auto minmax(150px, 1fr) auto;
}
.asset-trend-card h3,
.home-medal-panel h3 {
  margin: 0;
  color: var(--t1);
  font-size: 16px;
  font-weight: 850;
}
.asset-trend-card p,
.home-medal-panel p {
  margin: 5px 0 0;
  color: var(--t3);
  font-size: 12px;
}
.asset-mini-select {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  min-width: 96px;
  min-height: 34px;
  justify-content: center;
  padding: 0 13px;
  border-radius: 999px;
  background: #f8fbff;
  color: var(--t2);
  font-size: 12.5px;
  font-weight: 750;
  line-height: 1;
  white-space: nowrap;
  box-shadow: inset 0 0 0 1px #e8eef8;
}
.trend-chart-wrap {
  height: 154px;
  min-height: 154px;
  margin-top: 10px;
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,251,255,.7)),
    repeating-linear-gradient(0deg, transparent 0, transparent 35px, rgba(226,232,240,.55) 36px);
  overflow: hidden;
}
.trend-chart-wrap svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.trend-labels {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
  color: var(--t3);
  font-size: 11px;
}
.trend-labels span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.home-medal-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.home-medal-item {
  min-width: 0;
  min-height: 126px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 10px 8px;
  border-right: 1px solid #e8eef8;
}
.home-medal-item:nth-child(3n),
.home-medal-item:last-child {
  border-right: 0;
}
.home-medal-art {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
}
.home-medal-art img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 12px rgba(15,23,42,.14));
}
.home-medal-name {
  max-width: 100%;
  overflow: hidden;
  color: var(--t1);
  font-size: 13px;
  font-weight: 850;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.home-medal-note {
  max-width: 100%;
  overflow: hidden;
  color: var(--t3);
  font-size: 11px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.current-stage-layout,
.medal-layout {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}
.current-stage-layout > *,
.medal-layout > * {
  min-width: 0;
}
.current-medal-card {
  min-height: 270px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px;
  border: 1px solid #dbeafe;
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 10%, rgba(37, 99, 235, .13), transparent 42%),
    linear-gradient(180deg, #ffffff, #f7fbff);
}
.current-medal-art {
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
}
.current-medal-art img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 18px rgba(15, 23, 42, .12));
}
.current-medal-meta {
  text-align: center;
}
.current-medal-meta h3 {
  margin: 4px 0 6px;
  color: var(--t1);
  font-size: 20px;
  font-weight: 850;
}
.current-medal-meta p {
  margin: 0;
  color: var(--t3);
  font-size: 12.5px;
  line-height: 1.6;
}
.current-medal-score {
  width: fit-content;
  margin: 10px auto 0;
  padding: 5px 10px;
  border-radius: 999px;
  background: #e8f1ff;
  color: var(--blu2);
  font-size: 12px;
  font-weight: 800;
}
.stage-explain-card {
  min-height: 270px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px;
  border: 1px solid #e8eef8;
  border-radius: 16px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.98), rgba(248,251,255,.9)),
    url('/member/assets/visual/growth-hero.png') right center / auto 120% no-repeat;
}
.stage-explain-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 17px;
  background: linear-gradient(135deg, #e8f1ff, #dbeafe);
  color: var(--blu2);
  font-size: 22px;
}
.stage-explain-card h3 {
  margin: 0;
  color: var(--t1);
  font-size: 20px;
  font-weight: 850;
}
.stage-explain-card p {
  margin: 10px 0 0;
  color: var(--t2);
  font-size: 14px;
  line-height: 1.7;
}
.stage-progress {
  height: 10px;
  overflow: hidden;
  margin-top: 18px;
  border-radius: 999px;
  background: #dbeafe;
}
.stage-progress > i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blu), #14b8a6);
}
.stage-rule-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  color: var(--blu2);
  font-size: 13px;
  font-weight: 850;
}
.stage-rule-link:hover {
  color: var(--blu);
}
.level-badge-rail {
  display: grid;
  grid-template-columns: repeat(8, minmax(78px, 1fr));
  gap: 10px;
  min-width: 0;
  max-width: 100%;
}
.level-badge-tile {
  min-height: 132px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 8px;
  border: 1px solid #edf2f7;
  border-radius: 14px;
  background: #fff;
}
.level-badge-tile img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: grayscale(.45) opacity(.62);
}
.level-badge-tile.reached img,
.level-badge-tile.current img {
  filter: drop-shadow(0 12px 12px rgba(15, 23, 42, .12));
}
.level-badge-tile.current {
  border-color: #93c5fd;
  background: linear-gradient(180deg, #fff, #eff6ff);
  box-shadow: 0 10px 24px -20px rgba(0, 82, 217, .28);
}
.level-badge-name {
  width: 100%;
  overflow: hidden;
  color: var(--t1);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.level-badge-min {
  color: var(--t3);
  font-size: 11px;
}
.honor-badge-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.honor-badge {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px;
  border: 1px solid #edf2f7;
  border-radius: 14px;
  background: #fff;
}
.honor-badge.locked {
  opacity: .58;
  background: #f8fafc;
}
.honor-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 12px;
  background: #e8f1ff;
  color: var(--blu2);
}
.honor-badge.green .honor-icon { background: #e8fff7; color: #059669; }
.honor-badge.cyan .honor-icon { background: #e0f7ff; color: #0891b2; }
.honor-badge.amber .honor-icon,
.honor-badge.gold .honor-icon { background: #fff7e8; color: #d97706; }
.honor-badge.purple .honor-icon,
.honor-badge.indigo .honor-icon { background: #f4f0ff; color: #7c3aed; }
.honor-badge.rose .honor-icon { background: #fff1f2; color: #e11d48; }
.honor-name {
  overflow: hidden;
  color: var(--t1);
  font-size: 13px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.honor-rule,
.honor-source {
  overflow: hidden;
  color: var(--t3);
  font-size: 11.5px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.honor-badge.earned {
  border-color: rgba(37, 99, 235, .18);
  background: linear-gradient(180deg, #fff, #f8fbff);
}
.alliance-assets-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,.97), rgba(248,251,255,.96)),
    radial-gradient(circle at 100% 0%, rgba(20,184,166,.12), transparent 28%);
}
.alliance-total {
  min-width: 120px;
  align-self: flex-start;
  padding: 9px 12px;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  background: #f8fbff;
  color: var(--blu2);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}
.alliance-card,
.resource-card {
  position: relative;
  min-height: 96px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid rgba(226,232,240,.92);
  border-radius: 16px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 8px 22px -18px rgba(15,23,42,.22);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.alliance-card:hover,
.resource-card:hover {
  transform: translateY(-1px);
  border-color: #bfdbfe;
  box-shadow: 0 12px 28px -20px rgba(0,82,217,.22);
}
.resource-card {
  justify-content: space-between;
}
.resource-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 13px;
  background: #e8f1ff;
  color: var(--blu2);
}
.resource-icon.orange { background: #fff2e6; color: #ff7d00; }
.resource-icon.gold { background: #fff7e8; color: #d97706; }
.resource-icon.blue { background: #e8f1ff; color: var(--blu2); }
.alliance-card-title {
  color: var(--t1);
  font-size: 13px;
  font-weight: 850;
}
.alliance-card-value {
  margin-top: 4px;
  color: var(--t1);
  font-size: 22px;
  font-weight: 850;
  line-height: 1.05;
}
.alliance-card-value span {
  margin-left: 4px;
  color: var(--t3);
  font-size: 12px;
  font-weight: 600;
}
.alliance-card-desc,
.resource-cta {
  margin-top: 5px;
  color: var(--blu2);
  font-size: 12px;
  font-weight: 800;
}
.home-activity-list,
.recommend-list {
  display: grid;
  gap: 0;
  border: 1px solid #edf2f7;
  border-radius: 14px;
  overflow: hidden;
}
.activity-row,
.recommend-row {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px;
  border-bottom: 1px solid #edf2f7;
  background: #fff;
}
.activity-row:last-child,
.recommend-row:last-child {
  border-bottom: 0;
}
.activity-row:hover,
.recommend-row:hover {
  background: #f8fbff;
}
.activity-type {
  min-width: 76px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #e8f1ff;
  color: var(--blu2);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}
.activity-row.green .activity-type { background: #e8fff7; color: #059669; }
.activity-row.orange .activity-type { background: #fff2e6; color: #ea580c; }
.activity-row.gold .activity-type { background: #fff7e8; color: #d97706; }
.activity-title,
.recommend-title {
  overflow: hidden;
  color: var(--t1);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.activity-meta,
.recommend-meta {
  margin-top: 3px;
  overflow: hidden;
  color: var(--t3);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recommend-cover {
  width: 74px;
  height: 48px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(0,82,217,.9), rgba(20,184,166,.68)),
    url('/member/assets/visual/growth-hero.png') center / cover;
  color: #fff;
}
.recommend-stats {
  flex: 0 0 auto;
  color: var(--t3);
  font-size: 12px;
  white-space: nowrap;
}
.recommend-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  margin-top: 14px;
  color: var(--blu2);
  font-size: 14px;
  font-weight: 800;
}

@media (max-width: 1180px) {
  .home-asset-grid,
  .community-footprint-grid,
  .alliance-live-grid,
  .community-dynamic-layout,
  .community-dynamic-strip,
  .asset-detail-grid,
  .current-stage-layout,
  .medal-layout {
    grid-template-columns: 1fr;
  }
  .community-summary-grid,
  .alliance-live-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .asset-metric-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .honor-badge-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .level-badge-rail {
    display: flex;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .level-badge-tile {
    flex: 0 0 92px;
  }
  .home-hero-grid,
  .home-hero-lower {
    grid-template-columns: 1fr;
  }
  .home-hero-lower {
    align-items: stretch;
  }
  .home-impact-panel {
    width: fit-content;
    max-width: 100%;
  }
  .join-anniversary-card {
    grid-template-columns: 58px minmax(0, 1fr);
  }
  .join-anniversary-meta {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
  }
}

@media (max-width: 760px) {
  .community-footprint-head,
  .community-panel-title,
  .alliance-live-head,
  .community-dynamic-head,
  .community-dynamic-panel-head,
  .curated-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .community-dynamic-timeline {
    padding: 14px;
  }
  .community-dynamic-timeline::before {
    display: none;
  }
  .community-dynamic-event {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .community-event-marker {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding-top: 0;
  }
  .community-event-marker::before {
    position: static;
    flex: 0 0 auto;
    transform: none;
  }
  .community-event-marker b {
    margin-top: 0;
  }
  .community-event-mainline,
  .community-event-foot,
  .community-local-headline {
    flex-direction: column;
    align-items: flex-start;
  }
  .community-event-role {
    min-height: 28px;
  }
  .community-event-mainline p,
  .community-next-body p,
  .community-region-rank-row small {
    white-space: normal;
  }
  .community-next-body {
    grid-template-columns: 1fr;
  }
  .community-next-date {
    min-height: 44px;
    display: flex;
    justify-content: flex-start;
    padding: 0 10px;
  }
  .community-dynamic-stats {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }
  .community-dynamic-stats div {
    min-width: 0;
  }
  .community-summary-grid,
  .alliance-live-summary,
  .asset-metric-grid,
  .honor-badge-grid,
  .home-medal-list {
    grid-template-columns: 1fr;
  }
  .alliance-live-row {
    grid-template-columns: 1fr;
  }
  .alliance-live-row > span {
    width: fit-content;
    max-width: 100%;
    padding: 0 10px;
  }
  .alliance-pulse-bars {
    height: 120px;
    gap: 5px;
  }
  .salon-featured-grid,
  .curated-article-grid,
  .curated-author-grid {
    grid-template-columns: 1fr;
  }
  .salon-featured-copy b,
  .salon-featured-copy small,
  .curated-card-copy small {
    white-space: normal;
  }
  .community-event-row {
    grid-template-columns: 1fr;
  }
  .community-event-date {
    min-height: 42px;
    display: flex;
    justify-content: flex-start;
    padding: 0 10px;
  }
  .community-event-top {
    flex-direction: column;
    align-items: flex-start;
  }
  .home-medal-item {
    min-height: 86px;
    flex-direction: row;
    justify-content: flex-start;
    border-right: 0;
    border-bottom: 1px solid #e8eef8;
  }
  .home-medal-item:last-child {
    border-bottom: 0;
  }
  .home-medal-art {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
  }
  .home-medal-name,
  .home-medal-note {
    text-align: left;
  }
  .profile-entry-link,
  .profile-entry-actions {
    align-items: stretch;
  }
  .profile-entry-actions {
    flex-direction: column;
  }
  .join-anniversary-card {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px;
  }
  .join-anniversary-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    font-size: 20px;
  }
  .join-anniversary-copy h2 {
    font-size: 20px;
  }
  .join-anniversary-meta {
    flex-direction: column;
    align-items: stretch;
  }
  .join-anniversary-meta span,
  .join-anniversary-meta a {
    justify-content: center;
  }
  .current-medal-card {
    min-height: 0;
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
  }
  .stage-explain-card {
    min-height: 0;
    align-items: flex-start;
    padding: 18px;
  }
  .stage-explain-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    font-size: 18px;
  }
  .stage-explain-card h3 {
    font-size: 18px;
  }
  .current-medal-art {
    width: 88px;
    height: 88px;
    flex: 0 0 88px;
  }
  .current-medal-meta {
    min-width: 0;
    text-align: left;
  }
  .current-medal-meta h3 {
    font-size: 18px;
  }
  .current-medal-meta p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  .current-medal-score {
    margin-left: 0;
  }
  .activity-row,
  .recommend-row {
    align-items: flex-start;
  }
  .recommend-row {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
  }
  .recommend-stats {
    grid-column: 2;
    white-space: normal;
  }
}

@media (max-width: 640px) {
  .member-nav-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    column-gap: 12px;
    max-width: none !important;
  }
  .member-hero {
    min-height: 0;
    background-position: 62% center;
  }
  .member-hero::before {
    background: linear-gradient(90deg, rgba(0, 100, 245, .94), rgba(0, 118, 255, .82));
  }
  .feed-hero-light::before {
    background: linear-gradient(90deg, rgba(248, 251, 255, .98), rgba(245, 249, 255, .86));
  }
  .avatar-ring {
    width: 68px;
    height: 68px;
    font-size: 19px;
  }
  .home-identity-hero {
    min-height: 0;
  }
  .home-hero-grid {
    gap: 20px;
  }
  .home-hero-profile {
    align-items: flex-start;
    gap: 14px;
  }
  .home-hero-name-row {
    gap: 8px;
    margin-bottom: 8px;
  }
  .home-hero-identity-row {
    gap: 7px;
  }
  .home-hero-stats {
    gap: 8px;
  }
  .hero-stat {
    min-width: 0;
    padding-left: 0;
    border-left: 0;
  }
  .home-hero-stats .hero-stat {
    min-height: 74px;
    padding: 11px 9px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 12px;
    background: rgba(255, 255, 255, .11);
  }
  .home-hero-progress-label {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
  .home-hero-progress-label span:last-child {
    text-align: left;
  }
  .hero-helper-links {
    width: 100%;
  }
  .home-impact-panel {
    width: 100%;
    align-items: flex-start;
  }
  .metric-icon {
    width: 42px;
    height: 42px;
  }
  .activity-row {
    display: grid;
    grid-template-columns: 1fr;
  }
  .activity-type {
    width: fit-content;
    min-width: 0;
  }
  .alliance-total {
    align-self: stretch;
  }
  .resource-card {
    align-items: flex-start;
  }
  .achievement-row {
    min-height: 0;
    padding: 14px;
  }
  .achievement-main {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
  }
  .achievement-badge-art {
    width: 72px;
    height: 72px;
  }
  .achievement-badge-art img {
    width: 68px;
    height: 68px;
  }
  .achievement-name-line {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
  .achievement-name-line h3 {
    max-width: 100%;
    font-size: 16px;
  }
  .achievement-progress-label {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}

@media (max-width: 1180px) {
  .member-nav-tools { min-width: 0; }
  .member-profile-link { max-width: 58px; padding-right: 5px; }
  .member-profile-link .nav-user-name { display: none; }
}

@media (max-width: 1380px) {
  .member-nav-links,
  .member-nav-tools { display: none !important; }
  #navToggle { display: grid !important; }
  #navMobile:not(.hidden) { display: block !important; }
  .member-nav-inner {
    grid-template-columns: 1fr auto;
    max-width: none !important;
  }
}

@media (max-width: 640px) {
  .admin-impersonation-banner {
    top: 68px;
    width: calc(100vw - 20px);
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
  }
  .admin-impersonation-banner span {
    white-space: normal;
  }
  .admin-impersonation-banner button {
    width: 100%;
    min-height: 38px;
  }
  body.admin-impersonating-member {
    padding-top: 96px;
  }
}

/* 称号环（conic-gradient 进度环） */
.level-ring {
  --pct: 0;
  width: 116px; height: 116px; border-radius: 50%;
  background: conic-gradient(var(--blu2) calc(var(--pct) * 1%), #e6efff 0);
  display: grid; place-items: center; position: relative;
}
.level-ring::before { content: ""; position: absolute; inset: 9px; background: #fff; border-radius: 50%; }
.level-ring > div { position: relative; z-index: 1; text-align: center; }

/* 成长流水时间线 */
.tl { position: relative; padding-left: 26px; }
.tl::before { content: ""; position: absolute; left: 8px; top: 4px; bottom: 4px; width: 2px; background: linear-gradient(#cfe0ff, #eef4ff); }
.tl-item { position: relative; padding: 0 0 18px 0; }
.tl-item::before {
  content: ""; position: absolute; left: -22px; top: 5px; width: 11px; height: 11px;
  border-radius: 50%; background: var(--blu2); box-shadow: 0 0 0 3px #e6efff;
}
.tl-item.offline::before { background: var(--warn); box-shadow: 0 0 0 3px #fff1e0; }

/* 称号徽章 */
.lv-badge { background: linear-gradient(135deg, #0052D9, #006EFF); color: #fff; }

/* 数据表 */
.mtable { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.mtable th { text-align: left; color: var(--t3); font-weight: 500; padding: 9px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.mtable td { padding: 11px 12px; border-bottom: 1px solid #f2f3f5; color: var(--t1); }
.mtable tr:hover td { background: #f7faff; }
.mtable.full td { vertical-align: top; }
.content-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.content-title-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0;
  color: #374151;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.content-title-btn:hover { color: var(--blu2); }
.content-view-all {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 30px;
  padding: 0 10px;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  background: #f8fbff;
  color: var(--blu2);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.content-view-all {
  text-decoration: none;
}
button.content-view-all {
  font-family: inherit;
}
.content-view-all:hover { background: #e8f1ff; }
.member-main [id] {
  scroll-margin-top: 88px;
}
.tm-no-link {
  cursor: default !important;
}
.tm-no-link:hover {
  color: inherit !important;
  transform: none !important;
  box-shadow: none !important;
}
.tm-disabled-title {
  color: inherit;
}

/* 个人内容完整列表弹层 */
.content-modal { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(15, 23, 42, .42); backdrop-filter: blur(3px); }
.content-modal.hidden { display: none; }
.content-modal-panel { width: min(1120px, 100%); max-height: calc(100vh - 48px); display: flex; flex-direction: column; overflow: hidden; border: 1px solid rgba(226, 232, 240, .92); border-radius: 18px; background: #fff; box-shadow: 0 28px 80px -30px rgba(15, 23, 42, .5); }
.content-modal-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.content-modal-head h3 { margin: 0; font-size: 17px; font-weight: 800; color: var(--t1); }
.content-modal-head p { margin: 3px 0 0; font-size: 12px; color: var(--t3); }
.content-modal-close { width: 34px; height: 34px; border: 0; border-radius: 10px; background: #f2f3f5; color: var(--t2); cursor: pointer; }
.content-modal-close:hover { background: #e8f1ff; color: var(--blu2); }
.content-modal-body { min-height: 0; overflow: auto; padding: 0 22px 22px; }
.content-modal-body .mtable { min-width: 760px; }
body.content-modal-open { overflow: hidden; }

/* 滚动条美化 */
.scroll-y { max-height: 460px; overflow-y: auto; }
.scroll-y::-webkit-scrollbar { width: 8px; }
.scroll-y::-webkit-scrollbar-thumb { background: #d6dbe4; border-radius: 8px; }

/* 标签 chip */
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 500; }
.chip-blue { background: #e8f1ff; color: var(--blu); }
.chip-green { background: #e7f8eb; color: var(--ok); }
.chip-orange { background: #fff2e6; color: var(--warn); }
.chip-gray { background: #f2f3f5; color: var(--t2); }

/* 空状态 */
.empty { text-align: center; color: var(--t3); padding: 40px 12px; font-size: 13.5px; }

/* 门户内容适配到成员端后的轻量组件 */
.portal-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 82, 217, .08);
  background:
    radial-gradient(circle at 12% 10%, rgba(0, 110, 255, .12), transparent 28%),
    linear-gradient(135deg, #fff 0%, #f6f9ff 72%, #eef5ff 100%);
}
.portal-hero-deco {
  min-height: 172px;
  background:
    linear-gradient(135deg, #ffffff 0%, #f7fbff 54%, #edf5ff 100%);
  box-shadow: 0 18px 48px -38px rgba(37, 99, 235, .32);
}
.portal-hero-deco::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--portal-hero-image);
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: right center;
  opacity: .78;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 30%, rgba(0,0,0,.05) 42%, rgba(0,0,0,.42) 62%, #000 82%);
  mask-image: linear-gradient(90deg, transparent 0%, transparent 30%, rgba(0,0,0,.05) 42%, rgba(0,0,0,.42) 62%, #000 82%);
  pointer-events: none;
}
.portal-hero-deco::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,.76) 43%, rgba(255,255,255,.34) 74%, rgba(255,255,255,.16) 100%);
  pointer-events: none;
}
.portal-hero-deco > * {
  position: relative;
  z-index: 1;
}
.portal-hero-knowledge {
  --portal-hero-image: url('/member/assets/deco/hero-knowledge.jpg');
}
.portal-hero-salon {
  --portal-hero-image: url('/member/assets/deco/hero-salon.jpg');
}
.portal-hero-contents {
  --portal-hero-image: url('/member/assets/deco/hero-contents.jpg');
}
.portal-card {
  background: #fff;
  border: 1px solid #f0f2f5;
  border-radius: 16px;
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}
.portal-card:hover {
  border-color: #bfdbfe;
  box-shadow: 0 16px 42px -20px rgba(0, 82, 217, .28);
  transform: translateY(-2px);
}
.event-cover-wrap {
  position: relative;
  overflow: hidden;
  background: #eef2f7;
}
.event-cover-title {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  padding: 6px 8px;
  border-radius: 8px;
  color: #fff;
  background: rgba(15, 23, 42, .66);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .25);
}
.portal-tab {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  color: var(--t2);
  background: #fff;
  font-size: 13px;
  font-weight: 760;
  cursor: pointer;
}
.portal-tab.active {
  border-color: #bfdbfe;
  background: #eff6ff;
  color: var(--blu3);
  font-weight: 700;
}
.curated-region-select {
  min-width: 128px;
  height: 38px;
  padding: 0 34px 0 13px;
  border: 1px solid #dbe5f2;
  border-radius: 12px;
  background: #fff;
  color: var(--t1);
  font-size: 13px;
  outline: none;
  appearance: none;
}
.curated-region-select:focus {
  border-color: #93c5fd;
  box-shadow: 0 0 0 3px rgba(147, 197, 253, .24);
}
.content-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.content-section-head p {
  margin-top: 6px;
  color: var(--t3);
  font-size: 14px;
  line-height: 1.6;
}
.content-section-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.content-all-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  padding: 12px;
  border: 1px solid #e6edf7;
  border-radius: 14px;
  background: rgba(255, 255, 255, .78);
}
.content-all-toolbar.hidden {
  display: none;
}
.content-all-search {
  flex: 1 1 280px;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid #dbe5f2;
  border-radius: 12px;
  background: #fff;
  color: var(--t3);
}
.content-all-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--t1);
  font-size: 14px;
}
.content-all-search-btn,
.content-all-clear-btn,
.content-page-btn {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid #dbe5f2;
  background: #fff;
  color: var(--t2);
  font-size: 13px;
  font-weight: 760;
  cursor: pointer;
}
.content-all-search-btn {
  border-color: #2563eb;
  background: #2563eb;
  color: #fff;
}
.content-all-clear-btn:hover,
.content-page-btn:hover:not(:disabled) {
  border-color: #bfdbfe;
  background: #eff6ff;
  color: var(--blu3);
}
.content-page-btn:disabled {
  cursor: not-allowed;
  opacity: .45;
}
.content-all-status {
  color: var(--t3);
  font-size: 12px;
}
.content-pagebar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
  color: var(--t2);
  font-size: 13px;
}
.content-pagebar.hidden {
  display: none;
}
.curated-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.curated-panel {
  min-height: 240px;
}
.curated-article-grid,
.curated-author-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.curated-question-list {
  display: grid;
  gap: 10px;
}
.curated-article-card,
.curated-question-row,
.curated-author-card {
  min-width: 0;
  border: 1px solid #e8eef8;
  border-radius: 14px;
  background: #fff;
}
.curated-article-card,
.curated-question-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: start;
  gap: 11px;
  padding: 13px;
  color: inherit;
}
.curated-rank {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 10px;
  background: #f1f5f9;
  color: var(--t3);
  font-size: 12px;
  font-weight: 900;
}
.curated-rank.top {
  background: #2563eb;
  color: #fff;
}
.curated-rank.purple.top {
  background: #7c3aed;
}
.curated-rank.gold.top {
  background: #f59e0b;
}
.curated-card-copy {
  min-width: 0;
  display: grid;
  gap: 7px;
}
.curated-card-copy b {
  display: -webkit-box;
  overflow: hidden;
  color: var(--t1);
  font-size: 14px;
  font-weight: 830;
  line-height: 1.42;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.curated-card-copy small {
  overflow: hidden;
  color: var(--t3);
  font-size: 12px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.curated-card-copy em {
  width: fit-content;
  max-width: 100%;
  min-height: 23px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #f1f5f9;
  color: var(--t2);
  font-size: 12px;
  font-style: normal;
  font-weight: 760;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.curated-article-card:hover,
.curated-question-row:hover,
.curated-author-card:hover {
  border-color: #bfdbfe;
  box-shadow: 0 12px 28px -24px rgba(0,82,217,.34);
}
.curated-author-card {
  padding: 14px;
}
.curated-author-head {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}
.curated-author-head b {
  display: block;
  overflow: hidden;
  color: var(--t1);
  font-size: 14px;
  font-weight: 860;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.curated-author-head small {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  color: var(--t3);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.curated-author-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}
.curated-author-stats span {
  min-height: 58px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 4px;
  border-radius: 12px;
  background: #f8fbff;
}
.curated-author-stats b {
  color: var(--t1);
  font-size: 20px;
  font-weight: 920;
  line-height: 1;
}
.curated-author-stats small {
  color: var(--t3);
  font-size: 12px;
}
@media (max-width: 760px) {
  .content-section-head {
    display: block;
  }
  .content-section-head > span {
    display: inline-block;
    margin-top: 6px;
  }
  .content-section-tools {
    align-items: stretch;
  }
  .content-section-tools > div {
    width: 100%;
  }
  .content-section-tools select {
    width: 100%;
  }
  .content-all-toolbar {
    align-items: stretch;
  }
  .content-all-search,
  .content-all-search-btn,
  .content-all-clear-btn {
    width: 100%;
  }
  .curated-article-grid,
  .curated-author-grid {
    grid-template-columns: 1fr;
  }
  .curated-card-copy small {
    white-space: normal;
  }
}
.resource-tile {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f7faff;
  color: var(--t1);
  font-size: 13px;
  transition: background .18s ease, color .18s ease;
}
.resource-tile:hover { background: #e8f1ff; color: var(--blu); }

/* 成长体系页 */
.rules-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
  gap: 24px;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(59, 130, 246, .24);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(0, 82, 217, .96), rgba(0, 110, 255, .88) 48%, rgba(20, 184, 166, .78)),
    url('/member/assets/visual/growth-hero.png') right center / auto 120% no-repeat;
  box-shadow: 0 24px 58px -34px rgba(0, 82, 217, .55);
}
.rules-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 50, 150, .12), rgba(255,255,255,.08));
}
.rules-hero > * { position: relative; z-index: 1; }
.rules-hero .feed-eyebrow {
  width: fit-content;
  background: rgba(255, 255, 255, .16);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .22);
}
.rules-source-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.rules-source-strip span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  color: rgba(255,255,255,.92);
  font-size: 12px;
}
.rules-source-strip b { color: #fff; font-weight: 800; }
.rules-current-card {
  min-height: 230px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.10));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 22px 48px -36px rgba(15, 23, 42, .9);
  backdrop-filter: blur(10px);
}
.rules-medal {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 16px;
  background: rgba(255, 255, 255, .18);
  color: #fff;
  font-size: 23px;
}
.level-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.level-step {
  position: relative;
  display: flex;
  gap: 12px;
  min-height: 156px;
  padding: 16px;
  border: 1px solid #eef2f7;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, #f9fbff);
}
.level-step.current {
  border-color: #93c5fd;
  box-shadow: 0 18px 46px -28px rgba(0, 82, 217, .42);
  background: linear-gradient(180deg, #ffffff, #eff6ff);
}
.level-step.reached:not(.current) {
  border-color: #ccfbf1;
  background: linear-gradient(180deg, #fff, #f3fffb);
}
.level-step-index {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 12px;
  background: #edf2ff;
  color: var(--blu2);
  font-size: 13px;
  font-weight: 800;
}
.level-step.current .level-step-index {
  background: linear-gradient(135deg, #0052D9, #006EFF);
  color: #fff;
}
.level-step.reached:not(.current) .level-step-index {
  background: #dcfce7;
  color: #16a34a;
}
.level-step-body { min-width: 0; flex: 1; }
.level-step h3 {
  margin: 0;
  color: var(--t1);
  font-size: 16px;
  font-weight: 850;
}
.level-step h3 + span {
  flex: none;
  padding: 3px 8px;
  border-radius: 999px;
  background: #e8f1ff;
  color: var(--blu2);
  font-size: 12px;
  font-weight: 800;
}
.level-step.current h3 + span { background: #0052D9; color: #fff; }
.level-range {
  margin-top: 10px;
  color: #0f172a;
  font-size: 18px;
  font-weight: 850;
}
.level-step p {
  margin: 8px 0 0;
  color: var(--t3);
  font-size: 12.5px;
  line-height: 1.6;
}
.benefit-showcase {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border: 1px solid rgba(219, 229, 246, .95);
  border-radius: 18px;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, .98) 0%, rgba(248, 251, 255, .96) 52%, rgba(255, 255, 255, .98) 100%);
  box-shadow: 0 22px 56px -38px rgba(15, 23, 42, .36);
}
.benefit-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(239, 246, 255, .62), rgba(255, 255, 255, 0) 42%),
    linear-gradient(180deg, rgba(255, 255, 255, .76), rgba(241, 247, 255, .42));
  pointer-events: none;
}
.benefit-showcase > * {
  position: relative;
  z-index: 1;
}
.benefit-showcase-head {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  min-height: 116px;
  margin-bottom: 18px;
  padding: 6px 4px 0;
}
.benefit-heading {
  max-width: 560px;
}
.benefit-heading h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--t1);
  font-size: 22px;
  font-weight: 850;
  line-height: 1.25;
  font-family: var(--tm-title-font);
}
.benefit-heading p {
  margin: 12px 0 0;
  color: #64748b;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.6;
}
.benefit-head-visual {
  position: absolute;
  top: -34px;
  left: 52%;
  width: min(212px, 20vw);
  min-width: 138px;
  opacity: .62;
  pointer-events: none;
}
.benefit-head-visual img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 24px 28px rgba(37, 99, 235, .18));
}
.benefit-status-pill {
  margin-left: auto;
  max-width: 380px;
  padding: 9px 12px;
  border: 1px solid rgba(219, 234, 254, .85);
  border-radius: 999px;
  background: rgba(255, 255, 255, .76);
  color: #64748b;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.3;
  box-shadow: 0 12px 28px -24px rgba(37, 99, 235, .45);
  backdrop-filter: blur(8px);
}
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.benefit-card {
  --benefit-accent: #1677ff;
  --benefit-soft: #e8f1ff;
  --benefit-border: #dbeafe;
  --benefit-bg1: #ffffff;
  --benefit-bg2: #f8fbff;
  --benefit-shadow: rgba(22, 119, 255, .22);
  position: relative;
  min-height: 238px;
  padding: 16px;
  border: 1px solid var(--benefit-border);
  border-radius: 16px;
  background:
    linear-gradient(145deg, var(--benefit-bg1) 0%, #ffffff 48%, var(--benefit-bg2) 100%);
  box-shadow: 0 18px 46px -36px var(--benefit-shadow);
  overflow: hidden;
  isolation: isolate;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.benefit-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--benefit-accent), rgba(255,255,255,.18));
  opacity: .72;
}
.benefit-card::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -28px;
  width: 170px;
  height: 100px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255,255,255,.15), var(--benefit-soft));
  opacity: .58;
  transform: rotate(-9deg);
  z-index: -1;
}
.benefit-card:hover {
  transform: translateY(-3px);
  border-color: var(--benefit-accent);
  box-shadow: 0 24px 58px -34px var(--benefit-shadow);
}
.benefit-card.current {
  border-color: var(--benefit-accent);
  box-shadow: 0 24px 62px -32px var(--benefit-shadow);
}
.benefit-card.current::before {
  height: 4px;
  opacity: 1;
}
.benefit-card.reached:not(.current) {
  background:
    linear-gradient(145deg, #ffffff 0%, #ffffff 48%, var(--benefit-bg2) 100%);
}
.benefit-card.locked {
  box-shadow: 0 14px 40px -38px rgba(15, 23, 42, .32);
}
.benefit-tone-mint {
  --benefit-accent: #22c55e;
  --benefit-soft: #dcfce7;
  --benefit-border: #bbf7d0;
  --benefit-bg1: #fcfffd;
  --benefit-bg2: #f0fdf4;
  --benefit-shadow: rgba(34, 197, 94, .24);
}
.benefit-tone-emerald {
  --benefit-accent: #10b981;
  --benefit-soft: #d1fae5;
  --benefit-border: #a7f3d0;
  --benefit-bg1: #fbfffe;
  --benefit-bg2: #ecfdf5;
  --benefit-shadow: rgba(16, 185, 129, .24);
}
.benefit-tone-blue {
  --benefit-accent: #2563eb;
  --benefit-soft: #dbeafe;
  --benefit-border: #93c5fd;
  --benefit-bg1: #fafdff;
  --benefit-bg2: #eff6ff;
  --benefit-shadow: rgba(37, 99, 235, .28);
}
.benefit-tone-violet {
  --benefit-accent: #8b5cf6;
  --benefit-soft: #ede9fe;
  --benefit-border: #c4b5fd;
  --benefit-bg1: #fdfcff;
  --benefit-bg2: #f5f3ff;
  --benefit-shadow: rgba(139, 92, 246, .24);
}
.benefit-tone-amber {
  --benefit-accent: #f59e0b;
  --benefit-soft: #fef3c7;
  --benefit-border: #fde68a;
  --benefit-bg1: #fffdfa;
  --benefit-bg2: #fffbeb;
  --benefit-shadow: rgba(245, 158, 11, .24);
}
.benefit-tone-gold {
  --benefit-accent: #d97706;
  --benefit-soft: #ffedd5;
  --benefit-border: #fed7aa;
  --benefit-bg1: #fffdfa;
  --benefit-bg2: #fff7ed;
  --benefit-shadow: rgba(217, 119, 6, .24);
}
.benefit-tone-rose {
  --benefit-accent: #f43f5e;
  --benefit-soft: #ffe4e6;
  --benefit-border: #fecdd3;
  --benefit-bg1: #fffafb;
  --benefit-bg2: #fff1f2;
  --benefit-shadow: rgba(244, 63, 94, .22);
}
.benefit-tone-purple {
  --benefit-accent: #7c3aed;
  --benefit-soft: #ede9fe;
  --benefit-border: #ddd6fe;
  --benefit-bg1: #fdfcff;
  --benefit-bg2: #f5f3ff;
  --benefit-shadow: rgba(124, 58, 237, .24);
}
.benefit-card-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.benefit-card-top h3 {
  margin: 5px 0 0;
  color: #111827;
  font-size: 16px;
  font-weight: 850;
  line-height: 1.32;
}
.benefit-card-top > span {
  flex: none;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--benefit-soft);
  color: var(--benefit-accent);
  font-size: 12px;
  font-weight: 850;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.55);
}
.benefit-card.current .benefit-card-top > span {
  background: var(--benefit-accent);
  color: #fff;
  box-shadow: 0 10px 18px -12px var(--benefit-shadow);
}
.benefit-threshold {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}
.benefit-state-row {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}
.benefit-state-row span {
  display: inline-grid;
  place-items: center;
  min-width: 38px;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: #f8fafc;
  color: #64748b;
  font-size: 11px;
  font-weight: 850;
}
.benefit-state-row b {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 850;
}
.benefit-card.current .benefit-state-row span {
  background: var(--benefit-soft);
  color: var(--benefit-accent);
}
.benefit-card.current .benefit-state-row b,
.benefit-card.reached .benefit-state-row b {
  color: var(--benefit-accent);
}
.benefit-card-body {
  position: relative;
  z-index: 2;
  min-height: 112px;
  padding-right: 0;
}
.benefit-items {
  display: grid;
  gap: 6px;
  margin-top: 14px;
}
.benefit-line {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 8px;
  align-items: flex-start;
}
.benefit-line i {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #eef6ff;
  color: var(--blu2);
  font-size: 11px;
}
.benefit-card .benefit-line i {
  background: var(--benefit-soft);
  color: var(--benefit-accent);
}
.benefit-line span {
  display: block;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 700;
}
.benefit-line b {
  display: block;
  margin-top: 1px;
  color: #334155;
  font-size: 11.8px;
  font-weight: 750;
  line-height: 1.45;
}
.benefit-foot {
  margin: 10px 0 0;
  padding-right: min(31%, 90px);
  color: #7f8da3;
  font-size: 12px;
  line-height: 1.55;
}
.benefit-card-visual {
  position: absolute;
  right: -4px;
  bottom: -10px;
  z-index: 1;
  width: min(96px, 30%);
  height: auto;
  filter: drop-shadow(0 18px 18px var(--benefit-shadow));
  opacity: .68;
  pointer-events: none;
  user-select: none;
}
.benefit-card.current .benefit-card-visual {
  width: min(106px, 32%);
  opacity: .76;
}
.benefit-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 13px 15px;
  border: 1px solid #dbeafe;
  border-radius: 13px;
  background: rgba(248, 251, 255, .82);
  color: #64748b;
  font-size: 12.5px;
  line-height: 1.6;
  backdrop-filter: blur(8px);
}
.benefit-note i {
  margin-top: 3px;
  color: var(--blu2);
}
.recognition-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.recognition-card {
  padding: 16px;
  border: 1px solid #eef2f7;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, #f9fbff);
}
.recognition-card.region {
  background: linear-gradient(180deg, #fff, #f8fffb);
}
.recognition-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.recognition-head span {
  padding: 4px 9px;
  border-radius: 999px;
  background: #e8f1ff;
  color: var(--blu2);
  font-size: 12px;
  font-weight: 850;
}
.recognition-card.region .recognition-head span {
  background: #e7f8eb;
  color: #16a34a;
}
.recognition-head i {
  color: #94a3b8;
}
.recognition-card h3 {
  margin: 0 0 12px;
  color: #111827;
  font-size: 15px;
  font-weight: 850;
  line-height: 1.45;
}
.recognition-lines {
  display: grid;
  gap: 8px;
}
.recognition-card p {
  margin: 12px 0 0;
  color: #94a3b8;
  font-size: 12px;
  line-height: 1.55;
}
.rule-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  overflow-x: auto;
  padding-bottom: 2px;
}
.rule-tabs::-webkit-scrollbar { height: 0; }
.rule-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #fff;
  color: #475569;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}
.rule-tab span {
  min-width: 20px;
  padding: 1px 6px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #64748b;
  font-size: 12px;
}
.rule-tab.active {
  border-color: #93c5fd;
  background: #eff6ff;
  color: var(--blu3);
}
.rule-tab.active span { background: #dbeafe; color: var(--blu3); }
.rule-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 14px;
}
.rule-groups.single {
  grid-template-columns: 1fr;
}
.rule-group {
  overflow: hidden;
  border: 1px solid #eef2f7;
  border-radius: 16px;
  background: #fff;
}
.rule-group-head {
  padding: 16px;
  border-bottom: 1px solid #f1f5f9;
  background: linear-gradient(180deg, #fbfdff, #fff);
}
.rule-group h3 {
  margin: 0;
  color: var(--t1);
  font-size: 15px;
  font-weight: 850;
}
.rule-group p {
  margin: 3px 0 0;
  color: var(--t3);
  font-size: 12px;
}
.rule-type-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 13px;
  background: #eff6ff;
  color: var(--blu2);
}
.rule-list { padding: 4px 12px 10px; }
.rule-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 58px;
  padding: 10px 0;
  border-bottom: 1px solid #f4f6f8;
}
.rule-row:last-child { border-bottom: 0; }
.rule-groups.single .rule-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px;
  padding: 14px;
}
.rule-groups.single .rule-row {
  min-height: 72px;
  padding: 11px 12px;
  border: 1px solid #f1f5f9;
  border-radius: 13px;
  background: #fff;
}
.rule-groups.single .rule-row:last-child { border-bottom: 1px solid #f1f5f9; }
.rule-action {
  color: #1f2937;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.5;
}
.rule-limit {
  margin-top: 3px;
  color: var(--t3);
  font-size: 12px;
}
.rule-score {
  min-width: 54px;
  padding: 6px 9px;
  border-radius: 999px;
  background: #e8f1ff;
  color: var(--blu2);
  text-align: center;
  font-size: 13px;
  font-weight: 850;
}
.rule-tone-green .rule-type-icon,
.rule-tone-green .rule-score { background: #e7f8eb; color: #16a34a; }
.rule-tone-orange .rule-type-icon,
.rule-tone-orange .rule-score { background: #fff2e6; color: #f97316; }
.rule-tone-purple .rule-type-icon,
.rule-tone-purple .rule-score { background: #f4f0ff; color: #7c3aed; }
.rule-tone-cyan .rule-type-icon,
.rule-tone-cyan .rule-score { background: #e6fffb; color: #0891b2; }
.rule-tone-gray .rule-type-icon,
.rule-tone-gray .rule-score { background: #f1f5f9; color: #64748b; }

.achievement-showcase {
  border: 1px solid rgba(219, 229, 246, .95);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,251,255,.96)),
    radial-gradient(circle at 100% 0%, rgba(0, 110, 255, .12), transparent 32%);
  box-shadow: 0 22px 56px -38px rgba(15, 23, 42, .36);
}
.achievement-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.achievement-head h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--t1);
  font-size: 22px;
  font-weight: 850;
  font-family: var(--tm-title-font);
}
.achievement-head p {
  margin: 10px 0 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.6;
}
.achievement-summary {
  flex: 0 0 auto;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  background: #f8fbff;
  color: var(--blu2);
  font-size: 13px;
  font-weight: 850;
}
.achievement-groups {
  display: grid;
  gap: 22px;
}
.achievement-series {
  border-top: 1px solid #edf2f7;
  padding-top: 18px;
}
.achievement-series:first-child {
  border-top: 0;
  padding-top: 0;
}
.achievement-series-title {
  margin-bottom: 12px;
  color: #334155;
  font-size: 17px;
  font-weight: 850;
}
.achievement-list {
  display: grid;
  gap: 12px;
}
.achievement-row {
  display: grid;
  grid-template-columns: minmax(360px, .92fr) minmax(360px, 1fr);
  gap: 22px;
  align-items: center;
  min-height: 130px;
  padding: 16px 18px;
  border: 1px solid #e8eef8;
  border-radius: 16px;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.achievement-row:hover {
  transform: translateY(-2px);
  border-color: #bfdbfe;
  box-shadow: 0 18px 46px -34px rgba(0, 82, 217, .35);
}
.achievement-row.locked {
  background: linear-gradient(180deg, #fff, #f8fafc);
}
.achievement-row.low-priority {
  opacity: .78;
}
.achievement-main {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-width: 0;
}
.achievement-badge-art {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(180deg, #f8fbff, #ffffff);
}
.achievement-badge-art img {
  width: 86px;
  height: 86px;
  object-fit: contain;
  filter: drop-shadow(0 14px 14px rgba(15, 23, 42, .13));
}
.achievement-row.locked .achievement-badge-art img {
  filter: grayscale(.85) opacity(.58);
}
.achievement-name-line {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}
.achievement-name-line h3 {
  overflow: hidden;
  margin: 0;
  color: var(--t1);
  font-size: 18px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.achievement-name-line span {
  flex: 0 0 auto;
  padding: 4px 9px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #64748b;
  font-size: 12px;
  font-weight: 850;
}
.achievement-row.earned .achievement-name-line span {
  background: #e8f1ff;
  color: var(--blu2);
}
.achievement-main p {
  margin: 8px 0 0;
  color: #475569;
  font-size: 13px;
  line-height: 1.55;
}
.achievement-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 9px;
}
.achievement-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: #f8fafc;
  color: #64748b;
  font-size: 11.5px;
  font-weight: 750;
}
.achievement-progress-cell {
  min-width: 0;
}
.achievement-progress-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #64748b;
  font-size: 12px;
  font-weight: 750;
}
.achievement-progress-label b {
  color: #334155;
}
.achievement-progress {
  height: 9px;
  overflow: hidden;
  margin-top: 9px;
  border-radius: 999px;
  background: #dbe4ee;
}
.achievement-progress i {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blu), #14b8a6);
}
.achievement-row.earned .achievement-progress i {
  background: linear-gradient(90deg, #10b981, #0ea5e9);
}
.achievement-desc {
  margin-top: 9px;
  color: #94a3b8;
  font-size: 12px;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .content-modal { padding: 12px; align-items: stretch; }
  .content-modal-panel { max-height: calc(100vh - 24px); border-radius: 14px; }
  .content-modal-head { padding: 14px 16px; }
  .content-modal-body { padding: 0 16px 16px; }
  .portal-hero-deco {
    min-height: 0;
  }
  .portal-hero-deco::before {
    background-size: auto 78%;
    background-position: right -170px top 8px;
    opacity: .36;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 52%, rgba(0,0,0,.38) 72%, #000 100%);
    mask-image: linear-gradient(90deg, transparent 0%, transparent 52%, rgba(0,0,0,.38) 72%, #000 100%);
  }
  .portal-hero-deco::after {
    background:
      linear-gradient(90deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.86) 58%, rgba(255,255,255,.52) 100%);
  }
  .achievement-row {
    min-height: 0;
    padding: 14px;
  }
  .achievement-main {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
  }
  .achievement-badge-art {
    width: 72px;
    height: 72px;
  }
  .achievement-badge-art img {
    width: 68px;
    height: 68px;
  }
  .achievement-name-line {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
  .achievement-name-line h3 {
    max-width: 100%;
    font-size: 16px;
  }
  .achievement-progress-label {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}

@media (max-width: 920px) {
  .rules-hero { grid-template-columns: 1fr; padding: 22px; }
  .rules-current-card { min-height: 0; }
  .benefit-grid,
  .recognition-grid,
  .level-track,
  .rule-groups { grid-template-columns: 1fr; }
  .achievement-head {
    flex-direction: column;
  }
  .achievement-summary {
    align-self: flex-start;
  }
  .achievement-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media (min-width: 921px) and (max-width: 1180px) {
  .benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 资料管理 */
.profile-entry-card {
  align-self: start;
  overflow: hidden;
  border: 1px solid rgba(226,232,240,.92);
  border-radius: 16px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.96) 66%, rgba(248,251,255,.94) 100%);
  box-shadow: 0 8px 22px -18px rgba(15,23,42,.24);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.profile-entry-card:hover {
  transform: translateY(-1px);
  border-color: #bfdbfe;
  box-shadow: 0 12px 28px -20px rgba(0,82,217,.22);
}
.profile-entry-illustration {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #e8f1ff, #ffffff);
  color: var(--blu2);
  font-size: 22px;
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, .13);
  flex: 0 0 auto;
}
.profile-progress {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e5e7eb;
}
.profile-progress > i {
  display: block;
  height: 100%;
  width: var(--pct, 0%);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blu), var(--blu2));
}
.profile-page-grid {
  display: grid;
  grid-template-columns: minmax(236px, .72fr) minmax(0, 2.16fr) minmax(248px, .78fr);
  gap: 20px;
  align-items: start;
}
.profile-card {
  border: 1px solid rgba(226, 232, 240, .92);
  border-radius: 12px;
  background: rgba(255,255,255,.95);
  box-shadow: 0 8px 22px -18px rgba(15, 23, 42, .22);
}
.profile-card-focus {
  border-color: #93c5fd;
  box-shadow: 0 0 0 5px rgba(37, 99, 235, .12), 0 16px 30px -22px rgba(0, 82, 217, .32);
}
.profile-avatar-preview {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  margin: 0 auto;
  color: var(--blu2);
  background: linear-gradient(135deg, #e8f1ff, #f8fbff);
  border: 1px dashed rgba(37, 99, 235, .36);
}
.profile-avatar-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.profile-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  padding: 0 18px;
}
.profile-tabs button {
  height: 50px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--t2);
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
  cursor: pointer;
}
.profile-tabs button.is-active {
  color: var(--blu2);
  border-bottom-color: var(--blu2);
}
.profile-basic-panel {
  display: grid;
  gap: 18px;
}
.profile-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.profile-section-head h2 {
  margin: 0;
  color: var(--t1);
  font-size: 18px;
  font-weight: 850;
}
.profile-section-head p {
  margin: 5px 0 0;
  color: var(--t3);
  font-size: 13px;
  line-height: 1.6;
}
.profile-readonly-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.profile-mini-card {
  min-width: 0;
  padding: 14px;
  border: 1px solid #e5edf8;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff, #f8fbff);
}
.profile-mini-card span,
.profile-mini-card em {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  color: var(--t3);
  font-size: 12px;
  font-style: normal;
  font-weight: 650;
}
.profile-mini-card strong {
  display: block;
  min-width: 0;
  margin: 6px 0 8px;
  overflow: hidden;
  color: var(--t1);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.profile-mini-card .source-badge {
  margin-top: 0;
}
.profile-tip-compact {
  margin: 0;
  line-height: 1.68;
}
.avatar-purpose-tip {
  margin-top: 12px;
  border-radius: 10px;
  border: 1px solid #dbeafe;
  background: #f8fbff;
  color: var(--t2);
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.65;
}
.profile-form-stack {
  display: grid;
  gap: 14px;
}
.profile-basic-panel .profile-field {
  grid-template-columns: 124px minmax(0, 1fr) minmax(86px, max-content);
  margin-bottom: 0;
}
.profile-basic-panel .profile-field-action {
  grid-template-columns: 124px minmax(180px, 1fr) minmax(86px, max-content) minmax(116px, auto);
}
.profile-basic-panel .profile-field textarea {
  min-height: 112px;
}
.profile-basic-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 2px;
}
.profile-field {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 96px;
  gap: 12px;
  align-items: start;
  margin-bottom: 16px;
}
.profile-field-action {
  grid-template-columns: 120px minmax(0, 1fr) 96px auto;
}
.profile-field label {
  padding-top: 10px;
  color: var(--t2);
  font-size: 14px;
  font-weight: 650;
}
.profile-field input,
.profile-field textarea,
.profile-field select {
  width: 100%;
  border: 1px solid #d9dee8;
  border-radius: 9px;
  background: #fff;
  color: var(--t1);
  font: inherit;
  outline: none;
  padding: 10px 12px;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.profile-field textarea {
  min-height: 96px;
  resize: vertical;
}
.profile-field input:focus,
.profile-field textarea:focus,
.profile-field select:focus {
  border-color: var(--blu2);
  box-shadow: 0 0 0 3px rgba(0, 110, 255, .12);
}
.profile-field input[disabled] {
  background: #f4f6f9;
  color: var(--t3);
}
.profile-field-focus {
  border-radius: 12px;
  background: #eff6ff;
  box-shadow: 0 0 0 10px #eff6ff;
}
.source-badge {
  margin-top: 8px;
  justify-self: start;
  border-radius: 999px;
  padding: 4px 9px;
  background: #eef4ff;
  color: var(--blu2);
  font-size: 12px;
  font-weight: 650;
}
.source-badge.muted {
  background: #f1f5f9;
  color: #64748b;
}
.profile-inline-action {
  min-height: 40px;
  margin-top: 0;
  border: 1px solid rgba(37, 99, 235, .22);
  border-radius: 10px;
  background: #f8fbff;
  color: var(--blu2);
  padding: 0 14px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease, color .16s ease;
}
.profile-inline-action:hover {
  background: #e8f1ff;
  border-color: rgba(37, 99, 235, .4);
}
.profile-inline-action:disabled {
  opacity: .62;
  cursor: not-allowed;
}
.profile-card button:disabled,
.profile-tabs button:disabled {
  opacity: .62;
  cursor: not-allowed;
}
.profile-card button.is-loading {
  position: relative;
}
.profile-rule-list {
  display: grid;
  gap: 12px;
}
.profile-rule-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--t2);
  font-size: 13px;
}
.profile-rule-item i {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: var(--blu2);
  background: #eef4ff;
}
.submission-row {
  display: grid;
  grid-template-columns: 98px minmax(0, 1fr) 92px;
  gap: 12px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.submission-row:last-child {
  border-bottom: 0;
}
.record-feedback {
  margin-top: 6px;
  color: var(--t2);
  font-size: 12.5px;
  line-height: 1.6;
  white-space: normal;
}
.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.status-dot::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--dot, #94a3b8);
}
.status-pending { --dot: #ff7d00; color: #b45309; }
.status-approved { --dot: #00b42a; color: #15803d; }
.status-rejected { --dot: #f53f3f; color: #dc2626; }
.status-manual { --dot: #7b61ff; color: #6d28d9; }
.profile-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 90;
  transform: translateX(-50%) translateY(12px);
  opacity: 0;
  transition: .2s ease;
  border-radius: 999px;
  padding: 10px 16px;
  color: #fff;
  background: #1f2937;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .25);
  font-size: 13px;
}
.profile-toast.on {
  opacity: 1;
  transform: translateX(-50%);
}
.profile-toast.err { background: var(--red); }

@media (max-width: 1024px) {
  .profile-page-grid {
    grid-template-columns: 1fr;
  }
  .profile-readonly-grid {
    grid-template-columns: 1fr;
  }
  .profile-field {
    grid-template-columns: 1fr;
    gap: 7px;
  }
  .profile-basic-panel .profile-field,
  .profile-basic-panel .profile-field-action {
    grid-template-columns: 1fr;
  }
  .profile-field label {
    padding-top: 0;
  }
  .profile-inline-action {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .profile-entry-card {
    border-radius: 12px;
  }
  .profile-entry-illustration {
    width: 58px;
    height: 58px;
    border-radius: 15px;
  }
  .asset-trend-card,
  .home-medal-panel {
    min-height: 0;
  }
  .trend-chart-wrap {
    height: 136px;
    min-height: 136px;
  }
  .profile-basic-actions > * {
    width: 100%;
    justify-content: center;
  }
  .submission-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
