/* 我的团队 · 20260930 九宫格/抽奖页同系蓝色卡片布局 */

.mt-page.mt-v2 {
  min-height: 100vh;
  min-height: 100dvh;
  padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  background: #eef2f8;
}

.mt-hero-wrap {
  position: relative;
  padding-bottom: 18px;
  color: #fff;
  background: linear-gradient(165deg, #0a4a9e 0%, #1565cc 38%, #1d84ff 72%, #4da3ff 100%);
  overflow: hidden;
}

.mt-hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image: radial-gradient(circle at 20% 30%, #fff 0 1px, transparent 1px),
    radial-gradient(circle at 70% 60%, #fff 0 1px, transparent 1px);
  background-size: 28px 28px, 36px 36px;
  pointer-events: none;
}

.mt-hero-nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: calc(10px + env(safe-area-inset-top, 0px)) 14px 8px;
}

.mt-hero-back {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-size: 26px;
  line-height: 1;
  -webkit-tap-highlight-color: transparent;
}

.mt-hero-nav-center {
  flex: 1;
  min-width: 0;
  text-align: center;
}

.mt-hero-brand {
  display: block;
  font-size: 11px;
  letter-spacing: 0.06em;
  opacity: 0.88;
}

.mt-hero-nav-title {
  margin: 2px 0 0;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.mt-hero-pill {
  flex-shrink: 0;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  -webkit-tap-highlight-color: transparent;
}

.mt-hero-copy {
  position: relative;
  z-index: 1;
  padding: 6px 18px 14px;
}

.mt-hero-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 11px;
  font-weight: 600;
}

.mt-hero-title {
  margin: 10px 0 0;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
}

.mt-hero-sub {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
  max-width: 340px;
}

.mt-hero-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 0 14px;
  padding: 14px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.mt-hero-stat {
  text-align: center;
  padding: 6px 4px;
}

.mt-hero-stat .k {
  display: block;
  font-size: 11px;
  opacity: 0.88;
}

.mt-hero-stat .v {
  display: block;
  margin-top: 4px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.15;
}

.mt-hero-stat .v.sm {
  font-size: 16px;
}

.mt-hero-stat .v small {
  font-size: 12px;
  font-weight: 600;
  margin-left: 2px;
}

.mt-hero-stat--main .v {
  font-size: 26px;
}

.mt-main {
  margin: -10px 14px 0;
  position: relative;
  z-index: 3;
}

.mt-card {
  margin-bottom: 12px;
  padding: 16px 14px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 6px 22px rgba(21, 101, 204, 0.08);
}

.mt-card-hd {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.mt-card-hd h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: #1a1a1a;
}

.mt-card-hd > span {
  font-size: 11px;
  color: #999;
  white-space: nowrap;
  padding-top: 3px;
}

.mt-card-sub {
  margin: 4px 0 0;
  font-size: 12px;
  color: #888;
}

.mt-level-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.mt-level-scroll::-webkit-scrollbar {
  display: none;
}

.mt-level-chip {
  flex: 0 0 auto;
  min-width: 108px;
  padding: 12px 10px;
  border: 1px solid #e3eefc;
  border-radius: 14px;
  background: linear-gradient(180deg, #f8fbff 0%, #fff 100%);
  text-align: left;
  -webkit-tap-highlight-color: transparent;
}

.mt-level-chip.active {
  border-color: #1d84ff;
  background: linear-gradient(145deg, #e8f3ff 0%, #fff 100%);
  box-shadow: 0 4px 14px rgba(29, 132, 255, 0.22);
}

.mt-level-chip-lv {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #1565cc;
}

.mt-level-chip-n {
  display: block;
  margin-top: 6px;
  font-size: 20px;
  font-weight: 800;
  color: #222;
  line-height: 1.1;
}

.mt-level-chip-n small {
  font-size: 12px;
  font-weight: 600;
  margin-left: 2px;
  color: #666;
}

.mt-level-chip-r {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  color: #888;
}

.mt-tabs-scroll {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  margin-bottom: 14px;
  padding-bottom: 2px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.mt-tabs-scroll::-webkit-scrollbar {
  display: none;
}

.mt-tab-pill {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border: none;
  border-radius: 999px;
  background: #eef2f8;
  color: #555;
  font-size: 13px;
  font-weight: 600;
  -webkit-tap-highlight-color: transparent;
}

.mt-tab-pill em {
  font-style: normal;
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.06);
  color: #666;
}

.mt-tab-pill.active {
  background: linear-gradient(145deg, #1d84ff 0%, #1565cc 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(29, 132, 255, 0.32);
}

.mt-tab-pill.active em {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.mt-member-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mt-member-card {
  padding: 12px;
  border-radius: 14px;
  background: #f7faff;
  border: 1px solid #e8f0fc;
}

.mt-member-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mt-av {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(145deg, #1565cc, #1d84ff);
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mt-member-meta {
  flex: 1;
  min-width: 0;
}

.mt-member-name {
  font-size: 15px;
  font-weight: 700;
  color: #222;
}

.mt-member-phone {
  margin-top: 3px;
  font-size: 12px;
  color: #888;
}

.mt-direct-badge {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 999px;
  background: #e8f3ff;
  color: #1565cc;
}

.mt-member-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed #dce8f8;
}

.mt-metric {
  text-align: center;
}

.mt-metric .k {
  display: block;
  font-size: 10px;
  color: #aaa;
}

.mt-metric .v {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 700;
  color: #333;
}

.mt-metric .v.muted {
  font-weight: 600;
  font-size: 12px;
  color: #666;
}

.mt-empty {
  text-align: center;
  padding: 28px 12px 20px;
  color: #999;
}

.mt-empty-icon {
  font-size: 32px;
  line-height: 1;
}

.mt-empty p {
  margin: 10px 0 0;
  font-size: 14px;
}

.mt-empty-btn {
  margin-top: 14px;
  padding: 10px 22px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(145deg, #1d84ff, #1565cc);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.mt-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 16px;
  padding-top: 4px;
}

.mt-pager-btn {
  padding: 8px 18px;
  border: none;
  border-radius: 999px;
  background: #eef2f8;
  color: #555;
  font-size: 13px;
  font-weight: 600;
}

.mt-pager-btn:not(:disabled) {
  color: #1d84ff;
}

.mt-pager-btn:disabled {
  opacity: 0.45;
}

.mt-pager-num {
  font-size: 13px;
  color: #888;
  min-width: 56px;
  text-align: center;
}

.mt-quick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.mt-quick-item {
  padding: 14px 12px;
  border: 1px solid #e3eefc;
  border-radius: 16px;
  background: #fff;
  text-align: left;
  box-shadow: 0 4px 16px rgba(21, 101, 204, 0.06);
  -webkit-tap-highlight-color: transparent;
}

.mt-quick-item .t {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: #1565cc;
}

.mt-quick-item .d {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  color: #999;
}

.mt-traits {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.mt-traits li {
  font-size: 11px;
  color: #999;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #e8edf4;
}
