    /* ===== 会员详情 ===== */
    #page-member-detail.active { height: 100%; }
    .member-detail-page {
      height: 100%; overflow-y: auto; box-sizing: border-box; padding: 12px;
      background: #f5f7fa; color: var(--text-primary);
    }
    .member-detail-top { display: grid; grid-template-columns: 1.08fr 1fr; gap: 12px; }
    .member-detail-card { min-width: 0; background: #fff; border-radius: 8px; padding: 22px 24px; box-sizing: border-box; }
    .member-detail-profile-head { display: flex; align-items: center; min-height: 64px; }
    .member-detail-avatar {
      width: 54px; height: 54px; flex: 0 0 54px; display: flex; align-items: center; justify-content: center;
      border-radius: 50%; background: #e6f7f2; font-size: 32px; overflow: hidden;
    }
    .member-detail-identity { margin-left: 15px; min-width: 0; }
    .member-detail-name-row { display: flex; align-items: center; gap: 7px; margin-bottom: 6px; }
    .member-detail-name-row strong { font-size: 17px; color: #101828; }
    .member-detail-gender {
      display: inline-flex; align-items: center; justify-content: center; width: 17px; height: 17px;
      border-radius: 4px; background: #5f78f5; color: #fff; font-size: 12px; font-weight: 700;
    }
    .member-detail-id { color: var(--text-secondary); font-size: 12px; white-space: nowrap; }
    .member-detail-outline-btn {
      height: 34px; padding: 0 19px; margin-left: auto; border: 1px solid #d9dee5; border-radius: 18px;
      background: #fff; color: #303741; font-size: 13px; cursor: pointer;
    }
    .member-detail-outline-btn:hover { color: var(--brand); border-color: var(--brand); }
    .member-detail-basic {
      display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 16px; padding: 13px 15px;
      border-radius: 6px; background: #f4f6f9; color: var(--text-secondary); font-size: 12px;
    }
    .member-detail-basic > div { display: flex; align-items: center; gap: 12px; padding: 0 13px; border-right: 1px solid #dfe4ea; }
    .member-detail-basic > div:first-child { padding-left: 0; }
    .member-detail-basic > div:last-child { justify-content: space-between; padding-right: 0; border-right: 0; }
    .member-detail-basic strong { color: #3b4450; font-size: 13px; white-space: nowrap; }
    .member-detail-eye { color: #9aa4b2; font-size: 11px; }
    .member-detail-profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
    .member-detail-mini-card { min-height: 86px; padding: 14px 16px; box-sizing: border-box; border-radius: 6px; background: #f4f6f9; }
    .member-detail-mini-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
    .member-detail-mini-title strong { font-size: 13px; }
    .member-detail-mini-title button { padding: 0; border: 0; background: transparent; color: #446bff; font-size: 12px; cursor: pointer; }
    .member-detail-muted { color: #8f98a4; font-size: 12px; }
    .member-detail-tag {
      display: inline-flex; align-items: center; height: 24px; padding: 0 11px;
      border: 1px solid #caead9; border-radius: 13px; background: #f2fbf6; color: #57a87c; font-size: 12px;
    }
    .member-detail-overview-card { display: grid; grid-template-columns: minmax(210px, .9fr) minmax(250px, 1.15fr); gap: 28px; }
    .member-detail-card h3 { margin: 2px 0 17px; font-size: 15px; color: #101828; }
    .member-detail-overview-list { display: flex; flex-direction: column; gap: 15px; }
    .member-detail-overview-list > div { display: flex; align-items: center; justify-content: space-between; gap: 14px; font-size: 12px; }
    .member-detail-overview-list span { color: #87909c; }
    .member-detail-overview-list strong { color: #46505c; font-weight: 500; white-space: nowrap; }
    .member-detail-overview-list strong.green { color: #59ae82; }
    .member-detail-help {
      display: inline-flex; align-items: center; justify-content: center; width: 14px; height: 14px;
      margin-left: 3px; border-radius: 50%; background: #9ba4af; color: #fff !important; font-size: 10px;
    }
    .member-detail-card-actions { display: flex; align-items: center; justify-content: space-between; }
    .member-detail-card-actions > div { display: flex; gap: 7px; }
    .member-detail-more-btn,
    .member-detail-renew-btn { height: 30px; padding: 0 13px; border-radius: 16px; font-size: 12px; cursor: pointer; }
    .member-detail-more-btn { border: 1px solid #d9dee5; background: #fff; color: #6c7580; }
    .member-detail-renew-btn { border: 1px solid var(--brand); background: var(--brand); color: #fff; }
    .member-detail-card-visual {
      min-height: 154px; padding: 19px 21px; box-sizing: border-box; border: 4px solid #e6eef5;
      border-radius: 8px; color: #08234b; overflow: hidden; position: relative;
      background: linear-gradient(122deg, #b9e0f6 0%, #8fc6e8 57%, #79b7df 57%, #70add8 100%);
    }
    .member-detail-card-visual::before,
    .member-detail-card-visual::after {
      content: ''; position: absolute; top: -70px; width: 88px; height: 280px;
      transform: rotate(35deg); border-radius: 50px; background: rgba(255,255,255,.18);
    }
    .member-detail-card-visual::before { right: 98px; }
    .member-detail-card-visual::after { right: -24px; background: rgba(255,255,255,.1); }
    .member-detail-card-visual > * { position: relative; z-index: 1; }
    .member-detail-card-visual > strong { display: block; margin-bottom: 23px; font-size: 16px; }
    .member-detail-card-money { display: flex; gap: 24px; }
    .member-detail-card-money div,
    .member-detail-card-valid { display: flex; flex-direction: column; gap: 4px; }
    .member-detail-card-money span,
    .member-detail-card-valid span { font-size: 11px; color: #486278; }
    .member-detail-card-money b { font-size: 17px; }
    .member-detail-card-valid { margin-top: 14px; }
    .member-detail-card-valid b { font-size: 12px; }
    .member-detail-tabs {
      display: flex; align-items: flex-end; gap: 12px; margin-top: 12px; padding: 0 16px;
      overflow-x: auto; background: transparent;
    }
    .member-detail-tabs button {
      min-width: 108px; height: 43px; padding: 0 18px; border: 0; border-radius: 6px 6px 0 0;
      background: #e9edf1; color: #202731; font-size: 14px; cursor: pointer; position: relative; white-space: nowrap;
    }
    .member-detail-tabs button.active { background: #fff; font-weight: 700; }
    .member-detail-tabs button.active::after {
      content: ''; position: absolute; left: 24px; right: 24px; bottom: 7px; height: 4px;
      border-radius: 3px; background: #8dd6ab;
    }
    .member-detail-content { min-height: 440px; background: #fff; border-radius: 7px; overflow: hidden; }
    .member-detail-panel { display: none; padding: 18px 16px 24px; box-sizing: border-box; }
    .member-detail-panel.active { display: block; }
    .member-detail-add-pet {
      height: 32px; padding: 0 17px; margin-bottom: 14px; border: 0; border-radius: 17px;
      background: #7bc797; color: #fff; font-size: 12px; cursor: pointer;
    }
    .member-detail-table-wrap { width: 100%; overflow-x: auto; }
    .member-detail-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 12px; }
    .member-detail-table thead { background: #f3f5f8; }
    .member-detail-table th { height: 52px; padding: 0 12px; text-align: left; font-weight: 600; color: #303741; white-space: nowrap; }
    .member-detail-table td { height: 70px; padding: 0 12px; border-bottom: 1px solid #edf0f3; color: #343c46; }
    .member-detail-table tbody tr:nth-child(even) { background: #f7f8fa; }
    .member-detail-table tbody tr:hover { background: #f0f8f4; }
    .member-detail-table.pet-table { min-width: 1160px; }
    .member-detail-table.pet-table th:first-child { width: 50px; }
    .member-detail-table.pet-table th:nth-child(2) { width: 62px; }
    .member-detail-table.pet-table th:last-child { width: 120px; }
    .member-detail-pet-avatar {
      display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px;
      border-radius: 6px; background: #daefe2; font-size: 21px;
    }
    .member-detail-subtext { color: #89939f; font-size: 11px; }
    .member-detail-row-actions { display: flex; gap: 7px; }
    .member-detail-row-actions button {
      height: 27px; padding: 0 12px; border: 1px solid var(--brand); border-radius: 14px;
      background: #fff; color: var(--brand); font-size: 11px; cursor: pointer;
    }
    .member-detail-row-actions button.plain { color: #303741; border-color: #d7dce2; }
    .member-detail-filter-row { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; flex-wrap: wrap; }
    .member-detail-search {
      width: 270px; height: 34px; display: flex; align-items: center; gap: 6px;
      padding: 0 12px; box-sizing: border-box; border: 1px solid #cae5d4; border-radius: 18px; background: #fff;
      box-shadow: 0 0 0 2px rgba(109, 192, 143, .13);
    }
    .member-detail-search span { color: #929ba6; font-size: 17px; }
    .member-detail-search input { width: 100%; border: 0; outline: 0; color: #303741; font: inherit; font-size: 12px; }
    .member-detail-date {
      width: 285px; height: 34px; display: flex; align-items: center; justify-content: space-between;
      padding: 0 13px; box-sizing: border-box; border: 1px solid #d9dee5; border-radius: 18px;
      color: #8a939e; font-size: 12px; background: #fff;
    }
    .member-detail-date b { color: #b0b6bd; font-weight: 400; }
    .member-detail-date i { color: #a4acb6; font-style: normal; }
    .member-detail-order-select {
      width: 132px; height: 34px; padding: 0 13px; border: 1px solid #d9dee5; border-radius: 18px;
      background: #fff; color: #66707b; font: inherit; font-size: 12px; outline: 0; cursor: pointer;
    }
    .member-detail-query,
    .member-detail-reset { height: 34px; padding: 0 18px; border-radius: 18px; font-size: 12px; cursor: pointer; }
    .member-detail-query { border: 1px solid var(--brand); background: var(--brand); color: #fff; }
    .member-detail-reset { border: 1px solid #d7dce2; background: #fff; color: #4d5661; }
    .member-detail-table.consume-table { min-width: 900px; }
    .member-detail-table.consume-table th:first-child { width: 260px; }
    .member-detail-table.consume-table th:nth-child(2) { width: 150px; text-align: center; }
    .member-detail-table.consume-table th:nth-child(3) { width: 150px; text-align: center; }
    .member-detail-table.consume-table th:nth-child(4) { width: 200px; text-align: center; }
    .member-detail-table.consume-table th:nth-child(5) { width: 260px; text-align: center; }
    .member-detail-table.consume-table td:nth-child(n+2) { text-align: center; }
    .member-detail-table a { color: #5f78f5; cursor: pointer; text-decoration: none; }
    .member-detail-table a:hover { text-decoration: underline; }
    .member-detail-order-type.after-sale {
      display: inline-flex; height: 24px; align-items: center; padding: 0 10px;
      border-radius: 12px; background: #fff1f0; color: #e05c58; font-weight: 600;
    }
    .member-detail-negative { color: #e34f4f !important; font-weight: 700; }
    .member-detail-after-sale-row { background: #fffafa !important; }
    .member-detail-empty { min-height: 360px; align-items: center; justify-content: center; color: #9aa3ae; }
    .member-detail-empty.active { display: flex; }
    @media (max-width: 980px) {
      .member-detail-top { grid-template-columns: 1fr; }
      .member-detail-overview-card { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 680px) {
      .member-detail-card { padding: 18px 16px; }
      .member-detail-overview-card,
      .member-detail-profile-grid { grid-template-columns: 1fr; }
      .member-detail-basic { grid-template-columns: 1fr; gap: 10px; }
      .member-detail-basic > div { padding: 0; border-right: 0; }
      .member-detail-id { white-space: normal; }
    }
