/* ============================================================
   team.css — WOW GLOBAL KOL COMMUNITY 官网
   设计系统：深海军蓝 + 科技蓝 + 青色；点缀荧光绿 / 明亮黄
   深色 Hero（蓝渐变+光晕+网格） + 白色内容卡片区 + 轻玻璃质感
   圆角 16–20px；欧美 Web3 科技品牌风
   ============================================================ */

:root {
  /* 色板 */
  --navy-950: #04101f;
  --navy-900: #071a33;
  --navy-800: #0b2547;
  --navy-700: #113362;
  --navy-600: #17457f;
  --blue-600: #1d63f2;
  --blue-500: #3b82f6;
  --blue-100: #dbeafe;
  --cyan-500: #06b6d4;
  --cyan-400: #22d3ee;
  --cyan-300: #67e8f9;
  --cyan-50: #ecfeff;
  --green-400: #34d399;
  --green-500: #10b981;
  --yellow-400: #fbbf24;

  /* 文字 */
  --ink: #0a1f3c;
  --copy: #43618c;
  --muted: #7d93b6;

  /* 面 */
  --bg: #f2f6fc;
  --bg-soft: #e9f0fa;
  --card: #ffffff;
  --line: #dde8f6;
  --line-strong: #c6d7f0;
  --red: #ef4565;

  /* 渐变 */
  --grad-primary: linear-gradient(135deg, var(--blue-600), var(--cyan-500));
  --grad-navy: linear-gradient(158deg, #061527 0%, #0a2242 52%, #10315e 100%);
  --grad-text: linear-gradient(115deg, var(--cyan-300), var(--blue-500));

  /* 形状与阴影 */
  --radius: 18px;
  --radius-sm: 13px;
  --radius-xs: 10px;
  --shadow-sm: 0 4px 14px rgba(10, 31, 60, 0.06);
  --shadow: 0 12px 34px rgba(10, 31, 60, 0.10);
  --shadow-lg: 0 26px 70px rgba(6, 21, 39, 0.18);
  --glow-cyan: 0 0 46px rgba(34, 211, 238, 0.38);

  /* 字体 */
  --font: "Inter", "PingFang SC", "Microsoft YaHei", -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* Bright WOW global palette: blue, cyan and restrained green accents. */
:root {
  --bg: #f5faff; --bg-soft: #eaf5ff; --line: #d7e9fb; --line-strong: #b9d9f5;
  --grad-primary: linear-gradient(135deg, #087ff5 0%, #05b9d8 100%);
  --grad-navy: linear-gradient(135deg, #061b68 0%, #073eae 52%, #00a9d8 100%);
}
.tm-topbar { background: linear-gradient(90deg, #061457, #0752b9 52%, #06a9d2); }
.tm-nav { background: rgba(255,255,255,.92); }
.tm-brand-mark { background: linear-gradient(145deg,#0751c5,#09bad1); }
.tm-btn-primary, .tm-nav-cta { background: var(--grad-primary); box-shadow: 0 12px 28px rgba(8,127,245,.28); }
.tm-hero { background: linear-gradient(135deg,#06145b 0%,#073eae 58%,#00a5d2 100%); }
.tm-hero h1 em { background: linear-gradient(110deg,#ffffff 4%,#65edff 58%,#a6f36c); -webkit-background-clip:text; background-clip:text; }
[data-wallet-connect][data-wallet-state="connected"] { background: linear-gradient(135deg,#087ff5,#2bc7df); }
[data-wallet-connect][data-wallet-state="verified"] { background: linear-gradient(135deg,#087ff5,#14b8a6); }
.tm-tier-card, .tm-income-card, .tm-panel, .tm-stats article { border-color: #d7e9fb; box-shadow: 0 14px 36px rgba(14,91,160,.08); }
.tm-footer { background: linear-gradient(135deg,#061457,#073eae 65%,#047eaa); }

* { box-sizing: border-box; }

/* The HTML hidden attribute must win over the mobile menu's grid display. */
.tm-mobile-menu[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body.team-page {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--copy);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.team-page h1, body.team-page h2, body.team-page h3 {
  color: var(--ink);
  line-height: 1.22;
  margin: 0;
}
body.team-page p { margin: 0; }
a { color: inherit; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; }

/* ===== 顶部细条 ===== */
.tm-topbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 9px 16px;
  background: linear-gradient(90deg, var(--navy-950), var(--navy-700), var(--navy-950));
  color: #d9e7ff;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.tm-topbar a { color: var(--cyan-300); text-decoration: none; font-weight: 800; }
.tm-topbar a:hover { color: #fff; }
.tm-topbar-dot { color: var(--green-400); animation: tm-pulse 1.6s infinite; font-size: 9px; }
@keyframes tm-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* ===== 导航（玻璃） ===== */
.tm-nav {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 12px clamp(14px, 4vw, 52px);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.tm-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; min-width: 0; }
.tm-brand-mark {
  width: 40px; height: 40px; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: var(--grad-navy);
  border: 1px solid rgba(103, 232, 249, 0.35);
  color: var(--cyan-300);
  font-size: 21px; font-weight: 900;
  box-shadow: 0 6px 18px rgba(11, 37, 71, 0.28);
}
.tm-brand-copy { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.tm-brand-copy strong { color: var(--ink); font-size: 16.5px; letter-spacing: 0.02em; white-space: nowrap; }
.tm-brand-copy small { color: var(--muted); font-size: 10px; letter-spacing: 0.09em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.tm-nav-links { display: flex; gap: 22px; }
.tm-nav-links a {
  color: var(--copy);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 6px 2px;
  position: relative;
  transition: color 0.2s;
  white-space: nowrap;
}
.tm-nav-links a::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; border-radius: 2px;
  background: var(--grad-primary);
  transition: right 0.25s;
}
.tm-nav-links a:hover { color: var(--ink); }
.tm-nav-links a:hover::after { right: 0; }

.tm-nav-actions { display: flex; align-items: center; gap: 10px; }

/* 语言切换（两页共用样式名） */
.tm-lang {
  display: inline-flex;
  padding: 3px;
  gap: 2px;
  border-radius: 999px;
  background: #e8eff9;
  border: 1px solid var(--line);
}
.tm-lang button {
  min-height: 30px;
  padding: 3px 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 800;
  transition: background 0.2s, color 0.2s;
}
.tm-lang button[aria-pressed="true"] {
  background: var(--grad-navy);
  color: #fff;
  box-shadow: 0 4px 10px rgba(11, 37, 71, 0.25);
}

.tm-nav-cta {
  min-height: 40px;
  padding: 8px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--grad-primary);
  color: #fff;
  font-size: 13.5px; font-weight: 800;
  box-shadow: 0 8px 20px rgba(29, 99, 242, 0.32);
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.tm-nav-cta:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(29, 99, 242, 0.42); }

/* 钱包按钮状态：未连接（默认蓝）/ 已连接待签名（琥珀）/ 已验证（绿） */
[data-wallet-connect][data-wallet-state="connected"] {
  background: linear-gradient(135deg, #d97706, var(--yellow-400));
  box-shadow: 0 8px 20px rgba(217, 119, 6, 0.35);
}
[data-wallet-connect][data-wallet-state="connected"]:hover { box-shadow: 0 12px 26px rgba(217, 119, 6, 0.45); }
[data-wallet-connect][data-wallet-state="verified"] {
  background: linear-gradient(135deg, var(--green-500), var(--cyan-500));
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.35);
}
[data-wallet-connect][data-wallet-state="verified"]:hover { box-shadow: 0 12px 26px rgba(16, 185, 129, 0.45); }
[data-wallet-connect][data-wallet-state="verified"]::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #ecfdf5;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.9);
}
[data-wallet-connect] { display: inline-flex; align-items: center; gap: 7px; }
[data-wallet-connect] span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }

.tm-nav-admin {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 13px; font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.tm-nav-admin:hover { border-color: var(--cyan-500); color: var(--blue-600); box-shadow: var(--shadow-sm); }

/* 移动端汉堡 */
.tm-nav-burger {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  position: relative;
}
.tm-nav-burger i, .tm-nav-burger i::before, .tm-nav-burger i::after {
  content: "";
  position: absolute; left: 11px; right: 11px;
  height: 2px; border-radius: 2px;
  background: var(--ink);
}
.tm-nav-burger i { top: 20px; }
.tm-nav-burger i::before { left: 0; right: 0; top: -6px; }
.tm-nav-burger i::after { left: 0; right: 0; top: 6px; }

.tm-mobile-menu {
  position: sticky;
  top: 64px;
  z-index: 55;
  display: grid;
  gap: 4px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.tm-mobile-menu a, .tm-mobile-menu button {
  min-height: 46px;
  display: flex; align-items: center;
  padding: 10px 14px;
  border: 0;
  border-radius: var(--radius-xs);
  background: transparent;
  color: var(--ink);
  font-size: 15px; font-weight: 700;
  text-decoration: none;
  text-align: left;
}
.tm-mobile-menu a:active, .tm-mobile-menu button:active { background: var(--bg-soft); }
.tm-mobile-menu button.tm-nav-cta {
  margin-top: 6px;
  justify-content: center;
  background: var(--grad-primary);
  color: #fff;
}

/* ===== Hero（深海军蓝） ===== */
.tm-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(52px, 7vw, 100px) clamp(16px, 5vw, 68px) clamp(72px, 8vw, 120px);
  overflow: hidden;
  background: var(--grad-navy);
  isolation: isolate;
}
/* 网格 */
.tm-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(103, 232, 249, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103, 232, 249, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(860px 620px at 30% 20%, #000, transparent 78%);
  -webkit-mask-image: radial-gradient(860px 620px at 30% 20%, #000, transparent 78%);
  pointer-events: none;
}
/* 光晕 */
.tm-hero::after {
  content: "";
  position: absolute;
  width: 560px; height: 560px;
  right: -140px; top: -180px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.16), transparent 65%);
  pointer-events: none;
}

.tm-hero-copy { position: relative; z-index: 2; }

.tm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan-300);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.tm-hero .tm-eyebrow { color: var(--cyan-300); }
.tm-eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--grad-primary); border-radius: 2px; }

.tm-hero h1 {
  color: #fff;
  font-size: clamp(30px, 4.2vw, 52px);
  font-weight: 800;
  letter-spacing: -0.01em;
}
.tm-hero h1 em {
  font-style: normal;
  background: linear-gradient(115deg, var(--cyan-300), var(--blue-500) 60%, var(--cyan-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tm-hero-lead {
  margin-top: 18px;
  max-width: 560px;
  font-size: 15px;
  color: #b9d0ef;
}

.tm-hero-actions { display: flex; align-items: center; gap: 13px; margin-top: 28px; flex-wrap: wrap; }
.tm-btn-primary {
  min-height: 48px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px;
  border: 0;
  border-radius: 999px;
  background: var(--grad-primary);
  color: #fff;
  font-size: 15px; font-weight: 800;
  box-shadow: 0 14px 30px rgba(29, 99, 242, 0.42);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.tm-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 38px rgba(29, 99, 242, 0.5); }
.tm-btn-ghost {
  min-height: 46px;
  display: inline-flex; align-items: center;
  padding: 11px 24px;
  border: 1px solid rgba(185, 208, 239, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #e3eeff;
  font-size: 14.5px; font-weight: 700;
  text-decoration: none;
  backdrop-filter: blur(6px);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.tm-btn-ghost:hover { border-color: var(--cyan-400); color: var(--cyan-300); background: rgba(34, 211, 238, 0.08); }

/* 四个价值标签 */
.tm-hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; padding: 0; list-style: none; }
.tm-hero-tags li {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(103, 232, 249, 0.22);
  color: #dcecff;
  font-size: 12.5px; font-weight: 700;
  backdrop-filter: blur(6px);
}
.tm-hero-tags li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green-400); box-shadow: 0 0 8px rgba(52, 211, 153, 0.8); }

/* Hero 视觉：地球 + 轨道 + 节点 + 浮动芯片 */
.tm-hero-visual { position: relative; z-index: 1; min-height: 380px; display: flex; align-items: center; justify-content: center; }
.tm-visual-glow { position: absolute; border-radius: 50%; pointer-events: none; }
.tm-visual-glow-a {
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.22), transparent 62%);
  animation: tm-breathe 6s ease-in-out infinite;
}
.tm-visual-glow-b {
  width: 300px; height: 300px; left: 8%; bottom: 2%;
  background: radial-gradient(circle, rgba(29, 99, 242, 0.25), transparent 62%);
  animation: tm-breathe 7s ease-in-out 1.2s infinite;
}
@keyframes tm-breathe { 0%, 100% { opacity: 0.8; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }

.tm-visual-orbit { position: relative; width: min(340px, 76vw); aspect-ratio: 1; }
.tm-orbit-ring {
  position: absolute; border-radius: 50%;
  border: 1px dashed rgba(103, 232, 249, 0.28);
}
.tm-orbit-ring.r1 { inset: 4%; animation: tm-spin 40s linear infinite; }
.tm-orbit-ring.r2 { inset: 15%; border-color: rgba(59, 130, 246, 0.3); animation: tm-spin 60s linear infinite reverse; }
@keyframes tm-spin { to { transform: rotate(360deg); } }

.tm-orbit-node {
  position: absolute;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--cyan-300);
  box-shadow: 0 0 12px rgba(103, 232, 249, 0.9);
}
.tm-orbit-node.n1 { top: 4%; left: 50%; background: var(--green-400); box-shadow: 0 0 12px rgba(52, 211, 153, 0.9); }
.tm-orbit-node.n2 { top: 24%; right: 7%; }
.tm-orbit-node.n3 { bottom: 16%; right: 12%; background: var(--yellow-400); box-shadow: 0 0 12px rgba(251, 191, 36, 0.85); }
.tm-orbit-node.n4 { bottom: 4%; left: 46%; }
.tm-orbit-node.n5 { bottom: 20%; left: 10%; background: var(--blue-500); box-shadow: 0 0 12px rgba(59, 130, 246, 0.9); }
.tm-orbit-node.n6 { top: 22%; left: 12%; }

.tm-visual-earth {
  position: absolute; inset: 18%;
  width: 64%; height: 64%;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 24px 50px rgba(4, 16, 31, 0.6));
  animation: tm-float 5.5s ease-in-out infinite;
}
@keyframes tm-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.tm-visual-chip {
  position: absolute;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px;
  border-radius: 12px;
  background: rgba(7, 26, 51, 0.66);
  border: 1px solid rgba(103, 232, 249, 0.28);
  backdrop-filter: blur(10px);
  color: #e3eeff;
  font-size: 12px; font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 12px 30px rgba(4, 16, 31, 0.45);
  animation: tm-float 6s ease-in-out infinite;
}
.tm-visual-chip i { font-style: normal; font-size: 14px; }
.tm-visual-chip.c1 { top: 6%; right: 2%; animation-delay: 0.4s; }
.tm-visual-chip.c2 { bottom: 12%; left: -2%; animation-delay: 1.4s; }
.tm-visual-chip.c3 { bottom: -3%; right: 12%; animation-delay: 2.2s; }

/* ===== 数据条（悬浮白卡） ===== */
.tm-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1200px;
  margin: -46px auto 0;
  padding: 0 clamp(16px, 4vw, 56px);
  position: relative;
  z-index: 3;
}
.tm-stats article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}
.tm-stats article:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tm-stats span { display: block; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.tm-stats strong {
  display: block;
  margin-top: 7px;
  font-size: 23px;
  color: var(--ink);
  font-weight: 800;
}
.tm-stats article:first-child strong {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ===== 通用区块 ===== */
.tm-section { max-width: 1200px; margin: 0 auto; padding: 88px clamp(16px, 4vw, 56px) 24px; }
.tm-section-alt {
  max-width: none;
  padding-left: 0; padding-right: 0;
  background: linear-gradient(180deg, #ffffff, #eef4fc);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.tm-section-alt > * { max-width: 1200px; margin-left: auto; margin-right: auto; }

.tm-section-head { max-width: 680px; margin-bottom: 42px; }
.tm-section-head h2 { font-size: clamp(25px, 3vw, 34px); font-weight: 800; }
.tm-section-head h2::after {
  content: "";
  display: block;
  width: 48px; height: 4px;
  margin-top: 14px;
  border-radius: 4px;
  background: var(--grad-primary);
}
.tm-section-head p:last-child { margin-top: 14px; font-size: 14.5px; }

/* ===== 档位卡 ===== */
.tm-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tm-tier {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.tm-tier:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(34, 211, 238, 0.5); }
.tm-tier.is-hot { border: 2px solid var(--cyan-400); box-shadow: 0 18px 44px rgba(34, 211, 238, 0.2); }
.tm-tier-flag {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  border-radius: 999px;
  background: var(--grad-primary);
  color: #fff;
  font-size: 12px; font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: 0 6px 16px rgba(29, 99, 242, 0.4);
  white-space: nowrap;
}
.tm-tier-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tm-tier-no {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--blue-600);
  font-size: 12px; font-weight: 800;
  letter-spacing: 0.05em;
}
.tm-tier-quota { font-size: 11.5px; color: var(--muted); font-weight: 700; text-align: right; }
.tm-tier-quota.is-full { color: var(--red); }
.tm-tier h3 { font-size: 20px; font-weight: 800; }
.tm-tier-salary { font-size: 13px; color: var(--muted); font-weight: 600; }
.tm-tier-salary b {
  display: block;
  margin-top: 5px;
  font-size: 27px;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.01em;
}
.tm-tier ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; flex: 1; }
.tm-tier li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13.5px;
  color: var(--copy);
  border-bottom: 1px dashed var(--line);
  padding-bottom: 9px;
}
.tm-tier li:last-child { border-bottom: 0; }
.tm-tier li b { color: var(--ink); font-weight: 800; white-space: nowrap; }
.tm-tier > button {
  margin-top: 8px;
  min-height: 46px;
  padding: 12px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--grad-primary);
  color: #fff;
  font-size: 14.5px; font-weight: 800;
  box-shadow: 0 10px 24px rgba(29, 99, 242, 0.3);
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}
.tm-tier > button:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(29, 99, 242, 0.4); }
.tm-tier > button:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }

/* ===== 收入机制 ===== */
.tm-income-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tm-income-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
  overflow: hidden;
}
.tm-income-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-primary);
}
.tm-income-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.tm-income-icon {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(29, 99, 242, 0.12), rgba(34, 211, 238, 0.14));
  border: 1px solid rgba(34, 211, 238, 0.25);
  color: var(--blue-600);
  font-size: 21px;
}
.tm-income-card h3 { font-size: 16.5px; font-weight: 800; margin-top: 15px; }
.tm-income-card p { margin-top: 10px; font-size: 13.5px; }
.tm-formula {
  margin-top: 16px;
  padding: 11px 14px;
  border-radius: var(--radius-xs);
  background: var(--bg-soft);
  border: 1px dashed var(--line-strong);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 700;
  word-break: break-word;
}

/* ===== 申请流程 ===== */
.tm-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: tm-flow; }
.tm-flow li {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}
.tm-flow li:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tm-flow b {
  display: block;
  font-size: 32px;
  font-weight: 900;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.tm-flow h3 { font-size: 16px; font-weight: 800; margin-top: 12px; }
.tm-flow p { margin-top: 8px; font-size: 13px; }

/* ===== 申请中心面板 ===== */
.tm-apply-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(20px, 3vw, 32px);
  box-shadow: var(--shadow);
  max-width: 720px;
}
.tm-panel-loading { color: var(--muted); text-align: center; padding: 28px 0; font-size: 14px; }
.tm-panel-title { font-size: 18px; font-weight: 800; color: var(--ink); }
.tm-panel-sub { font-size: 13px; color: var(--muted); margin-top: 5px; }
.tm-panel-state-icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 16px;
  font-size: 24px;
  margin-bottom: 14px;
}
.tm-panel-state-icon.is-error { background: rgba(239, 69, 101, 0.1); border: 1px solid rgba(239, 69, 101, 0.3); }
.tm-panel-state-icon.is-warn { background: rgba(251, 191, 36, 0.12); border: 1px solid rgba(251, 191, 36, 0.35); }

.tm-panel-id {
  display: flex; align-items: center; gap: 10px;
  margin-top: 16px;
  padding: 11px 14px;
  border-radius: var(--radius-xs);
  background: var(--bg-soft);
  border: 1px solid var(--line);
}
.tm-panel-id .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green-400); flex: 0 0 auto; box-shadow: 0 0 8px rgba(52, 211, 153, 0.7); }
.tm-panel-id code { font-family: var(--mono); font-size: 13px; color: var(--ink); font-weight: 700; word-break: break-all; }
.tm-panel-id button { margin-left: auto; border: 0; background: transparent; color: var(--muted); font-size: 11.5px; font-weight: 700; min-height: 36px; }
.tm-panel-id button:hover { color: var(--blue-600); }

.tm-status-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 12.5px; font-weight: 800;
  margin-top: 14px;
}
.tm-status-chip.pending { background: rgba(251, 191, 36, 0.14); color: #a16207; }
.tm-status-chip.active { background: rgba(52, 211, 153, 0.14); color: #047857; }
.tm-status-chip.rejected { background: rgba(239, 69, 101, 0.1); color: var(--red); }

.tm-panel-form { margin-top: 18px; display: grid; gap: 13px; }
.tm-panel-form label { display: grid; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--ink); }
.tm-panel-form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 6px; }
.tm-panel-form input,
.tm-panel-form textarea,
.tm-panel-form select {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  background: #fbfdff;
  color: var(--ink);
  font: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.tm-panel-form textarea { resize: vertical; }
.tm-panel-form input:focus,
.tm-panel-form textarea:focus,
.tm-panel-form select:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(29, 99, 242, 0.14); }
.tm-panel-form input::placeholder,
.tm-panel-form textarea::placeholder { color: var(--muted); }
.tm-panel-form input[readonly] { background: var(--bg-soft); color: var(--muted); cursor: not-allowed; }
.tm-panel-hint { font-size: 12px; color: var(--muted); }
.tm-tier-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tm-tier-radio {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  padding: 10px;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.tm-tier-radio.is-full { opacity: 0.55; cursor: not-allowed; }
.tm-tier-radio input { position: absolute; opacity: 0; pointer-events: none; }
.tm-tier-radio span { display: grid; gap: 3px; text-align: center; }
.tm-tier-radio span b { color: var(--ink); font-size: 13px; font-weight: 800; }
.tm-tier-radio small { color: var(--muted); font-size: 10.5px; font-weight: 600; }
.tm-tier-radio:has(input:checked) {
  border-color: var(--blue-500);
  background: rgba(29, 99, 242, 0.06);
  box-shadow: 0 0 0 3px rgba(29, 99, 242, 0.13);
}
.tm-tier-radio:has(input:checked) small { color: var(--blue-600); }
.tm-panel-cta {
  margin-top: 6px;
  min-height: 48px;
  padding: 13px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--grad-primary);
  color: #fff;
  font-size: 15px; font-weight: 800;
  box-shadow: 0 10px 24px rgba(29, 99, 242, 0.32);
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}
.tm-panel-cta:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(29, 99, 242, 0.42); }
.tm-panel-cta:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.tm-panel-cta-ghost {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  box-shadow: none;
}
.tm-panel-cta-ghost:hover:not(:disabled) { transform: none; box-shadow: none; border-color: var(--blue-500); color: var(--blue-600); }
.tm-panel-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.tm-panel-meta article { padding: 12px; border-radius: var(--radius-xs); background: var(--bg-soft); border: 1px solid var(--line); }
.tm-panel-meta span { display: block; font-size: 11.5px; color: var(--muted); font-weight: 600; }
.tm-panel-meta strong { font-size: 15.5px; color: var(--ink); font-weight: 800; word-break: break-word; }
.tm-panel-meta-dl { grid-template-columns: 1fr; margin-top: 12px; }
.tm-panel-meta-dl dt { font-size: 11.5px; color: var(--muted); font-weight: 700; padding: 8px 12px 0; }
.tm-panel-meta-dl dd { margin: 0; font-size: 13.5px; color: var(--ink); font-weight: 600; padding: 0 12px 8px; border-bottom: 1px dashed var(--line); word-break: break-word; }
.tm-panel-meta-dl dt:first-of-type { padding-top: 0; }
.tm-panel-note {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--copy);
  background: rgba(251, 191, 36, 0.08);
  border: 1px dashed rgba(251, 191, 36, 0.4);
  padding: 10px 13px;
  border-radius: var(--radius-xs);
  word-break: break-word;
}

/* ===== 业绩榜 ===== */
.tm-board { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; box-shadow: var(--shadow-sm); }
.tm-board-list { display: grid; gap: 2px; }
.tm-board-row {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  border-radius: var(--radius-xs);
  transition: background 0.2s;
}
.tm-board-row:hover { background: var(--bg-soft); }
.tm-board-rank {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 14px; font-weight: 800;
}
.tm-board-row:nth-child(1) .tm-board-rank { background: var(--grad-primary); border: 0; color: #fff; }
.tm-board-row:nth-child(2) .tm-board-rank { background: linear-gradient(135deg, #94a8c4, #c6d7f0); border: 0; color: #fff; }
.tm-board-row:nth-child(3) .tm-board-rank { background: linear-gradient(135deg, #d9a06b, #f2c99a); border: 0; color: #fff; }
.tm-board-wallet { font-family: var(--mono); font-size: 13px; color: var(--copy); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tm-board-perf { font-size: 15px; color: var(--blue-600); font-weight: 800; }
.tm-board-empty { padding: 28px; text-align: center; color: var(--muted); font-size: 14px; }
.tm-board-note { margin-top: 12px; text-align: center; font-size: 12.5px; color: var(--muted); }

/* ===== FAQ ===== */
.tm-faq { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.tm-faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.tm-faq details[open] { border-color: rgba(34, 211, 238, 0.5); box-shadow: var(--shadow-sm); }
.tm-faq summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  color: var(--ink);
  font-size: 14.5px; font-weight: 700;
  cursor: pointer;
  user-select: none;
}
.tm-faq summary::-webkit-details-marker { display: none; }
.tm-faq summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 800;
  color: var(--blue-600);
  transition: transform 0.25s;
}
.tm-faq details[open] summary::after { transform: rotate(45deg); }
.tm-faq p { padding: 0 20px 18px; font-size: 13.5px; color: var(--copy); }

/* ===== 页脚 ===== */
.tm-footer { margin-top: 90px; border-top: 1px solid var(--line); background: var(--navy-900); }
.tm-footer .tm-brand-copy strong { color: #fff; }
.tm-footer .tm-brand-copy small { color: #7d9cc9; }
.tm-footer .tm-brand-mark { background: rgba(255, 255, 255, 0.06); border-color: rgba(103, 232, 249, 0.3); }
.tm-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 42px clamp(16px, 4vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.tm-footer-inner p { margin-top: 10px; font-size: 13px; color: #9fb9dd; }
.tm-footer nav { display: flex; gap: 22px; }
.tm-footer nav a { color: #c4d8f4; text-decoration: none; font-size: 13.5px; font-weight: 600; }
.tm-footer nav a:hover { color: var(--cyan-300); }
.tm-footer-legal {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 56px) 26px;
  font-size: 12px;
  color: #6c89b5;
  text-align: center;
}

/* ===== Toast ===== */
.tm-toast {
  position: fixed;
  left: 50%;
  bottom: calc(34px + env(safe-area-inset-bottom));
  transform: translate(-50%, 20px);
  z-index: 120;
  max-width: min(92vw, 480px);
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--navy-900);
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 16px 40px rgba(4, 16, 31, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
}
.tm-toast.is-show { opacity: 1; transform: translate(-50%, 0); }
.tm-toast.is-error { background: var(--red); }

/* ===== 滚动渐入 ===== */
.tm-reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.tm-reveal.is-in { opacity: 1; transform: none; }

/* ===== 响应式 ===== */
@media (max-width: 1100px) {
  .tm-hero { grid-template-columns: 1fr; padding-bottom: 90px; }
  .tm-hero-visual { min-height: 340px; }
  .tm-nav-links { display: none; }
  .tm-nav-burger { display: block; }
  .tm-stats { grid-template-columns: repeat(2, 1fr); margin-top: -40px; }
  .tm-tiers, .tm-income-grid { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .tm-flow { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .tm-nav { gap: 8px; }
  .tm-nav-admin { display: none; }
  .tm-nav-cta { padding: 8px 14px; font-size: 12.5px; }
  .tm-brand-copy small { display: none; }
  .tm-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 0 14px; }
  .tm-stats article { padding: 14px; }
  .tm-stats strong { font-size: 18px; }
  .tm-flow { grid-template-columns: 1fr; }
  .tm-panel-meta { grid-template-columns: 1fr; }
  .tm-tier-row { grid-template-columns: 1fr; }
  .tm-section { padding-top: 64px; }
  .tm-hero-actions .tm-btn-primary, .tm-hero-actions .tm-btn-ghost { width: 100%; justify-content: center; }
  .tm-visual-chip { font-size: 11px; padding: 6px 11px; }
  .tm-visual-chip.c2 { left: 0; }
  .tm-footer nav { flex-wrap: wrap; gap: 14px; }
}

@media (max-width: 400px) {
  .tm-lang button { padding: 3px 9px; font-size: 11.5px; }
  .tm-nav-cta { display: none; }
  .tm-mobile-menu button.tm-nav-cta { display: flex; }
  .tm-stats { grid-template-columns: 1fr 1fr; }
}

/* 长文本换行兜底 */
.tm-hero-lead, .tm-panel-note, .tm-panel-sub, .tm-income-card p, .tm-flow p, .tm-faq p, .tm-footer-legal { overflow-wrap: anywhere; }
