/* pages/profile.css — 由 pages/profile/profile.wxss 机械转换 *//* pages/profile/profile.wxss — 我的（tab 页） */

:where(.mp-page[data-route="pages/profile/profile"]) .content {
  padding: 0 var(--space-page);
}/* ---------- 头部会员卡区 ---------- */
:where(.mp-page[data-route="pages/profile/profile"]) .member-zone {
  padding-top: var(--space-card);
}

:where(.mp-page[data-route="pages/profile/profile"]) .member-card-tap {
  width: 100%;
  min-width: 0;
  border-radius: var(--radius-vip);
  outline: none;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

:where(.mp-page[data-route="pages/profile/profile"]) .member-card-tap:focus-visible {
  outline: 3px solid rgba(232, 90, 23, 0.38);
  outline-offset: 3px;
}

/* “我的”页专用紧凑身份卡；详细证书继续使用 member-card 页的 certificate 变体。 */
:where(.mp-page[data-route="pages/profile/profile"]) .mc-profile {
  width: 100%;
  min-width: 0;
}

:where(.mp-page[data-route="pages/profile/profile"]) .mc-profile .mc {
  position: relative;
  width: 100%;
  min-width: 0;
  height: auto;
  min-height: 168px;
}

:where(.mp-page[data-route="pages/profile/profile"]) .mc-profile .mc-face {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  padding: 15px 17px 13px;
  border: 1px solid rgba(232, 90, 23, 0.18);
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(18, 19, 22, 0.2);
}

:where(.mp-page[data-route="pages/profile/profile"]) .mc-profile .mc-front {
  position: relative;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  min-height: 168px;
}

:where(.mp-page[data-route="pages/profile/profile"]) .mc-profile .mc-profile-top,
:where(.mp-page[data-route="pages/profile/profile"]) .mc-profile .mc-profile-main,
:where(.mp-page[data-route="pages/profile/profile"]) .mc-profile .mc-profile-bottom {
  z-index: 1;
}

:where(.mp-page[data-route="pages/profile/profile"]) .mc-profile .mc-profile-top {
  flex: none;
  min-width: 0;
  justify-content: flex-start;
}

:where(.mp-page[data-route="pages/profile/profile"]) .mc-profile .mc-brand {
  display: flex;
  align-items: center;
  min-width: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 10px;
  font-weight: 650;
  line-height: 1.4;
  letter-spacing: 1.4px;
}

:where(.mp-page[data-route="pages/profile/profile"]) .mc-profile .mc-profile-brand-mark {
  width: 2px;
  height: 11px;
  margin-right: 7px;
  border-radius: 2px;
  background: #e85a17;
}

:where(.mp-page[data-route="pages/profile/profile"]) .mc-profile .mc-profile-main {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  margin-top: 7px;
  align-items: stretch;
}

:where(.mp-page[data-route="pages/profile/profile"]) .mc-profile .mc-profile-info {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
}

:where(.mp-page[data-route="pages/profile/profile"]) .mc-profile .mc-profile-person {
  display: flex;
  align-items: baseline;
  min-width: 0;
  gap: 9px;
}

:where(.mp-page[data-route="pages/profile/profile"]) .mc-profile .mc-nickname {
  min-width: 0;
  max-width: 68%;
  color: #fff;
  font-size: 17px;
  font-weight: 720;
  line-height: 1.25;
  letter-spacing: 0.1px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

:where(.mp-page[data-route="pages/profile/profile"]) .mc-profile .mc-profile-status {
  display: inline-flex;
  align-items: center;
  flex: none;
  color: #f4a261;
  font-size: 9px;
  font-weight: 580;
  line-height: 1.4;
  letter-spacing: 0.25px;
  white-space: nowrap;
}

:where(.mp-page[data-route="pages/profile/profile"]) .mc-profile .mc-profile-status-icon {
  display: inline-flex;
  margin-right: 3px;
}

:where(.mp-page[data-route="pages/profile/profile"]) .mc-profile .mc-profile-status-icon svg {
  display: block;
  width: 10px;
  height: 10px;
}

:where(.mp-page[data-route="pages/profile/profile"]) .mc-profile .mc-profile-number-row {
  min-width: 0;
  margin-top: 7px;
}

:where(.mp-page[data-route="pages/profile/profile"]) .mc-profile .mc-number {
  width: 100%;
  min-width: 0;
  margin-top: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: clamp(25px, 8.2vw, 30px);
  font-weight: 760;
  line-height: 1.1;
  letter-spacing: 0.055em;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

:where(.mp-page[data-route="pages/profile/profile"]) .mc-profile .mc-number-on {
  color: #fff4e8;
  text-shadow: 0 0 15px rgba(232, 90, 23, 0.18);
}

:where(.mp-page[data-route="pages/profile/profile"]) .mc-profile .mc-profile-meta {
  width: 100%;
  min-width: 0;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 10px;
  font-weight: 450;
  line-height: 1.35;
  letter-spacing: 0.15px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

:where(.mp-page[data-route="pages/profile/profile"]) .mc-profile .mc-profile-bottom {
  flex: none;
  min-width: 0;
  margin-top: 6px;
  padding-top: 7px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  align-items: center;
}

:where(.mp-page[data-route="pages/profile/profile"]) .mc-profile .mc-profile-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-width: 0;
  color: #f4a261;
  font-size: 10px;
  font-weight: 620;
  line-height: 1.35;
  letter-spacing: 0.3px;
}

:where(.mp-page[data-route="pages/profile/profile"]) .mc-profile .mc-profile-link-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f4a261;
  line-height: 1;
}

:where(.mp-page[data-route="pages/profile/profile"]) .mc-profile .mc-profile-link-arrow svg {
  display: block;
  width: 14px;
  height: 14px;
}

@media (max-width: 340px) {
  :where(.mp-page[data-route="pages/profile/profile"]) .mc-profile .mc {
    min-height: 164px;
  }

  :where(.mp-page[data-route="pages/profile/profile"]) .mc-profile .mc-front {
    min-height: 164px;
  }

  :where(.mp-page[data-route="pages/profile/profile"]) .mc-profile .mc-face {
    padding: 14px;
    border-radius: 18px;
  }

  :where(.mp-page[data-route="pages/profile/profile"]) .mc-profile .mc-nickname {
    max-width: 64%;
    font-size: 16px;
  }

  :where(.mp-page[data-route="pages/profile/profile"]) .mc-profile .mc-number {
    font-size: 25px;
  }
}

:where(.mp-page[data-route="pages/profile/profile"]) .tap-hover {
  opacity: 0.88;
}

.mp-page[data-route="pages/profile/profile"] .profile .member-zone .member-meta {
  margin-top: 10px;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid #eceef1;
  border-radius: 14px;
  padding: 7px 4px;
  box-shadow: none;
}

.mp-page[data-route="pages/profile/profile"] .profile .member-meta .meta-item {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 10px;
  padding: 5px 4px;
  outline: none;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.mp-page[data-route="pages/profile/profile"] .profile .member-meta .meta-item:focus-visible {
  outline: 2px solid rgba(232, 90, 23, 0.42);
  outline-offset: -1px;
  background: rgba(232, 90, 23, 0.07);
}

.mp-page[data-route="pages/profile/profile"] .profile .member-meta .meta-value {
  max-width: 100%;
  font-size: 15px;
  font-weight: 750;
  color: var(--text-primary);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.mp-page[data-route="pages/profile/profile"] .profile .member-meta .meta-level {
  font-size: 13px;
  color: var(--brand-orange);
}

.mp-page[data-route="pages/profile/profile"] .profile .member-meta .meta-level-gold {
  color: var(--brand-gold);
}

.mp-page[data-route="pages/profile/profile"] .profile .member-meta .meta-label {
  margin-top: 2px;
  font-size: 10px;
  color: var(--text-tertiary);
}

.mp-page[data-route="pages/profile/profile"] .profile .member-meta .meta-divider {
  flex: none;
  width: 1px;
  height: 28px;
  background: #eceef1;
}/* 游客卡 */
:where(.mp-page[data-route="pages/profile/profile"]) .guest-card {
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
  border: 0.5px solid var(--divider);
  border-radius: var(--radius-vip);
  padding: 20px 16px;
}

:where(.mp-page[data-route="pages/profile/profile"]) .guest-orbit {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 1px solid rgba(228, 90, 27, 0.35);
  box-shadow: 0 0 40px rgba(44, 113, 232, 0.18) inset;
}

:where(.mp-page[data-route="pages/profile/profile"]) .guest-main {
  position: relative;
  display: flex;
  align-items: center;
}

:where(.mp-page[data-route="pages/profile/profile"]) .guest-astro {
  font-size: 36px;
  margin-right: 12px;
}

:where(.mp-page[data-route="pages/profile/profile"]) .guest-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
}

:where(.mp-page[data-route="pages/profile/profile"]) .guest-desc {
  margin-top: 4px;
  font-size: 12px;
  color: var(--text-secondary);
}

:where(.mp-page[data-route="pages/profile/profile"]) .guest-btn {
  position: relative;
  margin-top: 16px;
}/* ---------- 宫格 ---------- */
:where(.mp-page[data-route="pages/profile/profile"]) .section {
  margin-top: var(--space-section);
}

:where(.mp-page[data-route="pages/profile/profile"]) .grid-order, :where(.mp-page[data-route="pages/profile/profile"]) .grid-asset {
  display: flex;
  padding: 16px 4px;
}

:where(.mp-page[data-route="pages/profile/profile"]) .grid-content {
  display: flex;
  flex-wrap: wrap;
  padding: 8px;
}

:where(.mp-page[data-route="pages/profile/profile"]) .grid-cell {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6px 0;
  border-radius: var(--radius-btn);
}

:where(.mp-page[data-route="pages/profile/profile"]) .grid-cell-lg {
  flex: none;
  width: 50%;
  padding: 14px 0;
}

:where(.mp-page[data-route="pages/profile/profile"]) .cell-hover {
  background: var(--bg-elevated);
}

:where(.mp-page[data-route="pages/profile/profile"]) .grid-icon {
  font-size: 24px;
  line-height: 1.2;
}

:where(.mp-page[data-route="pages/profile/profile"]) .grid-icon-blue {
  /* 蓝色科技风图标底托，突出身份资产 */
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(44, 113, 232, 0.14);
  border: 0.5px solid rgba(44, 113, 232, 0.45);
}

:where(.mp-page[data-route="pages/profile/profile"]) .grid-label {
  margin-top: 6px;
  font-size: 12px;
  color: var(--text-secondary);
}/* ---------- 服务与设置（白底列表，PRD 10.4） ---------- */
:where(.mp-page[data-route="pages/profile/profile"]) .service-list {
  background: var(--light-bg);
  border-radius: var(--radius-card);
  overflow: hidden;
}

:where(.mp-page[data-route="pages/profile/profile"]) .service-row {
  display: flex;
  align-items: center;
  padding: 15px 14px;
  border-bottom: 0.5px solid rgba(11, 13, 16, 0.08);
}

:where(.mp-page[data-route="pages/profile/profile"]) .service-row:last-child {
  border-bottom: none;
}

:where(.mp-page[data-route="pages/profile/profile"]) .row-hover {
  background: rgba(11, 13, 16, 0.05);
}

:where(.mp-page[data-route="pages/profile/profile"]) .service-icon {
  font-size: 18px;
  margin-right: 10px;
}

:where(.mp-page[data-route="pages/profile/profile"]) .service-label {
  flex: 1;
  font-size: 14px;
  color: rgba(11, 13, 16, 0.88);
}

:where(.mp-page[data-route="pages/profile/profile"]) .service-badge {
  min-width: 18px;
  height: 18px;
  line-height: 18px;
  text-align: center;
  padding: 0 5px;
  border-radius: 499.5px;
  background: var(--brand-orange);
  color: var(--text-primary);
  font-size: 10px;
  margin-right: 6px;
}

:where(.mp-page[data-route="pages/profile/profile"]) .service-arrow {
  font-size: 16px;
  color: rgba(11, 13, 16, 0.35);
}/* ---------- 非官方声明 ---------- */
:where(.mp-page[data-route="pages/profile/profile"]) .notice {
  margin: var(--space-section) 0 12px;
  font-size: 11px;
  line-height: 1.6;
  color: var(--text-tertiary);
  text-align: center;
}

/* ====== 游客态：现代高端会员卡设计 ====== */
:where(.mp-page[data-route="pages/profile/profile"]) .guest-card-tech {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* 卡片主体 */
:where(.mp-page[data-route="pages/profile/profile"]) .guest-id-card {
  position: relative;
  width: 100%;
  height: 188px;
  border-radius: 20px;
  overflow: hidden;
  box-sizing: border-box;
  padding: 18px 20px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(135deg, #1a1f2e 0%, #0f1318 40%, #1c1410 100%);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.22), 0 2px 8px rgba(0, 0, 0, 0.12), inset 0 0.5px 0 rgba(255,255,255,0.07);
}

/* 光泽层 */
:where(.mp-page[data-route="pages/profile/profile"]) .guest-card-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 20%,
    rgba(255, 255, 255, 0.035) 45%,
    rgba(255, 255, 255, 0.065) 50%,
    rgba(255, 255, 255, 0.035) 55%,
    transparent 75%
  );
  pointer-events: none;
  z-index: 1;
}

/* 卡顶：品牌 + 芯片 */
:where(.mp-page[data-route="pages/profile/profile"]) .guest-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

:where(.mp-page[data-route="pages/profile/profile"]) .guest-card-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

:where(.mp-page[data-route="pages/profile/profile"]) .guest-brand-mark {
  display: inline-block;
  width: 3px;
  height: 16px;
  border-radius: 2px;
  background: linear-gradient(180deg, #FF6B2B 0%, #E45A1B 100%);
}

:where(.mp-page[data-route="pages/profile/profile"]) .guest-brand-name {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.92);
  text-transform: uppercase;
}

/* NFC/EMV 芯片 */
:where(.mp-page[data-route="pages/profile/profile"]) .guest-card-chip {
  width: 36px;
  height: 26px;
  border-radius: 5px;
  background: linear-gradient(145deg, #C9A84C 0%, #8B6914 40%, #D4AF55 70%, #A07820 100%);
  border: 0.5px solid rgba(255,255,255,0.25);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.3), 0 2px 6px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  padding: 4px 5px;
  box-sizing: border-box;
}

:where(.mp-page[data-route="pages/profile/profile"]) .guest-chip-line {
  height: 1.5px;
  border-radius: 1px;
  background: rgba(80, 50, 5, 0.45);
}

/* 卡中：编号区 */
:where(.mp-page[data-route="pages/profile/profile"]) .guest-card-mid {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

:where(.mp-page[data-route="pages/profile/profile"]) .guest-number-dots {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.35);
}

:where(.mp-page[data-route="pages/profile/profile"]) .guest-dot-group:last-child {
  color: rgba(228, 90, 27, 0.6);
  letter-spacing: 2px;
}

:where(.mp-page[data-route="pages/profile/profile"]) .guest-number-hint {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.3px;
  font-weight: 500;
}

/* 卡底：状态信息 */
:where(.mp-page[data-route="pages/profile/profile"]) .guest-card-bot {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  position: relative;
  z-index: 2;
  border-top: 0.5px solid rgba(255, 255, 255, 0.08);
  padding-top: 10px;
}

:where(.mp-page[data-route="pages/profile/profile"]) .guest-card-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

:where(.mp-page[data-route="pages/profile/profile"]) .guest-info-label {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: rgba(255, 255, 255, 0.38);
  text-transform: uppercase;
}

:where(.mp-page[data-route="pages/profile/profile"]) .guest-info-value {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.3px;
}

:where(.mp-page[data-route="pages/profile/profile"]) .guest-card-badge {
  margin-left: auto;
  color: rgba(228, 90, 27, 0.55);
  display: flex;
  align-items: center;
}

/* 登录按钮：绿色微信风格，圆角胶囊 */
:where(.mp-page[data-route="pages/profile/profile"]) .guest-login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #07C160 0%, #06AD56 100%);
  box-shadow: 0 4px 16px rgba(7, 193, 96, 0.30);
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: all 0.15s ease;
  box-sizing: border-box;
}

:where(.mp-page[data-route="pages/profile/profile"]) .guest-login-btn:active {
  transform: scale(0.97);
  box-shadow: 0 2px 8px rgba(7, 193, 96, 0.20);
}

:where(.mp-page[data-route="pages/profile/profile"]) .guest-login-icon {
  display: flex;
  align-items: center;
  color: #FFFFFF;
}

:where(.mp-page[data-route="pages/profile/profile"]) .guest-login-icon svg {
  width: 18px;
  height: 18px;
}

:where(.mp-page[data-route="pages/profile/profile"]) .guest-login-text {
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.5px;
}

:where(.mp-page[data-route="pages/profile/profile"]) .guest-btn-tech {
  width: 100%;
  height: 48px;
  border-radius: 24px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #FFFFFF;
  background: linear-gradient(135deg, #FF6B2B 0%, #E45A1B 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(228, 90, 27, 0.32);
}
