/* SunGlow web 公共样式（三个页面共用） */
:root {
  --bg: #f7f4ef;
  --card: #ffffff;
  --text: #2b2b2b;
  --muted: #8a8a8a;
  --primary: #ff6b35;
  --line: #ece7df;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  padding: env(safe-area-inset-top) 16px calc(env(safe-area-inset-bottom) + 32px);
}
/* 顶部导航 + 品牌 + 语言切换 */
.nav { display: flex; align-items: center; justify-content: space-between; padding: 22px 4px 8px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.logo {
  width: 48px; height: 48px; border-radius: 13px;
  background: linear-gradient(135deg, #ff9a3d, #ff5f6d 60%, #7b2ff7);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 17px;
  box-shadow: 0 8px 20px rgba(255, 107, 53, .35);
}
.brand .t { font-size: 18px; font-weight: 800; }
.brand .sub { font-size: 12px; color: var(--muted); }
.lang { display: flex; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 3px; }
.lang button {
  border: 0; background: transparent; color: var(--muted);
  font-size: 13px; padding: 4px 12px; border-radius: 16px; cursor: pointer;
  font-family: inherit;
}
.lang button.active { background: var(--primary); color: #fff; font-weight: 600; }
/* 更新时间徽标 */
.updated {
  display: inline-block; font-size: 12px; color: var(--muted);
  background: #fff; border: 1px solid var(--line);
  padding: 2px 10px; border-radius: 20px; margin: 6px 0 16px;
}
/* 章节卡片 */
section {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 16px; padding: 18px 20px; margin-bottom: 16px;
}
section h2 { font-size: 16px; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
section h2::before { content: ""; width: 4px; height: 16px; border-radius: 2px; background: var(--primary); }
section p { font-size: 14px; color: #444; margin-bottom: 8px; }
section p:last-child { margin-bottom: 0; }
ul { padding-left: 20px; margin-bottom: 8px; }
li { font-size: 14px; color: #444; margin-bottom: 6px; }
.price-tag {
  display: inline-block; background: #fff3ea; color: var(--primary);
  font-weight: 600; padding: 2px 10px; border-radius: 6px; margin-bottom: 8px;
}
a { color: var(--primary); text-decoration: none; }
.contact { color: var(--primary); text-decoration: none; word-break: break-all; }
/* 底部互链 + 页脚 */
.links { text-align: center; margin-top: 22px; font-size: 13px; }
.links a { color: var(--primary); text-decoration: none; margin: 0 12px; }
footer { text-align: center; color: var(--muted); font-size: 12px; margin-top: 24px; }