/* ==========================================================================
   FlowerCloud Wiki - 轻动漫·角色旅程设计规范
   低饱和粉 (#fff0f3, #ffccd5, #e05780) + 奶白底色 (#fdfcfb, #f8f6f3) + 柔和薰衣草蓝 (#e8eef8)
   对比度遵循 WCAG AA (>= 4.5:1)
   ========================================================================== */

:root {
  /* 品牌色彩系统 (轻动漫低饱和粉与奶白) */
  --bg-primary: #fdfcfb;
  --bg-secondary: #f8f5f3;
  --bg-surface: #ffffff;
  --bg-pink-soft: #fff0f3;
  --bg-pink-subtle: #ffe5ec;
  --border-pink: #ffccd5;
  --border-color: #eedcd9;
  
  --primary-color: #d84570;
  --primary-hover: #b8325a;
  --primary-light: #fff0f3;
  --accent-blue: #4a77b4;
  --accent-purple: #7a5fa8;

  --text-main: #2b2326;
  --text-muted: #5e5055;
  --text-light: #7a6b71;
  --text-inverse: #ffffff;

  --badge-bg: #ffe5ec;
  --badge-text: #a82950;
  
  --shadow-sm: 0 2px 8px rgba(184, 50, 90, 0.06);
  --shadow-md: 0 8px 24px rgba(184, 50, 90, 0.08);
  --shadow-lg: 0 16px 36px rgba(184, 50, 90, 0.12);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --max-width: 1200px;
  --header-height: 72px;
}

/* 基础重置 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
  color: var(--text-main);
  background-color: var(--bg-primary);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  position: relative;
}

/* 无障碍 Skip Link */
.skip-link {
  position: absolute;
  top: -60px;
  left: 20px;
  background: var(--primary-color);
  color: #fff;
  padding: 12px 20px;
  z-index: 10000;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: top 0.2s ease;
  text-decoration: none;
}
.skip-link:focus {
  top: 15px;
  outline: 3px solid var(--accent-blue);
}

/* 焦点样式保障无障碍 */
:focus-visible {
  outline: 3px solid var(--accent-blue);
  outline-offset: 2px;
}

/* 容器定义 */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* 导航头 */
.site-header {
  position: sticky;
  top: 0;
  height: var(--header-height);
  background: rgba(253, 252, 251, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-pink);
  z-index: 999;
}

.site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 16px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  min-height: 44px;
}

.brand-logo-img, .brand-logo svg {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.98rem;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.site-nav a:hover, .site-nav a.active {
  color: var(--primary-color);
  background: var(--bg-pink-soft);
}

/* 页眉功能区：登录/注册与搜索 */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-auth-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 38px;
  padding: 0 16px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #ff9ebb 0%, #d84570 100%);
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(216, 69, 112, 0.22);
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease;
}

.header-auth-btn:hover,
.header-auth-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(216, 69, 112, 0.35);
  background: linear-gradient(135deg, #ff8fa3 0%, #c9184a 100%);
  color: #ffffff;
}

.header-auth-btn:active {
  transform: scale(0.97);
}

/* 搜索容器 (纯静态本地搜索) */
.search-container {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input {
  width: 180px;
  height: 40px;
  padding: 8px 12px 8px 36px;
  border: 1px solid var(--border-pink);
  border-radius: var(--radius-full);
  background: #ffffff;
  color: var(--text-main);
  font-size: 0.88rem;
  transition: width 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.search-input:focus {
  width: 240px;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(216, 69, 112, 0.15);
  outline: none;
}

.search-icon {
  position: absolute;
  left: 12px;
  width: 16px;
  height: 16px;
  fill: var(--text-light);
  pointer-events: none;
}

.search-results-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 320px;
  max-height: 380px;
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid var(--border-pink);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  display: none;
  z-index: 1000;
}

.search-result-item {
  display: block;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text-main);
  transition: background 0.15s ease;
}
.search-result-item:hover, .search-result-item:focus {
  background: var(--bg-pink-soft);
  color: var(--primary-color);
}
.search-result-title {
  font-size: 0.92rem;
  font-weight: 600;
  display: block;
}
.search-result-snippet {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: block;
  margin-top: 2px;
}

/* 按钮规范 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  min-width: 44px;
  padding: 10px 22px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary-color);
  color: #ffffff;
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(216, 69, 112, 0.28);
}
.btn-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(216, 69, 112, 0.35);
  color: #ffffff;
}

.btn-secondary {
  background: #ffffff;
  color: var(--primary-color);
  border-color: var(--border-pink);
}
.btn-secondary:hover {
  background: var(--bg-pink-soft);
  border-color: var(--primary-color);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 6px 16px;
  min-height: 38px;
  font-size: 0.88rem;
}

/* Hero 首屏与轻动漫角色 */
.hero-section {
  scroll-margin-top: calc(var(--header-height) + 16px);
  position: relative;
  padding: 48px 0 60px;
  background: linear-gradient(175deg, #fff0f3 0%, #fdfcfb 70%, #f7f5f2 100%);
  border-bottom: 1px solid var(--border-pink);
  overflow: hidden;
}

/* 装饰性漂浮花瓣与微光元素 */
.petal-decor {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  opacity: 0.55;
}

@keyframes floatGentle {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(6deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes floatSlow {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(-4deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

.anim-float {
  animation: floatGentle 5s ease-in-out infinite;
}
.anim-float-slow {
  animation: floatSlow 7s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .anim-float, .anim-float-slow {
    animation: none !important;
  }
}

.hero-grid {
  display: block;
  max-width: 980px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 6px 14px;
  background: #ffffff;
  border: 1px solid var(--border-pink);
  border-radius: var(--radius-full);
  color: var(--badge-text);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.hero-title {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.25;
  color: #241c1f;
  margin-bottom: 4px;
}

.hero-title-brand {
  display: block;
  font-size: 2.5rem;
  font-weight: 850;
  color: var(--primary-color);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.hero-title-desc {
  display: block;
  font-size: 1.55rem;
  font-weight: 750;
  color: #2b2326;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.hero-subtitle {
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* 最低价提示栏 (硬性要求：位于标题下方紧接呈现) */
.hero-lowest-price-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  border: 1.5px solid #ffccd5;
  border-radius: var(--radius-md);
  padding: 14px 20px;
  box-shadow: 0 4px 16px rgba(216, 69, 112, 0.08);
  margin-top: 4px;
}

.price-flag {
  background: #ffe5ec;
  color: #a82950;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.price-text {
  font-size: 0.98rem;
  color: var(--text-main);
  line-height: 1.45;
}

.price-num {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-color);
  margin: 0 4px;
}

/* 热门套餐首屏卡片群 (2-3个) */
.hero-plans-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 10px;
}

.hero-plan-card {
  background: #ffffff;
  border: 1px solid var(--border-pink);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
  position: relative;
}

.hero-plan-card.popular {
  border-color: var(--primary-color);
  background: linear-gradient(180deg, #fffcfd 0%, #ffffff 100%);
  box-shadow: 0 6px 20px rgba(216, 69, 112, 0.12);
}

.card-ribbon {
  position: absolute;
  top: -10px;
  right: 14px;
  background: var(--primary-color);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.hero-plan-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

.hero-plan-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-main);
}

.hero-plan-card .price {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 8px;
}

.hero-plan-card .price span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

.hero-plan-card .specs {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
  flex-grow: 1;
}

.hero-plan-card .btn {
  width: 100%;
}

/* Hero 右侧原创角色与意象画卷 */
.hero-character-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.character-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-pink);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  text-align: center;
  max-width: 380px;
  width: 100%;
}

.character-svg {
  width: 220px;
  height: 220px;
  margin: 0 auto 16px;
  display: block;
}

.character-dialog {
  background: var(--bg-pink-soft);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 0.9rem;
  color: var(--text-main);
  position: relative;
  line-height: 1.5;
  border: 1px solid var(--border-pink);
}

.character-dialog::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 0 8px 8px 8px;
  border-style: solid;
  border-color: transparent transparent var(--border-pink) transparent;
}

/* 三步入门旅程 */
.section {
  padding: 64px 0;
  scroll-margin-top: calc(var(--header-height) + 16px);
}

.section-alt {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 44px;
}

.section-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--bg-pink-soft);
  color: var(--primary-color);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}

.section-title {
  font-size: 1.95rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.section-desc {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.journey-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}

.step-card {
  background: #ffffff;
  border: 1px solid var(--border-pink);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--bg-pink-soft), #ffd3dc);
  color: var(--primary-color);
  font-weight: 800;
  font-size: 1.1rem;
  border-radius: 12px;
  margin-bottom: 16px;
  border: 1px solid var(--border-pink);
}

.step-card h3 {
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-main);
}

.step-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 设备支持矩阵 */
.device-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
}

.device-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform 0.2s;
  position: relative;
  word-break: break-word;
}
.device-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary-color);
}
.device-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  fill: var(--primary-color);
}
.device-card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.device-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* 套餐详情表格 (语义化、无障碍、横向滚动) */
.table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: #ffffff;
  border: 1px solid var(--border-pink);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
}

.plan-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  text-align: left;
}

.plan-table caption {
  padding: 14px 20px;
  font-size: 0.95rem;
  font-weight: 700;
  text-align: left;
  background: var(--bg-pink-soft);
  color: var(--primary-color);
  border-bottom: 1px solid var(--border-pink);
}

.plan-table th, .plan-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.92rem;
  vertical-align: middle;
}

.plan-table th {
  background: #faf8f7;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
}

.plan-table tr:last-child td {
  border-bottom: none;
}

.plan-table tr:hover td {
  background-color: #fff9fb;
}

.table-footnote {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.5;
  margin-top: 8px;
}

/* 节点特色与技术看板 */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.feature-box h3 {
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-main);
}

.feature-box p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* 知识文章导航大厅与卡片 */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 22px;
}

.article-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
}
.article-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md);
}

.article-card-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 2px 8px;
  background: var(--bg-pink-soft);
  color: var(--primary-color);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  align-self: flex-start;
}

.article-card h3 {
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 8px;
  color: var(--text-main);
}

.article-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
  flex-grow: 1;
}

.article-card-meta {
  font-size: 0.8rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  padding-top: 10px;
}

/* FAQ 模块 (原生 details/summary，可键盘操作，无障碍支持) */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-pink);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item[open] {
  border-color: var(--primary-color);
}

.faq-question {
  padding: 16px 20px;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  min-height: 48px;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: var(--primary-color);
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 20px 20px;
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.7;
  border-top: 1px solid var(--border-pink);
  padding-top: 14px;
}

/* 文章正文页面布局 */
.article-page {
  padding: 44px 0 60px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 36px;
  align-items: start;
}

.article-header {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.article-breadcrumb {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 12px;
}
.article-breadcrumb a {
  color: var(--primary-color);
  text-decoration: none;
}

.article-title {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--text-main);
  margin-bottom: 14px;
}

.article-meta {
  font-size: 0.85rem;
  color: var(--text-light);
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.article-content {
  font-size: 1rem;
  line-height: 1.8;
  color: #382e32;
}

.article-content h2 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 32px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1.5px solid var(--border-pink);
  scroll-margin-top: calc(var(--header-height) + 16px);
}

.article-content h3 {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 24px 0 12px;
  scroll-margin-top: calc(var(--header-height) + 16px);
}

.article-content p {
  margin-bottom: 18px;
}

.article-content ul, .article-content ol {
  margin: 0 0 20px 24px;
}

.article-content li {
  margin-bottom: 8px;
}

.article-content pre, .article-content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.article-content code:not(pre code) {
  background: var(--bg-pink-soft);
  color: var(--primary-color);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.88em;
}

.article-content pre {
  background: #2b2326;
  color: #f7f5f2;
  padding: 16px;
  border-radius: var(--radius-sm);
  overflow-x: auto;
  margin-bottom: 20px;
  font-size: 0.88rem;
}

.article-alert {
  background: var(--bg-pink-soft);
  border-left: 4px solid var(--primary-color);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
  font-size: 0.94rem;
}

/* 侧边栏 */
.article-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 20px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-box {
  background: #ffffff;
  border: 1px solid var(--border-pink);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.sidebar-box h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
}

.sidebar-menu {
  list-style: none;
}
.sidebar-menu li {
  margin-bottom: 8px;
}
.sidebar-menu a {
  text-decoration: none;
  font-size: 0.88rem;
  color: var(--text-muted);
  display: block;
  line-height: 1.45;
  transition: color 0.15s;
}
.sidebar-menu a:hover {
  color: var(--primary-color);
}

/* 页脚 (规范：仅四个入口，独立页面) */
.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--border-pink);
  padding: 40px 0 30px;
  margin-top: auto;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 6px 10px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s;
}
.footer-nav a:hover {
  color: var(--primary-color);
}

.footer-statement {
  font-size: 0.82rem;
  color: var(--text-light);
  max-width: 780px;
  line-height: 1.6;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* 响应式断点适配 (360px, 390px, 768px, 1440px) */
@media (max-width: 1024px) {
  /* 为贴在右侧的 6x1 导航预留专用安全通道，确保绝不遮挡任何主页文字与卡片 */
  .container {
    padding-right: 58px;
    padding-left: 16px;
  }
}

@media (max-width: 992px) {
  .hero-plans-strip {
    grid-template-columns: 1fr;
  }
  .journey-steps {
    grid-template-columns: 1fr;
  }
  .article-layout {
    grid-template-columns: 1fr;
  }
  .article-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .container {
    padding-right: 52px;
    padding-left: 14px;
  }
  :root {
    --header-height: 56px;
  }
  .site-header {
    height: auto;
    min-height: var(--header-height);
    padding: 6px 0;
  }
  .site-header .header-inner {
    height: auto;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
  }
  .header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .header-auth-btn {
    height: 34px;
    padding: 0 12px;
    font-size: 0.8rem;
  }
  .search-input {
    width: 130px;
  }
  .search-input:focus {
    width: 160px;
  }
  .hero-title-brand {
    font-size: 1.95rem;
  }
  .hero-title-desc {
    font-size: 1.25rem;
  }
  .hero-lowest-price-badge {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .section-title {
    font-size: 1.65rem;
  }
  .site-nav {
    gap: 8px;
  }
}

@media (max-width: 390px) {
  .hero-title {
    font-size: 1.65rem;
  }
  .btn {
    padding: 8px 16px;
    font-size: 0.9rem;
  }
  .search-input {
    width: 110px;
  }
  .search-input:focus {
    width: 150px;
  }
}
/* ==========================================================================
   FlowerCloud Wiki - 超萌小花向导 V1.0 专项样式与动画规范
   ========================================================================== */

/* ---------------- 动画定义 ---------------- */

/* 自然呼吸起伏 (身体与云朵) */
@keyframes chibiBreathe {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

/* 自然眨眼动画 (每4秒轻眨一次) */
@keyframes chibiBlink {
  0%, 92%, 100% {
    transform: scaleY(1);
  }
  96% {
    transform: scaleY(0.08);
  }
}

/* 偶尔自然轻柔挥手 (每5秒小手轻快挥动) */
@keyframes chibiWave {
  0%, 75%, 100% {
    transform: rotate(0deg);
  }
  80% {
    transform: rotate(14deg);
  }
  85% {
    transform: rotate(-8deg);
  }
  90% {
    transform: rotate(10deg);
  }
}

/* 缓慢飘落的花瓣微动画 */
@keyframes petalDrift1 {
  0% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 0;
  }
  20% {
    opacity: 0.85;
  }
  80% {
    opacity: 0.85;
  }
  100% {
    transform: translate(-18px, 32px) rotate(45deg);
    opacity: 0;
  }
}

@keyframes petalDrift2 {
  0% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 0;
  }
  25% {
    opacity: 0.75;
  }
  75% {
    opacity: 0.75;
  }
  100% {
    transform: translate(16px, 28px) rotate(-35deg);
    opacity: 0;
  }
}

/* 悬停开心轻晃 */
@keyframes chibiWiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-3deg); }
  75% { transform: rotate(3deg); }
}

/* 点击轻快微弹 */
@keyframes chibiBounce {
  0%, 100% { transform: scale(1); }
  40% { transform: scale(0.92); }
  70% { transform: scale(1.06); }
}

/* 柔和呼吸樱粉光晕 */
@keyframes auraGlow {
  0%, 100% {
    filter: drop-shadow(0 4px 12px rgba(224, 87, 128, 0.22));
  }
  50% {
    filter: drop-shadow(0 6px 18px rgba(224, 87, 128, 0.38));
  }
}

/* ---------------- 动画类 ---------------- */

.chibi-breathe {
  animation: chibiBreathe 4s ease-in-out infinite;
  transform-origin: center bottom;
}

.chibi-eye-blink {
  animation: chibiBlink 4.2s ease-in-out infinite;
  transform-origin: center center;
}

.chibi-hand-wave {
  animation: chibiWave 5.5s ease-in-out infinite;
  transform-origin: 130px 135px;
}

.petal-drift-1 {
  animation: petalDrift1 6s ease-in-out infinite;
}

.petal-drift-2 {
  animation: petalDrift2 7.5s ease-in-out infinite 2s;
}

.chibi-aura {
  animation: auraGlow 3.5s ease-in-out infinite;
}

/* ---------------- 贴在右侧的 6x1 小花向导垂直电梯随行导航 ---------------- */

.chibi-dock-widget {
  position: fixed;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 990;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.95);
  border: 1.5px solid #ffccd5;
  border-radius: 26px;
  padding: 8px 5px;
  box-shadow: -2px 8px 24px rgba(216, 69, 112, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  user-select: none;
  max-height: 92vh;
  overflow-y: auto;
  scrollbar-width: none;
  transition: right 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
}
.chibi-dock-widget::-webkit-scrollbar {
  display: none;
}

/* 顶部头像区域 */
.chibi-dock-head {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 随屏切换时柔和浮动的微型对话气泡 (位于左侧，自动淡出，不阻挡正文) */
.chibi-dock-bubble {
  position: absolute;
  right: 52px;
  top: 6px;
  background: linear-gradient(135deg, #ffffff 0%, #fff0f3 100%);
  border: 1px solid #ffccd5;
  border-radius: 12px;
  padding: 6px 12px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--primary-color);
  box-shadow: 0 4px 14px rgba(216, 69, 112, 0.16);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(8px) scale(0.95);
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.chibi-dock-bubble.is-visible {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.chibi-dock-bubble::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  background: #fff0f3;
  border-right: 1px solid #ffccd5;
  border-top: 1px solid #ffccd5;
}

/* 小花头像按钮 (点击回到顶部) */
.chibi-dock-avatar-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.chibi-dock-avatar-btn:hover {
  animation: chibiWiggle 0.5s ease-in-out;
}
.chibi-dock-avatar-btn:active {
  animation: chibiBounce 0.3s ease-in-out;
}

.chibi-dock-avatar-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffffff 0%, #fff0f3 100%);
  border: 1.5px solid #ffccd5;
  box-shadow: 0 4px 12px rgba(216, 69, 112, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible;
  transition: all 0.2s ease;
}

.chibi-dock-avatar-btn:hover .chibi-dock-avatar-wrap,
.chibi-dock-avatar-btn:focus-visible .chibi-dock-avatar-wrap {
  border-color: var(--primary-color);
  box-shadow: 0 6px 18px rgba(216, 69, 112, 0.3);
  transform: scale(1.06);
}

.chibi-avatar-svg {
  width: 38px;
  height: 38px;
  display: block;
}

/* 6x1 垂直直达列表容器 (1 列 6 行) */
.chibi-dock-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

/* 每个导航卡片按钮 (6x1 规格) */
.chibi-dock-item {
  position: relative;
  width: 42px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  text-decoration: none;
  color: var(--text-main);
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.chibi-dock-item .dock-emoji {
  font-size: 0.95rem;
  line-height: 1;
  transition: transform 0.18s ease;
}

.chibi-dock-item .dock-text {
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1;
  color: var(--text-muted);
  transition: color 0.18s ease;
}

/* 悬停与聚焦 */
.chibi-dock-item:hover,
.chibi-dock-item:focus-visible {
  background: var(--bg-pink-soft);
  border-color: #ffccd5;
  transform: translateX(-2px);
}
.chibi-dock-item:hover .dock-emoji {
  transform: scale(1.15);
}
.chibi-dock-item:hover .dock-text {
  color: var(--primary-color);
}

/* 随屏当前卡片高亮状态 (is-current) */
.chibi-dock-item.is-current {
  background: linear-gradient(135deg, #ff9ebb 0%, #d84570 100%);
  border-color: #d84570;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(216, 69, 112, 0.35);
  transform: translateX(-3px) scale(1.05);
}

.chibi-dock-item.is-current .dock-emoji {
  transform: scale(1.12);
}

.chibi-dock-item.is-current .dock-text {
  color: #ffffff;
  font-weight: 800;
}

/* 悬停弹出微型 Tooltip (向左弹出，不挡内容) */
.dock-tooltip {
  position: absolute;
  right: 50px;
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: #2b1f25;
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

.dock-tooltip::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 6px;
  height: 6px;
  background: #2b1f25;
}

.chibi-dock-item:hover .dock-tooltip,
.chibi-dock-cta:hover .dock-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* 底部快捷官网微入口 */
.chibi-dock-cta {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff0f3, #ffe5ec);
  border: 1px solid #ffccd5;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--primary-color);
  font-size: 0.82rem;
  margin-top: 2px;
  transition: all 0.2s ease;
}

.chibi-dock-cta:hover,
.chibi-dock-cta:focus-visible {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 4px 10px rgba(216, 69, 112, 0.3);
}

/* 移动端与不同视口宽度适配 */
@media (max-width: 768px) {
  .chibi-dock-widget {
    right: 4px;
    padding: 6px 3px;
    gap: 3px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.94);
  }
  .chibi-dock-avatar-wrap {
    width: 36px;
    height: 36px;
  }
  .chibi-avatar-svg {
    width: 30px;
    height: 30px;
  }
  .chibi-dock-item {
    width: 36px;
    height: 38px;
    border-radius: 10px;
  }
  .chibi-dock-item .dock-emoji {
    font-size: 0.85rem;
  }
  .chibi-dock-item .dock-text {
    font-size: 0.6rem;
  }
  /* 移动端隐藏悬停 tooltip，防止挡字 */
  .dock-tooltip {
    display: none !important;
  }
  .chibi-dock-bubble {
    font-size: 0.7rem;
    padding: 4px 8px;
    right: 44px;
  }
}

@media (max-width: 480px) {
  .chibi-dock-widget {
    right: 2px;
    transform: translateY(-50%) scale(0.9);
    transform-origin: right center;
  }
}

/* 保证页面底部有足够留白，防止正文最后一行被固定组件遮挡 */
body {
  padding-bottom: 60px;
}

/* 支持系统“减少动态效果”设置 */
@media (prefers-reduced-motion: reduce) {
  .chibi-breathe,
  .chibi-eye-blink,
  .chibi-hand-wave,
  .petal-drift-1,
  .petal-drift-2,
  .chibi-aura,
  .chibi-character-trigger:hover,
  .chibi-character-trigger:active {
    animation: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   FlowerCloud Wiki - 左侧向导 (5个页面互联：首页·关于·条款·隐私·地图)
   ========================================================================== */

/* 服务页面专享：侧边栏位于左侧作为向导，右侧为主要正文 */
.service-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 36px;
  align-items: flex-start;
}
.service-layout .article-sidebar {
  order: -1;
  position: sticky;
  top: calc(var(--header-height) + 20px);
}
@media (max-width: 992px) {
  .service-layout {
    grid-template-columns: 1fr;
  }
  .service-layout .article-sidebar {
    order: 0;
    position: static;
  }
}

/* 侧边栏服务菜单高亮与美化 */
.sidebar-menu li a.is-current,
.sidebar-menu li a.active {
  color: var(--primary-color) !important;
  font-weight: 800 !important;
  background: var(--bg-pink-soft);
  border-radius: 6px;
  padding: 4px 8px;
  display: block;
}

/* ---------------- 贴在左侧的 5x1 官方服务随行向导 (5个页面互联) ---------------- */
.chibi-service-left-dock {
  position: fixed;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 990;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.95);
  border: 1.5px solid #ffccd5;
  border-radius: 26px;
  padding: 8px 5px;
  box-shadow: 2px 8px 24px rgba(216, 69, 112, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  user-select: none;
  max-height: 92vh;
  overflow-y: auto;
  scrollbar-width: none;
  transition: left 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
}
.chibi-service-left-dock::-webkit-scrollbar {
  display: none;
}

.chibi-service-head {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.chibi-service-avatar-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffffff 0%, #fff0f3 100%);
  border: 1.5px solid #ffccd5;
  box-shadow: 0 4px 12px rgba(216, 69, 112, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible;
  transition: all 0.2s ease;
}

.chibi-service-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

.chibi-service-item {
  position: relative;
  width: 42px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  text-decoration: none;
  color: var(--text-main);
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.chibi-service-item .dock-emoji {
  font-size: 0.95rem;
  line-height: 1;
  transition: transform 0.18s ease;
}

.chibi-service-item .dock-text {
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1;
  color: var(--text-muted);
  transition: color 0.18s ease;
}

.chibi-service-item:hover,
.chibi-service-item:focus-visible {
  background: var(--bg-pink-soft);
  border-color: #ffccd5;
  transform: translateX(2px);
}
.chibi-service-item:hover .dock-emoji {
  transform: scale(1.15);
}
.chibi-service-item:hover .dock-text {
  color: var(--primary-color);
}

.chibi-service-item.is-current {
  background: linear-gradient(135deg, #ff9ebb 0%, #d84570 100%);
  border-color: #d84570;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(216, 69, 112, 0.35);
  transform: translateX(3px) scale(1.05);
}

.chibi-service-item.is-current .dock-emoji {
  transform: scale(1.12);
}

.chibi-service-item.is-current .dock-text {
  color: #ffffff;
  font-weight: 800;
}

/* 悬停向右侧弹出 Tooltip */
.dock-tooltip-right {
  position: absolute;
  left: 50px;
  top: 50%;
  transform: translateY(-50%) translateX(-6px);
  background: #2b1f25;
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

.dock-tooltip-right::after {
  content: "";
  position: absolute;
  left: -4px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 6px;
  height: 6px;
  background: #2b1f25;
}

.chibi-service-item:hover .dock-tooltip-right,
.chibi-service-cta:hover .dock-tooltip-right {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.chibi-service-cta {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff0f3, #ffe5ec);
  border: 1px solid #ffccd5;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--primary-color);
  font-size: 0.82rem;
  margin-top: 2px;
  transition: all 0.2s ease;
}

.chibi-service-cta:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #ffffff;
  transform: scale(1.1);
}

@media (max-width: 1024px) {
  .chibi-service-left-dock {
    left: 4px;
    padding: 6px 3px;
    gap: 3px;
    border-radius: 20px;
  }
  .chibi-service-avatar-wrap {
    width: 36px;
    height: 36px;
  }
  .chibi-service-avatar-wrap .chibi-avatar-svg {
    width: 30px;
    height: 30px;
  }
  .chibi-service-item {
    width: 36px;
    height: 38px;
  }
  .dock-tooltip-right {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .chibi-service-left-dock {
    left: 2px;
    transform: translateY(-50%) scale(0.88);
    transform-origin: left center;
  }
}
