*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --red: #e60012;
  --text: #1a1a1a;
  --text-muted: #999;
  --bg: #f5f5f5;
  --tab-height: 56px;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  padding-bottom: calc(var(--tab-height) + env(safe-area-inset-bottom, 0px));
}

.page {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
}

/* ===== 顶栏 ===== */
.mine-header {
  background: linear-gradient(180deg, #e60012 0%, #d40011 100%);
  padding: 14px 16px;
  padding-top: calc(14px + env(safe-area-inset-top, 0px));
  text-align: center;
}

.mine-header h1 {
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 1px;
}

/* ===== 用户区 ===== */
.user-section {
  background: #fff;
  padding: 20px 16px;
}

.user-login {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

.user-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #e8f4fc;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.user-avatar svg {
  width: 32px;
  height: 32px;
  color: #7eb8d4;
}

.user-name {
  font-size: 18px;
  font-weight: 700;
  color: #1a2a4a;
}

/* ===== 菜单列表 ===== */
.menu-list {
  margin: 12px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
}

.menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px;
  text-decoration: none;
  color: var(--text);
  font-size: 15px;
  border-bottom: 1px solid #f5f5f5;
  -webkit-tap-highlight-color: transparent;
}

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

.menu-item:active {
  background: #fafafa;
}

.menu-arrow {
  width: 16px;
  height: 16px;
  color: #ccc;
  flex-shrink: 0;
}
