/* 复刻 miniprogram/pages/user-center — 帮助页手机模拟器 */
.uc-sim-page {
  --primary: #A855F7;
  --primary-rgb: 168, 85, 247;
  --yc-navbar-height: 52px;
  background: #f5f5f5;
  min-height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', sans-serif;
}

/* 导航栏 */
.uc-sim-page .custom-navbar {
  position: sticky; top: 0; z-index: 10;
  background: #fff; border-bottom: 1px solid #f0f0f0;
  padding-bottom: 5px;
}
.uc-sim-page .custom-navbar::after {
  content: ''; position: absolute; bottom: 0; left: 5%; right: 5%; height: 1px;
  background: linear-gradient(to right, transparent, rgba(var(--primary-rgb), 0.55), transparent);
}
.uc-sim-page .navbar-content {
  display: flex; align-items: center; justify-content: space-between;
  height: 44px; padding: 0 16px; position: relative;
}
.uc-sim-page .navbar-left, .uc-sim-page .navbar-right { min-width: 48px; }
.uc-sim-page .navbar-left .back-btn {
  display: flex; align-items: center; justify-content: center;
  background: transparent; border: none; padding: 0; box-shadow: none;
}
.uc-sim-page .navbar-left .back-btn .back-text {
  display: inline-flex; align-items: center; justify-content: center;
  box-sizing: border-box; background: #fff; color: #374151;
  padding: 4px 11px; border-radius: 20px; font-size: 11px; font-weight: 600;
  min-width: 44px; line-height: 1; border: 1px solid rgba(255,255,255,0.65);
  box-shadow:
    0 3px 10px rgba(var(--primary-rgb), 0.35),
    0 1px 4px rgba(var(--primary-rgb), 0.18),
    inset 0 1px 0 rgba(255,255,255,0.35);
}
.uc-sim-page .navbar-title {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: inline-flex; align-items: baseline; justify-content: center;
  max-width: calc(100% - 120px); white-space: nowrap;
}
.uc-sim-page .navbar-title .navbar-title-main { font-size: 16px; font-weight: 700; color: #222; }
.uc-sim-page .navbar-title .navbar-title-side { font-size: 11px; font-weight: 400; color: #999; margin-left: 4px; }

.uc-sim-page .main_content { padding-bottom: 56px; }
.uc-sim-page .uc-card {
  margin: 6px 10px; border-radius: 8px; border: 1px solid #eee;
  background: #fff; box-shadow: none;
}

/* 资料顶栏 */
.uc-sim-page .profile-top-card { padding: 10px 12px; }
.uc-sim-page .profile-header-row {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 6px;
}
.uc-sim-page .profile-compact-row { display: flex; gap: 10px; flex: 1; min-width: 0; }
.uc-sim-page .avatar-wrapper-compact {
  position: relative; width: 40px; height: 40px; flex-shrink: 0; padding: 0;
}
.uc-sim-page .user-avatar-container-compact {
  width: 40px; height: 40px; border-radius: 50%; overflow: hidden;
}
.uc-sim-page .user-avatar-compact {
  width: 40px; height: 40px; border-radius: 50%; object-fit: cover; display: block;
}
.uc-sim-page .vip-badge-compact {
  position: absolute; right: -3px; bottom: -2px; z-index: 2;
  background: linear-gradient(135deg, #f59e0b, #d97706); color: #fff;
  font-size: 8px; font-weight: 800; padding: 1px 4px; border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.85);
}
.uc-sim-page .profile-compact-main { flex: 1; min-width: 0; }
.uc-sim-page .nickname-field-wrap { position: relative; }
.uc-sim-page .nickname-input-compact {
  width: 100%; border: none; outline: none; background: transparent;
  font-size: 15px; font-weight: 600; color: #333;
  min-height: 20px; line-height: 20px; padding: 0;
}
.uc-sim-page .nickname-input-compact::placeholder { color: #bbb; font-weight: 600; }
.uc-sim-page .nickname-field-wrap.is-editing .nickname-input-compact {
  outline: 1px solid rgba(var(--primary-rgb), 0.35); border-radius: 4px; padding: 0 4px;
}
.uc-sim-page .nickname-input-compact.typing {
  outline: 1px solid rgba(var(--primary-rgb), 0.55);
  box-shadow: 0 0 0 2px rgba(var(--primary-rgb), 0.12);
}
.uc-sim-page .profile-id-row { display: flex; align-items: center; gap: 4px; margin-top: 8px; }
.uc-sim-page .profile-id-row + .profile-id-row { margin-top: 8px; }
.uc-sim-page .profile-id-label { font-size: 11px; color: #999; flex-shrink: 0; font-weight: 500; }
.uc-sim-page .profile-id-value {
  flex: 1; min-width: 0; font-size: 11px; color: #666;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.uc-sim-page .profile-id-copy {
  flex-shrink: 0; margin: 0; padding: 0 6px; height: 20px; line-height: 20px;
  border-radius: 4px; font-size: 10px; color: var(--primary);
  border: 1px solid rgba(var(--primary-rgb), 0.35); background: transparent; cursor: pointer;
}
.uc-sim-page .profile-header-actions {
  display: flex; flex-direction: column; align-items: flex-end; gap: 5px; flex-shrink: 0; margin-top: 1px;
}
.uc-sim-page .profile-action-btn {
  position: relative;
  display: flex; flex-direction: row; align-items: center; justify-content: center;
  min-width: 58px; min-height: 24px; padding: 4px 8px; gap: 3px;
  font-size: 11px; font-weight: 600; color: #666; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.65); background: rgba(255,255,255,0.95);
  box-shadow: 0 3px 10px rgba(var(--primary-rgb), 0.18), 0 1px 4px rgba(0,0,0,0.05);
  white-space: nowrap; cursor: pointer;
}
.uc-sim-page .theme-icon-box-inline {
  width: 16px; height: 16px; border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(var(--primary-rgb), 0.08);
}
.uc-sim-page .theme-icon-box-inline img { width: 12px; height: 12px; }
.uc-sim-page .theme-icon-box-sm {
  width: 20px; height: 20px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(var(--primary-rgb), 0.08); flex-shrink: 0;
}
.uc-sim-page .theme-icon-box-sm img { width: 14px; height: 14px; }
.uc-sim-page .profile-action-vip-icon {
  display: flex; align-items: baseline; font-weight: 800; font-size: 9px; line-height: 1;
}
.uc-sim-page .profile-action-vip-v { color: #f59e0b; }
.uc-sim-page .profile-action-vip-ip { color: #d97706; font-size: 8px; }

/* 家庭档案 */
.uc-sim-page .family-card { padding: 10px 12px; }
.uc-sim-page .family-profile-header-top {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 3px;
}
.uc-sim-page .family-section-title { font-size: 14px; font-weight: 600; color: #1f2330; }
.uc-sim-page .family-section-desc { font-size: 11px; color: #7a7d85; line-height: 1.5; margin-bottom: 8px; display: block; }
.uc-sim-page .family-template-btn {
  font-size: 11px; color: var(--primary); font-weight: 600; border: none; background: none; padding: 0;
}
.uc-sim-page .family-quick-cards { display: flex; gap: 6px; }
.uc-sim-page .quick-card {
  flex: 1; border: none; background: #f8f9fc; border-radius: 8px;
  padding: 9px 4px 8px; box-shadow: 0 1px 4px rgba(29,45,87,0.04);
  display: flex; flex-direction: column; align-items: center; text-align: center; min-height: 55px;
}
.uc-sim-page .theme-icon-box-md {
  width: 28px; height: 28px; border-radius: 8px; margin-bottom: 3px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(var(--primary-rgb), 0.08);
}
.uc-sim-page .theme-icon-box-md img { width: 16px; height: 16px; }
.uc-sim-page .quick-card-title { font-size: 11px; font-weight: 600; color: #1f2330; margin-bottom: 2px; }
.uc-sim-page .quick-card-desc { font-size: 9px; color: #7a7d85; line-height: 12px; }

.uc-sim-page .relation-card { padding: 10px 12px; }
.uc-sim-page .uc-entry-left { display: flex; align-items: center; flex: 1; min-width: 0; }
.uc-sim-page .uc-entry-icon-slot { width: 33px; height: 28px; margin-right: 8px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.uc-sim-page .uc-entry-title { font-size: 14px; font-weight: 600; color: #333; }
.uc-sim-page .uc-section-desc-subtle { font-size: 11px; color: #888; margin-left: 4px; }
.uc-sim-page .relation-bind-section .relation-bind-head { margin-bottom: 7px; }
.uc-sim-page .relation-bind-title-line {
  display: flex; flex-wrap: nowrap; align-items: baseline; gap: 4px; min-width: 0;
}
.uc-sim-page .relation-bind-title-line .uc-entry-title { flex-shrink: 0; }
.uc-sim-page .relation-bind-desc-inline {
  margin-top: 0; flex: 1; min-width: 0; font-size: 11px; color: #888;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.uc-sim-page .relation-input-row {
  display: flex; align-items: center; gap: 4px;
  margin-left: 41px; padding: 2px 2px 2px 6px;
  border-radius: 6px; background: #f7f8fa; border: 1px solid #edf0f5; box-sizing: border-box;
}
.uc-sim-page .relation-input {
  flex: 1; min-width: 0; height: 20px; border: none; outline: none; background: transparent;
  font-size: 11px; color: #333; padding: 0 4px;
}
.uc-sim-page .relation-input::placeholder { color: #bbb; }
.uc-sim-page .relation-submit-btn {
  flex-shrink: 0; min-width: 36px; height: 20px; line-height: 20px;
  padding: 0 6px; border-radius: 4px; font-size: 10px; font-weight: 600;
  color: #fff; background: var(--primary); text-align: center;
}
.uc-sim-page .relation-active-item {
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
  padding: 8px 9px; border-radius: 6px; background: #fafafa; border: 1px solid #eee; margin-top: 8px;
}
.uc-sim-page .relation-active-info { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; }
.uc-sim-page .relation-active-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.uc-sim-page .relation-active-name { display: block; font-size: 14px; font-weight: 600; color: #333; }
.uc-sim-page .relation-active-meta { display: block; margin-top: 3px; font-size: 11px; color: #888; }
.uc-sim-page .relation-unbind-btn {
  min-width: 64px; height: 26px; line-height: 26px; border-radius: 13px;
  font-size: 11px; padding: 0 8px; color: #e54d42; background: #fff;
  border: 1px solid rgba(229,77,66,0.35); flex-shrink: 0; text-align: center;
  cursor: pointer; font-family: inherit;
}
button.relation-unbind-btn { appearance: none; -webkit-appearance: none; }
.uc-sim-page .uc-entry-inline {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 11px; border-radius: 9px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,255,255,0.92));
  border: 1px solid rgba(var(--primary-rgb), 0.1);
  box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.06);
}
.uc-sim-page .uc-entry-desc { font-size: 11px; color: #666; margin-top: 3px; display: block; }
.uc-sim-page .uc-entry-action { font-size: 11px; color: var(--primary); font-weight: 600; flex-shrink: 0; margin-left: 6px; }
.uc-sim-page .workbench-hub-wrap { margin: 6px 10px; }
.uc-sim-page .workbench-hub-card {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 14px 12px; border-radius: 10px; background: #fff;
  border: 1px solid rgba(29,45,87,0.08); box-shadow: 0 2px 7px rgba(29,45,87,0.045);
}
.uc-sim-page .workbench-hub-main { display: flex; align-items: center; flex: 1; min-width: 0; }
.uc-sim-page .workbench-hub-title { font-size: 16px; font-weight: 600; color: #333; display: block; }
.uc-sim-page .workbench-hub-desc { font-size: 11px; color: #666; margin-top: 3px; display: block; }
.uc-sim-page .workbench-hub-side { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.uc-sim-page .workbench-hub-badge {
  padding: 2px 8px; border-radius: 10px; background: var(--primary); color: #fff; font-size: 10px; font-weight: 600;
}
.uc-sim-page .workbench-hub-arrow { font-size: 22px; color: #c4c8d0; line-height: 1; font-weight: 300; }

/* 头像上传 */
.uc-sim-page .avatar-upload-overlay {
  position: absolute; inset: 0; z-index: 12; display: none;
  align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(0,0,0,0.45);
}
.uc-sim-page .avatar-wrapper-compact.avatar-is-auditing .avatar-upload-overlay { display: flex; }
.uc-sim-page .avatar-upload-spinner {
  width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,0.35); border-top-color: #fff;
  border-radius: 50%; animation: uc-avatar-spin 0.85s linear infinite;
}
@keyframes uc-avatar-spin { to { transform: rotate(360deg); } }
.uc-sim-page .user-avatar-compact.avatar-updated { animation: uc-avatar-flash 0.45s ease; }
@keyframes uc-avatar-flash {
  0% { box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0.45); }
  100% { box-shadow: 0 0 0 8px rgba(var(--primary-rgb), 0); }
}

/* 头像：相册 / 拍照选择 */
.uc-sim-page .uc-avatar-source-sheet,
.uc-sim-page .uc-album-picker {
  position: absolute; inset: 0; z-index: 46;
  visibility: hidden; opacity: 0; pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.uc-sim-page .uc-avatar-source-sheet.show,
.uc-sim-page .uc-album-picker.show {
  visibility: visible; opacity: 1; pointer-events: auto;
}
.uc-sim-page .uc-sheet-mask {
  position: absolute; inset: 0; background: rgba(0,0,0,0.45);
}
.uc-sim-page .uc-sheet-stack {
  position: absolute; left: 8px; right: 8px; bottom: 10px;
  display: flex; flex-direction: column; gap: 8px;
}
.uc-sim-page .uc-sheet-group {
  border-radius: 12px; overflow: hidden; background: #fff;
}
.uc-sim-page .uc-sheet-btn {
  display: block; width: 100%; border: none; background: #fff;
  font-size: 13px; color: #111; padding: 12px 10px; cursor: pointer;
  border-bottom: 1px solid #eee;
}
.uc-sim-page .uc-sheet-group .uc-sheet-btn:last-child { border-bottom: none; }
.uc-sim-page .uc-sheet-btn.uc-sheet-cancel {
  border-radius: 12px; font-weight: 600;
}
.uc-sim-page .uc-album-picker {
  z-index: 48; background: transparent;
}
.uc-sim-page .uc-album-panel {
  position: absolute; left: 0; right: 0; bottom: 0;
  max-height: 46%; background: #111;
  border-radius: 12px 12px 0 0; overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 -4px 18px rgba(0,0,0,0.28);
}
.uc-sim-page .uc-album-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 12px 6px; color: #fff; flex-shrink: 0;
}
.uc-sim-page .uc-album-title { font-size: 13px; font-weight: 600; }
.uc-sim-page .uc-album-close {
  border: none; background: transparent; color: #fff;
  font-size: 11px; padding: 2px 0; cursor: pointer;
}
.uc-sim-page .uc-album-grid {
  flex: 0 0 auto; overflow: hidden;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
  padding: 0 2px 6px;
}
.uc-sim-page .uc-album-cell {
  position: relative; border: none; padding: 0; margin: 0;
  width: 100%; aspect-ratio: 1; overflow: hidden; background: #222; cursor: pointer;
}
.uc-sim-page .uc-album-cell img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.uc-sim-page .uc-album-cell.highlight-ring {
  box-shadow: inset 0 0 0 2px rgba(var(--primary-rgb), 0.95);
}

.uc-sim-page .user-section { padding: 10px 12px; }
.uc-sim-page .stats-header { display: flex; align-items: center; margin-bottom: 6px; }
.uc-sim-page .stats-indicator {
  width: 3px; height: 13px; border-radius: 3px; margin-right: 8px;
  background: linear-gradient(to bottom, var(--primary), #9333ea);
}
.uc-sim-page .stats-title { font-size: 15px; font-weight: 700; color: #1f2937; }
.uc-sim-page .stats-container-split { display: flex; align-items: stretch; padding: 2px 0; }
.uc-sim-page .stats-cell { flex: 1; min-width: 0; padding: 6px 10px; display: flex; flex-direction: column; align-items: flex-start; }
.uc-sim-page .stats-cell-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px; }
.uc-sim-page .stats-cell-label { font-size: 11px; color: #888; margin-right: 4px; }
.uc-sim-page .stats-cell-value { display: inline-flex; align-items: baseline; gap: 2px; }
.uc-sim-page .stats-value { font-size: 18px; font-weight: 700; color: var(--primary); }
.uc-sim-page .stats-unit { font-size: 11px; color: #999; }
.uc-sim-page .stats-cell-link { font-size: 10px; color: var(--primary); margin-top: 4px; }

/* 资料/服务端入口 */
.uc-sim-page .works-buttons-container.uc-card { margin: 6px 10px; padding: 0; overflow: hidden; }
.uc-sim-page .works-buttons-group { display: flex; flex-direction: column; }
.uc-sim-page .works-buttons-group + .works-buttons-group { border-top: 1px solid rgba(0,0,0,0.06); }
.uc-sim-page .works-button {
  display: flex; align-items: center; width: 100%; padding: 7px 8px;
  border: none; background: transparent; border-bottom: 1px solid rgba(0,0,0,0.06);
  text-align: left; cursor: pointer;
}
.uc-sim-page .works-buttons-group .works-button:last-child { border-bottom: none; }
.uc-sim-page .works-button.highlight-ring { background: rgba(var(--primary-rgb), 0.06); }
.uc-sim-page .works-btn-icon {
  width: 20px; height: 20px; margin-right: 6px; border-radius: 5px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(var(--primary-rgb), 0.08);
}
.uc-sim-page .works-btn-icon img { width: 14px; height: 14px; }
.uc-sim-page .works-btn-text { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.uc-sim-page .works-btn-title { font-size: 13px; font-weight: 600; color: #1f2937; line-height: 1.3; }
.uc-sim-page .works-btn-desc { font-size: 11px; color: #888; margin-top: 1px; }
.uc-sim-page .works-btn-arrow {
  width: 16px; height: 16px; margin-left: 6px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; opacity: 0.75;
  color: #c4c8d0; font-size: 14px; font-weight: 300;
}

.uc-sim-page .sim-tabbar {
  position: absolute; bottom: 0; left: 0; right: 0; height: 48px;
  background: #fff; border-top: 1px solid #eee;
  display: flex; align-items: center; justify-content: space-around;
}
.uc-sim-page .sim-tabbar-item { font-size: 11px; color: #999; }
.uc-sim-page .sim-tabbar-item.active { color: var(--primary); font-weight: 700; }

/* 设置弹窗 — 对齐 setting-popup */
.uc-sim-page .setting-popup {
  position: absolute; inset: 0; z-index: 50;
  visibility: hidden; opacity: 0; transition: opacity 0.3s;
}
.uc-sim-page .setting-popup.show { visibility: visible; opacity: 1; }
.uc-sim-page .setting-popup .popup-mask {
  position: absolute; inset: 0; background: rgba(0,0,0,0.6);
}
.uc-sim-page .setting-popup .popup-content,
.uc-sim-page .sub-popup .popup-content {
  position: absolute; left: 20px; right: 20px; bottom: 20px;
  width: auto; max-height: 70%; min-height: 120px;
  background: #fff; border-radius: 12px; padding: 12px 8px 15px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  transform: translateY(100%); transition: transform 0.3s;
  overflow-y: auto; box-sizing: border-box;
}
.uc-sim-page .setting-popup.show .popup-content,
.uc-sim-page .sub-popup.show .popup-content { transform: translateY(0); }
.uc-sim-page .sub-popup {
  position: absolute; inset: 0; z-index: 55;
  visibility: hidden; opacity: 0; transition: opacity 0.3s;
}
.uc-sim-page .sub-popup.show { visibility: visible; opacity: 1; }
.uc-sim-page .popup-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 10px; padding-bottom: 8px;
  border-bottom: 1px solid #f0f0f0;
}
.uc-sim-page .popup-title { font-size: 16px; font-weight: 600; color: #333; }
.uc-sim-page .close-text-btn {
  font-size: 12px; color: var(--primary); font-weight: 600; padding: 4px 8px; cursor: pointer;
}
.uc-sim-page .settings-list { padding: 0 4px; }
.uc-sim-page .settings-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 15px 0; position: relative;
}
.uc-sim-page .settings-item::after {
  content: ''; position: absolute; bottom: 0; left: 5%; right: 5%; height: 1px;
  background: linear-gradient(to right, transparent, rgba(108,117,125,0.25), transparent);
}
.uc-sim-page .settings-item.logout::after { display: none; }
.uc-sim-page .settings-item .left { display: flex; align-items: center; gap: 10px; }
.uc-sim-page .settings-item .setting-text { font-size: 16px; color: #333; font-weight: 500; }
.uc-sim-page .settings-item .right { display: flex; align-items: center; }
.uc-sim-page .enter-text-btn {
  font-size: 10px; color: var(--primary); font-weight: 500;
  padding: 0 8px; height: 14px; line-height: 14px;
  border-radius: 7px; border: 1px solid rgba(var(--primary-rgb), 0.45);
  display: inline-flex; align-items: center; justify-content: center;
}
.uc-sim-page .settings-item.logout {
  margin-top: 16px; justify-content: center; padding: 0;
}
.uc-sim-page .settings-item.logout .setting-text {
  padding: 6px 12px; border-radius: 25px; font-size: 13px; font-weight: 600;
  border: 1px solid #6c757d; color: #333;
}

/* 关于 / 账号 */
.uc-sim-page .about-app-info {
  display: flex; align-items: center; gap: 10px; padding: 8px 4px 12px;
  border-bottom: 1px solid #f5f5f5; margin-bottom: 4px;
}
.uc-sim-page .about-app-logo { width: 44px; height: 44px; border-radius: 10px; }
.uc-sim-page .about-app-name { font-size: 15px; font-weight: 700; color: #222; display: block; }
.uc-sim-page .about-app-slogan { font-size: 11px; color: #999; display: block; margin-top: 2px; }
.uc-sim-page .about-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 4px; border-bottom: 1px solid #f5f5f5;
}
.uc-sim-page .about-item-left { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #333; }
.uc-sim-page .about-item-meta { font-size: 12px; color: #999; }
.uc-sim-page .about-arrow { font-size: 18px; color: #ccc; }
.uc-sim-page .account-list { padding: 0 4px; }
.uc-sim-page .account-item {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 10px 4px; border-bottom: 1px solid #f5f5f5; font-size: 13px;
}
.uc-sim-page .account-item > span:first-child { color: #333; font-weight: 500; flex-shrink: 0; }
.uc-sim-page .account-right { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.uc-sim-page .account-value { font-size: 12px; color: #666; max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.uc-sim-page .account-btn {
  font-size: 10px; color: var(--primary); font-weight: 600;
  padding: 2px 8px; border-radius: 4px; border: 1px solid rgba(var(--primary-rgb), 0.35); background: #fff;
  cursor: pointer;
}
.uc-sim-page .account-value.bound-value { color: #333; font-weight: 500; }
.uc-sim-page .account-btn-danger { color: #e54d42 !important; border-color: rgba(229,77,66,0.35) !important; }
.uc-sim-page .inviter-edit-wrap { display: flex; align-items: center; gap: 6px; }
.uc-sim-page .inviter-edit-wrap.is-hidden { display: none !important; }
.uc-sim-page .inviter-bound-wrap { display: none; align-items: center; }
.uc-sim-page .inviter-bound-wrap.is-visible { display: flex; }
.uc-sim-page .inviter-bound-wrap .account-value.bound-value { max-width: none; }
.uc-sim-page .inviter-input {
  width: 96px; height: 26px; padding: 0 10px; box-sizing: border-box;
  border: 1px solid rgba(var(--primary-rgb), 0.35); border-radius: 13px;
  background: rgba(255,255,255,0.95); color: #333; font-size: 12px; text-align: center;
}
.uc-sim-page .inviter-input::placeholder { color: #999; font-size: 11px; }
.uc-sim-page .inviter-input:disabled { background: #f5f5f5; color: #999; }
.uc-sim-page .add-role-item .account-desc { font-size: 12px; color: #999; margin-right: 8px; white-space: nowrap; }
.uc-sim-page .add-role-item.is-hidden { display: none !important; }
.uc-sim-page .account-role-switch-item { display: none; }
.uc-sim-page .account-role-switch-item.is-visible { display: flex; }
.uc-sim-page .role-switch-inline-btn {
  margin: 0; padding: 0 12px; height: 26px; line-height: 26px; font-size: 11px; font-weight: 600;
  background: linear-gradient(135deg, var(--primary) 0%, #ec4899 100%); color: #fff;
  border: none; border-radius: 13px; cursor: pointer; white-space: nowrap; flex-shrink: 0;
}
.uc-sim-page .navbar-title-side.role-switched-mark {
  display: inline-block;
  color: #7c3aed !important;
  font-weight: 800;
  padding: 1px 8px;
  border-radius: 10px;
  background: rgba(168, 85, 247, 0.14);
  box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.5);
  animation: ucNavbarRolePulse 0.9s ease 2;
}
@keyframes ucNavbarRolePulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.5); transform: scale(1); }
  50% { box-shadow: 0 0 0 6px rgba(168, 85, 247, 0.22); transform: scale(1.06); }
}
.uc-sim-page .add-role-btn {
  margin: 0; padding: 0 14px; height: 26px; line-height: 26px; font-size: 12px; font-weight: 600;
  background: linear-gradient(135deg, var(--primary) 0%, #ec4899 100%); color: #fff;
  border: none; border-radius: 13px; cursor: pointer; white-space: nowrap;
}
.uc-sim-page .sub-popup .popup-content.account-popup-content { max-height: 82%; }
.uc-sim-page .uc-account-confirm {
  position: absolute; inset: 0; z-index: 70; display: none; align-items: center; justify-content: center;
}
.uc-sim-page .uc-account-confirm.show { display: flex; }
.uc-sim-page .uc-account-confirm .popup-mask { position: absolute; inset: 0; background: rgba(0,0,0,0.45); }
.uc-sim-page .uc-account-confirm-box {
  position: relative; z-index: 1; width: 78%; max-width: 280px; background: #fff; border-radius: 12px;
  padding: 16px 14px 12px; box-shadow: 0 8px 28px rgba(0,0,0,0.18);
}
.uc-sim-page .uc-account-confirm-title { font-size: 15px; font-weight: 700; color: #222; margin-bottom: 8px; text-align: center; }
.uc-sim-page .uc-account-confirm-text { font-size: 13px; color: #666; line-height: 1.55; margin: 0 0 14px; }
.uc-sim-page .uc-account-confirm-actions { display: flex; gap: 10px; }
.uc-sim-page .uc-account-confirm-cancel,
.uc-sim-page .uc-account-confirm-ok {
  flex: 1; padding: 9px; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; border: none;
}
.uc-sim-page .uc-account-confirm-cancel { background: #f3f4f6; color: #555; }
.uc-sim-page .uc-account-confirm-ok { background: var(--primary); color: #fff; }
.uc-sim-page .account-membership-card {
  margin: 6px 4px 8px; padding: 10px; border-radius: 8px;
  background: rgba(var(--primary-rgb), 0.06); border: 1px solid rgba(var(--primary-rgb), 0.15);
}
.uc-sim-page .account-membership-label { font-size: 12px; color: #666; display: block; }
.uc-sim-page .membership-badge {
  display: inline-block; margin-top: 4px; padding: 2px 8px; border-radius: 10px;
  font-size: 11px; font-weight: 700; color: #fff; background: linear-gradient(135deg, #f59e0b, #d97706);
}

/* center-page-shell 抽屉 */
.uc-sim-page .center-shell,
.center-shell.uc-sim-page {
  position: absolute; inset: 0; z-index: 60;
  display: none; align-items: flex-end; justify-content: stretch;
  padding: 0 12px 12px; box-sizing: border-box;
}
.uc-sim-page .center-shell.show,
.center-shell.uc-sim-page.show { display: flex; }
.uc-sim-page .center-shell-mask {
  position: absolute; inset: 0; background: rgba(0,0,0,0.5);
}
.uc-sim-page .center-shell-dialog {
  position: relative; z-index: 1; width: 100%;
  height: 82%; max-height: calc(100% - 40px);
  background: #fff; border-radius: 12px;
  display: flex; flex-direction: column; overflow: hidden;
  box-shadow: 0 6px 24px rgba(0,0,0,0.16);
  animation: ucSheetUp 0.28s ease;
}
@keyframes ucSheetUp {
  from { transform: translateY(12px); opacity: 0.85; }
  to { transform: translateY(0); opacity: 1; }
}
.uc-sim-page .center-shell-header {
  flex-shrink: 0; position: relative;
  display: flex; align-items: center; padding: 12px 16px;
  border-bottom: 1px solid #f0f0f0; min-height: 44px; box-sizing: border-box;
}
.uc-sim-page .center-shell-title {
  font-size: 16px; font-weight: 600; color: #333; padding-right: 60px;
}
.uc-sim-page .center-shell-close {
  position: absolute; top: 10px; right: 16px;
  min-width: 48px; min-height: 28px; padding: 4px 11px;
  border: 1px solid rgba(var(--primary-rgb), 0.45); border-radius: 14px;
  background: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: var(--primary); font-weight: 600; cursor: pointer;
}
.uc-sim-page .center-shell-body-wrap { flex: 1; min-height: 0; overflow: hidden; }
.uc-sim-page .center-shell-scroll { height: 100%; overflow-y: auto; padding: 6px 10px 12px; box-sizing: border-box; }
.uc-sim-page .center-shell-footer {
  flex-shrink: 0; padding: 8px 16px 12px; border-top: 1px solid #f0f0f0; background: #fff;
}
.uc-sim-page .profile-save-btn {
  width: 100%; height: 40px; border: none; border-radius: 8px;
  background: var(--primary); color: #fff; font-size: 14px; font-weight: 600;
}

/* user-profile-popup 内容 */
.uc-sim-page .profile-head {
  display: flex; align-items: flex-start; gap: 6px;
  margin-bottom: 8px; padding-bottom: 8px;
  border-bottom: 1px solid rgba(var(--primary-rgb), 0.12);
}
.uc-sim-page .profile-avatar {
  width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex-shrink: 0; background: #f0f0f0;
}
.uc-sim-page .profile-head-main { flex: 1; min-width: 0; }
.uc-sim-page .profile-head-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.uc-sim-page .profile-name { font-size: 15px; font-weight: 600; color: #111827; display: block; line-height: 1.3; }
.uc-sim-page .profile-role-badge {
  flex-shrink: 0; font-size: 12px; font-weight: 600; color: var(--primary);
  padding: 3px 8px; background: rgba(var(--primary-rgb), 0.1);
  border: 1px solid rgba(var(--primary-rgb), 0.22); border-radius: 10px;
}
.uc-sim-page .profile-id-row-inline { display: flex; align-items: center; flex-wrap: wrap; gap: 3px 5px; margin-top: 3px; }
.uc-sim-page .profile-id-label-inline { font-size: 11px; color: #9ca3af; }
.uc-sim-page .profile-id-value-inline { font-size: 11px; color: #6b7280; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.uc-sim-page .profile-id-copy-inline { font-size: 11px; color: var(--primary); }
.uc-sim-page .profile-nickname-sub { display: block; margin-top: 5px; font-size: 11px; color: #9ca3af; }

.uc-sim-page .profile-field { margin-bottom: 10px; }
.uc-sim-page .field-tip-muted {
  display: block; margin-top: 6px; font-size: 10px; color: #9ca3af; line-height: 1.45;
}
.uc-sim-page .sms-code-row {
  display: flex; align-items: center; gap: 8px; margin-top: 8px;
}
.uc-sim-page .sms-code-input { flex: 1; min-width: 0; }
.uc-sim-page .sms-code-btn {
  flex-shrink: 0; min-width: 88px; height: 32px; padding: 0 8px; margin: 0;
  font-size: 11px; font-weight: 600; line-height: 32px; border-radius: 6px;
  border: 1px solid rgba(var(--primary-rgb), 0.45); background: #fff;
  color: var(--primary); cursor: pointer; box-sizing: border-box;
}
.uc-sim-page .sms-code-btn[disabled],
.uc-sim-page .sms-code-btn.counting {
  opacity: 0.65; cursor: default; color: #888; border-color: #ddd;
}
.uc-sim-page .sms-code-btn.highlight-ring,
.uc-sim-page .sms-code-input.highlight-ring {
  box-shadow: 0 0 0 2px rgba(var(--primary-rgb), 0.55);
}
.uc-sim-page .profile-label { display: block; font-size: 12px; color: #666; margin-bottom: 4px; }
.uc-sim-page .profile-input {
  width: 100%; box-sizing: border-box; padding: 8px 10px; font-size: 13px; color: #333;
  background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 6px;
}
.uc-sim-page .profile-input::placeholder { color: #c4c8d0; }
.uc-sim-page .profile-input.typing {
  border-color: rgba(var(--primary-rgb), 0.45);
  box-shadow: 0 0 0 2px rgba(var(--primary-rgb), 0.1);
}
.uc-sim-page .profile-input-readonly {
  color: #333; background: #f9fafb; pointer-events: none;
}
.uc-sim-page .profile-readonly {
  display: block; font-size: 13px; color: #111827; word-break: break-all; line-height: 1.45;
}
.uc-sim-page .profile-nickname-value { font-weight: 600; color: var(--primary); }
.uc-sim-page .profile-location-block {
  margin-top: 2px; padding: 8px 8px 4px; border-radius: 8px;
  background: rgba(var(--primary-rgb), 0.04); border: 1px solid rgba(var(--primary-rgb), 0.1);
}
.uc-sim-page .profile-location-block .profile-form-block-title { margin-top: 0; }
.uc-sim-page .address-struct-readonly .profile-readonly-text {
  display: block; min-height: 28px; line-height: 28px; padding: 0 8px;
  background: #f7f8fa; border-radius: 6px; font-size: 12px; color: #333; box-sizing: border-box;
}
.uc-sim-page .poi-display-box {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin: 4px 0 6px; padding: 8px 10px; border-radius: 8px; box-sizing: border-box;
}
.uc-sim-page .poi-display-readonly { background: #f8f8f8; border: 1px solid #eee; }
.uc-sim-page .poi-display-main { flex: 1; min-width: 0; }
.uc-sim-page .poi-display-tag { display: block; font-size: 10px; color: #888; margin-bottom: 2px; }
.uc-sim-page .poi-display-name { display: block; font-size: 14px; font-weight: 600; color: #333; word-break: break-all; }
.uc-sim-page .profile-door-field { margin-bottom: 0; }
.uc-sim-page .profile-door-full { font-size: 12px; color: #333; line-height: 1.5; }
.uc-sim-page .cert-materials-wrap {
  margin: 10px 0 4px; border: 1px solid rgba(var(--primary-rgb), 0.12);
  border-radius: 10px; overflow: hidden; background: rgba(var(--primary-rgb), 0.04);
}
.uc-sim-page .cert-collapse-header {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 8px 10px; background: rgba(var(--primary-rgb), 0.06);
}
.uc-sim-page .cert-collapse-title { font-size: 12px; font-weight: 600; color: #374151; flex: 1; min-width: 0; }
.uc-sim-page .cert-materials-body { display: none; padding: 8px 10px 10px; }
.uc-sim-page .cert-materials-wrap.expanded .cert-materials-body { display: block; }
.uc-sim-page .partner-cert-section { margin-bottom: 10px; }
.uc-sim-page .partner-cert-section:last-child { margin-bottom: 0; }
.uc-sim-page .cert-upload-locked { color: #aaa; font-size: 11px; }
.uc-sim-page .partner-profile-body[hidden] { display: none !important; }
.uc-sim-page .profile-name-empty { color: #9ca3af; font-weight: 500; }
.uc-sim-page .profile-cert-collapse {
  margin-top: 8px; padding: 10px 0 4px; border-top: 1px solid #f0f0f0;
}
.uc-sim-page .profile-cert-collapse-head {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.uc-sim-page .cert-section-title { font-size: 13px; font-weight: 600; color: #333; }
.uc-sim-page .cert-collapse-row { cursor: pointer; user-select: none; }
.uc-sim-page .cert-collapse-expand-btn {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 8px; background: rgba(55,65,81,0.08);
  border-radius: 6px; border: 1px solid rgba(55,65,81,0.14);
}
.uc-sim-page .cert-collapse-hint { font-size: 11px; color: #4b5563; font-weight: 500; }
.uc-sim-page .cert-collapse-arrow {
  font-size: 14px; color: #4b5563; font-weight: 600;
  transform: rotate(-90deg); transition: transform 0.2s; line-height: 1;
}
.uc-sim-page .cert-collapse-arrow.expanded { transform: rotate(90deg); }
.uc-sim-page .profile-cert-collapse-body { display: none; padding-top: 10px; }
.uc-sim-page .profile-cert-collapse.expanded .profile-cert-collapse-body { display: block; }
.uc-sim-page .cert-dual-row { display: flex; gap: 10px; margin-bottom: 6px; }
.uc-sim-page .cert-dual-col { flex: 1; min-width: 0; }
.uc-sim-page .cert-dual-label { display: block; font-size: 11px; color: #666; margin-bottom: 4px; text-align: center; }
.uc-sim-page .cert-upload-box {
  position: relative; width: 100%; height: 72px; border-radius: 8px; overflow: hidden;
  background: #f7f8fa; border: 1px dashed rgba(var(--primary-rgb), 0.35); box-sizing: border-box;
}
.uc-sim-page .cert-upload-placeholder {
  height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #999; font-size: 11px; gap: 2px;
}
.uc-sim-page .cert-upload-icon { font-size: 18px; color: var(--primary); line-height: 1; }
.uc-sim-page .cert-dual-tip {
  margin: 4px 0 0; font-size: 10px; color: #888; line-height: 1.45;
}
.uc-sim-page .cert-label-row { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.uc-sim-page .cert-label-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.uc-sim-page .cert-remove {
  display: none; align-items: center; justify-content: center;
  min-height: 22px; padding: 0 8px; border-radius: 999px;
  border: 1px solid rgba(225,29,72,0.22); background: rgba(225,29,72,0.06);
  font-size: 10px; font-weight: 600; color: #e11d48;
}
.uc-sim-page .profile-cert-collapse.expanded .idcard-clear-demo { display: inline-flex; }
.uc-sim-page .cert-upload-filled { border-style: solid; border-color: rgba(var(--primary-rgb), 0.18); background: #fff; height: auto; padding-bottom: 2px; }
.uc-sim-page .cert-preview-wrap {
  position: relative; width: 100%; height: 72px; overflow: hidden; background: #eef2f6; border-radius: 6px;
}
.uc-sim-page .cert-preview-wrap-tall { height: 88px; }
.uc-sim-page .health-cert-mock {
  width: 100%; height: 100%; box-sizing: border-box; padding: 6px 8px;
  background: linear-gradient(180deg, #5b8fd4 0%, #4a7fc8 55%, #3d72bd 100%);
  color: #fff; text-align: center; display: flex; flex-direction: column; justify-content: center; gap: 2px;
}
.uc-sim-page .health-cert-mock-title { font-size: 8px; line-height: 1.25; opacity: 0.95; }
.uc-sim-page .health-cert-mock-sub { font-size: 7px; line-height: 1.25; opacity: 0.9; }
.uc-sim-page .health-cert-mock-name { margin-top: 4px; font-size: 11px; font-weight: 700; letter-spacing: 1px; }
.uc-sim-page .cert-preview-demo {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #e8eef5 0%, #d4e4f0 40%, #b8cfe3 100%);
}
.uc-sim-page .cert-preview-demo.cert-preview-back {
  background: linear-gradient(135deg, #edf2f7 0%, #dce8f2 45%, #c8d9ea 100%);
}
.uc-sim-page .cert-preview-blur { filter: blur(6px); transform: scale(1.06); }
.uc-sim-page .cert-privacy-eye {
  position: absolute; top: 4px; right: 4px; z-index: 2;
  min-width: 24px; height: 24px; padding: 0 6px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px; background: rgba(255,255,255,0.92);
  box-shadow: 0 1px 4px rgba(0,0,0,0.12); font-size: 11px; color: var(--primary); line-height: 1;
}
.uc-sim-page .cert-side-replace { display: block; text-align: center; font-size: 11px; color: var(--primary); margin-top: 4px; }
.uc-sim-page .cert-hint-demo { margin: 6px 0 8px; font-size: 10px; color: var(--primary); line-height: 1.45; }
.uc-sim-page .profile-label-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
.uc-sim-page .profile-label-row .profile-label { margin-bottom: 0; }
.uc-sim-page .cert-field-eye { font-size: 11px; color: var(--primary); flex-shrink: 0; }
.uc-sim-page .cert-inline-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 2px; }
.uc-sim-page .cert-inline-item .profile-label { margin-bottom: 4px; }
.uc-sim-page .profile-picker {
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
  min-height: 32px; padding: 0 10px; box-sizing: border-box;
  background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 6px;
  font-size: 12px; color: #333;
}
.uc-sim-page .profile-picker-compact { min-height: 32px; }
.uc-sim-page .profile-picker-arrow { color: var(--primary); font-size: 14px; line-height: 1; }
.uc-sim-page .profile-readonly-text-block {
  display: block; min-height: 32px; line-height: 32px; padding: 0 10px;
  background: #f7f8fa; border-radius: 6px; font-size: 12px; color: #333; box-sizing: border-box;
}
.uc-sim-page .profile-field-poi { position: relative; }
.uc-sim-page .profile-form-block-title {
  font-size: 13px; font-weight: 600; color: var(--primary); margin: 10px 0 8px;
}
.uc-sim-page .address-struct-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.uc-sim-page .address-struct-label { display: block; font-size: 11px; color: #666; margin-bottom: 3px; }

.uc-sim-page .profile-row {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 8px;
  padding: 8px 0; border-bottom: 1px solid #f5f5f5;
}
.uc-sim-page .profile-row .profile-label { margin: 0; flex-shrink: 0; }
.uc-sim-page .profile-value { font-size: 13px; color: #333; text-align: right; flex: 1; }

.uc-sim-page .partner-collab-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 4px 2px 6px; margin-bottom: 2px;
}
.uc-sim-page .partner-collab-name { font-size: 14px; font-weight: 600; color: #1f2330; }
.uc-sim-page .partner-collab-meta { font-size: 11px; color: #888; flex-shrink: 0; }

.uc-sim-page .uc-sim-toast,
.phone-screen > .uc-sim-toast {
  position: absolute; left: 50%; bottom: 22%; transform: translateX(-50%);
  z-index: 80; background: rgba(30,30,30,0.88); color: #fff;
  font-size: 11px; font-weight: 600; padding: 8px 14px; border-radius: 8px;
  white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.25s;
}
.uc-sim-page .uc-sim-toast.show { opacity: 1; }

.uc-sim-page ~ .sms-popup,
.phone-screen > .sms-popup {
  position: absolute;
  top: 48px; left: 12px; right: 12px;
  background: rgba(255,255,255,0.98);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  z-index: 95;
  transform: translateY(-120%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), opacity 0.3s;
  border: 1px solid #e0e0e0;
  pointer-events: none;
}
.phone-screen > .sms-popup.show { transform: translateY(0); opacity: 1; }
.phone-screen > .sms-popup .sms-popup-header { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.phone-screen > .sms-popup .sms-popup-icon {
  width: 28px; height: 28px; background: #4CAF50; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 10px; font-weight: 700;
}
.phone-screen > .sms-popup .sms-popup-title { font-size: 12px; font-weight: 700; color: #333; }
.phone-screen > .sms-popup .sms-popup-body { font-size: 12px; color: #555; }
.phone-screen > .sms-popup .sms-popup-code {
  font-size: 22px; font-weight: 900; color: var(--primary);
  letter-spacing: 4px; margin-top: 4px;
}

.uc-sim-page .role-switch-chip {
  display: inline-flex; align-items: center; margin: 0 10px 8px;
  padding: 3px 8px; border-radius: 10px; font-size: 10px; font-weight: 600;
  color: #7c3aed; background: rgba(168,85,247,0.1); border: 1px solid #e9d5ff; cursor: pointer;
}

.uc-sim-page .cert-collapse-expand-btn.highlight-ring,
.uc-sim-page .cert-collapse-header.highlight-ring,
.uc-sim-page .profile-cert-collapse-head.highlight-ring {
  box-shadow: 0 0 0 2px rgba(var(--primary-rgb), 0.55);
  border-radius: 8px;
}
.uc-sim-page .avatar-wrapper-compact.highlight-ring,
.uc-sim-page .nickname-field-wrap.highlight-ring,
.uc-sim-page .profile-action-btn.highlight-ring,
.uc-sim-page .works-button.highlight-ring,
.uc-sim-page .user-section.highlight-ring,
.uc-sim-page .center-shell-close.highlight-ring,
.uc-sim-page .v0-theme-item.highlight-ring,
.uc-sim-page .about-item.highlight-ring,
.uc-sim-page .contact-email-row.highlight-ring {
  box-shadow: 0 0 0 2px rgba(var(--primary-rgb), 0.55);
  border-radius: 8px;
}

/* 主题设置 — 居中弹窗 */
.uc-sim-page .sub-popup.theme-layer { z-index: 60; }
.uc-sim-page .sub-popup.theme-layer .popup-mask { position: absolute; inset: 0; background: rgba(0,0,0,0.55); }
.uc-sim-page .v0-theme-dialog {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(0.92);
  width: 88%; max-width: 320px; max-height: 78%;
  background: #fff; border-radius: 14px; padding: 12px 10px 10px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
  overflow-y: auto; opacity: 0; transition: transform 0.28s ease, opacity 0.28s ease;
  z-index: 2;
}
.uc-sim-page .sub-popup.theme-layer.show .v0-theme-dialog {
  transform: translate(-50%, -50%) scale(1); opacity: 1;
}
.uc-sim-page .v0-dialog-header {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px;
}
.uc-sim-page .v0-dialog-title { font-size: 16px; font-weight: 700; color: #111827; }
.uc-sim-page .v0-close-btn {
  width: 28px; height: 28px; border: none; border-radius: 50%; background: #f3f4f6;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0;
}
.uc-sim-page .v0-close-icon { font-size: 18px; color: #6b7280; line-height: 1; }
.uc-sim-page .v0-theme-list { display: flex; flex-direction: column; gap: 8px; }
.uc-sim-page .v0-theme-item {
  padding: 10px 12px; border: 1px solid #e5e7eb; border-radius: 10px;
  display: flex; align-items: center; justify-content: space-between; gap: 8px; cursor: pointer;
}
.uc-sim-page .v0-theme-item.active {
  border-color: var(--primary); background: rgba(var(--primary-rgb), 0.06);
  box-shadow: 0 2px 10px rgba(var(--primary-rgb), 0.15);
}
.uc-sim-page .v0-theme-header { display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px; flex-wrap: wrap; }
.uc-sim-page .v0-theme-name { font-size: 14px; font-weight: 700; color: #111827; }
.uc-sim-page .v0-theme-desc { font-size: 11px; color: #9ca3af; }
.uc-sim-page .v0-theme-colors { display: flex; gap: 5px; }
.uc-sim-page .v0-color-dot {
  width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0,0,0,0.08);
}
.uc-sim-page .v0-theme-check {
  width: 22px; height: 22px; border-radius: 50%; background: var(--primary);
  display: none; align-items: center; justify-content: center; flex-shrink: 0;
}
.uc-sim-page .v0-theme-item.active .v0-theme-check { display: flex; }
.uc-sim-page .v0-check-icon { color: #fff; font-size: 12px; font-weight: 700; }

/* 投诉举报 / 联系我们 */
.uc-sim-page .sub-popup.complaint-layer,
.uc-sim-page .sub-popup.contact-layer { z-index: 65; }
.uc-sim-page .complaint-popup,
.uc-sim-page .contact-popup { max-height: 82%; display: flex; flex-direction: column; overflow: hidden; }
.uc-sim-page .complaint-scroll { flex: 1; overflow-y: auto; padding: 0 4px; }
.uc-sim-page .complaint-field { margin-bottom: 12px; }
.uc-sim-page .complaint-label { font-size: 13px; color: #333; font-weight: 600; margin-bottom: 6px; }
.uc-sim-page .complaint-label .required { color: #e54d42; }
.uc-sim-page .complaint-textarea {
  width: 100%; min-height: 88px; padding: 10px; border: 1px solid rgba(var(--primary-rgb), 0.35);
  border-radius: 8px; font-size: 13px; resize: none; box-sizing: border-box; font-family: inherit;
}
.uc-sim-page .complaint-counter { display: block; text-align: right; font-size: 11px; color: #999; margin-top: 4px; }
.uc-sim-page .complaint-input {
  width: 100%; padding: 10px; border: 1px solid rgba(var(--primary-rgb), 0.35);
  border-radius: 8px; font-size: 13px; box-sizing: border-box; font-family: inherit;
}
.uc-sim-page .complaint-actions { display: flex; gap: 10px; padding-top: 8px; }
.uc-sim-page .complaint-btn {
  flex: 1; padding: 10px; border-radius: 8px; border: none; font-size: 14px; font-weight: 600; cursor: pointer;
}
.uc-sim-page .complaint-btn-cancel { background: #f3f4f6; color: #555; }
.uc-sim-page .complaint-btn-submit { background: var(--primary); color: #fff; }
.uc-sim-page .contact-body { padding: 0 4px 8px; }
.uc-sim-page .contact-tip { font-size: 13px; color: #666; margin: 0 0 12px; }
.uc-sim-page .contact-email-row {
  display: flex; align-items: center; gap: 8px; padding: 10px 12px;
  background: rgba(var(--primary-rgb), 0.06); border-radius: 10px; margin-bottom: 16px;
}
.uc-sim-page .contact-email-label { font-size: 13px; color: #333; font-weight: 600; flex-shrink: 0; }
.uc-sim-page .contact-email-value { flex: 1; font-size: 12px; color: #555; word-break: break-all; }
.uc-sim-page .contact-copy { font-size: 12px; color: var(--primary); font-weight: 600; flex-shrink: 0; cursor: pointer; }
.uc-sim-page .contact-qr-wrap { text-align: center; }
.uc-sim-page .contact-qr-title { font-size: 13px; color: #333; font-weight: 600; margin-bottom: 10px; text-align: left; }
.uc-sim-page .contact-qr-image {
  width: 140px; height: 140px; object-fit: contain; border-radius: 8px;
  border: 2px solid transparent; background: linear-gradient(#fff,#fff) padding-box,
    linear-gradient(135deg, #a855f7, #3b82f6) border-box;
}
.uc-sim-page .contact-qr-label { font-size: 13px; color: #333; margin-top: 8px; font-weight: 600; }
.uc-sim-page .about-popup .popup-content { max-height: 82%; }

/* ===== 会员中心模拟 — 对齐 miniprogram/pages/membership ===== */
.uc-sim-page .membership-full-shell {
  position: absolute; inset: 0; z-index: 55; display: none; flex-direction: column;
  background: #fff;
}
.uc-sim-page .membership-full-shell.show { display: flex; }
.uc-sim-page .membership-page-scroll {
  flex: 1; overflow-y: auto; padding: 6px 0 12px; background: #fff;
}
.uc-sim-page .membership-full-shell .user-profile-card {
  padding: 8px 9px;
}
.uc-sim-page .membership-full-shell .profile-compact-row {
  align-items: center; gap: 7px;
}
.uc-sim-page .membership-full-shell .user-avatar-container-compact {
  position: relative; width: 40px; height: 40px; flex-shrink: 0; overflow: visible;
}
.uc-sim-page .membership-full-shell .user-avatar-compact {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid #f0f0f0; object-fit: cover; display: block;
}
.uc-sim-page .membership-full-shell .vip-badge {
  position: absolute; right: -4px; bottom: -4px; z-index: 5;
  font-size: 9px; font-weight: 800; padding: 1px 4px; border-radius: 4px; color: #fff;
  background: linear-gradient(135deg, #ffd700, #ffa500);
  border: 1px solid rgba(255,255,255,0.9);
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}
.uc-sim-page .membership-full-shell .vip-badge.trial-badge {
  background: linear-gradient(135deg, var(--primary), #ec4899);
  color: #fff;
}
.uc-sim-page .membership-full-shell .nickname-readonly {
  display: block; font-size: 15px; font-weight: 600; color: #333; line-height: 1.3;
}
.uc-sim-page .membership-full-shell .membership-status-line {
  display: flex; flex-direction: column; gap: 2px; margin-top: 2px;
}
.uc-sim-page .membership-full-shell .membership-text {
  font-size: 12px; color: #666; line-height: 1.3;
}
.uc-sim-page .membership-full-shell .expire-info {
  font-size: 11px; color: #999; line-height: 1.35;
}
.uc-sim-page .membership-full-shell .redemption-btn.profile-id-copy {
  flex-shrink: 0; margin: 0; padding: 0 7px; height: 22px; line-height: 22px;
  font-size: 11px; color: #fff; background: var(--primary); border: none; border-radius: 4px;
  cursor: pointer;
}
.uc-sim-page .membership-full-shell .user-section {
  padding: 7px 8px 8px;
}
.uc-sim-page .membership-full-shell .section-desc {
  font-size: 11px; color: #6b7280; margin: 0 0 6px 9px; line-height: 1.4;
}
.uc-sim-page .membership-full-shell .section-desc-compact { margin-bottom: 8px; }
.uc-sim-page .membership-full-shell .invite-desc-highlight {
  color: var(--primary); font-weight: 500;
}
.uc-sim-page .membership-full-shell .works-buttons-container {
  margin-top: 2px;
}
.uc-sim-page .membership-full-shell .works-button {
  width: 100%; box-sizing: border-box; display: flex; align-items: center;
  padding: 9px 7px; background: #f9fafb; border: 1px solid #f0f0f0;
  border-radius: 6px; margin: 0; cursor: pointer; text-align: left;
}
.uc-sim-page .membership-full-shell .share-invite-btn {
  align-items: center; min-height: 60px;
}
.uc-sim-page .membership-full-shell .share-invite-btn .works-btn-icon {
  margin-right: 8px;
}
.uc-sim-page .membership-full-shell .invite-reward-desc {
  margin-top: 3px; display: flex; flex-direction: column; gap: 2px;
}
.uc-sim-page .membership-full-shell .invite-reward-line {
  font-size: 11px; color: #6b7280; line-height: 1.45;
}
.uc-sim-page .membership-full-shell .invite-reward-sub {
  font-size: 10px; color: #9ca3af;
}
.uc-sim-page .membership-full-shell .invite-desc-num {
  color: var(--primary); font-weight: 600; font-size: 12px;
}
.uc-sim-page .membership-full-shell .works-btn-action {
  flex-shrink: 0; margin-left: 6px;
}
.uc-sim-page .membership-full-shell .invite-action-text {
  font-size: 12px; color: #fff; background: var(--primary);
  padding: 4px 10px; border-radius: 12px; line-height: 1.2; white-space: nowrap;
}
.uc-sim-page .membership-full-shell .subscription-options-compact {
  display: flex; flex-direction: column; gap: 9px; margin-top: 6px;
}
.uc-sim-page .membership-full-shell .subscription-row {
  position: relative; display: flex; align-items: center; gap: 8px;
  padding: 11px 10px; min-height: 56px; border-radius: 7px;
  border: 1px solid #eee; background: #fafafa; box-sizing: border-box;
}
.uc-sim-page .membership-full-shell .subscription-row.popular {
  border-color: rgba(var(--primary-rgb), 0.35);
}
.uc-sim-page .membership-full-shell .subscription-row-tag {
  position: absolute; top: -4px; right: 6px;
  padding: 1px 5px; font-size: 9px; color: #fff;
  background: var(--primary); border-radius: 5px; line-height: 1.4;
}
.uc-sim-page .membership-full-shell .subscription-row-main {
  flex: 1; min-width: 0;
}
.uc-sim-page .membership-full-shell .subscription-row-head {
  display: flex; align-items: baseline; gap: 4px;
}
.uc-sim-page .membership-full-shell .subscription-row-name {
  font-size: 15px; font-weight: 600; color: #1f2937;
}
.uc-sim-page .membership-full-shell .subscription-row-period {
  font-size: 11px; color: #9ca3af;
}
.uc-sim-page .membership-full-shell .subscription-row-meta {
  display: block; margin-top: 4px; font-size: 12px; color: #6b7280; line-height: 1.4;
}
.uc-sim-page .membership-full-shell .subscription-row-btn {
  flex-shrink: 0; margin: 0; padding: 0 14px; min-width: 60px; height: 32px;
  line-height: 30px; font-size: 13px; color: var(--primary); background: #fff;
  border: 1px solid var(--primary); border-radius: 14px; cursor: pointer;
}
.uc-sim-page .membership-full-shell .subscription-service-section {
  padding-bottom: 6px;
}
.uc-sim-page .membership-full-shell .subscription-service-container {
  margin-top: 0;
}
.uc-sim-page .membership-full-shell .subscription-service-group {
  display: flex; flex-direction: column; border-radius: 6px; overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06); background: rgba(255,255,255,0.92);
  box-shadow: 0 1px 6px rgba(0,0,0,0.04);
}
.uc-sim-page .membership-full-shell .service-list-btn {
  padding: 6px 8px; min-height: 0; height: auto; line-height: 1.3;
  justify-content: space-between; background: transparent;
  border: none; border-bottom: 1px solid rgba(0,0,0,0.06); border-radius: 0;
}
.uc-sim-page .membership-full-shell .service-list-btn:last-child {
  border-bottom: none;
}
.uc-sim-page .membership-full-shell .service-list-btn .works-btn-text {
  align-items: flex-start;
}
.uc-sim-page .membership-full-shell .service-list-btn .works-btn-title {
  font-size: 13px; margin-bottom: 1px; line-height: 1.3;
}
.uc-sim-page .membership-full-shell .service-list-btn .works-btn-desc {
  font-size: 11px; margin-top: 0; line-height: 1.3;
}
.uc-sim-page .membership-full-shell .works-btn-arrow-text {
  font-size: 20px; line-height: 1; color: #bbb; font-weight: 300;
}
.uc-sim-page .membership-full-shell .membership-paid-only { display: none; }
.uc-sim-page .membership-full-shell .membership-paid-only.show { display: flex; }
.uc-sim-page .membership-full-shell .membership-trial-only.hide { display: none !important; }
.uc-sim-page .payment-success-icon.redeem { background: #07c160; box-shadow: 0 4px 14px rgba(7,193,96,0.35); font-size: 22px; }
.uc-sim-page .uc-membership-modal {
  position: absolute; inset: 0; z-index: 80; display: none; align-items: center; justify-content: center; padding: 16px;
}
.uc-sim-page .uc-membership-modal.show { display: flex; }
.uc-sim-page .uc-membership-modal-mask { position: absolute; inset: 0; background: rgba(0,0,0,0.45); }
.uc-sim-page .uc-membership-modal-box {
  position: relative; z-index: 1; width: 100%; max-width: 320px; background: #fff; border-radius: 14px;
  overflow: hidden; box-shadow: 0 12px 40px rgba(0,0,0,0.18); animation: ucSheetUp 0.25s ease;
}
.uc-sim-page .uc-membership-modal-head {
  display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid #f0f0f0;
}
.uc-sim-page .uc-membership-modal-title { font-size: 16px; font-weight: 700; color: #1f2330; }
.uc-sim-page .uc-membership-modal-close { font-size: 20px; color: #999; cursor: pointer; line-height: 1; border: none; background: none; }
.uc-sim-page .uc-membership-modal-body { padding: 14px 16px; }
.uc-sim-page .uc-membership-modal-foot { display: flex; gap: 10px; padding: 0 16px 16px; }
.uc-sim-page .uc-membership-modal-btn {
  flex: 1; padding: 10px; border-radius: 10px; border: none; font-size: 14px; font-weight: 700; cursor: pointer;
}
.uc-sim-page .uc-membership-modal-btn.cancel { background: #f3f4f6; color: #555; }
.uc-sim-page .uc-membership-modal-btn.confirm { background: var(--primary); color: #fff; }
.uc-sim-page .payment-method-row {
  display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 10px;
  border: 1px solid rgba(var(--primary-rgb), 0.35); background: rgba(var(--primary-rgb), 0.04);
}
.uc-sim-page .payment-method-row img { width: 32px; height: 32px; object-fit: contain; }
.uc-sim-page .payment-method-name { font-size: 14px; font-weight: 700; color: #333; }
.uc-sim-page .payment-method-desc { font-size: 11px; color: #888; margin-top: 2px; }
.uc-sim-page .payment-method-check {
  margin-left: auto; width: 20px; height: 20px; border-radius: 50%; background: var(--primary);
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700;
}
.uc-sim-page .redemption-input {
  width: 100%; padding: 10px 12px; border: 1px solid rgba(var(--primary-rgb), 0.35); border-radius: 8px;
  font-size: 14px; box-sizing: border-box; margin-top: 6px;
}
.uc-sim-page .redemption-tip { font-size: 11px; color: #888; margin-top: 8px; display: block; line-height: 1.5; }
.uc-sim-page .share-sheet-box { max-width: 340px; }
.uc-sim-page .share-sheet-recipient { font-size: 13px; color: #333; margin-bottom: 10px; }
.uc-sim-page .share-sheet-card {
  padding: 12px; border-radius: 10px; background: #f8f9fc; border: 1px solid #edf0f5; margin-bottom: 10px;
}
.uc-sim-page .share-sheet-card-text { font-size: 12px; color: #333; line-height: 1.5; margin-bottom: 10px; }
.uc-sim-page .share-sheet-qr {
  width: 140px; height: 140px; object-fit: contain; display: block; margin: 0 auto 8px;
  border-radius: 4px; background: #fff;
}
.uc-sim-page .share-sheet-mp-tag { font-size: 10px; color: #888; }
.uc-sim-page .share-sheet-input {
  width: 100%; padding: 8px 10px; border: none; border-radius: 8px; background: #f3f4f6;
  font-size: 12px; color: #999; margin-bottom: 12px; box-sizing: border-box;
}
.uc-sim-page .order-history-card {
  padding: 12px; border-radius: 10px; border: 1px solid #edf0f5; background: #fafbfc;
}
.uc-sim-page .uc-order-history-body { max-height: 280px; overflow-y: auto; }
.uc-sim-page .order-history-list { display: flex; flex-direction: column; gap: 10px; }
.uc-sim-page .order-history-empty {
  padding: 24px 12px; text-align: center; font-size: 12px; color: #999;
}
.uc-sim-page .order-history-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.uc-sim-page .order-history-name { font-size: 14px; font-weight: 700; color: #333; }
.uc-sim-page .order-history-status {
  padding: 2px 8px; border-radius: 10px; font-size: 10px; font-weight: 700;
  color: #2e7d32; background: #e8f5e9;
}
.uc-sim-page .order-history-row { display: flex; gap: 8px; font-size: 11px; line-height: 1.6; margin-bottom: 4px; }
.uc-sim-page .order-history-label { color: #888; flex-shrink: 0; width: 52px; }
.uc-sim-page .order-history-value { color: #333; word-break: break-all; }
.uc-sim-page .order-history-value.price { color: var(--primary); font-weight: 700; }
.uc-sim-page .sub-manage-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #f0f0f0; font-size: 13px; }
.uc-sim-page .sub-manage-row:last-of-type { border-bottom: none; }
.uc-sim-page .sub-manage-tip { font-size: 11px; color: #888; margin-top: 8px; line-height: 1.5; }

/* 更改订阅计划弹窗 */
.uc-sim-page .upgrade-plan-modal-box { max-width: 310px; }
.uc-sim-page .upgrade-plan-modal-body { padding: 4px 16px 18px; }
.uc-sim-page .upgrade-plan-hint {
  display: block; font-size: 13px; color: #9ca3af; line-height: 1.5; margin-bottom: 12px;
}
.uc-sim-page .upgrade-plan-list { display: flex; flex-direction: column; gap: 10px; }
.uc-sim-page .upgrade-plan-card {
  position: relative; display: flex; align-items: center; gap: 6px;
  padding: 14px 12px 14px 14px; border-radius: 8px;
  border: 1px solid #eee; background: #fafafa; box-sizing: border-box;
  width: 100%; text-align: left; cursor: pointer;
}
.uc-sim-page .upgrade-plan-card:active,
.uc-sim-page .upgrade-plan-card:hover {
  background: rgba(168, 85, 247, 0.08); border-color: rgba(168, 85, 247, 0.35);
}
.uc-sim-page .upgrade-plan-card-selected {
  border-color: var(--primary); background: rgba(168, 85, 247, 0.08);
  box-shadow: 0 2px 8px rgba(168, 85, 247, 0.12);
}
.uc-sim-page .upgrade-plan-tag {
  position: absolute; top: -5px; right: 10px; padding: 2px 7px;
  font-size: 10px; font-weight: 500; color: #fff; line-height: 1.35;
  background: var(--primary); border-radius: 6px;
  box-shadow: 0 2px 6px rgba(168, 85, 247, 0.25);
}
.uc-sim-page .upgrade-plan-card-inner { flex: 1; min-width: 0; }
.uc-sim-page .upgrade-plan-title-row {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px; margin-bottom: 6px;
}
.uc-sim-page .upgrade-plan-name { font-size: 16px; font-weight: 600; color: #1f2937; }
.uc-sim-page .upgrade-plan-period { font-size: 12px; color: #9ca3af; }
.uc-sim-page .upgrade-plan-price-row {
  display: flex; align-items: center; flex-wrap: wrap; gap: 5px 8px;
}
.uc-sim-page .upgrade-plan-price-main { display: flex; align-items: baseline; }
.uc-sim-page .upgrade-plan-price { font-size: 15px; font-weight: 600; color: var(--primary); }
.uc-sim-page .upgrade-plan-unit { font-size: 12px; font-weight: 500; color: var(--primary); }
.uc-sim-page .upgrade-plan-sub { font-size: 12px; color: #6b7280; }
.uc-sim-page .upgrade-plan-save {
  padding: 2px 6px; font-size: 11px; font-weight: 500; color: #b45309;
  background: #fff7ed; border-radius: 4px; line-height: 1.35;
}
.uc-sim-page .upgrade-plan-chevron {
  flex-shrink: 0; font-size: 20px; font-weight: 300; color: #d1d5db; line-height: 1;
}

/* 支付中 / 支付成功 */
.uc-sim-page .payment-paying-box,
.uc-sim-page .payment-success-box {
  text-align: center; padding: 28px 20px 22px;
}
.uc-sim-page .payment-paying-spinner {
  width: 36px; height: 36px; margin: 0 auto 14px;
  border: 3px solid #eee; border-top-color: var(--primary);
  border-radius: 50%; animation: ucPaySpin 0.8s linear infinite;
}
@keyframes ucPaySpin { to { transform: rotate(360deg); } }
.uc-sim-page .payment-paying-text {
  display: block; font-size: 15px; font-weight: 700; color: #333;
}
.uc-sim-page .payment-paying-sub {
  display: block; font-size: 12px; color: #999; margin-top: 6px;
}
.uc-sim-page .payment-success-icon {
  width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 50%;
  background: #07c160; color: #fff; font-size: 28px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(7,193,96,0.35);
}
.uc-sim-page .payment-success-title {
  display: block; font-size: 17px; font-weight: 700; color: #333; margin-bottom: 8px;
}
.uc-sim-page .payment-success-desc {
  display: block; font-size: 13px; color: #666; line-height: 1.5; margin-bottom: 18px;
}
.uc-sim-page .payment-success-box .uc-membership-modal-btn.confirm {
  width: 100%; max-width: 200px; margin: 0 auto;
}

/* 我的服务端 · 协作评价（对齐小程序 my-nannies） */
.partner-collab-bar-rated {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.partner-collab-rating {
  margin-left: auto;
  font-size: 13px;
  font-weight: 600;
  color: #f59e0b;
}
.partner-skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.partner-skill-tag {
  font-size: 11px;
  color: #7c3aed;
  background: rgba(168, 85, 247, 0.1);
  padding: 3px 8px;
  border-radius: 6px;
}
.partner-rating-card {
  margin: 0 10px 8px;
  padding: 8px 9px;
  border-radius: 6px;
  background: #f8f9fb;
  border: 1px solid #eef0f3;
}
.partner-profile-block {
  margin: 0 2px 8px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.04);
}
.partner-rating-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.partner-rating-card--rated .partner-rating-header {
  cursor: pointer;
}
.partner-rating-title {
  font-size: 14px;
  font-weight: 700;
  color: #333;
}
.partner-rating-toggle {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #888;
  font-size: 12px;
}
.partner-rating-toggle-arrow {
  display: inline-block;
  transform: rotate(90deg);
  transition: transform 0.2s ease;
}
.partner-rating-toggle-arrow.expanded {
  transform: rotate(-90deg);
}
.partner-rating-collapsed {
  margin-bottom: 4px;
}
.partner-rating-summary-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.partner-rating-summary-stars {
  font-size: 16px;
  letter-spacing: 2px;
  color: #f59e0b;
}
.partner-rating-summary-comment {
  font-size: 13px;
  color: #555;
  line-height: 1.45;
}
.partner-rating-stars {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
}
.partner-rating-stars .partner-star {
  font-size: 22px;
  color: #ddd;
  cursor: pointer;
  line-height: 1;
}
.partner-rating-stars .partner-star.on {
  color: #f59e0b;
}
.partner-rating-comment {
  width: 100%;
  min-height: 56px;
  padding: 8px 10px;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.45;
  resize: none;
  margin-bottom: 10px;
  font-family: inherit;
  box-sizing: border-box;
}
.partner-rating-submit {
  width: 100%;
  height: 36px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #a855f7, #8b5cf6);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
.partner-rating-submit-disabled {
  opacity: 0.45;
  pointer-events: none;
}
#guide-steps-partners li:not(.active-step) {
  display: none;
}
#guide-steps-partners li.active-step {
  background: rgba(168, 85, 247, 0.12);
  color: #7c3aed;
  font-weight: 700;
  box-shadow: inset 3px 0 0 #a855f7;
}

/* 我的服务端 · compact 资料页（对齐小程序 my-nannies + user-profile-popup） */
.partner-profile-compact {
  padding: 4px 2px 8px;
}
.uc-sim-page .profile-contract-tip {
  margin-bottom: 10px;
  padding: 9px 10px;
  border-radius: 7px;
  background: rgba(229, 62, 62, 0.06);
  border: 1px solid rgba(229, 62, 62, 0.22);
}
.uc-sim-page .profile-contract-tip-brand {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #e53e3e;
  line-height: 1.5;
}
.uc-sim-page .profile-head-compact {
  padding-bottom: 4px;
  margin-bottom: 6px;
}
.uc-sim-page .profile-partner-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 4px;
}
.uc-sim-page .profile-partner-collab {
  font-size: 12px;
  color: #888;
}
.uc-sim-page .profile-partner-score {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}
.uc-sim-page .profile-partner-score-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
}
.uc-sim-page .profile-partner-score-star {
  font-size: 11px;
  color: #f59e0b;
}
.uc-sim-page .profile-nickname-value {
  font-weight: 500;
  color: var(--primary);
}
.uc-sim-page .profile-location-single-wrap {
  padding: 6px 7px;
  background: #f7f8fa;
  border-radius: 4px;
  border: 1px solid #eef0f3;
}
.uc-sim-page .profile-location-single {
  display: block;
  font-size: 12px;
  color: #374151;
  line-height: 1.55;
  word-break: break-all;
}
.uc-sim-page .profile-service-readonly {
  margin-bottom: 8px;
  padding: 0 2px 4px;
}
.uc-sim-page .profile-section-head {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  line-height: 1.3;
  padding-left: 6px;
  border-left: 3px solid var(--primary);
  margin-bottom: 7px;
}
.uc-sim-page .profile-service-meta-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 7px;
}
.uc-sim-page .profile-service-meta-item {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.4;
}
.uc-sim-page .profile-service-meta-dot {
  font-size: 11px;
  color: #d1d5db;
}
.uc-sim-page .profile-service-meta-salary {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.4;
}
.uc-sim-page .profile-service-types-block {
  margin-bottom: 7px;
}
.uc-sim-page .profile-service-types-label {
  display: block;
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 5px;
}
.uc-sim-page .profile-service-type-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.uc-sim-page .profile-service-type-tag {
  padding: 2px 7px;
  background: rgba(var(--primary-rgb), 0.08);
  color: var(--primary);
  border-radius: 8px;
  font-size: 11px;
  border: 1px solid rgba(var(--primary-rgb), 0.15);
  line-height: 1.3;
}
.uc-sim-page .profile-intro-readonly-box {
  padding: 7px 8px;
  background: #f7f8fa;
  border-radius: 6px;
  border: 1px solid #eef0f3;
}
.uc-sim-page .profile-intro-readonly-label {
  display: block;
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 4px;
}
.uc-sim-page .profile-intro-readonly-text {
  display: block;
  font-size: 12px;
  color: #374151;
  line-height: 1.55;
  word-break: break-all;
}
.partner-profile-compact + .partner-rating-card,
.partner-profile-compact .partner-rating-card,
#ucp-partner-nanny-view + .partner-rating-card {
  margin-top: 0;
}
#ucp-partner-nanny-view ~ .partner-rating-card,
.partner-profile-compact .partner-rating-card {
  margin: 0 0 8px;
}
