/*
 * 2026-09-04 本地审看候选：婚恋平台历史稳定视觉基准。
 * 目标：深青绿色背景、暖金色拱门/光晕、书法誓言、侯一民签名；
 * 创办者的话紧接首页主内容之后，并与圣所下方暖色自然衔接。
 * 重要：用户批准前只用于本机审看，不得部署公网。
 */

/* 保留截图中的圣所首页，并让创办者区块紧接首页出现。 */
main{display:flex;flex-direction:column}
main>.sacred-section{order:-30!important}
main>#creator{order:-29!important}
main>.manifesto-section{order:-28!important}
main>.hero{order:-27!important}
main>#why-us{order:-26!important}

/* 明确锁定历史截图的圣所色调，不使用实景神庙图片。 */
.sacred-topbar{
  background:
    radial-gradient(circle at 50% 10%,rgba(226,190,102,.2),transparent 24rem),
    linear-gradient(135deg,#0d2927 0%,#143e39 48%,#0a211f 100%)!important;
}
main>.sacred-section{
  background:
    radial-gradient(circle at 50% 10%,rgba(226,190,102,.2),transparent 24rem),
    linear-gradient(135deg,#0d2927 0%,#143e39 48%,#0a211f 100%)!important;
  border-bottom:0!important;
}
.sacred-topbar .principle-strip{color:#f2dea0!important}
/* 顶部两个红心下方严格沿用上一版的细线：一条很薄的暖金→红色渐线，不做浅色带。 */
.sacred-topbar .top{border-bottom:1px solid rgba(229,199,126,.26)!important}
.sacred-topbar .top::after{display:block!important;background:linear-gradient(90deg,rgba(229,199,126,.75),rgba(255,45,50,.8),transparent)!important}
main>.sacred-section::before{
  border-color:rgba(229,199,126,.42)!important;
  box-shadow:0 0 0 13px rgba(229,199,126,.045),0 0 90px rgba(230,190,91,.14)!important;
}
main>.sacred-section::after{
  background:radial-gradient(circle,rgba(246,217,143,.18),rgba(246,217,143,0) 68%)!important;
}

/* 不增加横向分隔线：用创办者页顶部的自然淡出覆盖交界，模拟上一个版本的连贯过渡。 */
main>.section.creator-section:not(.manifesto-section){
  position:relative;
  isolation:isolate;
  overflow:visible!important;
  border-top:0!important;
  background:linear-gradient(180deg,#0a211f 0,#143e39 72px,#4c6b61 140px,#9c9276 210px,#ecd6bd 300px,#e7ceb5 100%)!important;
}
main>.section.creator-section:not(.manifesto-section)::before{
  content:"";
  position:absolute;
  z-index:-1;
  top:-210px;
  left:0;
  right:0;
  height:430px;
  background:linear-gradient(180deg,#0a211f 0%,#143e39 24%,#4c6b61 48%,#9c9276 68%,#c6ad8f 83%,#ecd6bd 100%);
  pointer-events:none;
}
/* 过渡层不得进入圣所区块：签名必须完整留在首页，不被“创办者的话”覆盖。 */
main>.section.creator-section:not(.manifesto-section)::before{display:none!important}
/* 去掉誓言正文中会被看成“分界线”的长横线，保持上一版的连贯书写感。 */
main>.sacred-section .sacred-line-ending{border-top:0!important;padding-top:0!important}

/* 中文誓言和签名继续使用本地已存在的行草字体；英文页面保持同一套金色圣所气质。 */
html[lang^="zh"] .sacred-section .sacred-kicker,
html[lang^="zh"] .sacred-section h2,
html[lang^="zh"] .sacred-section .sacred-intro,
html[lang^="zh"] .sacred-section .sacred-line,
html[lang^="zh"] .sacred-section .sacred-signature,
html[lang^="zh"] .sacred-section .sacred-signature-meta{
  font-family:"Zhi Mang Xing","STXingkai","FZXingKai","FZShuTi","KaiTi","STKaiti",cursive!important;
  font-style:normal!important;
  font-weight:400!important;
}
html[lang="en"] .sacred-section h2,
html[lang="en"] .sacred-section .sacred-line{
  font-family:"Palatino Linotype","Book Antiqua",Georgia,serif!important;
  font-weight:400!important;
}
html[lang="en"] .sacred-section .sacred-signature,
html[lang="en"] .sacred-section .sacred-signature-meta{
  font-family:"Zhi Mang Xing","STXingkai","KaiTi","STKaiti",cursive!important;
  font-style:normal!important;
  font-weight:400!important;
}

/* 英文圣所改用本机已有的 Segoe Script：比 Palatino 更舒展，但仍保持正文可读。 */
html[lang="en"] .sacred-section h2,
html[lang="en"] .sacred-section .sacred-line,
html[lang="en"] .sacred-section .sacred-kicker{
  font-family:"Segoe Script","Segoe Print","Palatino Linotype","Book Antiqua",cursive!important;
  font-style:normal!important;
  font-weight:400!important;
  letter-spacing:.015em!important;
}
html[lang="en"] .sacred-section h2{font-size:clamp(40px,5.4vw,72px)!important;line-height:1.18!important}
html[lang="en"] .sacred-section .sacred-line{font-size:clamp(22px,2.8vw,31px)!important;line-height:1.55!important}
html[lang="en"] .sacred-section .sacred-intro{font-family:"Palatino Linotype","Book Antiqua",Georgia,serif!important;font-style:italic!important;letter-spacing:.01em!important}

/* “创办者的话”是圣所首页后续的第一块内容，保留其暖纸色阅读区。 */
main>#creator{order:-29!important}
main>#creator .creator-photo>img{object-fit:contain!important;object-position:center top!important}
