/* ============================================
   噜噜专用维护PE - 全站共用样式
   水豚噜噜风 · 暖棕 + 柚子橙 + 温泉水蓝
   无外部依赖 · 移动端适配
   ============================================ */

/* ----- 基础重置 ----- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background-color: #FAF4EA;
  color: #5C4A38;
  line-height: 1.75;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* ============================================
   顶部导航栏
   ============================================ */
.topbar {
  background: rgba(255, 253, 248, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 2px solid #F0DFC5;
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.topbar-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-text {
  font-size: 20px;
  font-weight: 700;
  color: #A9744A;
  letter-spacing: 0.5px;
}

.logo-sub {
  font-size: 12px;
  color: #B39B77;
  font-style: italic;
  margin-top: -2px;
}

/* ----- 主导航 ----- */
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.main-nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: #8A7355;
  padding: 6px 12px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.main-nav a:hover {
  background: #F7EBD9;
  color: #A9744A;
}

.main-nav a.active {
  background: linear-gradient(135deg, #B5875B, #D9A96E);
  color: #fff;
  font-weight: 600;
}

/* ----- 纯净徽章（柚子款） ----- */
.pure-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #B5875B, #D9A96E);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(181, 135, 91, 0.35);
  animation: badgePulse 2.5s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* ============================================
   主视觉区 Hero（暖沙色水豚浴室）
   ============================================ */
.hero {
  background: linear-gradient(160deg, #F7E3C8 0%, #EFCFA0 45%, #F5DFBB 100%);
  padding: 60px 24px 70px;
  position: relative;
  overflow: hidden;
}

.hero-deco {
  position: absolute;
  font-size: 28px;
  opacity: 0.55;
  pointer-events: none;
  animation: floatUp 6s ease-in-out infinite;
}

.hero-deco.d1 { top: 12%; left: 6%; animation-delay: 0s; }
.hero-deco.d2 { top: 20%; right: 8%; animation-delay: 1.2s; font-size: 34px; }
.hero-deco.d3 { bottom: 18%; left: 10%; animation-delay: 2s; font-size: 24px; }
.hero-deco.d4 { bottom: 12%; right: 12%; animation-delay: 0.6s; }
.hero-deco.d5 { top: 45%; left: 3%; animation-delay: 1.8s; font-size: 22px; }
.hero-deco.d6 { top: 55%; right: 4%; animation-delay: 2.5s; font-size: 26px; }

@keyframes floatUp {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(8deg); }
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 2;
}

.hero-text {
  flex: 1;
  min-width: 0;
}

.hero-title {
  font-size: 42px;
  font-weight: 800;
  color: #7A4A21;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.hero-subtitle {
  font-size: 17px;
  color: #8A5B30;
  background: rgba(255, 255, 255, 0.55);
  display: inline-block;
  padding: 6px 18px;
  border-radius: 999px;
  margin-bottom: 24px;
  font-weight: 600;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 20px;
  margin-bottom: 28px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  color: #7A5330;
  font-weight: 600;
}

.feature-list li .check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: #fff;
  color: #A9744A;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.hero-desc {
  font-size: 14.5px;
  color: #8A684A;
  line-height: 1.9;
  max-width: 540px;
}

/* ============================================
   水豚噜噜吉祥物（CSS 绘制 · 头顶柚子泡温泉）
   ============================================ */
.mascot-wrap {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding-bottom: 10px;
}

.capy {
  position: relative;
  width: 210px;
  height: 195px;
  animation: capyBob 3.5s ease-in-out infinite;
}

@keyframes capyBob {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-10px) rotate(1.5deg); }
}

/* 温泉水面 */
.capy-water {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 226px;
  height: 30px;
  background: radial-gradient(ellipse at center, #BCE2EE 0%, #A5D8E6 60%, rgba(165, 216, 230, 0.35) 100%);
  border-radius: 50%;
  z-index: 1;
}

.capy-water::before,
.capy-water::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  top: 8px;
  animation: bubblePop 3s ease-in-out infinite;
}

.capy-water::before { left: 38px; animation-delay: 0.4s; }
.capy-water::after { right: 42px; animation-delay: 1.6s; width: 7px; height: 7px; }

@keyframes bubblePop {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.75; }
  50% { transform: translateY(-5px) scale(1.25); opacity: 0.35; }
}

/* 热气 */
.capy-steam {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  filter: blur(2px);
  top: 30px;
  z-index: 0;
  animation: steamRise 3.2s ease-in-out infinite;
}

.capy-steam.s1 { left: 46px; animation-delay: 0s; }
.capy-steam.s2 { right: 52px; top: 22px; animation-delay: 1.1s; width: 9px; height: 9px; }
.capy-steam.s3 { left: 96px; top: 16px; animation-delay: 2.2s; width: 8px; height: 8px; }

@keyframes steamRise {
  0% { transform: translateY(0) scale(0.8); opacity: 0; }
  30% { opacity: 0.8; }
  100% { transform: translateY(-34px) scale(1.5); opacity: 0; }
}

/* 水豚脑袋 */
.capy-head {
  position: absolute;
  width: 172px;
  height: 142px;
  background: linear-gradient(180deg, #C9A072 0%, #BE9066 70%, #B5875B 100%);
  border-radius: 46% 46% 44% 44%;
  top: 34px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  box-shadow: inset 0 -10px 18px rgba(154, 107, 63, 0.28);
}

/* 耳朵 */
.capy-ear {
  position: absolute;
  width: 36px;
  height: 32px;
  background: #B98A5B;
  border-radius: 52% 52% 40% 40%;
  top: 18px;
  z-index: 2;
}

.capy-ear.left { left: 30px; transform: rotate(-12deg); }
.capy-ear.right { right: 30px; transform: rotate(12deg); }

.capy-ear::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 15px;
  background: #A0744A;
  border-radius: 50%;
  top: 9px;
  left: 9px;
}

/* 眼睛（温和的豆豆眼） */
.capy-eye {
  position: absolute;
  width: 13px;
  height: 13px;
  background: #4A3B2E;
  border-radius: 50%;
  top: 82px;
  z-index: 4;
}

.capy-eye.left { left: 44px; }
.capy-eye.right { right: 44px; }

.capy-eye::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  background: #fff;
  border-radius: 50%;
  top: 2px;
  left: 2px;
  opacity: 0.85;
}

/* 浅色口鼻区 */
.capy-muzzle {
  position: absolute;
  width: 84px;
  height: 46px;
  background: #DDBC8F;
  border-radius: 50%;
  top: 98px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  box-shadow: inset 0 -4px 8px rgba(154, 107, 63, 0.18);
}

/* 鼻孔 */
.capy-nostril {
  position: absolute;
  width: 9px;
  height: 13px;
  background: #6B4F3A;
  border-radius: 50%;
  top: 108px;
  z-index: 5;
}

.capy-nostril.left { left: 78px; transform: rotate(-8deg); }
.capy-nostril.right { right: 78px; transform: rotate(8deg); }

/* 头顶柚子 */
.capy-yuzu {
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-42%);
  width: 46px;
  height: 46px;
  background: radial-gradient(circle at 32% 30%, #FFD27A 0%, #FFB84D 55%, #F79F3D 100%);
  border-radius: 50%;
  z-index: 6;
  box-shadow: 0 4px 10px rgba(247, 159, 61, 0.4);
  animation: yuzuSway 3.5s ease-in-out infinite;
}

.capy-yuzu::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 9px;
  background: #8FBF6F;
  border-radius: 50%;
  top: -5px;
  left: 22px;
  transform: rotate(-24deg);
}

@keyframes yuzuSway {
  0%, 100% { transform: translateX(-42%) rotate(-4deg); }
  50% { transform: translateX(-42%) rotate(5deg); }
}

/* 温泉石头 */
.capy-stone {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(180deg, #D9CBB8, #C4B49E);
  z-index: 1;
}

.capy-stone.st1 { width: 26px; height: 16px; left: 0; bottom: 12px; }
.capy-stone.st2 { width: 20px; height: 13px; right: 2px; bottom: 16px; }

.mascot-label {
  font-size: 13px;
  color: #fff;
  background: rgba(255, 255, 255, 0.32);
  padding: 4px 14px;
  border-radius: 999px;
  font-weight: 600;
}

/* ----- 噜噜真实形象（透明底GIF） ----- */
.lulu-img {
  width: 210px;
  height: auto;
  display: block;
  animation: capyBob 3.5s ease-in-out infinite;
  filter: drop-shadow(0 12px 18px rgba(154, 107, 63, 0.35));
  image-rendering: auto;
}

/* ----- PE 界面实拍预览 ----- */
.shot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.shot-card {
  display: block;
  background: #FFFDF8;
  border: 2px solid #F0DFC5;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.shot-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 26px rgba(181, 135, 91, 0.2);
  border-color: #E8CFA8;
}
.shot-card img {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 2px solid #F5EBDC;
}
.shot-cap {
  padding: 12px 16px 14px;
}
.shot-cap .sc-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #A9744A;
}
.shot-cap .sc-desc {
  font-size: 12.5px;
  color: #B39B77;
  margin-top: 2px;
}

/* ----- 友情链接 ----- */
.fl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin: 18px 0 8px;
}
.fl-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #EEE8F9;
  border: none;
  border-radius: 14px;
  padding: 28px 18px;
  min-height: 110px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.fl-grid .fl-card:nth-child(3n+2) { background: #FBF4D9; }
.fl-grid .fl-card:nth-child(3n)   { background: #E4F5E6; }
.fl-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(92, 74, 56, 0.15);
}
.fl-card .fl-name {
  font-size: 15.5px;
  font-weight: 800;
  color: #4A3B2E;
  margin-bottom: 5px;
}
.fl-card .fl-url {
  font-size: 12.5px;
  color: #9A8B77;
  word-break: break-all;
}
.fl-empty {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #FDF8EF, #FBF1E2);
  border: 2px solid #F0DFC5;
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 14px;
  color: #7A6248;
  line-height: 1.85;
}
.fl-empty a {
  color: #C77F2E;
  font-weight: 600;
}

/* ============================================
   下载按钮区 —— Grid 等宽对齐
   ============================================ */
.download-section {
  max-width: 1100px;
  margin: -36px auto 0;
  padding: 0 24px;
  position: relative;
  z-index: 10;
}

.download-card {
  background: #FFFDF8;
  border-radius: 24px;
  padding: 32px 36px;
  box-shadow: 0 12px 40px rgba(181, 135, 91, 0.18);
  border: 2px solid #F0DFC5;
}

.download-title {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  color: #A9744A;
  margin-bottom: 6px;
}

.download-tip {
  text-align: center;
  font-size: 13.5px;
  color: #B39B77;
  margin-bottom: 24px;
}

.btn-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: stretch;
}

.btn-grid .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 72px;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.4;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  border: none;
  width: 100%;
  word-break: break-word;
}

.btn-grid .btn:hover {
  transform: translateY(-3px);
}

.btn-grid .btn:active {
  transform: translateY(-1px);
}

.btn-grid .btn-main {
  background: linear-gradient(135deg, #ffffff, #FBF1E2);
  color: #A9744A;
  font-size: 22px;
  box-shadow: 0 6px 20px rgba(181, 135, 91, 0.3);
  border: 2px solid #E8CFA8;
}

.btn-grid .btn-main:hover {
  box-shadow: 0 10px 28px rgba(181, 135, 91, 0.45);
}

.btn-grid .btn-sub {
  background: rgba(255, 253, 248, 0.75);
  color: #A9744A;
  font-size: 16px;
  border: 2px solid #EFDCC0;
  box-shadow: 0 4px 12px rgba(181, 135, 91, 0.12);
}

.btn-grid .btn-sub:hover {
  background: #FBF1E2;
  box-shadow: 0 8px 20px rgba(181, 135, 91, 0.25);
}

/* ============================================
   通用区块
   ============================================ */
.section {
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 24px;
}

.section-title {
  text-align: center;
  font-size: 28px;
  font-weight: 800;
  color: #A9744A;
  margin-bottom: 8px;
}

.section-subtitle {
  text-align: center;
  font-size: 14.5px;
  color: #B39B77;
  margin-bottom: 36px;
}

.content-title {
  font-size: 25px;
  font-weight: 800;
  color: #A9744A;
  margin-bottom: 6px;
  line-height: 1.4;
}

.content-lead {
  font-size: 15px;
  color: #A08763;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 2px dashed #EFDCC0;
}

/* ----- 三卡片 ----- */
.exp-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.exp-card {
  background: #FFFDF8;
  border-radius: 20px;
  padding: 32px 28px;
  text-align: center;
  border: 2px solid #F0DFC5;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.exp-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(181, 135, 91, 0.2);
}

.exp-icon {
  font-size: 48px;
  margin-bottom: 16px;
  display: inline-block;
  animation: iconWiggle 2.5s ease-in-out infinite;
}

@keyframes iconWiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-8deg); }
  75% { transform: rotate(8deg); }
}

.exp-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: #A9744A;
  margin-bottom: 10px;
}

.exp-card p {
  font-size: 14px;
  color: #8A7355;
  line-height: 1.85;
}

/* ============================================
   文章正文排版（内容页）
   ============================================ */
.article {
  max-width: 860px;
  margin: 40px auto 0;
  padding: 0 24px;
}

.article h2 {
  font-size: 22px;
  font-weight: 700;
  color: #A9744A;
  margin: 40px 0 14px;
  padding-left: 14px;
  border-left: 5px solid #D9A96E;
  line-height: 1.5;
}

.article h2:first-child {
  margin-top: 0;
}

.article h3 {
  font-size: 17.5px;
  font-weight: 700;
  color: #96693F;
  margin: 26px 0 10px;
}

.article p {
  font-size: 15.2px;
  color: #6B5A45;
  margin-bottom: 15px;
  line-height: 1.95;
}

.article ul,
.article ol {
  margin: 0 0 18px 0;
  padding-left: 0;
}

.article li {
  font-size: 15.2px;
  color: #6B5A45;
  line-height: 1.95;
  padding-left: 26px;
  position: relative;
  margin-bottom: 9px;
}

.article ul li::before {
  content: "🍊";
  position: absolute;
  left: 0;
  font-size: 12px;
  top: 3px;
}

.article ol {
  counter-reset: item;
}

.article ol li {
  counter-increment: item;
  padding-left: 34px;
}

.article ol li::before {
  content: counter(item);
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, #B5875B, #D9A96E);
  color: #fff;
  border-radius: 50%;
  font-size: 12.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.article strong {
  color: #96693F;
  font-weight: 700;
}

.article a {
  color: #C77F2E;
  font-weight: 600;
  border-bottom: 1px dashed #E8CFA8;
  transition: border-color 0.2s;
}

.article a:hover {
  border-bottom-color: #C77F2E;
}

/* ----- 表格 ----- */
.table-wrap {
  overflow-x: auto;
  margin: 20px 0 26px;
  border-radius: 14px;
  border: 2px solid #F0DFC5;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #FFFDF8;
  font-size: 14.5px;
  min-width: 520px;
}

th {
  background: linear-gradient(135deg, #F7E3C8, #F0D3A8);
  color: #8A5A2B;
  font-weight: 700;
  padding: 13px 16px;
  text-align: left;
  white-space: nowrap;
}

td {
  padding: 12px 16px;
  color: #6B5A45;
  border-top: 1px solid #F5EBDC;
  line-height: 1.7;
}

tbody tr:hover {
  background: #FCF7EE;
}

/* ----- 提示框 ----- */
.note {
  background: linear-gradient(135deg, #FDF8EF, #FBF1E2);
  border: 2px solid #F0DFC5;
  border-left: 5px solid #E8A04C;
  border-radius: 12px;
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 14.5px;
  color: #7A6248;
  line-height: 1.85;
}

.note strong {
  color: #C77F2E;
}

/* ----- 步骤卡片 ----- */
.step-card {
  background: #FFFDF8;
  border: 2px solid #F0DFC5;
  border-radius: 16px;
  padding: 22px 26px;
  margin-bottom: 16px;
  transition: box-shadow 0.25s ease;
}

.step-card:hover {
  box-shadow: 0 8px 24px rgba(181, 135, 91, 0.14);
}

.step-card h3 {
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #B5875B, #D9A96E);
  color: #fff;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ============================================
   更新日志 · 时间轴
   ============================================ */
.log-timeline {
  position: relative;
  padding-left: 30px;
}

.log-timeline::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 10px;
  bottom: 10px;
  width: 3px;
  background: linear-gradient(180deg, #E8CFA8, #F5DFBB);
  border-radius: 2px;
}

.log-card {
  position: relative;
  background: #FFFDF8;
  border: 2px solid #F0DFC5;
  border-radius: 16px;
  padding: 24px 28px;
  margin-bottom: 20px;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.log-card:hover {
  box-shadow: 0 8px 24px rgba(181, 135, 91, 0.14);
  border-color: #E8CFA8;
}

.log-card::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 30px;
  width: 11px;
  height: 11px;
  background: #F79F3D;
  border: 3px solid #FAF4EA;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #E8CFA8;
}

.log-card.latest {
  border-color: #E8A04C;
  background: linear-gradient(135deg, #FFFDF8 60%, #FCF0DC 100%);
}

.log-card.latest::before {
  background: #E8702A;
  animation: badgePulse 2s ease-in-out infinite;
}

.log-head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.ver-tag {
  display: inline-flex;
  align-items: center;
  font-size: 17px;
  font-weight: 800;
  color: #A9744A;
  letter-spacing: 0.3px;
}

.log-date {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: #8A7355;
  background: #F7EBD9;
  padding: 4px 12px;
  border-radius: 999px;
}

.log-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #F79F3D, #E8702A);
  padding: 4px 12px;
  border-radius: 999px;
  box-shadow: 0 3px 10px rgba(232, 112, 42, 0.35);
}

.log-card ul {
  margin-bottom: 0;
}

.log-card li {
  font-size: 15px;
  color: #6B5A45;
  line-height: 1.95;
  padding-left: 24px;
  position: relative;
  margin-bottom: 8px;
}

.log-card li:last-child {
  margin-bottom: 0;
}

.log-card li::before {
  content: "🍊";
  position: absolute;
  left: 0;
  font-size: 11px;
  top: 4px;
}

.log-card li strong {
  color: #96693F;
}

/* ============================================
   FAQ 折叠
   ============================================ */
.faq-item {
  background: #FFFDF8;
  border: 2px solid #F0DFC5;
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}

.faq-item:hover {
  box-shadow: 0 6px 20px rgba(181, 135, 91, 0.13);
}

.faq-item summary {
  padding: 17px 22px;
  font-size: 15.5px;
  font-weight: 700;
  color: #96693F;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before {
  content: "Q";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, #B5875B, #D9A96E);
  color: #fff;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.faq-item[open] summary {
  border-bottom: 2px dashed #F0DFC5;
}

.faq-body {
  padding: 16px 22px 20px 54px;
  font-size: 14.8px;
  color: #6B5A45;
  line-height: 1.95;
}

.faq-body p {
  margin-bottom: 10px;
}

.faq-body p:last-child {
  margin-bottom: 0;
}

.faq-body ul {
  margin: 8px 0;
}

.faq-body li {
  padding-left: 20px;
  position: relative;
  margin-bottom: 6px;
  color: #6B5A45;
}

.faq-body li::before {
  content: "·";
  position: absolute;
  left: 6px;
  color: #C77F2E;
  font-weight: 700;
}

/* ============================================
   面包屑
   ============================================ */
.breadcrumb {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 24px 0;
  font-size: 13.5px;
  color: #B39B77;
}

.breadcrumb a {
  color: #C77F2E;
  transition: opacity 0.2s;
}

.breadcrumb a:hover {
  opacity: 0.75;
}

.breadcrumb span.sep {
  margin: 0 7px;
  color: #DECBAF;
}

/* ============================================
   相关链接卡片
   ============================================ */
.related {
  max-width: 1100px;
  margin: 50px auto;
  padding: 0 24px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.related-item {
  background: #FFFDF8;
  border: 2px solid #F0DFC5;
  border-radius: 14px;
  padding: 18px 20px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  display: block;
}

.related-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 26px rgba(181, 135, 91, 0.18);
  border-color: #E8CFA8;
}

.related-item .ri-title {
  font-size: 15.5px;
  font-weight: 700;
  color: #A9744A;
  margin-bottom: 6px;
}

.related-item .ri-desc {
  font-size: 13.5px;
  color: #A08763;
  line-height: 1.75;
}

/* ============================================
   页脚（暖棕）
   ============================================ */
.footer {
  background: linear-gradient(160deg, #C9A072, #B5875B);
  padding: 40px 24px 28px;
  margin-top: 60px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.footer-brand {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(120, 82, 45, 0.35);
}

.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px 22px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  opacity: 0.92;
  transition: opacity 0.2s;
}

.footer-nav a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 620px;
  margin: 0 auto 16px;
  line-height: 1.85;
}

.footer-beian {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.footer-beian a {
  color: rgba(255, 255, 255, 0.92);
  transition: color 0.2s;
}

.footer-beian a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-copy {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 8px;
}

/* ============================================
   网站地图页专用
   ============================================ */
.sitemap-group {
  background: #FFFDF8;
  border: 2px solid #F0DFC5;
  border-radius: 16px;
  padding: 24px 28px;
  margin-bottom: 18px;
}

.sitemap-group h2 {
  font-size: 19px;
  color: #A9744A;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sitemap-list li {
  margin-bottom: 9px;
  padding-left: 0;
}

.sitemap-list li::before {
  display: none;
}

.sitemap-list a {
  font-size: 15.2px;
  color: #C77F2E;
  font-weight: 600;
  border-bottom: 1px dashed #E8CFA8;
}

.sitemap-list .sl-desc {
  font-size: 13.5px;
  color: #A08763;
  margin-left: 10px;
}

/* ============================================
   404 页
   ============================================ */
.error-wrap {
  text-align: center;
  padding: 70px 24px 80px;
  max-width: 620px;
  margin: 0 auto;
}

.error-code {
  font-size: 96px;
  font-weight: 800;
  color: #E8CFA8;
  line-height: 1;
  letter-spacing: 4px;
  text-shadow: 0 6px 20px rgba(181, 135, 91, 0.25);
}

.error-title {
  font-size: 24px;
  font-weight: 700;
  color: #A9744A;
  margin: 18px 0 12px;
}

.error-text {
  font-size: 15px;
  color: #8A7355;
  line-height: 1.9;
  margin-bottom: 28px;
}

.error-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.error-links a {
  padding: 11px 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, #B5875B, #D9A96E);
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(181, 135, 91, 0.3);
  transition: transform 0.2s ease;
}

.error-links a:hover {
  transform: translateY(-3px);
}

/* ============================================
   响应式
   ============================================ */
@media (max-width: 992px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
    gap: 32px;
  }

  .hero-text { order: 2; }
  .mascot-wrap { order: 1; }

  .hero-title { font-size: 32px; }
  .hero-desc { margin: 0 auto; }

  .feature-list {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto 24px;
  }

  .btn-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .btn-grid .btn {
    min-height: 64px;
    font-size: 15px;
    padding: 10px 12px;
  }

  .btn-grid .btn-main { font-size: 18px; }

  .download-card { padding: 24px 20px; }

  .exp-cards {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .shot-grid { grid-template-columns: 1fr; }

  .topbar-inner {
    justify-content: center;
    flex-direction: column;
    gap: 8px;
  }

  .main-nav {
    justify-content: center;
  }

  .capy { width: 172px; height: 160px; }

  .article { margin-top: 26px; }
}

@media (max-width: 480px) {
  .btn-grid { grid-template-columns: 1fr; }

  .hero-title { font-size: 26px; }
  .section-title { font-size: 22px; }
  .content-title { font-size: 21px; }

  .article h2 { font-size: 19px; }
  .article h3 { font-size: 16.5px; }
  .article p, .article li { font-size: 14.8px; }

  .faq-body { padding-left: 22px; }
  .main-nav a { padding: 5px 9px; font-size: 13.5px; }
  .error-code { font-size: 72px; }

  .log-timeline { padding-left: 24px; }
  .log-card { padding: 18px 20px; }
  .log-card::before { left: -22px; width: 9px; height: 9px; }
}

/* ----- 下载卡片与弹窗（下载页 / 装机助理页共用） ----- */
/* ----- 下载弹窗（晚川装机助理页专用） ----- */
.dl-open-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #B5875B, #D9A96E);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  font-family: inherit;
  padding: 14px 48px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(181, 135, 91, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.dl-open-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(181, 135, 91, 0.5);
}
.dl-open-btn:active { transform: translateY(-1px); }

.dl-modal-mask {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(92, 74, 56, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 999;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.dl-modal-mask.show { display: flex; }

.dl-modal {
  position: relative;
  background: #FFFDF8;
  border: 2px solid #F0DFC5;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(92, 74, 56, 0.35);
  max-width: 460px;
  width: 100%;
  padding: 30px 30px 24px;
  max-height: 85vh;
  overflow-y: auto;
  animation: dlPop 0.22s ease;
}
@keyframes dlPop {
  from { opacity: 0; transform: translateY(18px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.dl-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: #F7EBD9;
  color: #A9744A;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}
.dl-modal-close:hover { background: #EFDCC0; }

.dl-modal-title {
  font-size: 20px;
  font-weight: 800;
  color: #A9744A;
  text-align: center;
  margin-bottom: 20px;
}

.dl-group { margin-bottom: 18px; }
.dl-group-name {
  font-size: 15px;
  font-weight: 700;
  color: #96693F;
  margin-bottom: 10px;
}
.dl-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #FFFDF8;
  border: 2px solid #E8CFA8;
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 14.5px;
  font-weight: 700;
  color: #A9744A;
  margin-bottom: 10px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(181, 135, 91, 0.12);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.dl-link:hover {
  background: #FBF5EB;
  border-color: #D9A96E;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(181, 135, 91, 0.28);
}
.dl-link::after { content: "↗"; opacity: 0.6; }

.dl-modal-tip {
  font-size: 12.5px;
  color: #B39B77;
  text-align: center;
  margin: 6px 0 0;
}
/* ----- 下载卡片 ----- */
.zj-dl-card {
  background: #FFFDF8;
  border: 2px solid #E8CFA8;
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(181, 135, 91, 0.16);
  padding: 26px 28px;
  margin: 18px 0 24px;
}
.zj-dl-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.zj-ver-chip {
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #B5875B, #D9A96E);
  padding: 5px 16px;
  border-radius: 999px;
}
.zj-ver-date {
  font-size: 13px;
  font-weight: 600;
  color: #8A7355;
  background: #F7EBD9;
  padding: 5px 14px;
  border-radius: 999px;
}
.ver-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 20px;
}
.ver-card {
  background: #FBF5EB;
  border: 2px solid #F0DFC5;
  border-radius: 14px;
  padding: 18px 20px;
  text-align: center;
}
.ver-name {
  font-size: 16.5px;
  font-weight: 800;
  color: #A9744A;
  margin-bottom: 6px;
}
.ver-size {
  font-size: 15px;
  font-weight: 700;
  color: #96693F;
  margin-bottom: 12px;
}
.ver-size span {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  color: #B39B77;
  margin-top: 2px;
}
.hash-details { text-align: left; }
.hash-details summary {
  font-size: 13px;
  font-weight: 600;
  color: #C77F2E;
  cursor: pointer;
  text-align: center;
  user-select: none;
}
.hash-body {
  margin-top: 10px;
  background: #FFFDF8;
  border: 1px dashed #E8CFA8;
  border-radius: 10px;
  padding: 8px 12px;
}
.hash-table { width: 100%; border-collapse: collapse; }
.hash-table th,
.hash-table td {
  font-size: 12px;
  color: #8A7355;
  line-height: 1.7;
  padding: 5px 6px;
  text-align: left;
  vertical-align: top;
}
.hash-table tr + tr th,
.hash-table tr + tr td { border-top: 1px dashed #F0DFC5; }
.hash-table th {
  color: #96693F;
  font-weight: 700;
  white-space: nowrap;
  width: 1%;
}
.hash-table td {
  word-break: break-all;
  font-family: Consolas, "Courier New", monospace;
}
.zj-dl-btnrow { text-align: center; }
.zj-dl-tip {
  font-size: 12.5px;
  color: #B39B77;
  margin-top: 10px;
}
