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

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  background: #fafaf7;
  color: #1a1a1a;
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.container { max-width: 880px; margin: 0 auto; padding: 0 24px; }

/* ========== 顶部导航 ========== */
header {
  padding: 60px 0 36px;
  border-bottom: 1px solid #e4e4e0;
  margin-bottom: 48px;
}
.brand {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #1a1a1a;
  cursor: pointer;
  user-select: none;
  display: inline-block;
}
.brand .dot { color: #b8860b; }
.tagline {
  margin-top: 12px;
  color: #555;
  font-size: 15px;
  letter-spacing: 0.5px;
}
.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #1a1a1a;
  color: #fff;
  border-radius: 30px;
  font-size: 14px;
  margin-top: 20px;
  font-weight: 500;
  cursor: default;
}
.contact-pill .icon { color: #b8860b; font-size: 14px; }

/* 顶部亮点 */
.hero-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-top: 28px;
}
.hero-highlight {
  background: #fff;
  border: 1px solid #e4e4e0;
  border-radius: 8px;
  padding: 16px 18px;
}
.hero-highlight h4 {
  font-size: 14px;
  font-weight: 600;
  color: #b8860b;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}
.hero-highlight p { font-size: 13px; color: #555; line-height: 1.55; }

/* ========== 章节 ========== */
section { margin-bottom: 60px; }
h2 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #1a1a1a;
}
h2 .num {
  color: #b8860b;
  margin-right: 14px;
  font-weight: 700;
  font-family: "STKaiti", "KaiTi", serif;
}
.section-line { width: 40px; height: 2px; background: #1a1a1a; margin-bottom: 20px; }
.section-intro { color: #555; margin-bottom: 28px; font-size: 15px; line-height: 1.75; }

/* ========== 服务卡片网格 ========== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}
.service-card {
  background: #fff;
  border: 1px solid #e4e4e0;
  border-radius: 8px;
  padding: 20px 22px;
}
.service-card h3 {
  font-size: 14px;
  font-weight: 600;
  color: #b8860b;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}
.service-card p { font-size: 14px; color: #555; line-height: 1.65; }

/* ========== 价格列表 ========== */
.price-list {
  background: #fff;
  border: 1px solid #e4e4e0;
  border-radius: 8px;
  overflow: hidden;
}
.price-row {
  padding: 20px 24px;
  border-bottom: 1px solid #e4e4e0;
}
.price-row:last-child { border-bottom: none; }
.price-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; gap: 16px; }
.price-name { font-weight: 600; font-size: 16px; }
.price-tag { color: #b8860b; font-weight: 600; font-size: 15px; white-space: nowrap; }
.price-desc { font-size: 14px; color: #666; line-height: 1.65; }

/* ========== 策略卡片 ========== */
.strategy-card {
  background: #fff;
  border: 1px solid #e4e4e0;
  border-radius: 8px;
  margin-bottom: 20px;
  overflow: hidden;
}
.strategy-header { padding: 22px 24px 16px; }
.strategy-title-row { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.strategy-num {
  flex-shrink: 0;
  width: 28px; height: 28px;
  background: #1a1a1a;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  line-height: 28px;
  font-size: 12px;
  font-weight: 600;
}
.strategy-title { font-size: 18px; font-weight: 600; }
.strategy-intro { color: #666; font-size: 14px; line-height: 1.65; }
.strategy-details {
  padding: 14px 24px;
  background: #faf9f4;
  font-size: 13.5px;
  border-top: 1px solid #ece9e0;
  border-bottom: 1px solid #ece9e0;
}
.detail-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  padding: 4px 0;
  align-items: baseline;
}
.detail-row .label { color: #888; font-size: 13px; }
.detail-row .value {
  color: #1a1a1a;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 13px;
  word-break: break-all;
}
.detail-row .remark-text {
  color: #888;
  font-size: 12.5px;
  font-family: inherit;
  font-style: italic;
}
.strategy-image-area { padding: 20px 24px; text-align: center; }
.strategy-image-area img { max-width: 100%; border-radius: 6px; display: block; margin: 0 auto; }

.image-placeholder {
  background: #f4f2eb;
  border: 1.5px dashed #d4d0c4;
  border-radius: 6px;
  padding: 50px 20px;
  color: #999;
  font-size: 13px;
  text-align: center;
}
.image-placeholder .icon { font-size: 22px; opacity: 0.5; margin-bottom: 8px; display: block; }

/* ========== 客户反馈 ========== */
.feedback-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.feedback-card {
  background: #fff;
  border: 1px solid #e4e4e0;
  border-radius: 8px;
  overflow: hidden;
}
.feedback-image { padding: 20px; text-align: center; }
.feedback-image .image-placeholder { padding: 70px 20px; }
.feedback-image img { max-width: 100%; border-radius: 4px; display: block; margin: 0 auto; }
.feedback-caption {
  padding: 14px 20px;
  border-top: 1px solid #e4e4e0;
  font-size: 13px;
  color: #666;
  background: #faf9f4;
}

/* ========== 页脚 ========== */
footer {
  margin-top: 80px;
  padding: 40px 0;
  border-top: 1px solid #e4e4e0;
  text-align: center;
  color: #888;
  font-size: 13px;
}
.footer-contact { margin-bottom: 12px; font-size: 14px; }
.footer-contact strong { color: #1a1a1a; }
.company-line { margin: 12px 0; font-size: 12px; color: #999; letter-spacing: 0.5px; }
.disclaimer { margin-top: 14px; line-height: 1.65; font-size: 12px; color: #999; max-width: 640px; margin-left: auto; margin-right: auto; }
.meta { margin-top: 18px; font-size: 11px; color: #bbb; }

/* ========== 编辑模式 ========== */
body.editing { padding-top: 64px; }

#edit-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: #1a1a1a;
  color: #fff;
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
  font-size: 14px;
  flex-wrap: wrap;
  gap: 12px;
}
.edit-bar-info { color: #d4d4d0; }
#edit-bar-username { color: #b8860b; font-weight: 600; margin: 0 8px; }
.edit-bar-hint { color: #888; font-size: 12.5px; margin-left: 6px; }
.edit-bar-actions { display: flex; gap: 12px; align-items: center; }
.edit-status { font-size: 12.5px; color: #888; min-width: 80px; text-align: right; }
.edit-status.saving { color: #b8860b; }
.edit-status.saved { color: #6c9; }
.edit-status.error { color: #e88; }

.btn-primary {
  background: #b8860b;
  color: #fff;
  border: none;
  padding: 8px 18px;
  border-radius: 4px;
  font-size: 13.5px;
  cursor: pointer;
  font-weight: 500;
  font-family: inherit;
}
.btn-primary:hover { background: #a07509; }
.btn-primary:disabled { background: #888; cursor: not-allowed; }

.btn-link {
  background: transparent;
  border: 1px solid #555;
  color: #ccc;
  padding: 8px 18px;
  border-radius: 4px;
  font-size: 13.5px;
  cursor: pointer;
  font-family: inherit;
}
.btn-link:hover { border-color: #888; color: #fff; }

/* 编辑模式下的可编辑元素 */
body.editing [data-bind]:hover,
body.editing [data-bind]:focus {
  outline: 2px solid #b8860b;
  outline-offset: 3px;
  background: #fffbeb;
  border-radius: 3px;
  cursor: text;
}
body.editing [data-bind] { transition: background 0.1s; }

body.editing .strategy-image-area,
body.editing .feedback-image {
  cursor: pointer;
  position: relative;
}
body.editing .strategy-image-area::after,
body.editing .feedback-image::after {
  content: "点击上传图片";
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(184, 134, 11, 0.95);
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11.5px;
  opacity: 0;
  transition: opacity 0.15s;
  pointer-events: none;
}
body.editing .strategy-image-area:hover::after,
body.editing .feedback-image:hover::after {
  opacity: 1;
}

/* 删除按钮(编辑模式下显示在卡片右上角) */
body.editing .strategy-card,
body.editing .feedback-card,
body.editing .service-card,
body.editing .price-row,
body.editing .hero-highlight {
  position: relative;
}
.delete-btn {
  display: none;
  position: absolute;
  top: 6px; right: 6px;
  background: #e25;
  color: #fff;
  border: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  font-size: 11px;
  cursor: pointer;
  z-index: 5;
}
body.editing .delete-btn { display: inline-block; }
.delete-btn:hover { background: #c14; }

.add-btn {
  display: none;
  width: 100%;
  padding: 12px;
  background: #fff;
  border: 1.5px dashed #d4d0c4;
  border-radius: 6px;
  color: #888;
  font-size: 13px;
  cursor: pointer;
  margin-top: 8px;
  font-family: inherit;
}
.add-btn:hover { border-color: #b8860b; color: #b8860b; }
body.editing .add-btn { display: block; }

/* ========== 登录弹窗 ========== */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
}
.modal[hidden] { display: none; }
.modal-box {
  background: #fff;
  padding: 32px 32px 24px;
  border-radius: 10px;
  width: 340px;
  max-width: 90vw;
  box-shadow: 0 12px 48px rgba(0,0,0,0.35);
}
.modal-box h3 {
  font-size: 17px;
  margin-bottom: 16px;
  font-weight: 600;
}
.modal-box input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  margin-bottom: 10px;
  font-family: inherit;
}
.modal-box input:focus {
  outline: none;
  border-color: #b8860b;
}
.modal-submit { width: 100%; padding: 11px; margin-top: 6px; }
.modal-cancel { width: 100%; margin-top: 8px; background: transparent; border: none; color: #888; }
.modal-error {
  color: #c33;
  font-size: 13px;
  margin-bottom: 10px;
  min-height: 18px;
}

/* ========== 移动端 ========== */
@media (max-width: 600px) {
  .container { padding: 0 18px; }
  header { padding: 40px 0 28px; }
  .brand { font-size: 26px; }
  h2 { font-size: 19px; }
  section { margin-bottom: 44px; }
  #edit-bar { padding: 10px 14px; font-size: 13px; }
  .edit-bar-hint { display: none; }
  .strategy-details, .strategy-header, .strategy-image-area { padding-left: 18px; padding-right: 18px; }
  .detail-row { grid-template-columns: 80px 1fr; }
}

/* ============================================================ */
/* ============ v2 视觉升级 (高级感 + 章节差异化) ============ */
/* ============================================================ */

/* —— 1. 空说明文字自动隐藏(编辑模式下显示占位提示) —— */
.section-intro:empty { display: none; }
body.editing .section-intro:empty {
  display: block;
  min-height: 1.7em;
  margin-bottom: 28px;
  padding: 8px 14px;
  border: 1.5px dashed #e0d4a8;
  border-radius: 6px;
  color: #c4a868;
  font-size: 13px;
  font-style: italic;
  background: rgba(255, 250, 230, 0.5);
}
body.editing .section-intro:empty::before {
  content: "（点击添加说明文字,留空则不展示给客户）";
}

/* —— 2. 手机端单列瀑布流 —— */
@media (max-width: 640px) {
  .hero-highlights,
  .service-grid,
  .feedback-grid {
    grid-template-columns: 1fr !important;
  }
}

/* —— 3. 策略卡终极升级 —— */
.strategies { counter-reset: strategy-counter; }

.strategy-card {
  background: #fff;
  border: 1px solid #ebe7dd;
  border-radius: 10px;
  margin-bottom: 22px;
  overflow: hidden;
  position: relative;
  counter-increment: strategy-counter;
  box-shadow: 0 1px 2px rgba(0,0,0,0.025);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.strategy-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.06);
}
/* 金色左侧装饰条 */
.strategy-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #d4a017 0%, #b8860b 50%, #8b6508 100%);
  z-index: 1;
}
/* 右上角大号序号 */
.strategy-card::after {
  content: counter(strategy-counter, decimal-leading-zero);
  position: absolute;
  top: 18px;
  right: 26px;
  font-size: 46px;
  font-weight: 200;
  color: #b8860b;
  font-family: "Times New Roman", "STSong", "SimSun", serif;
  letter-spacing: -2px;
  line-height: 1;
  opacity: 0.28;
  pointer-events: none;
  z-index: 2;
}

/* 隐藏旧的小号圆形序号(被右上角大号代替) */
.strategy-num { display: none; }
.strategy-title-row { margin-bottom: 10px; }

.strategy-header {
  padding: 28px 32px 22px 36px;
}
.strategy-title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.strategy-intro {
  color: #666;
  font-size: 14px;
  line-height: 1.75;
  padding-right: 80px;
}
.strategy-details {
  padding: 18px 32px 18px 36px;
  background: #faf9f4;
  border-top: 1px solid #eee8d6;
  border-bottom: 1px solid #eee8d6;
  font-size: 13.5px;
}
.detail-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  padding: 5px 0;
  align-items: baseline;
}
.detail-row .label {
  color: #a89070;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 500;
}
.detail-row .value {
  color: #1a1a1a;
  font-family: "SF Mono", ui-monospace, Menlo, monospace;
  font-size: 13px;
}
.detail-row .remark-text {
  color: #999;
  font-size: 12.5px;
  font-style: italic;
  font-family: inherit;
}
.strategy-image-area {
  padding: 22px 32px 26px 36px;
}
.image-placeholder {
  background: linear-gradient(135deg, #faf8ef 0%, #f4f0dc 100%);
  border: 1.5px dashed #d4c694;
  color: #b09860;
  padding: 60px 20px;
  font-size: 13px;
  letter-spacing: 0.5px;
}
.image-placeholder .icon {
  font-size: 26px;
  opacity: 0.6;
  margin-bottom: 10px;
}

/* —— 4. 服务区轻量化(横向 feature 列表感) —— */
.service-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
  gap: 12px;
}
.service-card {
  background: transparent;
  border: none;
  border-left: 2px solid #ebe1c4;
  border-radius: 0;
  padding: 6px 0 6px 18px;
}
.service-card:hover {
  border-left-color: #b8860b;
}
.service-card h3 {
  font-size: 14px;
  margin-bottom: 6px;
  letter-spacing: 1px;
}
.service-card p {
  font-size: 13.5px;
  color: #666;
  line-height: 1.7;
}

/* —— 5. 价格区放大金额、菜单感 —— */
.price-list {
  background: transparent;
  border: none;
  border-top: 2px solid #1a1a1a;
  border-radius: 0;
  overflow: visible;
}
.price-row {
  padding: 22px 0;
  border-bottom: 1px solid #ebe7dd;
}
.price-head { gap: 24px; }
.price-name {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.price-tag {
  font-size: 22px;
  font-weight: 300;
  color: #b8860b;
  font-family: "Times New Roman", "STSong", serif;
  letter-spacing: 0;
}
.price-desc {
  font-size: 13.5px;
  color: #666;
  line-height: 1.7;
  margin-top: 4px;
}

/* —— 6. 反馈区画廊化(去边框) —— */
.feedback-grid { gap: 20px; }
.feedback-card {
  background: transparent;
  border: none;
  border-radius: 0;
}
.feedback-image {
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
}
.feedback-image .image-placeholder {
  padding: 80px 20px;
  border-radius: 8px;
}
.feedback-caption {
  background: transparent;
  border-top: none;
  padding: 12px 4px 0;
  font-size: 13px;
  color: #666;
  text-align: center;
  font-style: italic;
}

/* —— 7. 章节标题微调,更"编辑风" —— */
h2 {
  font-size: 24px;
  letter-spacing: 1px;
}
h2 .num {
  font-size: 26px;
  margin-right: 16px;
  font-family: "STKaiti", "KaiTi", "Songti SC", serif;
  font-weight: 400;
}
.section-line {
  width: 50px;
  height: 1px;
  background: #1a1a1a;
  margin-bottom: 24px;
}
section { margin-bottom: 72px; }

/* —— 8. 移动端策略卡 padding 收一收 —— */
@media (max-width: 640px) {
  .strategy-header,
  .strategy-details,
  .strategy-image-area {
    padding-left: 20px;
    padding-right: 20px;
  }
  .strategy-card::before { width: 3px; }
  .strategy-card::after {
    font-size: 36px;
    top: 14px;
    right: 18px;
  }
  .strategy-intro { padding-right: 50px; }
  .detail-row { grid-template-columns: 78px 1fr; }
  .detail-row .label { font-size: 11px; letter-spacing: 1px; }
}

/* ============================================================ */
/* ================ v3 升级:hero 加重 + 多图 ================ */
/* ============================================================ */

/* —— Hero 区震撼化 —— */
.brand {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 0.95;
}
.hero-headline {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: #1a1a1a;
  margin-top: 18px;
  line-height: 1.45;
  max-width: 560px;
}
.tagline {
  font-size: 13px;
  letter-spacing: 4px;
  color: #888;
  margin-top: 16px;
  font-weight: 500;
}
.contact-pill {
  margin-top: 24px;
  padding: 11px 22px;
  font-size: 14px;
}
.hero-highlights { margin-top: 32px; gap: 14px; }
.hero-highlight { padding: 18px 20px; }
.hero-highlight h4 { font-size: 14px; letter-spacing: 1px; margin-bottom: 6px; }
.hero-highlight p { font-size: 12.5px; }

@media (max-width: 640px) {
  .brand { font-size: 40px; }
  .hero-headline { font-size: 20px; margin-top: 14px; letter-spacing: 1px; }
}

/* —— 多图横向滚动容器 —— */
.strategy-image-area { padding: 0; }
.strategy-image-area > .image-placeholder {
  margin: 22px 32px 26px 36px;
  padding: 56px 20px;
}
.strategy-images {
  display: flex;
  gap: 12px;
  padding: 22px 32px 26px 36px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-padding-left: 36px;
}
.strategy-images::-webkit-scrollbar { height: 6px; }
.strategy-images::-webkit-scrollbar-track { background: transparent; }
.strategy-images::-webkit-scrollbar-thumb {
  background: rgba(184, 134, 11, 0.3);
  border-radius: 3px;
}
.strategy-image {
  flex: 0 0 320px;
  height: 200px;
  scroll-snap-align: start;
  border-radius: 8px;
  overflow: hidden;
  background: #f4f2eb;
  position: relative;
}
.strategy-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.image-delete {
  display: none;
  position: absolute;
  top: 6px; right: 6px;
  background: rgba(0,0,0,0.75);
  color: #fff;
  border: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  font-size: 13px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
body.editing .image-delete { display: flex; }
.strategy-image-add {
  display: none;
  flex: 0 0 220px;
  height: 200px;
  border: 1.5px dashed #d4c694;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  color: #b09860;
  cursor: pointer;
  background: rgba(250, 248, 239, 0.5);
  font-size: 13.5px;
  letter-spacing: 1px;
  scroll-snap-align: start;
}
body.editing .strategy-image-add { display: flex; }
.strategy-image-add:hover {
  border-color: #b8860b;
  color: #b8860b;
  background: rgba(255, 248, 220, 0.8);
}

@media (max-width: 640px) {
  .strategy-images { padding-left: 20px; padding-right: 20px; gap: 10px; }
  .strategy-image-area > .image-placeholder { margin: 20px; }
  .strategy-image, .strategy-image-add {
    flex: 0 0 260px;
    height: 170px;
  }
}

/* ============================================================ */
/* ============= v4:hero 卡片改成 3 字段数据卡 ============== */
/* ============================================================ */

.hero-highlight {
  background: #fff;
  border: 1px solid #ece9e0;
  border-radius: 10px;
  padding: 18px 20px 20px;
  min-height: 132px;
  display: flex;
  flex-direction: column;
}
.hero-highlight .hl-title {
  font-size: 11.5px;
  font-weight: 600;
  color: #b8860b;
  letter-spacing: 2.5px;
  margin-bottom: 6px;
}
.hero-highlight .hl-value {
  font-size: 26px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}
.hero-highlight .hl-desc {
  font-size: 12.5px;
  color: #666;
  line-height: 1.55;
  font-weight: 500;
  margin-top: auto;
}

/* 隐藏旧版 h4/p 写法(向后兼容) */
.hero-highlight > h4 { display: none; }

@media (max-width: 640px) {
  .hero-highlight .hl-value { font-size: 22px; }
  .hero-highlight { min-height: 110px; padding: 16px 18px; }
}

/* ============================================================ */
/* ================ v5:策略卡内容大扩容 ====================== */
/* ============================================================ */

/* 醒目副标题(原 strategy-intro 升级) */
.strategy-tagline {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 8px 0 16px;
  line-height: 1.55;
  letter-spacing: 0.3px;
  padding-right: 70px;
}
/* 旧 strategy-intro 也升级,做向后兼容 */
.strategy-intro {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 8px 0 16px;
  line-height: 1.55;
  padding-right: 70px;
}

/* 多段详细介绍 */
.strategy-description {
  color: #444;
  font-size: 14.5px;
  line-height: 1.85;
  margin: 0 0 18px;
  white-space: pre-line;
}
.strategy-description:empty { display: none; }
body.editing .strategy-description:empty {
  display: block;
  min-height: 2em;
  padding: 8px 14px;
  border: 1.5px dashed #e0d4a8;
  border-radius: 6px;
  color: #c4a868;
  font-style: italic;
  font-size: 13px;
  background: rgba(255, 250, 230, 0.4);
}
body.editing .strategy-description:empty::before {
  content: "（点击添加详细介绍,支持多段,按 Enter 换行;留空不显示）";
}

/* 核心特点 bullet 列表 */
.strategy-features {
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
}
.strategy-features li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 9px;
  font-size: 14px;
  color: #333;
  line-height: 1.7;
  font-weight: 500;
}
.strategy-features li::before {
  content: '◆';
  position: absolute;
  left: 0;
  top: 0;
  color: #b8860b;
  font-size: 11px;
  line-height: 1.95;
}
.strategy-features li:empty { display: none; }
.strategy-features:empty { display: none; }
body.editing .strategy-features:empty {
  display: block;
  min-height: 2em;
  padding: 8px 14px;
  border: 1.5px dashed #e0d4a8;
  border-radius: 6px;
  color: #c4a868;
  font-style: italic;
  font-size: 13px;
  background: rgba(255, 250, 230, 0.4);
  list-style: none;
}
body.editing .strategy-features:empty::before {
  content: "（按 Enter 添加多条核心特点,如:日均交易稳定 / 最大回撤低 / 已运行半年）";
}

.strategy-header {
  padding-top: 30px;
  padding-bottom: 22px;
}

@media (max-width: 640px) {
  .strategy-tagline, .strategy-intro { font-size: 15px; padding-right: 50px; }
  .strategy-description { font-size: 14px; line-height: 1.75; }
  .strategy-features li { font-size: 13.5px; }
}
