body.mfxqpc-design-page {
  font-family: "Noto Sans SC", sans-serif;
  background: linear-gradient(135deg, #fff5f5 0%, #fffbf2 50%, #f5f7ff 100%);
  color: #4b5563;
}

.mfxqpc-design-page .font-mono {
  font-family: "JetBrains Mono", monospace;
}

.mfxqpc-design-page .glass-panel {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.04);
}

.mfxqpc-design-page .hero-warm-smooth {
  background: linear-gradient(110deg, #ff9d66 0%, #ff5e62 100%) !important;
  box-shadow: 0 10px 25px rgba(255, 94, 98, 0.2);
}

@keyframes blue-breathe {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
    box-shadow: 0 0 4px rgba(34, 211, 238, 0.4);
  }

  50% {
    transform: scale(1.3);
    opacity: 1;
    box-shadow: 0 0 12px rgba(34, 211, 238, 0.8);
  }
}

.mfxqpc-design-page .breathe-dot {
  background-color: #22d3ee;
  animation: blue-breathe 2s infinite ease-in-out;
}

.mfxqpc-design-page .app-grid {
  display: grid;
  grid-template-columns: 168px 1fr 340px;
  height: 100vh;
  padding: 16px;
  gap: 16px;
}

.mfxqpc-design-page .no-scrollbar::-webkit-scrollbar {
  display: none;
}

.mfxqpc-design-page .rank-row {
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.mfxqpc-design-page .rank-row:hover {
  transform: translateX(4px);
  background-color: white;
  border-color: rgba(251, 146, 60, 0.15);
}

.mfxqpc-design-page .podium-1 {
  transform: translateY(-8px) scale(1.05);
  z-index: 10;
}

.mfxqpc-design-page .modal-active {
  display: flex !important;
  animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.mfxqpc-design-page .index-message-modal-card {
  max-width: 534px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
}

.mfxqpc-design-page .index-message-modal-list {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding-right: 4px;
}

.mfxqpc-design-page .index-message-modal-list::-webkit-scrollbar {
  width: 6px;
}

.mfxqpc-design-page .index-message-modal-list::-webkit-scrollbar-track {
  background: rgba(241, 245, 249, 0.9);
  border-radius: 999px;
}

.mfxqpc-design-page .index-message-modal-list::-webkit-scrollbar-thumb {
  background: rgba(251, 146, 60, 0.45);
  border-radius: 999px;
}

.mfxqpc-design-page .index-message-modal-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}

.mfxqpc-design-page .index-message-page-btn {
  box-sizing: border-box;
  min-width: 78px;
  height: 34px;
  max-height: 48px;
  border-radius: 999px;
  border: 1px solid #fed7aa;
  background: #fff7ed;
  color: #ea580c;
  font-size: 12px;
  font-weight: 900;
  transition: all 0.2s ease;
}

.mfxqpc-design-page .index-message-page-btn:hover:not(:disabled) {
  background: #fb923c;
  border-color: #fb923c;
  color: #fff;
}

.mfxqpc-design-page .index-message-page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.mfxqpc-design-page .index-message-page-info {
  min-width: 70px;
  text-align: center;
  font-size: 12px;
  font-weight: 900;
  color: #94a3b8;
  font-family: "JetBrains Mono", monospace;
}

@keyframes popIn {
  from {
    transform: scale(0.9) translateY(20px);
    opacity: 0;
  }

  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.mfxqpc-design-page .orbit-grid {
  display: grid;
  grid-template-columns: repeat(28, 1fr);
  gap: 3px;
}

.mfxqpc-design-page .orbit-box {
  aspect-ratio: 1;
  border-radius: 2px;
  transition: all 0.2s;
  background: #f7d7c5;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.mfxqpc-design-page .t-data {
  font-size: 18px;
  font-weight: 900;
  color: #1e293b;
  line-height: 1.15;
  white-space: nowrap;
}

.mfxqpc-design-page .mfpc-inline-tip {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
  vertical-align: middle;
  outline: none;
}

.mfxqpc-design-page .mfpc-inline-tip-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #fff7ed;
  border: 1px solid #fdba74;
  color: #ea580c;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  cursor: help;
}

.mfxqpc-design-page .mfpc-inline-tip-bubble {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%) translateY(4px);
  min-width: 220px;
  max-width: 260px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.94);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  text-transform: none;
  letter-spacing: 0;
  white-space: normal;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 30;
}

.mfxqpc-design-page .mfpc-inline-tip-bubble::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  border-width: 6px 5px 0 5px;
  border-style: solid;
  border-color: rgba(15, 23, 42, 0.94) transparent transparent transparent;
}

.mfxqpc-design-page .mfpc-inline-tip:hover .mfpc-inline-tip-bubble,
.mfxqpc-design-page .mfpc-inline-tip:focus .mfpc-inline-tip-bubble,
.mfxqpc-design-page .mfpc-inline-tip:focus-within .mfpc-inline-tip-bubble {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

#rankPodium .podium-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

#rankPodium .podium-crown {
  font-size: 16px;
  line-height: 1;
}

#rankPodium .podium-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  font-weight: 900;
  color: #ea580c;
  overflow: hidden;
  position: relative;
}

#rankPodium .podium-avatar.is-first {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  border: 3px solid #fb923c;
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.2);
}

#rankPodium .podium-avatar.is-second,
#rankPodium .podium-avatar.is-third {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 2px solid #e2e8f0;
}

#rankPodium .podium-avatar.is-third {
  border-color: #f59e0b;
}

#rankPodium .podium-name {
  width: 72px;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
  font-size: 12px;
  font-weight: 900;
  color: #0f172a;
}

#rankPodium .podium-duration {
  margin: 0;
  font-size: 10px;
  font-weight: 700;
  color: #94a3b8;
}

#rankPodium .podium-bar {
  width: 100%;
  border-radius: 12px 12px 4px 4px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

#rankPodium .podium-bar.is-first {
  height: 34px;
  background: linear-gradient(180deg, #fb923c 0%, #f97316 100%);
}

#rankPodium .podium-bar.is-second {
  height: 24px;
  background: linear-gradient(180deg, #cbd5e1 0%, #94a3b8 100%);
}

#rankPodium .podium-bar.is-third {
  height: 18px;
  background: linear-gradient(180deg, #fcd34d 0%, #f59e0b 100%);
}

.mfxqpc-design-page .rank-avatar-fallback,
.mfxqpc-design-page .rank-avatar-image {
  width: 100%;
  height: 100%;
  display: block;
}

.mfxqpc-design-page .rank-avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
}

.mfxqpc-design-page .rank-avatar-image {
  object-fit: cover;
}

#supportBtn .support-badge {
  min-width: 16px;
  height: 16px;
  padding: 0 5px;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

#rankList .rank-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 6px;
  border-radius: 12px;
  cursor: pointer;
}

#rankList .rank-no {
  width: 16px;
  font-size: 12px;
  font-style: italic;
  color: #cbd5e1;
  transition: color 0.3s ease;
}

#rankList .rank-item:hover .rank-no {
  color: #0f172a;
}

#rankList .rank-avatar {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  color: #ea580c;
}

#rankList .rank-meta {
  min-width: 0;
  flex: 1;
}

#rankList .rank-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#myRankCard .rank-self-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

#myRankCard .rank-self-title {
  margin: 0;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  opacity: 0.78;
  text-transform: uppercase;
}

#myRankCard .rank-self-main {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  text-align: right;
}

#myRankCard .rank-self-tip {
  margin: 4px 0 0;
  font-size: 12px;
  opacity: 0.9;
}

#quoteGrid .orbit-box.level-0 {
  background: rgba(255, 237, 213, 0.95);
}

#quoteGrid .orbit-box.level-1 {
  background: #fdba74;
}

#quoteGrid .orbit-box.level-2 {
  background: #fb923c;
}

#quoteGrid .orbit-box.level-3 {
  background: #f97316;
}

#quoteGrid .orbit-box.level-4 {
  background: #ea580c;
  box-shadow: 0 0 8px rgba(234, 88, 12, 0.28);
}

.trend-report-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: min(65vh, 560px);
  overflow-y: auto;
  padding-right: 4px;
}

.trend-report-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid #fed7aa;
  border-radius: 20px;
  background: linear-gradient(180deg, #fffaf5 0%, #ffffff 100%);
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.06);
}

.trend-report-date-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.trend-report-index {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #fff7ed;
  color: #f97316;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  font-family: "JetBrains Mono", monospace;
}

.trend-report-date {
  color: #0f172a;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.trend-report-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  color: #f97316;
  font-size: 12px;
  font-weight: 800;
}

.trend-report-empty {
  padding: 28px 24px;
  border-radius: 24px;
  border: 1px dashed #fdba74;
  background: #fff7ed;
  color: #9a3412;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

@media (max-width: 1280px) {
  .mfxqpc-design-page .app-grid {
    grid-template-columns: 154px 1fr 300px;
  }

  .trend-report-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .trend-report-meta {
    justify-content: flex-start;
  }
}

/* 首页邀请弹窗：动态二维码 canvas */
.share-invite-qr-canvas {
  display: block;
  width: 220px;
  height: 220px;
  vertical-align: top;
}

.share-invite-qr-caption {
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}

.share-invite-url-label {
  margin: 0 0 6px 2px;
  font-size: 11px;
  font-weight: 900;
  color: #94a3b8;
  letter-spacing: 0.04em;
}
