/* ===== home-dashboard.css — 首页仪表盘/Hero紧凑版/条形图/最近活动 =====
   从 base.css 拆分而来，保持原始顺序
   ===== */

/* ===================================================================
   首页优化 — 方案A 样式
   =================================================================== */

/* ===== Hero 紧凑版 ===== */
.home-hero-compact {
  padding: 24px 0 16px;
}
.home-hero-compact-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.home-logo-mini {
  width: 72px;
  height: 72px;
  position: relative;
  flex-shrink: 0;
}
.home-logo-mini-glow {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(108,92,231,0.10), rgba(241,196,15,0.12), rgba(108,92,231,0.08));
  animation: auroraRingSpin 12s linear infinite;
  filter: blur(4px);
}
.home-logo-mini-core {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  animation: coreFloat 5s ease-in-out infinite;
}
.home-logo-mini-core .home-logo-svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 0 16px rgba(13,6,40,0.35)) drop-shadow(0 0 32px rgba(108,92,231,0.15));
}
.home-hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.home-hero-title {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: 0.2em;
  background: linear-gradient(135deg, #1a0a3e 0%, #6C5CE7 30%, #F1C40F 60%, #A29BFE 100%);
  background-size: 400% 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: titleAurora 6s ease-in-out infinite;
  line-height: 1.1;
}
.home-hero-slogan {
  font-size: 13px;
  color: var(--text-tertiary);
  letter-spacing: 0.2em;
  opacity: 0.7;
}
@media (max-width: 480px) {
  .home-hero-compact { padding: 20px 0 12px; }
  .home-logo-mini { width: 64px; height: 64px; }
  .home-hero-title { font-size: 30px; }
  .home-hero-slogan { font-size: 12px; letter-spacing: 0.15em; }
}

/* ===== 五行能量条形图 ===== */
.hwx-energy-bars {
  padding: 4px 0;
}
.hwx-bars-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.hwx-bars-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 4px;
}
.hwx-bars-title i {
  color: var(--accent);
  font-size: 14px;
}
.hwx-bars-max {
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 3px;
}
.hwx-bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  animation: fadeInUp 0.4s ease-out both;
}
.hwx-bar-row:nth-child(2) { animation-delay: 0.05s; }
.hwx-bar-row:nth-child(3) { animation-delay: 0.1s; }
.hwx-bar-row:nth-child(4) { animation-delay: 0.15s; }
.hwx-bar-row:nth-child(5) { animation-delay: 0.2s; }
.hwx-bar-row:nth-child(6) { animation-delay: 0.25s; }
.hwx-bar-max {
  font-weight: 700;
}
.hwx-bar-label {
  width: 48px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
}
.hwx-bar-label i { font-size: 13px; }
.hwx-bar-track {
  flex: 1;
  height: 8px;
  background: rgba(0,0,0,0.04);
  border-radius: 4px;
  overflow: hidden;
}
.hwx-bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 4px;
}
.hwx-bar-pct {
  width: 32px;
  font-size: 11px;
  font-weight: 700;
  text-align: right;
  flex-shrink: 0;
}
.hwx-bars-hint {
  margin-top: 8px;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  background: rgba(0,0,0,0.02);
  border-radius: 8px;
  border-left: 3px solid currentColor;
}
.hwx-bars-hint i { font-size: 13px; }

/* ===== 今日天机仪表盘 ===== */
.htj-dashboard {
  padding: 20px;
  overflow: hidden;
}
.htj-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 8px;
}
.htj-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.htj-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}
.htj-title i { color: var(--accent); font-size: 18px; }
.htj-date {
  font-size: 12px;
  color: var(--text-tertiary);
}
.htj-header-right { }
.htj-wx-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid;
}
.htj-info-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.htj-info-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 8px;
  background: rgba(255,255,255,0.5);
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.3s;
}
.htj-info-cell:hover {
  background: rgba(255,255,255,0.8);
  border-color: rgba(108,92,231,0.1);
}
.htj-cell-accent {
  border-color: color-mix(in srgb, var(--cell-accent) 15%, transparent);
  background: color-mix(in srgb, var(--cell-accent) 4%, white);
}
.htj-cell-icon {
  font-size: 16px;
  color: var(--text-tertiary);
}
.htj-cell-label {
  font-size: 11px;
  color: var(--text-tertiary);
}
.htj-cell-value {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.05em;
}
.htj-wx-pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 600;
}
.htj-sc-range {
  font-size: 10px;
  color: var(--text-tertiary);
}
.htj-cell-score {
  cursor: pointer;
}
.htj-score-ring {
  position: relative;
  width: 48px;
  height: 48px;
}
.htj-score-svg {
  width: 100%;
  height: 100%;
}
.htj-score-circle {
  transition: stroke-dashoffset 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.htj-score-num {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
}
.htj-cell-locked {
  cursor: pointer;
  opacity: 0.7;
}
.htj-cell-locked:hover { opacity: 1; }
.htj-score-ring-locked {
  position: relative;
  width: 48px;
  height: 48px;
}
.htj-lock-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--accent);
  opacity: 0.6;
}
.htj-unlock-hint {
  font-size: 10px;
  color: var(--accent);
  font-weight: 600;
}
.htj-relation-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(108,92,231,0.04);
  border-radius: 10px;
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 14px;
  border-left: 3px solid var(--accent);
}
.htj-relation-hint i { font-size: 14px; }
.htj-dual-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 14px;
}
.htj-dims-panel, .htj-yiji-panel { }
.htj-dims-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 10px;
}
.htj-dims-title i { color: var(--accent); font-size: 14px; }
.htj-dim-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  animation: fadeInUp 0.4s ease-out both;
  animation-delay: var(--dim-delay, 0ms);
}
.htj-dim-row i { font-size: 14px; width: 16px; text-align: center; }
.htj-dim-label {
  font-size: 12px;
  color: var(--text-secondary);
  width: 28px;
}
.htj-dim-dots {
  display: flex;
  gap: 3px;
  flex: 1;
}
.htj-dim-dot {
  font-size: 12px;
  color: rgba(0,0,0,0.1);
  transition: color 0.3s;
}
.htj-dot-filled {
  color: var(--dot-color, var(--accent));
}
.htj-dim-score {
  font-size: 11px;
  font-weight: 700;
  width: 24px;
  text-align: right;
}
.htj-yiji-list { }
.htj-yiji-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  font-size: 12px;
  color: var(--text-secondary);
  animation: fadeInUp 0.4s ease-out both;
  animation-delay: var(--yiji-delay, 0ms);
}
.htj-yiji-badge-yi {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(39,174,96,0.1);
  color: #27AE60;
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
}
.htj-yiji-badge-ji {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(231,76,60,0.1);
  color: #E74C3C;
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
}
.htj-footer-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(0,0,0,0.02);
  border-radius: 10px;
  margin-bottom: 8px;
}
.htj-footer-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--text-secondary);
}
.htj-footer-item i { font-size: 14px; }
.htj-footer-avoid {
  color: #E74C3C;
  opacity: 0.8;
}
.htj-footer-link {
  text-align: center;
  font-size: 11px;
  color: var(--text-tertiary);
  margin-top: 4px;
}
.htj-guest-cta {
  position: relative;
  margin-top: 14px;
  padding: 16px;
  background: linear-gradient(135deg, rgba(108,92,231,0.06), rgba(241,196,15,0.04));
  border-radius: 14px;
  border: 1px solid rgba(108,92,231,0.1);
  overflow: hidden;
}
.htj-guest-cta-glow {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(108,92,231,0.12), transparent);
  border-radius: 50%;
}
.htj-guest-cta-content {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
}
.htj-guest-cta-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), #8B7CF6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  flex-shrink: 0;
}
.htj-guest-cta-info { flex: 1; }
.htj-guest-cta-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.htj-guest-cta-desc {
  font-size: 12px;
  color: var(--text-tertiary);
}
.htj-guest-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 18px;
  background: linear-gradient(135deg, var(--accent), #8B7CF6);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
  font-family: inherit;
}
.htj-guest-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(108,92,231,0.3);
}

@media (max-width: 640px) {
  .htj-info-row { grid-template-columns: repeat(2, 1fr); }
  .htj-dual-panel { grid-template-columns: 1fr; }
  .htj-header { flex-direction: column; align-items: flex-start; }
  .htj-guest-cta-content { flex-direction: column; text-align: center; }
}

/* ===== 最近活动 ===== */
.hra-section {
  padding: 16px 20px;
}
.hra-header {
  margin-bottom: 12px;
}
.hra-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}
.hra-title i { color: var(--accent); font-size: 16px; }
.hra-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hra-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.5);
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.04);
  cursor: pointer;
  transition: all 0.3s;
  animation: fadeInUp 0.4s ease-out both;
  animation-delay: var(--hra-delay, 0ms);
}
.hra-item:hover {
  background: rgba(255,255,255,0.85);
  border-color: rgba(108,92,231,0.12);
  transform: translateX(4px);
}
.hra-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.hra-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.hra-item-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}
.hra-item-desc {
  font-size: 11px;
  color: var(--text-tertiary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hra-item-time {
  font-size: 11px;
  color: var(--text-tertiary);
  flex-shrink: 0;
}
.hra-item-arrow {
  font-size: 16px;
  opacity: 0.3;
  transition: all 0.3s;
  flex-shrink: 0;
}
.hra-item:hover .hra-item-arrow {
  opacity: 0.8;
  transform: translateX(2px);
}

/* ===== 社会认证区改版 ===== */
.hsp-headline {
  text-align: center;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}
.hsp-highlight-num {
  color: var(--accent);
  font-weight: 700;
  font-size: 15px;
}

