/* TG搜搜 · 极致精致简约主题 v3.3
 * Linear / Vercel 级微拟物与现代磨砂玻璃质感规范
 */

:root {
  --bg: #080c14;
  --bg-subtle: #0c1322;
  --bg-card: rgba(18, 26, 44, 0.6);
  --bg-card-hover: rgba(26, 38, 64, 0.75);
  --bg-input: rgba(14, 21, 37, 0.75);
  --border: rgba(255, 255, 255, 0.08);
  --border-hi: rgba(56, 189, 248, 0.4);
  --border-glass: inset 0 1px 0 rgba(255, 255, 255, 0.09);
  --text: #f8fafc;
  --text-2: #cbd5e1;
  --text-dim: #94a3b8;
  --text-faint: #64748b;
  --primary: #2563eb;
  --primary-hi: #3b82f6;
  --primary-soft: rgba(37, 99, 235, 0.12);
  --cyan: #38bdf8;
  --cyan-soft: rgba(56, 189, 248, 0.1);
  --cyan-glow: rgba(56, 189, 248, 0.25);
  --success: #10b981;
  --success-soft: rgba(16, 185, 129, 0.12);
  --warning: #f59e0b;
  --warning-soft: rgba(245, 158, 11, 0.12);
  --danger: #ef4444;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 9999px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 50px -12px rgba(0, 0, 0, 0.7);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-mono: "SF Mono", "Fira Code", "Cascadia Code", Menlo, monospace;
}

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

html {
  background-color: var(--bg);
  scroll-behavior: smooth;
}

::selection {
  background: rgba(56, 189, 248, 0.3);
  color: #ffffff;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #080c14;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.25);
}

body {
  font-family: var(--font);
  background-color: var(--bg);
  background-image:
    radial-gradient(1000px 520px at 50% -80px, rgba(56, 189, 248, 0.11), rgba(99, 102, 241, 0.04) 50%, transparent 100%),
    radial-gradient(circle at 90% 25%, rgba(56, 189, 248, 0.03) 0, transparent 450px),
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select {
  font-family: inherit;
  outline: none;
  border: none;
}

/* ======================== 顶部导航栏 ======================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 12, 20, 0.82);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  flex-shrink: 0;
  cursor: pointer;
  user-select: none;
}

.logo-mark {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  color: #fff;
  font-size: 11px;
  padding: 5px 9px;
  border-radius: 8px;
  font-weight: 800;
  letter-spacing: 0.5px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 2px 10px rgba(37, 99, 235, 0.4);
}

.logo-text {
  color: var(--text);
  letter-spacing: 0.2px;
  font-weight: 700;
}

.nav-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  font-size: 11.5px;
  color: var(--text-dim);
  margin-left: 4px;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: var(--border-glass);
}

.nav-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--success);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.nav-links {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}

.nav-links a {
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  position: relative;
  cursor: pointer;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-links a.active {
  color: var(--cyan);
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  font-weight: 600;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.15);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex-shrink: 0;
}

.nav-chan-link {
  font-size: 12.5px;
  color: #34d399;
  padding: 5px 14px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.nav-chan-link:hover {
  background: rgba(16, 185, 129, 0.16);
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.25);
}

.nav-search {
  display: flex;
  gap: 6px;
  align-items: center;
}

.nav-search input {
  width: 170px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  padding: 7px 14px;
  color: var(--text);
  font-size: 12.5px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
}

.nav-search input:focus {
  width: 210px;
  border-color: var(--cyan);
  background: rgba(15, 23, 42, 0.85);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.18), inset 0 1px 2px rgba(0, 0, 0, 0.3);
}

.nav-search input::placeholder {
  color: var(--text-faint);
}

.btn-search {
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  padding: 4px 6px;
  transition: transform 0.15s ease;
}

.btn-search:hover {
  transform: scale(1.15);
}

/* ======================== 首页 Hero ======================== */
.hero {
  padding: 64px 20px 32px;
  text-align: center;
  position: relative;
}

/* 顶部微型胶囊公告标签 */
.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(56, 189, 248, 0.07);
  border: 1px solid rgba(56, 189, 248, 0.22);
  padding: 5px 16px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  color: #7dd3fc;
  margin-bottom: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 4px 16px rgba(56, 189, 248, 0.12);
  transition: all 0.2s ease;
  user-select: none;
}

.hero-chip:hover {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-1px);
}

.chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

.chip-arrow {
  font-size: 12px;
  opacity: 0.7;
  transition: transform 0.2s ease;
}

.hero-chip:hover .chip-arrow {
  transform: translateX(3px);
  opacity: 1;
}

.hero h1 {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.22;
  color: #ffffff;
  margin-bottom: 14px;
}

.text-gradient {
  background: linear-gradient(135deg, #38bdf8 0%, #60a5fa 45%, #a855f7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 15.5px;
  color: var(--text-dim);
  letter-spacing: 0.5px;
  font-weight: 400;
}

/* 核心命令级搜索栏 */
.hero-search {
  max-width: 680px;
  height: 58px;
  margin: 32px auto 0;
  position: relative;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(20, 29, 48, 0.8) 0%, rgba(13, 20, 36, 0.8) 100%);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-pill);
  padding: 6px 7px 6px 18px;
  gap: 10px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 16px 40px -10px rgba(0, 0, 0, 0.65),
    0 0 24px -2px rgba(56, 189, 248, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-search:focus-within {
  border-color: var(--cyan);
  box-shadow:
    0 0 0 1px rgba(56, 189, 248, 0.4),
    0 0 0 4px rgba(56, 189, 248, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 20px 50px -8px rgba(0, 0, 0, 0.75);
  background: linear-gradient(180deg, rgba(25, 37, 60, 0.9) 0%, rgba(16, 25, 44, 0.9) 100%);
}

.search-glass-icon {
  width: 20px;
  height: 20px;
  stroke: #64748b;
  flex-shrink: 0;
  transition: stroke 0.2s ease;
}

.hero-search:focus-within .search-glass-icon {
  stroke: var(--cyan);
}

.hero-search input {
  flex: 1;
  background: transparent;
  color: #ffffff;
  font-size: 15px;
  padding: 8px 0;
  caret-color: var(--cyan);
}

.hero-search input::placeholder {
  color: #64748b;
  font-size: 14.5px;
}

.search-kbd {
  font-size: 11px;
  color: #64748b;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 3px 8px;
  font-family: var(--font-mono);
  user-select: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  color: #ffffff;
  border-radius: var(--radius-pill);
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 4px 14px rgba(37, 99, 235, 0.4);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 6px 22px rgba(37, 99, 235, 0.6);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 12.5px;
}

.btn-lg {
  padding: 12px 28px;
  font-size: 15px;
}

/* 热门搜索标签 */
.hero-tags {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags-label {
  color: var(--text-faint);
  font-size: 12px;
  font-weight: 500;
  margin-right: 2px;
}

.hero-tags span {
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--text-2);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--border-glass);
}

.hero-tags span:hover {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.35);
  color: var(--cyan);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.15);
}

/* 数据看板入口 Banner */
.hero-chart-entry {
  margin-top: 22px;
  display: flex;
  justify-content: center;
}

.hero-chart-banner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #34d399;
  padding: 7px 20px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 500;
  transition: all 0.2s ease;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-chart-banner:hover {
  background: rgba(16, 185, 129, 0.16);
  border-color: rgba(16, 185, 129, 0.45);
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.25);
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
  animation: livePulse 2s infinite ease-in-out;
}

@keyframes livePulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

/* ======================== 统计条 ======================== */
.stats-bar {
  max-width: 960px;
  margin: 34px auto 0;
  padding: 18px 24px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  background: linear-gradient(180deg, rgba(20, 29, 48, 0.65) 0%, rgba(13, 20, 36, 0.65) 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--border-glass), var(--shadow);
}

.stat {
  text-align: center;
  position: relative;
  padding: 6px 10px;
  border-radius: 12px;
  transition: background 0.2s ease;
}

.stat:hover {
  background: rgba(255, 255, 255, 0.03);
}

.stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255, 255, 255, 0.06);
}

.stat-indicator {
  font-size: 13px;
  display: block;
  margin-bottom: 2px;
  opacity: 0.85;
}

.live-pulse-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 6px var(--success);
  animation: livePulse 2s infinite ease-in-out;
  margin-bottom: 6px;
}

.stat b {
  font-size: 26px;
  display: block;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: -0.5px;
  font-family: var(--font-mono);
  line-height: 1.15;
}

.stat span {
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.5px;
  font-weight: 500;
  margin-top: 4px;
  display: block;
}

.stat-link {
  transition: transform 0.2s ease;
}

.stat-link:hover {
  transform: translateY(-2px);
}

.stat-highlight {
  color: var(--cyan) !important;
  text-shadow: 0 0 16px rgba(56, 189, 248, 0.35);
}

.stat-highlight-sub {
  color: var(--cyan) !important;
}

/* ======================== 分类网格 ======================== */
.cat-section {
  max-width: 1040px;
  margin: 32px auto 0;
  padding: 0 16px;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 14px;
}

.cat-card {
  background: linear-gradient(180deg, rgba(22, 31, 50, 0.5) 0%, rgba(15, 22, 38, 0.5) 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 18px 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--border-glass), 0 4px 16px rgba(0, 0, 0, 0.2);
}

.cat-card:hover {
  background: linear-gradient(180deg, rgba(32, 45, 72, 0.7) 0%, rgba(20, 29, 49, 0.7) 100%);
  border-color: var(--border-hi);
  transform: translateY(-3px);
  box-shadow: var(--border-glass), 0 12px 28px -4px rgba(0, 0, 0, 0.5), 0 0 16px -2px rgba(56, 189, 248, 0.2);
}

.cat-icon {
  font-size: 26px;
  display: block;
  margin-bottom: 8px;
  transition: transform 0.25s ease;
}

.cat-card:hover .cat-icon {
  transform: scale(1.18);
}

.cat-label {
  font-size: 13px;
  color: var(--text-2);
  font-weight: 600;
  letter-spacing: 0.2px;
}

/* ======================== 标题规范 ======================== */
.section-badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--cyan);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.22);
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 10px;
  user-select: none;
}

.section-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text);
  text-align: center;
  margin-bottom: 6px;
}

.section-sub {
  font-size: 14px;
  color: var(--text-dim);
  text-align: center;
  margin-bottom: 30px;
  letter-spacing: 0.2px;
}

/* ==================== 一体化面板 (hub) ==================== */
.hub {
  max-width: 1040px;
  margin: 64px auto 0;
  padding: 0 16px;
}

.hub-head {
  text-align: center;
  margin-bottom: 28px;
}

.hub-stats {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-bottom: 26px;
}

.hub-stat {
  background: linear-gradient(180deg, rgba(20, 29, 48, 0.45) 0%, rgba(13, 20, 36, 0.45) 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 16px 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
  backdrop-filter: blur(12px);
  box-shadow: var(--border-glass);
}

.hub-stat b {
  font-size: 20px;
  font-weight: 700;
  color: var(--cyan);
  font-family: var(--font-mono);
}

.hub-stat span {
  font-size: 11px;
  color: var(--text-faint);
  font-weight: 500;
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.hub-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(180deg, rgba(22, 31, 50, 0.55) 0%, rgba(15, 22, 38, 0.55) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 22px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(14px);
  box-shadow: var(--border-glass), var(--shadow-sm);
}

.hub-card:hover {
  background: linear-gradient(180deg, rgba(30, 43, 68, 0.7) 0%, rgba(20, 28, 48, 0.7) 100%);
  border-color: var(--border-hi);
  transform: translateY(-2px);
  box-shadow: var(--border-glass), var(--shadow), 0 0 20px -4px rgba(56, 189, 248, 0.18);
}

.hub-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.15) 0%, rgba(37, 99, 235, 0.06) 100%);
  border: 1px solid rgba(56, 189, 248, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 23px;
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

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

.hub-body h4 {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.hub-body p {
  font-size: 12.5px;
  color: var(--text-dim);
  line-height: 1.48;
}

.hub-go {
  font-size: 16px;
  color: var(--text-faint);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.hub-card:hover .hub-go {
  color: var(--cyan);
  transform: translateX(4px);
}

.hub-market {
  margin-top: 26px;
  background: linear-gradient(180deg, rgba(20, 29, 48, 0.5) 0%, rgba(13, 20, 36, 0.5) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 22px;
  backdrop-filter: blur(12px);
  box-shadow: var(--border-glass);
}

.hub-market-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.hub-market-head a {
  color: var(--cyan);
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.15s;
}

.hub-market-head a:hover {
  color: #7dd3fc;
}

.hub-market-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.hm-item {
  background: rgba(14, 21, 37, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  box-shadow: var(--border-glass);
}

.hm-title {
  font-size: 13px;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hm-meta {
  font-size: 11px;
  color: var(--text-faint);
}

.hm-meta a {
  color: var(--cyan);
  text-decoration: none;
}

/* ==================== 今日热搜 / 新收录 ==================== */
.hot-sec {
  max-width: 1040px;
  margin: 64px auto 0;
  padding: 0 16px;
}

.hot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.hot-card {
  background: linear-gradient(180deg, rgba(22, 31, 50, 0.5) 0%, rgba(15, 22, 38, 0.5) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 18px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(12px);
  box-shadow: var(--border-glass);
}

.hot-card:hover {
  border-color: var(--warning);
  background: linear-gradient(180deg, rgba(32, 44, 68, 0.65) 0%, rgba(22, 30, 48, 0.65) 100%);
  transform: translateY(-2px);
  box-shadow: var(--border-glass), var(--shadow), 0 0 16px -2px rgba(245, 158, 11, 0.2);
}

.hot-word {
  font-size: 15.5px;
  color: var(--text);
  font-weight: 700;
}

.hot-count {
  font-size: 11px;
  color: var(--warning);
  font-weight: 500;
}

.hot-chan {
  font-size: 11px;
  color: var(--text-faint);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 8px;
  margin-top: 4px;
}

.fresh-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.fresh-card {
  background: linear-gradient(180deg, rgba(22, 31, 50, 0.5) 0%, rgba(15, 22, 38, 0.5) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 16px 18px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(12px);
  box-shadow: var(--border-glass);
}

.fresh-card:hover {
  border-color: var(--success);
  background: linear-gradient(180deg, rgba(30, 43, 66, 0.65) 0%, rgba(20, 29, 46, 0.65) 100%);
  transform: translateY(-2px);
  box-shadow: var(--border-glass), var(--shadow), 0 0 16px -2px rgba(16, 185, 129, 0.2);
}

.fresh-card b {
  font-size: 14px;
  color: var(--text);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fresh-card span {
  font-size: 11.5px;
  color: var(--text-faint);
}

/* ==================== 数据展示 (数据即资产) ==================== */
.data-showcase {
  max-width: 1040px;
  margin: 64px auto 0;
  padding: 0 16px;
}

.data-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 26px;
}

.data-card {
  background: linear-gradient(180deg, rgba(22, 31, 50, 0.55) 0%, rgba(15, 22, 38, 0.55) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 26px 20px;
  text-align: center;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(14px);
  box-shadow: var(--border-glass);
}

.data-card:hover {
  border-color: var(--border-hi);
  background: linear-gradient(180deg, rgba(30, 42, 68, 0.7) 0%, rgba(20, 28, 48, 0.7) 100%);
  transform: translateY(-2px);
  box-shadow: var(--border-glass), var(--shadow), 0 0 20px -4px rgba(56, 189, 248, 0.18);
}

.data-num {
  font-size: 30px;
  font-weight: 700;
  color: var(--cyan);
  font-family: var(--font-mono);
  letter-spacing: -0.5px;
}

.data-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin: 10px 0 5px;
}

.data-card p {
  font-size: 12px;
  color: var(--text-faint);
  margin: 0;
  line-height: 1.48;
}

/* ======================== 信任标签 ======================== */
.trust-bar {
  max-width: 1040px;
  margin: 64px auto 0;
  padding: 0 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.trust-card {
  background: linear-gradient(180deg, rgba(20, 29, 48, 0.45) 0%, rgba(13, 20, 36, 0.45) 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  backdrop-filter: blur(12px);
  box-shadow: var(--border-glass);
}

.trust-icon {
  font-size: 30px;
  flex-shrink: 0;
}

.trust-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
}

.trust-card p {
  font-size: 12px;
  color: var(--text-faint);
}

/* ======================== 搜索结果页 ======================== */
.search-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 36px 20px;
}

.search-header {
  margin-bottom: 24px;
}

.search-header h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text);
}

.search-controls {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.kind-tabs {
  display: flex;
  gap: 6px;
}

.kind-tabs button {
  background: rgba(17, 24, 39, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-dim);
  border-radius: var(--radius-pill);
  padding: 6px 18px;
  font-size: 12.5px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
  box-shadow: var(--border-glass);
}

.kind-tabs button:hover {
  border-color: var(--border-hi);
  color: var(--text-2);
}

.kind-tabs button.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.4);
}

.sort-select {
  background: rgba(17, 24, 39, 0.65);
  color: var(--text-2);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-pill);
  padding: 7px 16px;
  font-size: 12.5px;
  margin-left: auto;
  cursor: pointer;
  outline: none;
  box-shadow: var(--border-glass);
}

.sort-select:focus {
  border-color: var(--cyan);
}

.count {
  font-size: 12.5px;
  color: var(--text-faint);
  margin-top: 12px;
}

.results-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.result-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(20, 29, 48, 0.45) 0%, rgba(13, 20, 36, 0.45) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  color: inherit;
  box-shadow: var(--border-glass);
}

.result-row:hover {
  background: linear-gradient(180deg, rgba(30, 43, 68, 0.65) 0%, rgba(20, 29, 48, 0.65) 100%);
  border-color: rgba(56, 189, 248, 0.3);
  transform: translateY(-1px);
  box-shadow: var(--border-glass), 0 8px 24px -4px rgba(0, 0, 0, 0.5);
}

.result-avatar {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 17px;
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.avatar-channel { background: linear-gradient(135deg, #0284c7, #2563eb); }
.avatar-group { background: linear-gradient(135deg, #7c3aed, #a78bfa); }
.avatar-bot { background: linear-gradient(135deg, #059669, #34d399); }

.result-info {
  flex: 1;
  min-width: 0;
}

.result-title {
  font-size: 14.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.result-title .kind-icon {
  font-size: 13px;
  opacity: 0.8;
}

.result-members {
  margin-left: auto;
  font-size: 13.5px;
  color: var(--cyan);
  font-weight: 600;
  white-space: nowrap;
  font-family: var(--font-mono);
}

.result-user {
  font-size: 11.5px;
  color: var(--text-faint);
  margin-top: 3px;
}

.result-desc {
  font-size: 12.5px;
  color: var(--text-dim);
  margin-top: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.result-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  padding: 1px 7px;
  border-radius: var(--radius-pill);
  margin-left: 6px;
  font-weight: 600;
}

.badge-new { background: var(--cyan-soft); color: var(--cyan); }
.badge-quality { background: var(--warning-soft); color: var(--warning); }

.pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 36px 0;
}

.pager button {
  background: rgba(17, 24, 39, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-dim);
  border-radius: var(--radius-pill);
  padding: 8px 20px;
  cursor: pointer;
  font-size: 12.5px;
  transition: all 0.2s;
  box-shadow: var(--border-glass);
}

.pager button:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.pager-info {
  font-size: 12px;
  color: var(--text-faint);
  padding: 0 8px;
}

.result-bots {
  margin-top: 40px;
  padding: 26px;
  background: linear-gradient(180deg, rgba(20, 29, 48, 0.5) 0%, rgba(13, 20, 36, 0.5) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--border-glass);
}

.result-bots h3 {
  font-size: 13.5px;
  margin-bottom: 16px;
  color: var(--text-faint);
  font-weight: 500;
  letter-spacing: 0.5px;
}

.result-bots-row {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.rbot-chip {
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-dim);
  transition: all 0.2s;
}

.rbot-chip:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

/* ======================== 排行榜 ======================== */
.ranking-page {
  max-width: 860px;
  margin: 36px auto 40px;
  padding: 0 20px;
}

.rank-badge {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-2);
  flex-shrink: 0;
}

.rank-badge.top3 {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #000;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
}

/* ==================== 担保市场 ==================== */
.market-page {
  max-width: 1040px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

.market-head {
  text-align: center;
  margin-bottom: 28px;
}

.market-head h2 {
  font-size: 26px;
  margin: 0 0 8px;
  color: var(--text);
  font-weight: 800;
}

.market-head p {
  font-size: 13.5px;
  color: var(--text-dim);
  margin: 0 0 22px;
}

.market-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 26px;
}

.ms {
  background: linear-gradient(180deg, rgba(20, 29, 48, 0.5) 0%, rgba(13, 20, 36, 0.5) 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-sm);
  padding: 14px 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
  box-shadow: var(--border-glass);
}

.ms b {
  font-size: 19px;
  color: var(--success);
  font-family: var(--font-mono);
}

.ms span {
  font-size: 11px;
  color: var(--text-faint);
}

.market-cats {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.market-cats button {
  background: rgba(17, 24, 39, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-dim);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  cursor: pointer;
  transition: all .2s;
  box-shadow: var(--border-glass);
}

.market-cats button:hover {
  border-color: var(--primary);
  color: var(--text);
}

.market-cats button.active {
  background: var(--primary-soft);
  border-color: var(--primary);
  color: var(--primary-hi);
  font-weight: 600;
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
}

.market-card {
  background: linear-gradient(180deg, rgba(22, 31, 50, 0.55) 0%, rgba(15, 22, 38, 0.55) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(14px);
  box-shadow: var(--border-glass);
}

.market-card:hover {
  border-color: var(--border-hi);
  transform: translateY(-2px);
  box-shadow: var(--border-glass), var(--shadow);
}

.mc-cat {
  font-size: 10.5px;
  color: var(--cyan);
  background: var(--cyan-soft);
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-weight: 500;
}

.market-card h3 {
  margin: 0;
  font-size: 15px;
  color: var(--text);
  line-height: 1.42;
  min-height: 42px;
  font-weight: 600;
}

.mc-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--success);
  font-family: var(--font-mono);
}

.mc-price span {
  font-size: 12px;
  color: var(--text-faint);
}

.mc-meta {
  font-size: 11px;
  color: var(--text-faint);
}

.mc-chan {
  font-size: 11px;
  color: var(--cyan);
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mc-buy {
  margin-top: auto;
  display: block;
  text-align: center;
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  color: #fff;
  padding: 10px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: opacity .2s, transform .2s;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 4px 12px rgba(37, 99, 235, 0.35);
}

.mc-buy:hover {
  opacity: 0.94;
  transform: translateY(-1px);
}

/* ======================== 机器人生态详情页 ======================== */
.bots-page {
  max-width: 1040px;
  margin: 0 auto;
  padding: 48px 20px;
  text-align: center;
}

.bot-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  text-align: left;
  margin-top: 36px;
}

.bot-detail-card {
  background: linear-gradient(180deg, rgba(22, 31, 50, 0.55) 0%, rgba(15, 22, 38, 0.55) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(14px);
  box-shadow: var(--border-glass);
}

.bot-detail-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--cyan));
  opacity: 0;
  transition: opacity 0.25s;
}

.bot-detail-card:hover {
  border-color: var(--border-hi);
  transform: translateY(-3px);
  box-shadow: var(--border-glass), var(--shadow);
}

.bot-detail-card:hover::before {
  opacity: 1;
}

.bd-icon {
  font-size: 34px;
  margin-bottom: 16px;
}

.bot-detail-card h3 {
  font-size: 17.5px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.bd-desc {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.65;
  margin-bottom: 18px;
}

.bd-features {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.bd-features li {
  padding: 7px 0;
  font-size: 12.5px;
  color: var(--text-dim);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  gap: 8px;
}

.bd-features li::before {
  content: "✓";
  color: var(--success);
  font-weight: 700;
  font-size: 12px;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--success-soft);
  border-radius: 50%;
  flex-shrink: 0;
}

.bd-features li:last-child {
  border-bottom: none;
}

/* ======================== 使用指南 ======================== */
.guide {
  max-width: 880px;
  margin: 0 auto;
  padding: 48px 20px;
}

.guide h2 {
  font-size: 28px;
  text-align: center;
  font-weight: 800;
  margin-bottom: 8px;
  background: linear-gradient(180deg, #ffffff 30%, #60a5fa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  width: 100%;
}

.guide-sub {
  text-align: center;
  color: var(--text-dim);
  margin-bottom: 40px;
  font-size: 14px;
}

.guide-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}

.step {
  background: linear-gradient(180deg, rgba(22, 31, 50, 0.5) 0%, rgba(15, 22, 38, 0.5) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 26px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(12px);
  box-shadow: var(--border-glass);
}

.step:hover {
  border-color: var(--border-hi);
  transform: translateY(-3px);
  box-shadow: var(--border-glass), var(--shadow);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284c7, #2563eb);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 4px 14px rgba(37, 99, 235, 0.35);
}

.step h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.step p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
}

.guide-tips {
  background: linear-gradient(180deg, rgba(20, 29, 48, 0.45) 0%, rgba(13, 20, 36, 0.45) 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  padding: 26px;
  backdrop-filter: blur(12px);
  box-shadow: var(--border-glass);
}

.guide-tips h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text);
}

.guide-tips ul {
  list-style: none;
  padding: 0;
}

.guide-tips li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-dim);
  font-size: 13px;
}

.guide-tips li:last-child {
  border-bottom: none;
}

.guide-tips code {
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.2);
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 12px;
  color: var(--cyan);
  font-family: var(--font-mono);
}

/* ======================== 详情页 ======================== */
.detail {
  max-width: 760px;
  margin: 0 auto;
  padding: 36px 20px;
}

.btn-back {
  background: none;
  border: none;
  color: var(--text-faint);
  cursor: pointer;
  font-size: 13px;
  margin-bottom: 18px;
  transition: color 0.15s;
  display: flex;
  align-items: center;
  gap: 4px;
}

.btn-back:hover {
  color: var(--cyan);
}

.detail-hero {
  display: flex;
  align-items: center;
  gap: 18px;
  background: linear-gradient(180deg, rgba(22, 31, 50, 0.55) 0%, rgba(15, 22, 38, 0.55) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 18px;
  backdrop-filter: blur(14px);
  box-shadow: var(--border-glass);
}

.d-avatar {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #0284c7, #2563eb);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 4px 16px rgba(37, 99, 235, 0.35);
}

.detail-meta {
  flex: 1;
}

.detail-hero h2 {
  font-size: 18px;
  margin-bottom: 4px;
  font-weight: 700;
  color: var(--text);
}

.detail-hero p {
  color: var(--text-dim);
  font-size: 13px;
}

.detail-tags {
  display: flex;
  gap: 6px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.detail-tags span {
  font-size: 11px;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  background: var(--primary-soft);
  color: var(--cyan);
  border: 1px solid rgba(59, 130, 246, 0.15);
}

.detail-hero .btn-primary {
  margin-left: auto;
  flex-shrink: 0;
}

.detail-body {
  background: linear-gradient(180deg, rgba(22, 31, 50, 0.55) 0%, rgba(15, 22, 38, 0.55) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 28px;
  backdrop-filter: blur(14px);
  box-shadow: var(--border-glass);
}

.detail-body h3 {
  font-size: 15px;
  margin-bottom: 14px;
  font-weight: 700;
  color: var(--text);
}

.detail-body p {
  color: var(--text-dim);
  line-height: 1.8;
  font-size: 14px;
}

/* ==================== 搜索竞价广告位 ==================== */
.promo-row {
  border-color: rgba(255, 193, 7, 0.45) !important;
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.08), transparent 60%), rgba(17, 24, 39, 0.6) !important;
  position: relative;
}

.promo-row:hover {
  border-color: var(--warning) !important;
  box-shadow: 0 0 0 1px rgba(255, 193, 7, 0.25);
}

.promo-row::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--warning);
}

.avatar-ad {
  background: rgba(255, 193, 7, 0.15) !important;
  color: var(--warning) !important;
  font-size: 20px;
}

.ad-flag {
  font-size: 10px;
  color: var(--warning);
  border: 1px solid rgba(255, 193, 7, 0.45);
  border-radius: 3px;
  padding: 1px 5px;
  margin-left: 8px;
  vertical-align: middle;
  font-weight: 500;
  letter-spacing: .5px;
}

/* ==================== 推广投放页 ==================== */
.promo-page {
  max-width: 1040px;
  margin: 0 auto;
  padding: 36px 20px 64px;
}

.promo-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 22px 0 20px;
}

.promo-metric {
  background: linear-gradient(180deg, rgba(20, 29, 48, 0.5) 0%, rgba(13, 20, 36, 0.5) 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  text-align: center;
  box-shadow: var(--border-glass);
}

.promo-metric b {
  display: block;
  font-size: 24px;
  color: var(--cyan);
  font-weight: 700;
  font-family: var(--font-mono);
}

.promo-metric span {
  font-size: 12px;
  color: var(--text-faint);
}

.promo-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.promo-card {
  background: linear-gradient(180deg, rgba(22, 31, 50, 0.5) 0%, rgba(15, 22, 38, 0.5) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 22px;
  margin-bottom: 16px;
  backdrop-filter: blur(12px);
  box-shadow: var(--border-glass);
}

.promo-card h3 {
  margin: 0 0 14px;
  font-size: 15px;
  color: var(--text);
  font-weight: 700;
}

.promo-list {
  margin: 0;
  padding-left: 18px;
}

.promo-list li {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.9;
}

.promo-list b {
  color: var(--text);
}

.promo-price-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.promo-price-row span {
  color: var(--text-dim);
}

.promo-price-row b {
  color: var(--text);
  font-family: var(--font-mono);
}

.promo-note {
  font-size: 12px;
  color: var(--text-dim);
  margin: 12px 0 0;
}

.promo-cta {
  background: linear-gradient(135deg, rgba(255, 193, 7, .1), transparent 65%), rgba(17, 24, 39, 0.6);
  border: 1px solid rgba(255, 193, 7, .35);
  border-radius: var(--radius-sm);
  padding: 22px;
  text-align: center;
  margin-bottom: 16px;
}

.promo-cta p {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--text-dim);
}

.promo-cta code {
  background: rgba(255, 193, 7, .15);
  color: var(--warning);
  padding: 2px 8px;
  border-radius: 4px;
  font-family: var(--font-mono);
}

.promo-kw {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.promo-kw-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 14px;
  background: rgba(37, 99, 235, .12);
  border: 1px solid rgba(37, 99, 235, .3);
  color: var(--text);
}

.promo-kw-item i {
  font-style: normal;
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 11px;
}

/* ======================== 页脚 ======================== */
.footer {
  margin-top: 80px;
  padding: 48px 20px 52px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  text-align: center;
  background: linear-gradient(180deg, transparent 0%, rgba(8, 12, 20, 0.8) 100%);
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}

.footer-brand .logo-mark {
  font-size: 10px;
  padding: 4px 7px;
}

.footer-brand span {
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.2px;
}

.footer-bots {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.footer-bots a {
  font-size: 12.5px;
  color: var(--text-faint);
  transition: color 0.15s;
}

.footer-bots a:hover {
  color: var(--cyan);
}

.footer-sub {
  color: var(--text-dim);
  font-size: 13px;
}

.footer-fine {
  font-size: 11px;
  color: var(--text-faint);
  margin-top: 8px;
  letter-spacing: 0.5px;
}

.empty {
  text-align: center;
  padding: 72px 0;
  color: var(--text-faint);
  font-size: 14px;
}

.muted {
  color: var(--text-faint);
}

/* ======================== 响应式适配 ======================== */
@media (max-width: 1180px) {
  .nav-badge { display: none; }
  .hub-stats { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
  .nav-badge { display: none; }
  .nav-chan-link { display: none; }
  .nav-inner { gap: 10px; padding: 0 16px; }
  .nav-links { gap: 2px; }
  .nav-links a { padding: 5px 8px; font-size: 12px; }
  .nav-search input { width: 130px; }
  .nav-search input:focus { width: 160px; }
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .hub-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-bar { grid-template-columns: 1fr; }
  .data-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .market-stats { grid-template-columns: repeat(3, 1fr); }
  .hub-market-row { grid-template-columns: repeat(2, 1fr); }
  .hot-grid, .fresh-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-badge { display: none; }
  .nav-chan-link { display: none; }
  .nav-inner { gap: 10px; padding: 0 14px; justify-content: space-between; }
  .nav-right { margin-left: 0; }
  .nav-search input { width: 140px; max-width: 45vw; }
  .nav-search input:focus { width: 170px; max-width: 55vw; }
  
  .hero { padding: 48px 16px 24px; }
  .hero h1 { font-size: 32px; }
  .hero-sub { font-size: 13px; }
  .hero-search { margin: 24px auto 0; padding: 4px 6px 4px 16px; height: 50px; }
  .search-kbd { display: none; }
  
  .stats-bar {
    grid-template-columns: repeat(3, 1fr);
    padding: 14px;
    gap: 12px;
  }
  .stat:not(:last-child)::after { display: none; }
  .stat b { font-size: 20px; }
  
  .guide-steps { grid-template-columns: 1fr; }
  .detail-hero { flex-direction: column; text-align: center; }
  .detail-hero .btn-primary { margin-left: 0; width: 100%; }
  .detail-tags { justify-content: center; }
  .search-page { padding: 24px 16px; }
  .cat-section { padding: 0 14px; }
}

@media (max-width: 720px) {
  .promo-metrics { grid-template-columns: repeat(2, 1fr); }
  .promo-cols { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 26px; }
  .cat-grid { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .cat-card { padding: 12px 4px; border-radius: 12px; }
  .cat-icon { font-size: 20px; }
  .cat-label { font-size: 11.5px; }
  
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .hub-stats { grid-template-columns: repeat(2, 1fr); }
  .hub-grid { grid-template-columns: 1fr; }
  .hub-market-row { grid-template-columns: 1fr; }
  .hot-grid, .fresh-grid { grid-template-columns: 1fr; }
  .data-grid { grid-template-columns: 1fr; }
  
  .kind-tabs { width: 100%; }
  .kind-tabs button { flex: 1; text-align: center; font-size: 11px; padding: 6px 8px; }
  .search-controls { flex-direction: column; align-items: stretch; }
  .sort-select { margin-left: 0; width: 100%; }
  .result-row { padding: 12px 10px; gap: 10px; }
  .result-avatar { width: 38px; height: 38px; font-size: 14px; border-radius: 10px; }
  .result-title { font-size: 13px; }
  
  .market-head h2 { font-size: 20px; }
  .market-stats { grid-template-columns: repeat(2, 1fr); }
  .market-grid { grid-template-columns: 1fr; }
}
