* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

html, body {
  background: #fff6f9;
  color: #333;
  line-height: 1.6;
}

/* 顶部导航 */
.header {
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 99;
}

.logo {
  font-size: 20px;
  font-weight: bold;
  color: #d94a87;
}

.nav a {
  margin: 0 12px;
  text-decoration: none;
  color: #444;
  font-size: 14px;
}
.nav a:hover {
  color: #d94a87;
}

/* 内容容器 */
.container {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
}

.page-title {
  font-size: 26px;
  margin-bottom: 26px;
  color: #d94a87;
  text-align: center;
}

/* 按钮 */
.btn {
  display: inline-block;
  padding: 12px 24px;
  background: #d94a87;
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  margin: 8px;
  border: none;
  cursor: pointer;
  font-size: 14px;
}
.btn-tiktok {
  background: #000;
}
.btn-shopee {
  background: #f53d5c;
}
.btn:hover {
  opacity: 0.9;
}

/* 卡片 */
.card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  margin: 16px 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}
.card h3 {
  color: #d94a87;
  margin-bottom: 10px;
}

/* 气象卡片 */
.weather-card {
  text-align: center;
  font-size: 16px;
  line-height: 2.2;
}

/* 瀑布流 */
.masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.masonry img {
  width: 100%;
  border-radius: 12px;
  display: block;
}

/* 肤色选择 */
.skin-options {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 30px 0;
}
.skin {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid transparent;
}
.skin:hover, .skin.active {
  border-color: #d94a87;
}

/* 页脚 */
.footer {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 26px 20px;
  font-size: 13px;
  margin-top: auto;  /* 改为auto，让页脚自动贴在底部 */
  width: 100%;
}
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  flex: 1 0 auto;  /* 让内容区域自动撑开 */
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
  width: 100%;
}

.header {
  flex-shrink: 0;
}

.footer {
  flex-shrink: 0;
  margin-top: auto;  /* 关键：自动上边距 */
}
/* 肤色圆点 - 20色渐变定义 */
.skin-1 { background: #fef4e8; }  /* 冷调瓷白 */
.skin-2 { background: #fae1cf; }  /* 冷调象牙白 */
.skin-3 { background: #f5d2ba; }  /* 冷调亮肤色 */
.skin-4 { background: #edc7a7; }  /* 中性亮白 */
.skin-5 { background: #e5b892; }  /* 中性自然白 */
.skin-6 { background: #dbaa82; }  /* 中性标准肤色 */
.skin-7 { background: #d69c71; }  /* 暖调象牙白 */
.skin-8 { background: #cb8e61; }  /* 暖调自然偏白 */
.skin-9 { background: #c18154; }  /* 暖调自然色 */
.skin-10 { background: #b67548; } /* 暖调浅小麦 */
.skin-11 { background: #aa693d; } /* 自然小麦色 */
.skin-12 { background: #9e5e35; } /* 浅古铜色 */
.skin-13 { background: #92542e; } /* 中调小麦 */
.skin-14 { background: #864a28; } /* 暖调小麦 */
.skin-15 { background: #7b4022; } /* 深小麦色 */
.skin-16 { background: #70371e; } /* 健康古铜 */
.skin-17 { background: #652e1a; } /* 深古铜色 */
.skin-18 { background: #5a2616; } /* 冷调深肤色 */
.skin-19 { background: #4f1f12; } /* 暖调深棕 */
.skin-20 { background: #44180f; } /* 黑调健康肌 */

/* 圆点基础样式 */
.skin {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid transparent;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.2s ease;
}

.skin:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(217, 74, 135, 0.3);
}

.skin.active {
  border-color: #d94a87;
  box-shadow: 0 0 0 3px rgba(217, 74, 135, 0.2);
}

/* 移动端适配 */
@media (max-width: 600px) {
  .skin {
    width: 40px;
    height: 40px;
  }
}