/* 重置样式 */
.page-profile, .page-profile view, .page-profile text, .page-profile image, .page-profile svg, .page-profile button {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.page-profile {
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'SF Pro SC', 'Helvetica Neue', Arial, sans-serif;
  background: #F0F4FA;
  min-height: 100vh;
  overflow-x: hidden;
  color: #1F2937;
}

/* ===== 蓝色背景 ===== */
.blue-bg {
  background: linear-gradient(180deg, #1E3A8A 0%, #1E40AF 50%, #2563EB 100%);
  padding: 60px 0 30px;
}

/* ===== 用户资料 ===== */
.user-profile {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 20px;
}

.user-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #60A5FA, #93C5FD);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255,255,255,0.3);
  overflow: hidden;
  flex-shrink: 0;
}

.avatar-image {
  width: 32px;
  height: 32px;
  filter: brightness(0) invert(1);
}

.user-info {
  flex: 1;
}

.user-name {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 2px;
}

.user-id {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.user-arrow {
  width: 20px;
  height: 20px;
}

.arrow-image {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

/* ===== 内容区域 ===== */
.content-area {
  background: #F0F4FA;
  padding: 0 16px 120px;
  margin-top: 10px;
  position: relative;
  z-index: 5;
}

/* ===== 快速入口卡片 ===== */
.quick-entries {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.entry-card {
  background: #fff;
  border-radius: 14px;
  padding: 18px 12px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.entry-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.entry-icon-blue {
  background: linear-gradient(135deg, #DBEAFE, #BFDBFE);
}

.entry-icon-green {
  background: linear-gradient(135deg, #D1FAE5, #A7F3D0);
}

.entry-icon-orange {
  background: linear-gradient(135deg, #FEF3C7, #FDE68A);
}

.entry-image {
  width: 24px;
  height: 24px;
}

.entry-icon-blue .entry-image {
  filter: brightness(0) saturate(100%) invert(33%) sepia(55%) saturate(500%) hue-rotate(205deg) brightness(90%);
}

.entry-icon-green .entry-image {
  filter: brightness(0) saturate(100%) invert(45%) sepia(58%) saturate(360%) hue-rotate(130deg) brightness(90%);
}

.entry-icon-orange .entry-image {
  filter: brightness(0) saturate(100%) invert(65%) sepia(68%) saturate(466%) hue-rotate(350deg) brightness(95%);
}

.entry-label {
  font-size: 13px;
  font-weight: 500;
  color: #374151;
}

/* ===== 区块 ===== */
.section {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  margin-bottom: 16px;
}

.section-header {
  padding: 16px 16px 8px;
  font-size: 16px;
  font-weight: 700;
  color: #1F2937;
}

.menu-item {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid #F3F4F6;
  cursor: pointer;
}

.menu-item:last-child {
  border-bottom: none;
}

.menu-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  margin-right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.menu-icon-blue {
  background: #EFF6FF;
}

.menu-icon-gray {
  background: #F3F4F6;
}

.menu-image {
  width: 20px;
  height: 20px;
}

.menu-icon-blue .menu-image {
  filter: brightness(0) saturate(100%) invert(33%) sepia(55%) saturate(500%) hue-rotate(205deg) brightness(90%);
}

.menu-icon-gray .menu-image {
  filter: brightness(0) saturate(100%) invert(60%) sepia(0%) saturate(0%) hue-rotate(0deg);
}

.menu-text {
  flex: 1;
  font-size: 15px;
  color: #374151;
  font-weight: 500;
}

.menu-arrow {
  width: 16px;
  height: 16px;
  filter: brightness(0) saturate(100%) invert(70%) sepia(0%) saturate(0%) hue-rotate(0deg);
}

/* ===== 帮助按钮 ===== */
.btn-help {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 28px;
  background: linear-gradient(135deg, #2563EB, #3B82F6);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
  margin-top: 8px;
  letter-spacing: 1px;
}

/* 主页指示器 */
.home-indicator {
  position: fixed;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 134px;
  height: 4px;
  border-radius: 2px;
  background: #333;
  z-index: 101;
}

/* ===== 帮助中心 ===== */
.help-content {
  position: fixed;
  top: 116px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #F0F4FA;
  z-index: 100;
}

.help-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 10;
}

.help-back-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
}

.help-back-icon {
  width: 20px;
  height: 20px;
  filter: brightness(0) saturate(100%) invert(30%) sepia(0%) saturate(0%) hue-rotate(0deg);
}

.help-back-text {
  font-size: 15px;
  color: #374151;
  font-weight: 500;
}

.help-title {
  font-size: 17px;
  font-weight: 600;
  color: #1F2937;
}

.help-placeholder {
  width: 80px;
}

.help-scroll {
  height: calc(100vh - 170px);
}

.help-content-inner {
  padding: 20px 16px 180px;
}

.help-section {
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.help-welcome {
  font-size: 14px;
  color: #374151;
  line-height: 1.6;
  text-align: center;
  display: block;
}

.help-subtitle {
  font-size: 16px;
  font-weight: 700;
  color: #1F2937;
  margin-bottom: 8px;
  display: block;
}

.help-desc {
  font-size: 14px;
  color: #6B7280;
  margin-bottom: 12px;
  display: block;
}

.help-text {
  font-size: 14px;
  color: #4B5563;
  line-height: 1.6;
  margin-bottom: 12px;
  display: block;
}

.help-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.help-tag {
  font-size: 12px;
  color: #374151;
  background: #F3F4F6;
  padding: 4px 12px;
  border-radius: 20px;
}

.help-tip {
  font-size: 13px;
  color: #6B7280;
  background: #FEF3C7;
  padding: 12px;
  border-radius: 8px;
  line-height: 1.5;
  display: block;
}

.help-highlight {
  font-size: 16px;
  font-weight: 700;
  color: #2563EB;
  line-height: 1.6;
  margin-bottom: 12px;
  display: block;
}

.help-disclaimer {
  font-size: 13px;
  color: #6B7280;
  background: #F3F4F6;
  padding: 12px;
  border-radius: 8px;
  line-height: 1.6;
  text-align: center;
  display: block;
}
