* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif; }

.container {
  max-width: 480px;
  margin: 0 auto;
  padding: 24px 16px 80px;
  min-height: 100vh;
}

.header { margin-bottom: 20px; position: relative; }
.header-top-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.title { font-size: 22px; font-weight: 700; flex: 1; }
.subtitle-row { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.subtitle { font-size: 13px; color: #888; }

/* 主页底部导航 */
.bottom-nav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 480px;
  display: flex; border-top: 1px solid #eee;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(8px);
  z-index: 100;
}
.bottom-nav-btn {
  flex: 1; padding: 12px 0; text-align: center; text-decoration: none;
  font-size: 11px; color: #aaa; display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.bottom-nav-btn.active { color: var(--accent, #1a1a1a); font-weight: 600; }
.bottom-nav-btn span { font-size: 20px; line-height: 1; }

/* ===== 主题切换 ===== */
.theme-trigger { font-size: 12px; color: #aaa; padding: 2px 0; cursor: pointer; }
.theme-dropdown {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  padding: 8px 0; z-index: 50; margin-top: 4px;
}
.theme-option {
  display: flex; align-items: center; padding: 10px 16px; cursor: pointer;
}
.theme-option:active { background: #f5f5f5; }
.theme-option.active { background: #f5f5f5; }
.theme-dot-small {
  width: 14px; height: 14px; border-radius: 50%;
  margin-right: 10px; flex-shrink: 0;
}
.theme-name { font-size: 13px; color: #333; }

/* ===== 主题变量 ===== */
.theme-chanel { --accent: #1a1a1a; --accent-light: #f5f5f5; --bg: #fafaf9; }
.theme-hermes { --accent: #f37021; --accent-light: #fff5ed; --bg: #fffaf6; }
.theme-dior   { --accent: #0a2463; --accent-light: #eef1f8; --bg: #f8f9fc; }
.theme-ysl    { --accent: #9b1b30; --accent-light: #fdf2f4; --bg: #fdfafa; }
.theme-celine { --accent: #8b7355; --accent-light: #f9f5ef; --bg: #fdfbf7; }
.theme-lamer  { --accent: #2d6a4f; --accent-light: #edf5f1; --bg: #f6faf8; }

.container { background: var(--bg, #fafaf9); }
