/* ==========================================================================
   AI租人兼职 — 公共样式
   视觉语言：极简黑白 + 靛蓝强调色，1px 细线分区，直角为主
   ========================================================================== */

:root {
  --blue: #4f5be8;
  --blue-dark: #3f4ad4;
  --blue-soft: #eef2ff;
  --blue-line: #dce1fb;
  --blue-badge: #c7d2fe;
  --link: #3b4cf0;

  --ink: #111111;
  --ink-soft: #0f172a;
  --gray: #6b7280;
  --gray-3: #9ca3af;

  --line: #e5e7eb;
  --line-soft: #eeeeee;

  --green: #22c55e;
  --amber-bg: #fdf2dc;
  --amber: #f0a030;
  --yc: #fb6514;

  --bg: #ffffff;
  --bg-soft: #f6f7fb;
  --bg-cmd: #f1f5f9;

  --r-card: 16px;
  --r-sm: 10px;
  --r-pill: 9999px;
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
}

::selection {
  background: rgba(79, 91, 232, 0.16);
}

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

img {
  max-width: 100%;
  display: block;
}

button {
  font: inherit;
  color: inherit;
}

.serif-i {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 500;
}

/* ---------- 容器 ---------- */
.wrap {
  width: 100%;
  max-width: 1202px;
  margin: 0 auto;
  padding: 0 24px;
}

.wrap-narrow {
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 列表页 976 宽 */
.wrap-list {
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 24px;
}

/* AI 代理页 848 / 720 宽 */
.wrap-mid {
  width: 100%;
  max-width: 896px;
  margin: 0 auto;
  padding: 0 24px;
}

.wrap-code {
  width: 100%;
  max-width: 768px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 导航 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: #1f1f1f;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.brand-mark svg {
  width: 24px;
  height: 24px;
}

.brand-name {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #1f1f1f;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links a {
  font-size: 15px;
  color: #374151;
  transition: color 0.16s ease;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-links a.active {
  color: var(--gray-3);
}

.nav-cta {
  margin-left: 34px;
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  padding: 0 22px;
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.16s ease;
  white-space: nowrap;
}

.btn-dark {
  background: #111;
  color: #fff;
}
.btn-dark:hover {
  background: #2a2a2a;
}

.btn-light {
  background: #fff;
  color: var(--ink);
  border-color: #e0e0e0;
}
.btn-light:hover {
  border-color: #bdbdbd;
}

.btn-blue {
  background: var(--blue);
  color: #fff;
}
.btn-blue:hover {
  background: var(--blue-dark);
}

.btn-square {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 42px;
  padding: 0 20px;
  border-radius: 2px;
  font-size: 15px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.16s ease;
  white-space: nowrap;
}
.btn-square.btn-dark:hover {
  background: #2a2a2a;
}
.btn-square.btn-outline {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}
.btn-square.btn-outline:hover {
  border-color: #bdbdbd;
}

.nav-burger {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 12px 24px 20px;
}
.mobile-menu.open {
  display: block;
}
.mobile-menu a {
  display: block;
  padding: 12px 0;
  font-size: 16px;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-menu .btn-pill {
  margin-top: 16px;
  width: 100%;
}

/* ---------- 通用排版 ---------- */
.eyebrow {
  font-size: 17px;
  color: var(--gray);
}

.eyebrow-caps {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-3);
  font-weight: 600;
}

.h1 {
  font-size: clamp(40px, 6.2vw, 88px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.035em;
  margin: 18px 0 0;
}

.h2 {
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
}

.h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0;
}

.lead {
  font-size: clamp(18px, 1.9vw, 24px);
  line-height: 1.45;
  color: var(--ink);
  font-weight: 500;
  margin: 22px 0 0;
}

.muted {
  color: var(--gray);
}

.small {
  font-size: 14px;
}

.link-blue {
  color: var(--link);
  font-weight: 600;
}
.link-blue:hover {
  text-decoration: underline;
}

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

.rule-strong {
  height: 2px;
  background: var(--ink);
  border: 0;
  margin: 0;
}

/* 分两段的粗线 */
.rule-split {
  display: flex;
  gap: 34px;
}
.rule-split > i {
  display: block;
  height: 2px;
  background: var(--ink);
}
.rule-split > i:first-child {
  flex: 0 0 242px;
}
.rule-split > i:last-child {
  flex: 1 1 auto;
}

/* ---------- Hero ---------- */
.hero {
  padding: 58px 0 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
  align-items: start;
}

.hero-side {
  padding-top: 10px;
}

.stat-num {
  font-size: 46px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.stat-label {
  color: var(--gray);
  font-size: 16px;
  margin-top: 6px;
}

.agent-hint {
  margin-top: 40px;
}
.agent-hint .q {
  color: var(--gray);
  font-size: 16px;
}
.agent-hint .a {
  display: inline-block;
  margin-top: 6px;
  color: var(--link);
  font-size: 21px;
  font-weight: 700;
}
.agent-hint .a:hover {
  text-decoration: underline;
}

/* 任务输入面板 */
.task-panel {
  margin-top: 52px;
  max-width: 672px;
  border: 1.5px solid var(--blue);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.task-panel-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
  font-size: 16px;
}

.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-pill);
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 700;
  flex: none;
  user-select: none;
  overflow: hidden;
}

.avatar-img {
  width: 28px;
  height: 28px;
}

.task-panel-body {
  padding: 14px;
}

.task-input-shell {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 10px;
  min-height: 132px;
  padding: 14px 14px 44px;
}

.task-input {
  width: 100%;
  border: 0;
  outline: 0;
  resize: none;
  font: inherit;
  font-size: 17px;
  color: var(--ink);
  min-height: 62px;
  background: transparent;
}
.task-input::placeholder {
  color: var(--gray-3);
}

.task-tools {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--gray-3);
}

.task-send {
  width: 30px;
  height: 30px;
  border-radius: var(--r-pill);
  border: 0;
  background: #a5b4fc;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.task-send.on {
  background: var(--blue);
}

/* ---------- chip 跑马灯 ---------- */
.chip-band {
  padding: 56px 0 0;
  overflow: hidden;
}

.chip-label {
  color: var(--link);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 18px;
}

.chip-marquee {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: marquee 34s linear infinite;
}

.chip-marquee:hover {
  animation-play-state: paused;
}

.chip {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 24px;
  border: 1px solid #c4c4c4;
  border-radius: var(--r-pill);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  background: #fff;
  white-space: nowrap;
}

.chip-fade {
  position: relative;
}
.chip-fade::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 120px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff);
  pointer-events: none;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- 媒体报道 ---------- */
.press {
  padding: 48px 0 64px;
}

.press-label {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 26px;
}

.press-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.press-logo {
  font-size: 26px;
  font-weight: 800;
  color: #1a1a1a;
  letter-spacing: -0.01em;
  opacity: 0.9;
}
.press-logo.serif {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 600;
}
.press-logo.wide {
  letter-spacing: 0.18em;
  font-weight: 700;
  font-size: 22px;
}

/* ---------- 通栏媒体带 ---------- */
.band {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #101423;
}

.band-art {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.9;
}

.band-title {
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: clamp(28px, 3.4vw, 46px);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
  margin: 0;
  padding: 0 24px;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
}

.band-features {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  width: 100%;
  max-width: 1202px;
  padding: 0 24px;
}

.band-feature h4 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
}

.band-feature p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  line-height: 1.5;
}

/* 渐变占位背景（不依赖外链图片） */
.art-1 { background-image: linear-gradient(135deg, #232a3d 0%, #3d4460 45%, #1b2030 100%); }
.art-2 { background-image: linear-gradient(135deg, #2b3550 0%, #556089 50%, #232a3d 100%); }
.art-3 { background-image: linear-gradient(135deg, #4a1f22 0%, #8c3b3f 48%, #2b1113 100%); }
.art-4 { background-image: linear-gradient(135deg, #3a4152 0%, #767f96 50%, #2a3040 100%); }
.art-5 { background-image: linear-gradient(135deg, #1f2937 0%, #4b5563 50%, #111827 100%); }

.art-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image:
    radial-gradient(circle at 22% 30%, rgba(255, 255, 255, 0.22) 0, transparent 42%),
    radial-gradient(circle at 78% 68%, rgba(255, 255, 255, 0.16) 0, transparent 46%),
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: auto, auto, 48px 48px, 48px 48px;
}

/* ---------- 区块通用 ---------- */
.section {
  padding: 76px 0;
}

.section-tight {
  padding: 56px 0;
}

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

/* 双栏：左说明 + 右内容 */
.split {
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

/* ---------- 怎么玩 ---------- */
.how {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
  gap: 80px;
}

.steps {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 44px;
}

.step {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.step-num {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: 26px;
  color: var(--gray-3);
  line-height: 1.2;
}

.step h4 {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 700;
}

.step p {
  margin: 0;
  color: var(--gray);
  font-size: 16px;
  line-height: 1.55;
}

.how-side-block {
  margin-bottom: 44px;
}
.how-side-block p {
  margin: 8px 0 18px;
  color: var(--gray);
  font-size: 16px;
}
.how-side-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- 悬赏卡片墙 ---------- */
.cards-rail {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding-bottom: 12px;
  scrollbar-width: thin;
}

.bounty-card {
  flex: 0 0 288px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 22px;
  display: flex;
  flex-direction: column;
  min-height: 196px;
  transition: border-color 0.16s ease;
}
.bounty-card:hover {
  border-color: var(--blue);
}
.bounty-card:hover .bounty-title {
  color: var(--link);
}

.bounty-cat {
  color: var(--gray);
  font-size: 15px;
}

.bounty-title {
  margin: 14px 0 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  transition: color 0.16s ease;
}

.bounty-foot {
  margin-top: auto;
  padding-top: 22px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.bounty-price {
  color: var(--blue);
  font-size: 20px;
  font-weight: 700;
}
.bounty-price span {
  color: var(--gray);
  font-size: 14px;
  font-weight: 500;
  margin-left: 4px;
}

.bounty-loc {
  color: var(--gray);
  font-size: 15px;
  text-align: right;
}

.bounty-poster {
  margin-top: 10px;
  color: var(--gray-3);
  font-size: 14px;
}
.bounty-poster b {
  color: var(--ink);
  font-weight: 500;
}

/* ---------- 社交卡片 ---------- */
.social-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.social-card {
  background: #15202b;
  color: #e7e9ea;
  border-radius: 16px;
  padding: 18px;
  font-size: 15px;
  line-height: 1.5;
}

.social-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.social-name {
  font-weight: 700;
  color: #fff;
}
.social-handle {
  color: #8b98a5;
  font-size: 13px;
}

.social-body {
  color: #e7e9ea;
}

.social-media {
  margin: 14px 0 0;
  height: 150px;
  border-radius: 12px;
  border: 1px solid #2f3336;
  background: linear-gradient(135deg, #1e2732, #2c3644);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8b98a5;
  font-size: 13px;
}

.social-foot {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #2f3336;
  color: #8b98a5;
  font-size: 13px;
  display: flex;
  gap: 18px;
}

/* ---------- FAQ 手风琴 ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 30px;
}

.faq-item {
  border: 1px solid #e3e3e3;
  border-radius: 22px;
  background: #fff;
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 26px;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-size: 20px;
  font-weight: 700;
}

.faq-sign {
  flex: none;
  width: 18px;
  height: 18px;
  position: relative;
}
.faq-sign::before,
.faq-sign::after {
  content: "";
  position: absolute;
  background: #111;
  border-radius: 2px;
}
.faq-sign::before {
  left: 0; right: 0; top: 8px; height: 1.5px;
}
.faq-sign::after {
  top: 0; bottom: 0; left: 8px; width: 1.5px;
  transition: transform 0.2s ease;
}
.faq-item[data-open="true"] .faq-sign::after {
  transform: scaleY(0);
}

.faq-panel {
  padding: 0 26px 22px;
  color: var(--gray);
  font-size: 16px;
  line-height: 1.7;
}

/* ---------- 页脚 ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 44px 0 56px;
  background: #fff;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 700;
  color: #333;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 15px;
  color: #333;
  justify-content: flex-end;
}
.footer-links a:hover {
  color: var(--link);
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--gray-3);
  font-size: 14px;
}

.lang-pick {
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 6px 14px;
  font-size: 14px;
  background: #fff;
  cursor: pointer;
}

/* ---------- 右下角悬浮 ---------- */
.fab-wrap {
  position: fixed;
  right: 28px;
  bottom: 24px;
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 12px;
}

.fab-pill {
  height: 40px;
  padding: 0 20px;
  border-radius: var(--r-pill);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 6px 22px -10px rgba(0, 0, 0, 0.28);
  font-size: 15px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.fab-circle {
  width: 56px;
  height: 56px;
  border-radius: var(--r-pill);
  background: #111;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 26px -10px rgba(0, 0, 0, 0.45);
}
.fab-circle svg {
  width: 26px;
  height: 26px;
}

/* ==========================================================================
   列表页（浏览真人 / 悬赏任务）
   ========================================================================== */

.page-head {
  padding: 52px 0 0;
}

.page-head-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.page-h1 {
  font-size: clamp(38px, 5.4vw, 68px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin: 0;
}

.page-sub {
  margin: 12px 0 0;
  color: var(--gray);
  font-size: 19px;
}

/* Renta 提问面板 */
.ask-panel {
  margin-top: 40px;
  border: 1px solid #111;
}

.ask-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
  font-size: 18px;
}

.ask-msg {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
  line-height: 1.6;
}

.ask-input-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
}

.ask-input {
  flex: 1 1 auto;
  border: 0;
  outline: 0;
  font: inherit;
  font-size: 17px;
  background: transparent;
}
.ask-input::placeholder {
  color: var(--gray-3);
}

.ask-send {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 2px;
  background: #9ca3af;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* 两栏列表布局 */
.list-layout {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.filters {
  position: sticky;
  top: 84px;
}

.filter-title {
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 20px;
}

.filter-group {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.filter-label {
  display: block;
  color: var(--gray-3);
  font-size: 14px;
  margin-bottom: 4px;
}

.filter-input,
.filter-select {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 17px;
  color: var(--ink);
  padding: 0;
  cursor: pointer;
}
.filter-input::placeholder {
  color: var(--gray-3);
}

.filter-clear {
  display: inline-block;
  margin-top: 20px;
  color: var(--link);
  font-size: 16px;
  font-weight: 600;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.filter-clear:hover {
  text-decoration: underline;
}

/* 分类导航（悬赏页） */
.cat-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cat-btn {
  text-align: left;
  background: none;
  border: 0;
  padding: 10px 0;
  font-size: 17px;
  color: var(--ink);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  width: fit-content;
}
.cat-btn:hover {
  color: var(--link);
}
.cat-btn.active {
  color: var(--link);
  border-bottom-color: var(--link);
  font-weight: 600;
}

/* 结果区 */
.results-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.search-shell {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 auto;
  color: var(--gray-3);
}

.search-input {
  flex: 1 1 auto;
  border: 0;
  outline: 0;
  font: inherit;
  font-size: 19px;
  background: transparent;
  color: var(--ink);
}
.search-input::placeholder {
  color: var(--gray-3);
}

.check-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  white-space: nowrap;
  cursor: pointer;
}
.check-row input {
  width: 16px;
  height: 16px;
  accent-color: #111;
  cursor: pointer;
}

.sort-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
}

.sort-btn {
  background: none;
  border: 0;
  padding: 0 0 4px;
  font-size: 17px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
}
.sort-btn.active {
  color: var(--link);
  border-bottom-color: var(--link);
  font-weight: 600;
}

.result-meta {
  padding: 14px 0;
  color: var(--gray);
  font-size: 16px;
}

.geo-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--gray);
  font-size: 16px;
}
.geo-note button {
  background: none;
  border: 0;
  color: var(--gray);
  cursor: pointer;
  font-size: 16px;
}

.group-title {
  margin: 26px 0 12px;
  font-size: 17px;
  font-weight: 700;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 8px;
}

/* 真人结果行 */
.person-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.person-photo {
  width: 80px;
  height: 80px;
  flex: none;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 700;
  color: #6b7280;
  background: #f1f1f1;
  overflow: hidden;
}

.person-main {
  flex: 1 1 auto;
  min-width: 0;
}

.person-name {
  color: var(--link);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
}
.person-name:hover {
  text-decoration: underline;
}

.person-bio {
  margin-top: 6px;
  font-size: 16px;
}

.person-line {
  margin-top: 6px;
  color: var(--gray);
  font-size: 15px;
}

.person-tags {
  margin-top: 8px;
  color: var(--gray);
  font-size: 15px;
}

.person-rating {
  margin-top: 8px;
  color: var(--gray);
  font-size: 15px;
}
.person-rating .star {
  color: #111;
}

.person-side {
  flex: none;
  width: 150px;
  text-align: right;
}

.person-rate {
  font-size: 26px;
  font-weight: 700;
}
.person-rate span {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray);
  margin-left: 2px;
}

.person-side .btn-square {
  margin-top: 12px;
  width: 100%;
}

/* 悬赏任务行 */
.task-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.task-thumb {
  width: 104px;
  height: 104px;
  flex: none;
  border-radius: 0;
  overflow: hidden;
}

.task-main {
  flex: 1 1 auto;
  min-width: 0;
}

.task-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--gray);
  font-size: 15px;
}
.task-meta i {
  font-style: normal;
  color: #d1d5db;
}

.task-title {
  display: block;
  margin: 10px 0 0;
  color: var(--link);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.28;
}
.task-title:hover {
  text-decoration: underline;
}

.task-sub {
  margin-top: 10px;
  color: var(--gray);
  font-size: 15px;
}

.task-tags {
  margin-top: 8px;
  color: var(--gray);
  font-size: 15px;
}

.task-side {
  flex: none;
  width: 140px;
  text-align: right;
}

.task-price {
  font-size: 27px;
  font-weight: 700;
}
.task-fixed {
  color: var(--gray);
  font-size: 15px;
  margin-top: 2px;
}
.task-poster {
  margin-top: 12px;
  color: var(--gray-3);
  font-size: 14px;
}
.task-poster b {
  color: var(--ink);
  font-weight: 500;
}

.badge-enterprise {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--amber-bg);
  color: var(--amber);
  border-radius: 5px;
  padding: 1px 8px;
  font-size: 12px;
  font-weight: 600;
}

.badge-secured {
  color: var(--gray);
}

/* ==========================================================================
   真人详情页
   ========================================================================== */

/* 详情页内容 994 宽 */
.wrap-detail {
  width: 100%;
  max-width: 1042px;
  margin: 0 auto;
  padding: 0 24px;
}

.back-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 0 22px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--gray);
  font-size: 16px;
  font-weight: 500;
}
.back-link:hover {
  color: var(--ink);
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #fff;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.16s ease;
}
.share-btn:hover {
  border-color: #bdbdbd;
}

.detail-head {
  display: grid;
  grid-template-columns: 178px minmax(0, 1fr);
  gap: 28px;
  padding-bottom: 34px;
}

.detail-photo {
  width: 178px;
  height: 178px;
  background: #e9edf5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  font-weight: 700;
  color: #94a3b8;
  overflow: hidden;
}

.detail-name {
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.online-badge {
  display: inline-flex;
  align-items: center;
  font-size: 17px;
  font-weight: 400;
  color: var(--gray);
  letter-spacing: 0;
}
.dot-online {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 2px;
  margin-right: 8px;
}

.detail-meta {
  margin-top: 12px;
  color: var(--gray);
  font-size: 17px;
  line-height: 1.5;
}
.detail-meta p {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.detail-meta .sep {
  width: 1px;
  height: 16px;
  background: var(--line);
}
.detail-meta .star {
  color: var(--ink);
}

.detail-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 256px;
  gap: 60px;
  padding-top: 34px;
}

.detail-block {
  border-top: 1px solid var(--ink);
  padding: 30px 0 34px;
}

.detail-block h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 16px;
}

.detail-block p {
  margin: 0 0 12px;
  font-size: 17px;
  line-height: 1.6;
}
.detail-block p:last-child {
  margin-bottom: 0;
}

.exp-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 16px;
  line-height: 1.4;
}
.exp-list li {
  margin: 0 0 6px;
}
.exp-list li:last-child {
  margin-bottom: 0;
}

.price-box {
  width: 200px;
  margin: 0 0 46px auto;
  padding: 0 0 13px 30px;
  border-left: 1px solid var(--line);
}

.price-big {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.price-big span {
  font-size: 17px;
  font-weight: 500;
  color: var(--gray);
  margin-left: 4px;
}

.price-actions {
  margin-top: 17px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.price-actions .btn-square {
  width: 100%;
  height: 46px;
}

.spec {
  padding: 20px 0;
  border-top: 1px solid var(--ink);
}

.spec h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 14px;
}

.spec-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

.skill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0 20px;
}
.skill-grid span {
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  line-height: 1.5;
}

.sched-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  font-size: 16px;
}
.sched-row span:first-child {
  color: var(--gray);
}

.kv-row {
  display: flex;
  gap: 8px;
  font-size: 16px;
  margin-bottom: 8px;
}
.kv-row .k {
  color: var(--gray);
}

.review {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.review:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.review-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.review-head b {
  font-size: 16px;
  font-weight: 700;
}
.review-stars {
  color: var(--ink);
  font-size: 12px;
  letter-spacing: 1px;
}
.review-date {
  margin-left: auto;
  color: var(--gray-3);
  font-size: 14px;
}
.review p {
  margin: 8px 0 0;
  color: var(--gray);
  font-size: 15px;
  line-height: 1.6;
}

/* ==========================================================================
   AI 代理页
   ========================================================================== */

.agent-hero {
  text-align: center;
  padding: 56px 0 0;
}

.badge-soft {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 15px;
  border-radius: var(--r-pill);
  background: var(--blue-soft);
  border: 1px solid var(--blue-badge);
  color: #4f46e5;
  font-size: 14px;
  font-weight: 600;
}

.agent-h1 {
  font-size: clamp(32px, 4.2vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 20px 0 0;
}

.agent-lead {
  margin: 18px auto 0;
  max-width: 680px;
  color: var(--gray);
  font-size: 18px;
  line-height: 1.6;
}

.agent-actions {
  margin-top: 28px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.agent-actions .btn-pill {
  height: 38px;
  border-radius: var(--r-sm);
  font-size: 15px;
}

.cmd-box {
  margin: 26px auto 0;
  max-width: 672px;
  height: 52px;
  background: var(--bg-cmd);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 18px;
}

.cmd-box code {
  font-family: ui-monospace, SFMono-Regular, "JetBrains Mono", Consolas, monospace;
  font-size: 16px;
  color: var(--ink);
  overflow-x: auto;
  white-space: nowrap;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 0;
  color: var(--gray);
  font-size: 13px;
  cursor: pointer;
  flex: none;
}
.copy-btn:hover {
  color: var(--ink);
}

.agent-note {
  margin-top: 20px;
  text-align: center;
  font-size: 16px;
}
.agent-note a {
  color: var(--link);
  text-decoration: underline;
}

.yc-badge {
  margin: 34px auto 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 34px;
  padding: 0 16px 0 8px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: #fff;
  font-size: 14px;
  font-weight: 600;
}

.yc-square {
  width: 22px;
  height: 22px;
  border-radius: 3px;
  background: var(--yc);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
}

.prompt-card {
  margin: 26px auto 0;
  max-width: 848px;
  border: 1px solid var(--blue-line);
  border-radius: 16px;
  background: #fff;
  padding: 20px;
}

.prompt-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-soft);
}
.prompt-head h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
}
.prompt-head p {
  margin: 4px 0 0;
  color: var(--gray);
  font-size: 14px;
}

.prompt-body {
  padding-top: 16px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 13.5px;
  line-height: 1.62;
  color: #111827;
  white-space: pre-wrap;
  word-break: break-word;
}

.mturk-row {
  margin-top: 34px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--gray);
  font-size: 15px;
}

.sec-title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}
.sec-title.center {
  text-align: center;
}

.start-card {
  background: var(--blue-soft);
  border: 1px solid var(--blue-line);
  border-radius: 20px;
  padding: 16px 18px;
  margin-bottom: 22px;
}

.start-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.start-num {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  flex: none;
}
.start-num.green {
  background: var(--green);
}

.start-head h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
}

.start-card p {
  margin: 8px 0 0;
  color: var(--gray);
  font-size: 15px;
  line-height: 1.6;
}

code.inline {
  background: var(--blue-soft);
  color: #4f46e5;
  border-radius: 8px;
  padding: 2px 8px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 13.5px;
}

.json-block {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 20px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 14px;
  line-height: 2.1;
  white-space: pre;
  overflow-x: auto;
}
.json-block .key {
  color: #4f46e5;
}

.rate-grid {
  border: 1px solid var(--line);
  border-radius: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}
.rate-cell {
  padding: 18px 24px;
}
.rate-cell:nth-child(odd) {
  border-right: 1px solid var(--line);
}
.rate-cell:nth-child(-n + 2) {
  border-bottom: 1px solid var(--line);
}
.rate-cell .k {
  color: var(--gray);
  font-size: 15px;
}
.rate-cell .v {
  margin-top: 4px;
  font-size: 20px;
  font-weight: 600;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 26px;
}

.faq-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 24px;
}
.faq-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 600;
}
.faq-card p {
  margin: 0;
  color: var(--gray);
  font-size: 15px;
  line-height: 1.65;
}
.faq-card a {
  color: var(--link);
  text-decoration: underline;
}

.api-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 26px;
}

.api-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 24px;
}

.api-name {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 16px;
  color: var(--link);
}

.api-card h3 {
  margin: 14px 0 10px;
  font-size: 20px;
  font-weight: 700;
}

.api-card p {
  margin: 0;
  color: var(--gray);
  font-size: 16px;
  line-height: 1.6;
}

.cta-center {
  margin-top: 34px;
  text-align: center;
}
.cta-center .note {
  margin-top: 14px;
  color: var(--gray);
  font-size: 15px;
}

/* ==========================================================================
   登录页
   ========================================================================== */

.auth-shell {
  max-width: 420px;
  margin: 72px auto 96px;
  padding: 0 24px;
}

.auth-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px 28px;
}

.field {
  margin-bottom: 18px;
}
.field label {
  display: block;
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 6px;
}
.field input {
  width: 100%;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 14px;
  font: inherit;
  font-size: 16px;
  outline: 0;
}
.field input:focus {
  border-color: var(--blue);
}

.auth-tabs {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.auth-tabs button {
  background: none;
  border: 0;
  padding: 0 0 12px;
  font-size: 17px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  color: var(--gray);
}
.auth-tabs button.active {
  color: var(--ink);
  font-weight: 600;
  border-bottom-color: var(--ink);
}

.auth-card .btn-square {
  width: 100%;
  margin-top: 6px;
}

/* 输入框 + 按钮同排（获取验证码） */
.field-row {
  display: flex;
  gap: 10px;
  align-items: center;
}
.field-row input {
  flex: 1 1 auto;
}
.field-row .btn-square {
  flex: none;
  width: auto;
  height: 44px;
  margin-top: 0;
  padding: 0 16px;
  font-size: 14px;
}

.auth-alt {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  color: var(--gray);
  font-size: 14px;
  text-align: center;
}
.auth-alt a {
  color: var(--link);
  font-weight: 600;
}

/* ==========================================================================
   工具类 / 动效
   ========================================================================== */

.hidden {
  display: none !important;
}
.hidden-item {
  display: none !important;
}

.mt-8 { margin-top: 8px; }
.mt-14 { margin-top: 14px; }
.mt-18 { margin-top: 18px; }
.mt-22 { margin-top: 22px; }
.mt-28 { margin-top: 28px; }
.mt-36 { margin-top: 36px; }

.body-text {
  color: var(--gray);
  font-size: 17px;
  line-height: 1.65;
}

.center { text-align: center; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.caret::after {
  content: "|";
  color: var(--gray-3);
  margin-left: 1px;
  animation: blink 1s step-end infinite;
}
@keyframes blink {
  50% { opacity: 0; }
}

/* 滚动条 */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-thumb {
  background: #d4d4d8;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: #a1a1aa;
}

/* ==========================================================================
   响应式
   ========================================================================== */

@media (max-width: 1080px) {
  .hero-grid,
  .split,
  .how,
  .detail-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .hero-side {
    padding-top: 0;
  }
  .band-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
  }
  .list-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .filters {
    position: static;
  }
  .cat-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px 22px;
  }
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }
  .nav-burger {
    display: flex;
  }
  .social-stack,
  .faq-grid,
  .api-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .detail-head {
    grid-template-columns: minmax(0, 1fr);
  }
  .band {
    min-height: 340px;
  }
  .fab-wrap {
    right: 16px;
    bottom: 16px;
  }
  .fab-pill {
    display: none;
  }
}

@media (max-width: 620px) {
  .band-features {
    grid-template-columns: minmax(0, 1fr);
  }
  .person-row,
  .task-row {
    flex-wrap: wrap;
  }
  .person-side,
  .task-side {
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  .person-side .btn-square {
    width: auto;
    margin-top: 0;
  }
  .footer-links {
    justify-content: flex-start;
  }
}

/* ==========================================================================
   登录后仪表盘（active-jobs/index.html）
   ========================================================================== */

.dash-nav-text {
  border: 0;
  background: none;
  padding: 0;
  font-size: 15px;
  color: #374151;
  cursor: pointer;
  transition: color 0.16s ease;
}
.dash-nav-text:hover {
  color: var(--ink);
}

.dash-nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #374151;
  transition: color 0.16s ease;
}
.dash-nav-icon:hover {
  color: var(--ink);
}
.dash-nav-icon svg {
  width: 20px;
  height: 20px;
}

.dash-user-wrap {
  position: relative;
}

.dash-user-chip {
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--blue-line);
  border-radius: var(--r-pill);
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 15px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.16s ease;
}
.dash-user-chip:hover {
  border-color: var(--blue);
}

.dash-user-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 80;
  min-width: 148px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.35);
}
.dash-user-menu.open {
  display: block;
}
.dash-user-menu button {
  display: block;
  width: 100%;
  padding: 9px 12px;
  border: 0;
  border-radius: 8px;
  background: none;
  text-align: left;
  font-size: 15px;
  cursor: pointer;
}
.dash-user-menu button:hover {
  background: var(--bg-soft);
}

.dash-mobile-item {
  display: block;
  width: 100%;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid var(--line-soft);
  background: none;
  text-align: left;
  font-size: 16px;
  cursor: pointer;
}

/* 移动端菜单里的头像 chip：覆盖 .mobile-menu a 的块级样式 */
.mobile-menu .dash-user-chip {
  display: inline-flex;
  width: 36px;
  margin-top: 16px;
  padding: 0;
  border-bottom: 0;
}

/* ---------- 标题区 + 钱包 ---------- */
.dash-hero {
  padding: 46px 0 30px;
}

.dash-hero-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.dash-eyebrow {
  margin: 0;
  color: var(--gray);
  font-size: 15px;
}

.dash-h1 {
  margin: 10px 0 0;
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.06;
}

.dash-sub {
  margin: 12px 0 0;
  max-width: 640px;
  color: var(--gray);
  font-size: 18px;
}

.dash-wallet {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.dash-wallet-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 600;
}
.dash-wallet-chip svg {
  width: 18px;
  height: 18px;
  color: var(--gray);
}

/* ---------- 标签栏 ---------- */
.dash-tabbar {
  border-bottom: 1px solid var(--line);
}

.dash-tabs {
  display: flex;
  align-items: stretch;
  gap: 28px;
  overflow-x: auto;
  scrollbar-width: none;
}
.dash-tabs::-webkit-scrollbar {
  display: none;
}

.dash-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  padding: 14px 0 13px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: var(--gray);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.16s ease, border-color 0.16s ease;
}
.dash-tab svg {
  width: 18px;
  height: 18px;
}
.dash-tab:hover {
  color: var(--ink);
}
.dash-tab.active {
  color: var(--ink);
  border-bottom-color: var(--blue);
}

/* ---------- 面板 ---------- */
.dash-body {
  padding-top: 34px;
  padding-bottom: 60px;
}

.dash-h2 {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.dash-panel-sub {
  margin: 10px 0 0;
  color: var(--gray);
  font-size: 17px;
}

.dash-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

/* ---------- 卡片 ---------- */
.dash-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 22px;
}
.dash-card-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.dash-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  min-height: 150px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}
.dash-card:hover {
  border-color: var(--blue);
  box-shadow: 0 20px 44px -28px rgba(17, 24, 39, 0.4);
  transform: translateY(-2px);
}
.dash-card-static {
  cursor: default;
}
.dash-card-static:hover {
  border-color: var(--line);
  box-shadow: none;
  transform: none;
}

.dash-card-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.dash-card-text {
  margin: 0;
  color: var(--gray);
  font-size: 16px;
  line-height: 1.6;
}

.dash-card-note {
  margin: 2px 0 0;
  color: var(--gray-3);
  font-size: 14px;
}

.dash-card-link {
  margin-top: auto;
  padding-top: 14px;
  color: var(--link);
  font-size: 16px;
  font-weight: 600;
}
.dash-card-link:hover {
  text-decoration: underline;
}

.dash-card-static .btn-pill {
  margin-top: auto;
}

/* ---------- 模板列表 ---------- */
.dash-tpl-label {
  margin: 40px 0 0;
  color: var(--gray);
  font-size: 16px;
}

.dash-tpl-list {
  margin-top: 14px;
  border-top: 1px solid var(--line-soft);
}

.dash-tpl {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 12px;
  border-bottom: 1px solid var(--line-soft);
  transition: background 0.16s ease;
}
.dash-tpl:hover {
  background: var(--bg-soft);
}

.dash-tpl-emoji {
  flex: none;
  font-size: 22px;
  line-height: 1;
}

.dash-tpl-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.dash-tpl-title {
  font-size: 17px;
  font-weight: 700;
}

.dash-tpl-desc {
  color: var(--gray);
  font-size: 15px;
}

/* ---------- 空状态 ---------- */
.dash-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 54px 24px;
  border: 1px dashed var(--line);
  border-radius: var(--r-card);
  background: var(--bg-soft);
  text-align: center;
}

.dash-empty-icon {
  color: var(--gray-3);
}
.dash-empty-icon svg {
  width: 34px;
  height: 34px;
}

.dash-empty-title {
  margin: 16px 0 0;
  font-size: 20px;
  font-weight: 700;
}

.dash-empty-text {
  margin: 10px 0 0;
  max-width: 460px;
  color: var(--gray);
  font-size: 16px;
}

.dash-empty .btn-pill {
  margin-top: 22px;
}

/* ---------- 运行筛选 ---------- */
.dash-select {
  display: block;
  width: 100%;
  max-width: 360px;
  margin-bottom: 24px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  cursor: pointer;
}

/* ---------- 优先 / 已屏蔽 ---------- */
.dash-sec-title {
  margin: 34px 0 0;
  font-size: 19px;
  font-weight: 700;
}

.dash-sec-sub {
  margin: 8px 0 0;
  max-width: 620px;
  color: var(--gray);
  font-size: 16px;
}

/* ---------- 左下角帮助胶囊 ---------- */
.dash-help {
  position: fixed;
  left: 28px;
  bottom: 24px;
  z-index: 70;
}

.dash-help-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--blue);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 14px 32px -14px rgba(79, 91, 232, 0.7);
  transition: background 0.16s ease;
}
.dash-help-pill:hover {
  background: var(--blue-dark);
}
.dash-help-pill svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 1080px) {
  .dash-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .dash-card-grid,
  .dash-card-grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }
  .dash-tabs {
    gap: 22px;
  }
  .dash-help {
    left: 16px;
    bottom: 16px;
  }
}

@media (max-width: 620px) {
  .dash-hero {
    padding: 32px 0 24px;
  }
  .dash-body {
    padding-top: 26px;
    padding-bottom: 40px;
  }
}
