:root {
  --brand: #ff5e62;
  --brand-2: #ff9966;
  --brand-3: #ffd166;
  --brand-glow: rgba(255, 94, 98, 0.45);
  --accent-blue: #6c63ff;
  --bg-deep: #0f0a1a;
  --bg-soft: #f4f2f8;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-solid: #ffffff;
  --text: #1a1225;
  --muted: #6b6478;
  --border: rgba(255, 255, 255, 0.12);
  --glass: rgba(255, 255, 255, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 10, 26, 0.18);
  --shadow-card: 0 12px 40px rgba(255, 94, 98, 0.12);
  --radius: 20px;
  --radius-lg: 28px;
  --header-h: 72px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg-soft);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Ambient background orbs ── */
.ambient-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: orbFloat 18s ease-in-out infinite;
}

.orb-1 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, #ff5e62, transparent 70%);
  top: -120px; right: -80px;
}

.orb-2 {
  width: 360px; height: 360px;
  background: radial-gradient(circle, #ffd166, transparent 70%);
  bottom: 10%; left: -100px;
  animation-delay: -6s;
}

.orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #6c63ff, transparent 70%);
  top: 40%; right: 20%;
  animation-delay: -12s;
  opacity: 0.2;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

.page-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding-bottom: calc(88px + env(safe-area-inset-bottom));
}

/* ── Header ── */
.top-header {
  position: sticky;
  top: 0;
  z-index: 200;
  padding: 10px 16px 0;
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 8px 32px rgba(15, 10, 26, 0.08);
}

.logo-block {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  flex-shrink: 0;
}

.logo-gem {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px var(--brand-glow);
  animation: gemPulse 3s ease-in-out infinite;
  overflow: hidden;
}

.logo-gem .logo-mark {
  width: 42px;
  height: 42px;
}

@keyframes gemPulse {
  0%, 100% { box-shadow: 0 8px 24px var(--brand-glow); }
  50% { box-shadow: 0 8px 36px rgba(255, 209, 102, 0.55); }
}

.logo-text {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.04em;
  background: linear-gradient(120deg, #ff5e62, #ff9966, #ffd166);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-sub {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 1px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-pill {
  border: none;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
}

.nav-pill:hover {
  color: var(--text);
  background: rgba(255, 94, 98, 0.08);
}

.nav-pill.active {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 6px 20px var(--brand-glow);
}

.nav-cta {
  margin-left: 8px;
  border: none;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 8px 24px var(--brand-glow);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s;
}

.nav-cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 32px var(--brand-glow);
}

/* ── Page transition ── */
.page-view {
  animation: pageIn 0.55s var(--ease-out) both;
}

@keyframes pageIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Hero ── */
.hero-mega {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px 100px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255, 94, 98, 0.25), transparent),
    linear-gradient(165deg, #0f0a1a 0%, #1a1030 40%, #2d1545 100%);
  color: #fff;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, black, transparent);
}

.hero-particles span {
  position: absolute;
  width: 4px; height: 4px;
  background: rgba(255, 209, 102, 0.8);
  border-radius: 50%;
  animation: particleRise 8s linear infinite;
}

.hero-particles span:nth-child(1) { left: 10%; animation-delay: 0s; }
.hero-particles span:nth-child(2) { left: 25%; animation-delay: 1.5s; width: 3px; height: 3px; }
.hero-particles span:nth-child(3) { left: 45%; animation-delay: 3s; }
.hero-particles span:nth-child(4) { left: 65%; animation-delay: 0.8s; width: 5px; height: 5px; }
.hero-particles span:nth-child(5) { left: 80%; animation-delay: 2.2s; }
.hero-particles span:nth-child(6) { left: 92%; animation-delay: 4s; }

@keyframes particleRise {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 0.6; }
  100% { transform: translateY(-20vh) scale(1); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 880px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 28px;
  animation: fadeUp 0.8s var(--ease-out) 0.1s both;
}

.hero-badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 12px #4ade80;
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  margin: 0;
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
  animation: fadeUp 0.8s var(--ease-out) 0.2s both;
}

.hero-title .gradient {
  display: block;
  background: linear-gradient(120deg, #fff 0%, #ffd166 50%, #ff9966 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  margin: 20px auto 36px;
  max-width: 560px;
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
  animation: fadeUp 0.8s var(--ease-out) 0.3s both;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.8s var(--ease-out) 0.4s both;
}

.btn-glow {
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: 999px;
  transition: all 0.3s var(--ease-out);
}

.btn-glow-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  box-shadow: 0 12px 40px var(--brand-glow), inset 0 1px 0 rgba(255,255,255,0.2);
}

.btn-glow-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 20px 50px var(--brand-glow);
}

.btn-glow-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}

.btn-glow-ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.4);
  font-size: 11px;
  letter-spacing: 0.15em;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Stats strip ── */
.stats-mega {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 960px;
  margin: -56px auto 48px;
  padding: 0 20px;
  position: relative;
  z-index: 10;
}

.stat-glass {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-lg);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
  animation: fadeUp 0.7s var(--ease-out) both;
}

.stat-glass:nth-child(1) { animation-delay: 0.1s; }
.stat-glass:nth-child(2) { animation-delay: 0.2s; }
.stat-glass:nth-child(3) { animation-delay: 0.3s; }

.stat-glass:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(255, 94, 98, 0.2);
}

.stat-glass .icon {
  font-size: 28px;
  margin-bottom: 8px;
}

.stat-glass .num {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-glass .label {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

/* ── Sections ── */
.section-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px 48px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.section-head-left h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-head-left p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.section-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 8px 24px var(--brand-glow);
  flex-shrink: 0;
  color: #fff;
}

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

.section-icon.warn {
  background: linear-gradient(135deg, #ef4444, #f97316);
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.35);
  animation: urgentPulse 2.5s ease-in-out infinite;
}

@keyframes urgentPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(239, 68, 68, 0.35); }
  50% { box-shadow: 0 8px 36px rgba(239, 68, 68, 0.6); }
}

.link-more {
  border: none;
  background: transparent;
  color: var(--brand);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  padding: 8px 0;
  transition: gap 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.link-more:hover { gap: 8px; }

/* ── Cards ── */
.card-premium {
  border: none !important;
  border-radius: var(--radius) !important;
  overflow: hidden;
  background: var(--surface-solid) !important;
  box-shadow: 0 4px 20px rgba(15, 10, 26, 0.06) !important;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s !important;
  animation: cardIn 0.6s var(--ease-out) both;
}

.card-premium:hover {
  transform: translateY(-8px) !important;
  box-shadow: var(--shadow-card) !important;
}

@keyframes cardIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.card-img-wrap {
  position: relative;
  overflow: hidden;
}

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center 20%;
  background: linear-gradient(135deg, #ffe8e8, #fff5eb);
  transition: transform 0.5s var(--ease-out);
}

.card-premium:hover .card-img { transform: scale(1.06); }

.card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,10,26,0.55) 0%, transparent 50%);
  pointer-events: none;
}

.missing-premium {
  border: 2px solid transparent !important;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, #ef4444, #f97316) border-box !important;
}

.missing-premium .card-img { height: 260px; }

.card-body { padding: 18px 20px 20px; }

.card-title {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.45;
}

.card-desc {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.card-footer {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.like-btn {
  border: none;
  background: linear-gradient(135deg, #fff0f0, #ffe8e8);
  color: var(--brand);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.like-btn:hover {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 6px 20px var(--brand-glow);
}

.like-btn.liked {
  animation: heartPop 0.4s var(--ease-out);
}

@keyframes heartPop {
  0% { transform: scale(1); }
  40% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* ── Rank podium ── */
.rank-hero {
  text-align: center;
  padding: 48px 20px 24px;
  background: linear-gradient(180deg, rgba(255, 209, 102, 0.12), transparent);
}

.rank-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
}

.podium {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 12px;
  max-width: 720px;
  margin: 40px auto 48px;
  padding: 0 16px;
}

.podium-item {
  flex: 1;
  max-width: 200px;
  text-align: center;
  animation: fadeUp 0.7s var(--ease-out) both;
}

.podium-item:nth-child(1) { animation-delay: 0.2s; order: 2; }
.podium-item:nth-child(2) { animation-delay: 0.1s; order: 1; }
.podium-item:nth-child(3) { animation-delay: 0.3s; order: 3; }

.podium-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: var(--shadow-lg);
  margin: 0 auto 10px;
}

.podium-item.first .podium-avatar {
  width: 96px;
  height: 96px;
  border-color: #ffd700;
  box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.3), var(--shadow-lg);
}

.podium-bar {
  border-radius: 16px 16px 0 0;
  padding: 16px 10px 20px;
  color: #fff;
  font-weight: 800;
  font-size: 1.5rem;
}

.podium-item.first .podium-bar {
  height: 120px;
  background: linear-gradient(180deg, #ffd700, #ffb800);
  font-size: 2rem;
}

.podium-item.second .podium-bar {
  height: 88px;
  background: linear-gradient(180deg, #c0c0c0, #a0a0a0);
}

.podium-item.third .podium-bar {
  height: 68px;
  background: linear-gradient(180deg, #cd7f32, #a0522d);
}

.podium-name {
  font-size: 13px;
  font-weight: 700;
  margin-top: 10px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.podium-likes {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

.rank-list-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--surface-solid);
  border-radius: var(--radius);
  margin-bottom: 12px;
  box-shadow: 0 2px 12px rgba(15, 10, 26, 0.05);
  transition: transform 0.3s var(--ease-out);
  animation: cardIn 0.5s var(--ease-out) both;
}

.rank-list-item:hover { transform: translateX(6px); }

.rank-num {
  min-width: 36px;
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--muted);
}

/* ── Map ── */
.map-visual {
  background: var(--surface-solid);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}

.map-bar-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.map-bar-label {
  width: 80px;
  font-size: 13px;
  font-weight: 600;
  text-align: right;
  flex-shrink: 0;
}

.map-bar-track {
  flex: 1;
  height: 32px;
  background: #f0edf5;
  border-radius: 999px;
  overflow: hidden;
}

.map-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--brand-3));
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 12px;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  min-width: 36px;
  transition: width 1.2s var(--ease-out);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.3);
}

.map-bar-count {
  width: 40px;
  font-size: 14px;
  font-weight: 800;
  color: var(--brand);
}

/* ── Missing page ── */
.tip-glass {
  background: linear-gradient(135deg, rgba(255, 209, 102, 0.15), rgba(255, 153, 102, 0.1));
  border: 1px solid rgba(255, 153, 102, 0.25);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 24px;
  line-height: 1.75;
  font-size: 14px;
  color: #92400e;
}

.search-glass {
  max-width: 420px;
  margin-bottom: 20px;
}

.search-glass .el-input__wrapper {
  border-radius: 999px !important;
  padding: 4px 18px !important;
  box-shadow: 0 4px 20px rgba(15, 10, 26, 0.08) !important;
}

/* ── Mine ── */
.mine-hero-card {
  max-width: 440px;
  margin: 48px auto;
  padding: 48px 32px;
  text-align: center;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(165deg, rgba(255,255,255,0.95), rgba(255,255,255,0.85));
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: hidden;
}

.mine-hero-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--brand-3), var(--accent-blue));
}

.mine-avatar-ring {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-3));
  padding: 4px;
  box-shadow: 0 12px 40px var(--brand-glow);
}

.mine-avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}

/* ── Footer ── */
.site-footer {
  margin-top: 48px;
  background: linear-gradient(180deg, rgba(15, 10, 26, 0.03), rgba(15, 10, 26, 0.08));
  padding: 0 20px calc(32px + env(safe-area-inset-bottom));
}

.footer-mega {
  max-width: 1180px;
  margin: 0 auto;
  background: var(--bg-deep);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 32px;
  padding: 40px 36px 28px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.75;
}

.footer-col h4 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 0.2s;
}

.footer-col a:hover { color: #ffd166; }

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-logo .logo-mark { width: 40px; height: 40px; }

.footer-brand {
  font-size: 18px;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(120deg, #fff, #ffd166);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-tagline {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 2px;
}

.footer-desc {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  line-height: 1.8;
}

.footer-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-trust span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-trust .svg-icon { width: 14px; height: 14px; color: #ffd166; }

.footer-muted {
  display: block;
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: 6px;
}

.footer-news-item {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-news-item:last-child { border-bottom: none; }

.footer-news-title {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 4px;
}

.footer-news-date { font-size: 11px; color: rgba(255, 255, 255, 0.35); }

.footer-bottom {
  text-align: center;
  padding: 20px 24px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.15);
}

.footer-bottom p {
  margin: 0 0 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
  color: #ffd166;
  text-decoration: none;
  font-weight: 700;
}

.footer-bottom a:hover { text-decoration: underline; }

.footer-inner {
  display: none;
}

/* ── Mobile nav ── */
.mobile-nav {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 300;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(24px) saturate(180%);
  border-radius: 24px;
  padding: 8px 6px;
  box-shadow: 0 12px 48px rgba(15, 10, 26, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.mobile-nav-item {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-family: inherit;
  font-size: 10px;
  font-weight: 600;
  padding: 8px 4px;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.25s;
}

.mobile-nav-item .nav-icon { font-size: 20px; line-height: 1; }

.mobile-nav-item.active {
  color: var(--brand);
  background: rgba(255, 94, 98, 0.1);
}

/* ── FAB ── */
.fab-publish {
  display: none;
  position: fixed;
  right: 20px;
  bottom: calc(96px + env(safe-area-inset-bottom));
  z-index: 250;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 12px 40px var(--brand-glow);
  transition: transform 0.3s var(--ease-out);
}

.fab-publish:hover { transform: scale(1.08) rotate(90deg); }

/* ── Loading ── */
.loader-screen {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.loader-logo {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: gemPulse 1.5s ease-in-out infinite;
  overflow: hidden;
}

.loader-logo .logo-mark { width: 64px; height: 64px; }

.loader-text {
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
}

.empty-state {
  text-align: center;
  padding: 64px 24px;
  color: var(--muted);
}

.empty-state .empty-icon { font-size: 48px; margin-bottom: 12px; opacity: 0.5; }

/* ── Detail page ── */
.detail-card {
  background: var(--surface-solid);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}

.detail-photo {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  min-height: 320px;
  background: #f3f4f6;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  background: transparent;
  color: var(--brand);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 20px;
  padding: 0;
}

.back-link:hover { gap: 10px; }

/* ── Deed / Missing detail ── */
.deed-detail-layout {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.deed-detail-media {
  flex: 1;
  min-width: 280px;
  max-width: 420px;
}

.deed-detail-main { flex: 2; min-width: 280px; }

.deed-detail-title {
  margin: 12px 0 16px;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  line-height: 1.4;
}

.deed-detail-tags {
  display: flex;
  align-items: center;
  gap: 12px;
}

.deed-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f0edf5;
}

.deed-detail-content h3 {
  margin: 0 0 12px;
  font-size: 1rem;
  color: var(--text);
}

.deed-detail-content p {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: #444;
  white-space: pre-wrap;
  word-break: break-word;
}

.deed-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.deed-detail-actions .btn-glow-ghost {
  background: #fff;
  color: var(--brand);
  border: 1px solid rgba(255, 94, 98, 0.35);
}

.warn-tip {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.08), rgba(255, 153, 102, 0.08)) !important;
  border-color: rgba(239, 68, 68, 0.2) !important;
  color: #991b1b !important;
  margin-bottom: 20px;
}

.missing-detail-hotline {
  margin-top: 16px;
  padding: 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff5f5, #fff9f0);
  border: 1px solid rgba(239, 68, 68, 0.15);
  font-size: 13px;
  line-height: 1.7;
  color: #666;
}

.missing-detail-hotline span {
  color: #ef4444;
  font-weight: 800;
  font-size: 1.1rem;
}

.rank-list-item .btn-detail {
  flex-shrink: 0;
  padding: 8px 14px;
  font-size: 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 94, 98, 0.25);
  background: #fff;
  color: var(--brand);
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
}

.rank-list-item .btn-detail:hover {
  background: rgba(255, 94, 98, 0.08);
}

/* ── Ticker ── */
.live-ticker {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 0;
  margin-top: 48px;
}

.ticker-track {
  display: flex;
  gap: 48px;
  animation: ticker 30s linear infinite;
  white-space: nowrap;
}

.ticker-track span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .desktop-nav, .nav-cta { display: none; }
  .mobile-nav, .fab-publish { display: flex; }
  .page-shell { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
  .stats-mega { grid-template-columns: 1fr; margin-top: -32px; }
  .podium { gap: 8px; }
  .podium-item.first .podium-avatar { width: 72px; height: 72px; }
  .hero-mega { min-height: 85vh; padding-bottom: 80px; }
  .header-inner { padding: 8px 12px; }
}

@media (min-width: 901px) {
  .mobile-nav, .fab-publish { display: none !important; }
}

/* ── SVG icons ── */
.svg-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.nav-pill-icon { margin-right: 6px; display: inline-flex; }
.nav-pill-icon .svg-icon { width: 16px; height: 16px; }

.mobile-nav-item .nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.fab-publish .svg-icon { width: 22px; height: 22px; color: #fff; }

.nav-cta .svg-icon { width: 16px; height: 16px; margin-right: 4px; }

.svg-stat .svg-icon {
  width: 28px;
  height: 28px;
  color: var(--brand);
}

.empty-icon.svg-empty .svg-icon {
  width: 48px;
  height: 48px;
  color: var(--muted);
  opacity: 0.45;
}

/* ── Platform topbar ── */
.platform-topbar {
  background: linear-gradient(90deg, #1a1030, #2d1545);
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.platform-topbar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.platform-topbar .dot { opacity: 0.35; }

/* ── Hero Pro ── */
.hero-pro {
  position: relative;
  overflow: hidden;
  color: #fff;
  min-height: auto;
  padding-bottom: 0;
}

.hero-pro-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0f0a1a 0%, #1a1030 45%, #2a1240 100%);
}

.hero-mosaic {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  opacity: 0.22;
}

.hero-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) blur(1px);
}

.hero-pro-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(15, 10, 26, 0.92) 0%, rgba(15, 10, 26, 0.78) 42%, rgba(15, 10, 26, 0.55) 100%),
    radial-gradient(circle at 80% 20%, rgba(255, 94, 98, 0.18), transparent 45%);
}

.hero-pro .hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.35;
}

.hero-pro-inner {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 20px 28px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: start;
}

.hero-title-left {
  text-align: left;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
}

.hero-desc-left {
  text-align: left;
  margin-left: 0;
  max-width: 100%;
  font-size: 15px;
}

.hero-actions-left { justify-content: flex-start; }

.hero-search {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 100%;
  margin: 24px 0 16px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 999px;
  padding: 6px 6px 6px 18px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.hero-search-icon {
  color: #999;
  display: flex;
  margin-right: 10px;
}

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

.hero-search input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  min-width: 0;
}

.hero-search button {
  border: none;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
}

.hero-chips-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  margin-right: 4px;
}

.hero-chip {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.78);
  font-family: inherit;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s;
}

.hero-chip:hover,
.hero-chip.active {
  background: rgba(255, 94, 98, 0.25);
  border-color: rgba(255, 153, 102, 0.5);
  color: #fff;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-trust .svg-icon { width: 14px; height: 14px; color: #4ade80; }

.btn-glow .svg-icon {
  width: 18px;
  height: 18px;
  margin-right: 6px;
}

.btn-glow-ghost .svg-icon { color: #fff; }

.showcase-panel {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: 16px;
  max-height: 620px;
  overflow-y: auto;
}

.showcase-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.showcase-head strong { font-size: 15px; }
.showcase-head span { font-size: 11px; color: rgba(255,255,255,0.45); }

.showcase-card {
  display: flex;
  gap: 12px;
  padding: 12px;
  margin-bottom: 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.25s;
}

.showcase-card:hover { background: rgba(255, 255, 255, 0.1); }

.showcase-card img {
  width: 88px;
  height: 88px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  background: #333;
}

.showcase-body { min-width: 0; flex: 1; }

.showcase-body h3 {
  margin: 8px 0 4px;
  font-size: 14px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.showcase-body p {
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.showcase-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 8px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.42);
}

.btn-detail {
  margin-top: 8px;
  border: none;
  background: transparent;
  color: #ffd166;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}

.btn-detail:hover { text-decoration: underline; }

.btn-detail.solid {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
}

.btn-detail.solid:hover { opacity: 0.92; text-decoration: none; }

.hero-ticker { margin-top: 0; position: relative; z-index: 2; }

.stats-mega-pro {
  grid-template-columns: repeat(4, 1fr);
  max-width: 1180px;
}

.stat-sub {
  margin-top: 6px;
  font-size: 11px;
  color: var(--muted);
}

/* ── Project feed (Alipay-style list) ── */
.project-feed {
  padding-top: 12px;
}

.feed-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.feed-title {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 900;
}

.feed-sub {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.feed-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.feed-filters .hero-chip {
  background: #fff;
  color: var(--muted);
  border-color: #e8e4ef;
}

.feed-filters .hero-chip.active {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  border-color: transparent;
}

.project-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.project-row {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 20px;
  background: var(--surface-solid);
  border-radius: var(--radius);
  box-shadow: 0 4px 24px rgba(15, 10, 26, 0.06);
  border: 1px solid rgba(15, 10, 26, 0.04);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}

.project-row:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.project-thumb img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: 14px;
  background: #f3f4f6;
}

.project-main h3 {
  margin: 8px 0;
  font-size: 1.05rem;
  line-height: 1.45;
}

.project-main p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.project-tags {
  display: flex;
  align-items: center;
  gap: 10px;
}

.project-time { font-size: 12px; color: #999; }

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 12px;
  font-size: 12px;
  color: #888;
}

.project-side {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  min-width: 120px;
}

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

/* ── News section ── */
.news-section { padding-bottom: 64px; }

.news-list {
  background: var(--surface-solid);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.news-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  border-bottom: 1px solid #f0edf5;
  transition: background 0.2s;
}

.news-row:hover { background: #faf9fc; }
.news-row:last-child { border-bottom: none; }

.news-content h4 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
}

.news-content p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
}

.news-date {
  flex-shrink: 0;
  font-size: 12px;
  color: #999;
  white-space: nowrap;
}

.search-glass-pro {
  position: relative;
  max-width: 480px;
}

.search-prefix {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  color: #999;
  pointer-events: none;
}

.search-prefix .svg-icon { width: 18px; height: 18px; }

.search-glass-pro .el-input__wrapper {
  padding-left: 44px !important;
}

.hide-mobile { display: block; }
.hide-sm { display: inline; }

@media (max-width: 900px) {
  .hero-pro-inner {
    grid-template-columns: 1fr;
    padding-top: 32px;
  }

  .hero-pro-right { order: -1; }

  .showcase-panel { max-height: none; }

  .stats-mega-pro { grid-template-columns: 1fr 1fr; }
  .hide-mobile { display: none; }

  .project-row {
    grid-template-columns: 1fr;
  }

  .project-thumb img { height: 180px; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    padding: 28px 20px;
  }

  .hide-sm { display: none; }

  .feed-toolbar { flex-direction: column; }
}

