/* xfy8.site · 新加坡幸福缘 — 问答页样式（本站手写） */

:root {
  --zhi: #fbf4ec;
  --zhi-2: #f4e6da;
  --zhi-3: #ecd8c9;
  --mo: #2a1519;
  --mo-2: #6b5257;
  --jiu: #6d1f33;
  --jiu-shen: #4a1322;
  --zhu: #c8352f;
  --tao: #f0b9a8;
  --yu: #6f8f7f;
  --xian: rgba(42, 21, 25, .14);
  --biao: "Noto Serif SC", "Songti SC", "STSong", "Source Han Serif SC", serif;
  --wen: "Hanken Grotesk", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --xi: "Young Serif", "Noto Serif SC", Georgia, serif;
  --shou: "Long Cang", "Kaiti SC", "STKaiti", cursive;
  --bian: clamp(16px, 4vw, 60px);
  --kuan: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--mo); font: 400 16.5px/1.9 var(--wen);
  background:
    radial-gradient(1200px 600px at 110% -10%, rgba(240, 185, 168, .45), transparent 60%),
    radial-gradient(900px 500px at -10% 40%, rgba(236, 216, 201, .6), transparent 60%),
    var(--zhi);
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2 { margin: 0; font-family: var(--biao); font-weight: 900; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--zhu); outline-offset: 3px; }
.tiao { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--zhi); padding: 8px 14px; }
.tiao:focus { left: 10px; }
.hong { color: var(--zhu); }
.xiao { margin: 0 0 12px; font: 600 13px/1 var(--wen); letter-spacing: .3em; color: var(--zhu); }
.xiao::before { content: "— "; }

/* 印章 */
.yin {
  display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px;
  background: var(--zhu); color: #fff6ee; font: 900 21px/1 var(--biao);
  transform: rotate(-5deg); box-shadow: inset 0 0 0 2px rgba(255, 246, 238, .28), inset 0 0 0 4px var(--zhu), inset 0 0 0 5px rgba(255, 246, 238, .5);
}
.yin-da { background: var(--jiu); box-shadow: inset 0 0 0 2px rgba(255, 246, 238, .22), inset 0 0 0 4px var(--jiu), inset 0 0 0 5px rgba(255, 246, 238, .45); transform: rotate(4deg); }
.js .yin { opacity: 0; transform: scale(1.9) rotate(-18deg); }
.js .dao .yin, .js .yin.dao { animation: gai .55s cubic-bezier(.3, 1.5, .5, 1) forwards; }
.js .dao .yin-da { animation-delay: .5s; }
@keyframes gai { 60% { opacity: 1; transform: scale(.92) rotate(-3deg); } 100% { opacity: 1; transform: scale(1) rotate(var(--jiao, -5deg)); } }
.yin-da { --jiao: 4deg; }

/* 按钮：方角，酒红从左边铺满 */
.an-hang { display: flex; flex-wrap: wrap; gap: 14px 16px; align-items: center; }
.an {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: 14px; padding: 17px 26px 16px;
  text-decoration: none; font: 600 15.5px/1 var(--wen); letter-spacing: .12em;
  transition: color .35s ease, box-shadow .35s ease;
}
.an::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.6, .05, .2, 1); }
.an:hover::before { transform: scaleX(1); }
.an span { transition: transform .35s ease; }
.an:hover span { transform: translateX(5px); }
.an-shi { background: var(--jiu); color: var(--zhi); box-shadow: 6px 6px 0 var(--tao); }
.an-shi::before { background: var(--zhu); }
.an-shi:hover { box-shadow: 0 0 0 var(--tao); }
.an-xian { color: var(--jiu); box-shadow: inset 0 0 0 1.5px var(--jiu); }
.an-xian::before { background: var(--jiu); }
.an-xian:hover { color: var(--zhi); }
.an-qian { color: var(--zhi); box-shadow: inset 0 0 0 1.5px rgba(251, 244, 236, .7); }
.an-qian::before { background: var(--zhi); }
.an-qian:hover { color: var(--jiu); }

/* ---------- 顶部 ---------- */
.tou {
  position: fixed; inset: 0 0 auto; z-index: 60; height: 74px; padding: 0 var(--bian);
  display: flex; align-items: center; gap: 30px;
  transition: background .35s ease, height .35s ease, box-shadow .35s ease;
}
.tou.gun { background: rgba(251, 244, 236, .94); height: 62px; box-shadow: 0 1px 0 var(--xian); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.tou-biao { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.tou-huan { width: 42px; height: 28px; fill: none; stroke-width: 2.4; }
.tou-huan circle:first-child { stroke: var(--zhu); }
.tou-huan circle:last-child { stroke: var(--jiu); transition: transform .6s cubic-bezier(.3, 1.4, .5, 1); }
.tou-biao:hover .tou-huan circle:last-child { transform: translateX(-6px); }
.tou-ming { font: 900 22px/1 var(--biao); letter-spacing: .06em; color: var(--jiu); }
.tou-ming small { display: block; margin-top: 4px; font: 600 10px/1 var(--wen); letter-spacing: .32em; color: var(--mo-2); }
.tou-dao { display: flex; gap: 28px; }
.tou-dao a { position: relative; text-decoration: none; font: 500 15px/1 var(--wen); padding: 8px 0; }
.tou-dao a::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: 0; height: 2px; background: var(--zhu); transition: left .3s ease, right .3s ease; }
.tou-dao a:hover::after, .tou-dao a.zai::after { left: 0; right: 0; }
.tou-yu { white-space: nowrap; text-decoration: none; font: 600 13px/1 var(--wen); letter-spacing: .14em; padding: 9px 11px; box-shadow: inset 0 0 0 1px var(--mo); transition: background .3s, color .3s; }
.tou-yu:hover { background: var(--mo); color: var(--zhi); }
.tou-fei { text-decoration: none; font: 600 14px/1 var(--wen); letter-spacing: .1em; padding: 11px 16px; background: var(--jiu); color: var(--zhi); transition: background .3s; }
.tou-fei:hover { background: var(--zhu); }
.tou-kai { display: none; }

.chou { position: fixed; inset: 0; z-index: 55; background: var(--zhi); padding: 92px 22px 34px; overflow-y: auto; }
.chou[hidden] { display: none; }
.chou-ti { font: 400 26px/1.2 var(--shou); color: var(--zhu); margin-bottom: 14px; }
.chou-lie { list-style: none; margin: 0 0 26px; padding: 0; counter-reset: chou; }
.chou-lie li { border-bottom: 1px solid var(--xian); opacity: 0; transform: translateX(-14px); animation: ru .4s ease forwards; }
.chou-lie a { display: flex; gap: 14px; padding: 13px 0; text-decoration: none; font: 600 17px/1.45 var(--biao); }
.chou-lie em { font: 400 14px/1.9 var(--xi); font-style: normal; color: var(--zhu); flex: none; }
.chou-fei { display: inline-block; padding: 14px 18px; background: var(--jiu); color: var(--zhi); text-decoration: none; font-weight: 600; letter-spacing: .08em; }
@keyframes ru { to { opacity: 1; transform: none; } }

/* 右侧进度：竖排“第几问” */
.jindu { position: fixed; right: 22px; top: 50%; z-index: 40; transform: translateY(-50%); display: grid; justify-items: center; gap: 14px; opacity: 0; transition: opacity .4s ease; pointer-events: none; }
.jindu.xian { opacity: 1; }
.jindu i { width: 2px; height: 160px; background: var(--xian); position: relative; overflow: hidden; }
.jindu i::after { content: ""; position: absolute; inset: 0; background: var(--zhu); transform: scaleY(var(--jin, 0)); transform-origin: top; transition: transform .25s linear; }
.jindu span { writing-mode: vertical-rl; font: 600 14px/1 var(--biao); letter-spacing: .3em; color: var(--mo-2); }
.jindu b { font: 400 15px/1 var(--xi); color: var(--zhu); letter-spacing: 0; }

/* ---------- 首屏 ---------- */
.men {
  max-width: var(--kuan); margin: 0 auto; min-height: 100vh; min-height: 100svh;
  padding: 108px var(--bian) 56px;
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 40px 64px; align-items: center;
}
.men-shang { font: 600 12.5px/1.6 var(--wen); letter-spacing: .26em; color: var(--mo-2); margin-bottom: 22px; }
.men h1 { display: grid; gap: 12px; margin-bottom: 30px; }
.men-ming { font-size: clamp(50px, 6.6vw, 96px); line-height: 1.02; color: var(--jiu); letter-spacing: .02em; }
.men-ju { font-size: clamp(25px, 2.8vw, 40px); line-height: 1.3; font-weight: 600; }
.men-hao { display: inline-block; color: var(--zhu); transform-origin: 30% 85%; }
.js .men-hao { animation: bai 2.6s ease-in-out 1.6s infinite; }
@keyframes bai { 0%, 60%, 100% { transform: rotate(0); } 70% { transform: rotate(14deg); } 80% { transform: rotate(-9deg); } 90% { transform: rotate(4deg); } }
.men-da { display: flex; gap: 16px; align-items: flex-start; max-width: 560px; margin-bottom: 34px; }
.men-da p { margin: 0; color: var(--mo-2); }
.men-da strong { color: var(--mo); font-weight: 600; }
.men-ren { margin: 30px 0 0; font-size: 14px; color: var(--mo-2); display: flex; gap: 10px; align-items: baseline; }
.men-ren b { font: 400 19px/1 var(--xi); color: var(--jiu); letter-spacing: .04em; }

.men-tu { margin: 0; position: relative; justify-self: center; width: min(100%, 470px); }
.men-chuang { aspect-ratio: 840 / 1180; overflow: hidden; border-radius: 999px 999px 0 0; background: var(--zhi-3); box-shadow: 0 0 0 10px var(--zhi), 0 0 0 11px var(--tao); }
.men-chuang img { width: 100%; height: 100%; object-fit: cover; animation: tui 14s ease-out both; }
@keyframes tui { from { transform: scale(1.14); } to { transform: scale(1); } }
.js .men-chuang { clip-path: inset(100% 0 0 0); animation: kai 1.3s cubic-bezier(.7, 0, .2, 1) .15s forwards; }
@keyframes kai { to { clip-path: inset(0 0 0 0); } }
.men-quan { position: absolute; z-index: 1; left: -104px; top: 5%; width: 178px; height: 178px; transform: rotate(var(--zhuan, 0deg)); filter: drop-shadow(0 8px 18px rgba(74, 19, 34, .12)); }
.men-quan text { font: 600 12.4px/1 var(--wen); letter-spacing: .14em; fill: var(--jiu); }
.men-quan::after { content: none; }
.men-tu::before { content: "缘"; position: absolute; left: -104px; top: 5%; width: 178px; height: 178px; display: grid; place-items: center; font: 400 58px/1 var(--shou); color: var(--zhu); pointer-events: none; z-index: 2; }
.men-tu figcaption { position: absolute; right: -14px; bottom: 26px; padding: 8px 12px; background: var(--mo); color: var(--zhi); font: 500 13px/1 var(--wen); letter-spacing: .14em; }

/* ---------- 目录 ---------- */
.mulu { max-width: var(--kuan); margin: 0 auto; padding: 70px var(--bian) 90px; }
.mulu-tou { margin-bottom: 34px; }
.mulu h2 { font-size: clamp(30px, 3.6vw, 50px); line-height: 1.25; font-weight: 900; max-width: 18em; }
.mulu-lie { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; border-top: 1.5px solid var(--mo); }
.mulu-lie li { border-bottom: 1px solid var(--xian); }
.mulu-lie a {
  display: flex; gap: 18px; align-items: baseline; padding: 20px 6px; text-decoration: none;
  font: 600 clamp(17px, 1.5vw, 20px)/1.45 var(--biao);
  background: linear-gradient(var(--zhi-2), var(--zhi-2)) no-repeat left / 0 100%; transition: background-size .45s cubic-bezier(.6, .05, .2, 1), padding .35s ease;
}
.mulu-lie a:hover { background-size: 100% 100%; padding-left: 16px; }
.mulu-lie em { font: 400 15px/1 var(--xi); font-style: normal; color: var(--zhu); flex: none; width: 26px; }

/* ---------- 每一问 ---------- */
.wen { max-width: var(--kuan); margin: 0 auto; padding: 84px var(--bian); position: relative; }
.wen + .wen::before, .wen-ji::before { content: ""; position: absolute; left: var(--bian); right: var(--bian); top: 0; height: 1px; background: var(--xian); }
.wen-tou { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 18px; margin-bottom: 44px; position: relative; }
.wen-hao { position: absolute; right: 0; top: -36px; font: 400 clamp(90px, 12vw, 170px)/1 var(--xi); color: transparent; -webkit-text-stroke: 1px rgba(109, 31, 51, .22); pointer-events: none; z-index: -1; }
.wen-tou h2 { font-size: clamp(28px, 3.3vw, 48px); line-height: 1.28; font-weight: 900; max-width: 19em; }
.zi { display: inline-block; }
.js [data-zi] .zi { opacity: 0; transform: translateY(.45em); filter: blur(4px); }
.js .dao[data-zi] .zi, .js .dao [data-zi] .zi { animation: chu .5s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: calc(var(--i) * 34ms); }
@keyframes chu { to { opacity: 1; transform: none; filter: none; } }

.wen-ti { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 72px; align-items: start; }
.wen-fan .wen-ti { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.wen-fan .wen-tu { order: 2; }
.wen-tu { margin: 0; position: relative; }
.wen-tu img { width: 100%; aspect-ratio: 760 / 1000; object-fit: cover; background: var(--zhi-3); }
.wen-tu::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(251, 244, 236, .75); pointer-events: none; }
.wen-tu figcaption { position: absolute; left: 0; bottom: -14px; padding: 7px 12px; background: var(--zhi); font: 400 21px/1 var(--shou); color: var(--jiu); }
.js .wen-tu img { clip-path: inset(18% 18% 18% 18%); opacity: .2; transition: clip-path 1.1s cubic-bezier(.7, 0, .2, 1), opacity .9s ease; }
.js .dao .wen-tu img { clip-path: inset(0 0 0 0); opacity: 1; }

.wen-da { position: relative; padding-left: 62px; }
.wen-da > .yin-da { position: absolute; left: 0; top: 2px; }
.wen-da > p { color: var(--mo-2); }
.wen-da strong { color: var(--mo); font-weight: 600; }
.wen-da a { color: var(--jiu); text-decoration-color: var(--tao); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.wen-da a:hover { color: var(--zhu); }
.js .wen-da > *:not(.yin) { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .dao .wen-da > *:not(.yin) { opacity: 1; transform: none; }
.js .dao .wen-da > *:nth-child(3) { transition-delay: .12s; } .js .dao .wen-da > *:nth-child(4) { transition-delay: .24s; } .js .dao .wen-da > *:nth-child(5) { transition-delay: .36s; }

.dian { list-style: none; margin: 4px 0 24px; padding: 0; border-top: 1px solid var(--xian); }
.dian li { display: grid; grid-template-columns: 7.5em 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--xian); color: var(--mo-2); }
.dian b { font: 600 16px/1.9 var(--biao); color: var(--jiu); }

.ming-pai { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 24px; }
.ming-pai span { padding: 9px 14px; font: 600 15px/1 var(--wen); background: var(--zhi-2); box-shadow: inset 0 0 0 1px var(--zhi-3); transition: background .3s, color .3s, transform .3s; }
.ming-pai span:hover { background: var(--jiu); color: var(--zhi); transform: translateY(-3px); }

.bu { list-style: none; margin: 8px 0 0; padding: 0; counter-reset: bu; }
.bu li { counter-increment: bu; display: grid; grid-template-columns: 54px 1fr; column-gap: 18px; padding: 0 0 26px; position: relative; }
.bu li::before { content: "0" counter(bu); grid-row: span 2; display: grid; place-items: center; width: 54px; height: 54px; font: 400 21px/1 var(--xi); color: var(--jiu); box-shadow: inset 0 0 0 1.5px var(--jiu); background: var(--zhi); position: relative; z-index: 1; }
.bu li:not(:last-child)::after { content: ""; position: absolute; left: 26px; top: 54px; bottom: 0; width: 1.5px; background: repeating-linear-gradient(var(--tao) 0 6px, transparent 6px 11px); }
.bu b { font: 600 18px/1.5 var(--biao); padding-top: 4px; }
.bu span { color: var(--mo-2); }
.bu li:hover::before { background: var(--jiu); color: var(--zhi); }

.da-zi { font: 600 clamp(21px, 2vw, 27px)/1.5 var(--biao); color: var(--mo) !important; }
.da-zi em { font-style: normal; color: var(--zhu); background: linear-gradient(transparent 62%, rgba(240, 185, 168, .55) 62%); }

.qu { margin: 4px 0 18px; }
.qu div { display: grid; grid-template-columns: 10.5em 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--xian); }
.qu div:first-child { border-top: 1px solid var(--xian); }
.qu dt { font: 600 17px/1.5 var(--biao); color: var(--jiu); }
.qu dt small { display: block; font: 500 12px/1.6 var(--wen); letter-spacing: .12em; color: var(--mo-2); }
.qu dd { margin: 0; color: var(--mo-2); }
.ce a { font-weight: 600; text-decoration: none !important; border-bottom: 2px solid var(--tao); padding-bottom: 2px; }
.shou { font: 400 30px/1.3 var(--shou); color: var(--zhu) !important; margin-top: 10px; }

/* 第 5 问：照片带 */
.wen-ji { max-width: none; padding-left: 0; padding-right: 0; }
.wen-ji::before { left: max(var(--bian), calc((100vw - var(--kuan)) / 2 + var(--bian))); right: max(var(--bian), calc((100vw - var(--kuan)) / 2 + var(--bian))); }
.wen-ji .wen-tou, .ji-shuo, .ji-kong { max-width: var(--kuan); margin-left: auto; margin-right: auto; padding-left: var(--bian); padding-right: var(--bian); }
.wen-ji .wen-hao { right: var(--bian); }
.ji-shuo { display: flex; gap: 22px; align-items: flex-start; margin-bottom: 36px; }
.ji-shuo p { max-width: 640px; margin: 0; color: var(--mo-2); }
.ji-dai { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; padding: 6px 0 20px; scroll-padding: 0 max(var(--bian), calc((100vw - var(--kuan)) / 2 + var(--bian))); }
.ji-dai::-webkit-scrollbar { display: none; }
.ji-dai.la { cursor: grabbing; scroll-snap-type: none; }
.ji-dai.la .ji-kan { pointer-events: none; }
.ji-lie { list-style: none; margin: 0; padding: 0 max(var(--bian), calc((100vw - var(--kuan)) / 2 + var(--bian))); display: flex; gap: 20px; align-items: flex-start; width: max-content; }
.ji-lie li { width: clamp(220px, 23vw, 300px); scroll-snap-align: start; flex: none; }
.ji-lie li:nth-child(3n + 2) { margin-top: 56px; }
.ji-lie li:nth-child(3n) { margin-top: 22px; }
.ji-kan { display: block; width: 100%; padding: 0; border: 0; background: var(--zhi-3); cursor: zoom-in; overflow: hidden; position: relative; }
.ji-kan img { width: 100%; height: auto; transition: transform .8s cubic-bezier(.2, .7, .2, 1), filter .5s ease; -webkit-user-drag: none; user-select: none; }
.ji-kan::after { content: "看大图"; position: absolute; left: 50%; top: 50%; padding: 10px 14px; background: rgba(251, 244, 236, .92); color: var(--jiu); font: 600 13px/1 var(--wen); letter-spacing: .16em; transform: translate(-50%, -40%); opacity: 0; transition: opacity .3s, transform .3s; }
.ji-kan:hover img { transform: scale(1.06); filter: saturate(1.1); }
.ji-kan:hover::after, .ji-kan:focus-visible::after { opacity: 1; transform: translate(-50%, -50%); }
.ji-lie span { display: block; margin-top: 10px; font: 400 22px/1 var(--shou); color: var(--jiu); }
.ji-kong { display: flex; align-items: center; gap: 18px; margin-top: 18px; }
.ji-yi { width: 48px; height: 48px; border: 0; background: transparent; box-shadow: inset 0 0 0 1.5px var(--jiu); color: var(--jiu); font-size: 19px; cursor: pointer; transition: background .3s, color .3s; }
.ji-yi:hover { background: var(--jiu); color: var(--zhi); }
.ji-tiao { flex: 1; height: 2px; background: var(--xian); position: relative; overflow: hidden; }
.ji-tiao i { position: absolute; inset: 0; background: var(--zhu); transform: scaleX(var(--jin, .2)); transform-origin: left; transition: transform .2s linear; }

/* 第 9 问：视频 */
.wen-ying { max-width: none; background: var(--jiu-shen); color: var(--zhi); padding-left: 0; padding-right: 0; }
.wen-ying::before { display: none; }
.wen-ying .wen-tou, .ying-ti { max-width: var(--kuan); margin-left: auto; margin-right: auto; padding-left: var(--bian); padding-right: var(--bian); }
.wen-ying .wen-hao { right: var(--bian); -webkit-text-stroke-color: rgba(240, 185, 168, .25); }
.ying-ti { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.ying-shuo { align-self: start; display: flex; gap: 18px; }
.ying-shuo p { margin: 0; color: rgba(251, 244, 236, .78); }
.wen-ying .yin-da { background: var(--tao); color: var(--jiu-shen); box-shadow: inset 0 0 0 2px rgba(74, 19, 34, .2), inset 0 0 0 4px var(--tao), inset 0 0 0 5px rgba(74, 19, 34, .35); }
.pian { margin: 0; }
.pian:nth-of-type(2) { margin-top: 64px; }
.pian-ping { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #1a0b10; cursor: pointer; overflow: hidden; }
.pian-ping video { width: 100%; aspect-ratio: 9 / 15; object-fit: cover; filter: brightness(.68); transition: filter .5s ease; }
.pian.bo .pian-ping video { filter: none; }
.pian-biao { position: absolute; z-index: 2; left: 12px; top: 12px; padding: 6px 9px; background: var(--zhu); color: #fff; font: 600 11px/1 var(--wen); letter-spacing: .16em; }
.pian-bo { position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; justify-items: center; gap: 10px; transition: opacity .4s ease; }
.pian.bo .pian-bo { opacity: 0; }
.pian-ping:hover .pian-bo { opacity: 1; }
.pian-yuan { width: 68px; height: 68px; border-radius: 50%; background: rgba(251, 244, 236, .92); position: relative; transition: transform .35s ease; }
.pian-yuan::after { content: ""; position: absolute; left: 27px; top: 22px; border-left: 18px solid var(--jiu); border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.pian.bo .pian-yuan::after { left: 24px; top: 23px; width: 20px; height: 22px; border: 0; box-shadow: inset 6px 0 0 var(--jiu), inset -6px 0 0 var(--jiu); }
.pian-ping:hover .pian-yuan { transform: scale(1.08); }
.pian-zi { font: 600 11.5px/1.5 var(--wen); letter-spacing: .2em; color: #fff; text-align: center; text-shadow: 0 1px 6px rgba(0, 0, 0, .5); }
.pian-xian { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .18); }
.pian-xian i { position: absolute; inset: 0; background: var(--tao); transform: scaleX(0); transform-origin: left; }
.pian figcaption { padding-top: 14px; color: rgba(251, 244, 236, .72); font-size: 15px; }
.pian figcaption b { display: block; font: 600 19px/1.5 var(--biao); color: var(--zhi); }

/* 第 10 问：合作平台 */
.pt-shuo { display: flex; gap: 22px; align-items: flex-start; margin-bottom: 30px; }
.pt-shuo p { margin: 0; max-width: 640px; color: var(--mo-2); }
.pt-lie { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--mo); }
.pt-lie li {
  display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 24px 12px; border-bottom: 1px solid var(--xian);
  background: linear-gradient(var(--jiu), var(--jiu)) no-repeat left / 0 100%; transition: background-size .55s cubic-bezier(.6, .05, .2, 1), color .4s ease;
}
.pt-lie li:hover { background-size: 100% 100%; color: var(--zhi); }
.pt-xu { font: 900 34px/1 var(--biao); color: var(--zhu); transition: color .4s; }
.pt-lie li:hover .pt-xu { color: var(--tao); }
.pt-ming b { display: block; font: 900 clamp(22px, 2.4vw, 32px)/1.3 var(--biao); }
.pt-ming span { color: var(--mo-2); font-size: 15px; transition: color .4s; }
.pt-lie li:hover .pt-ming span { color: rgba(251, 244, 236, .78); }
.pt-lian { display: flex; gap: 10px; }
.pt-lian a { text-decoration: none; padding: 12px 16px; font: 600 14px/1 var(--wen); letter-spacing: .1em; box-shadow: inset 0 0 0 1.5px currentColor; transition: background .3s, color .3s; }
.pt-lian a:hover { background: var(--zhi); color: var(--jiu); box-shadow: inset 0 0 0 1.5px var(--zhi); }

/* 快问快答 */
.kuai { max-width: var(--kuan); margin: 0 auto; padding: 30px var(--bian) 100px; }
.kuai h2 { font-size: clamp(26px, 2.8vw, 38px); margin-bottom: 22px; }
.kuai-lie { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
.kuai details { border-bottom: 1px solid var(--xian); }
.kuai summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative; font: 600 18px/1.5 var(--biao); }
.kuai summary::-webkit-details-marker { display: none; }
.kuai summary::after { content: "问"; position: absolute; right: 0; top: 16px; width: 28px; height: 28px; display: grid; place-items: center; font: 900 14px/1 var(--biao); color: var(--zhu); box-shadow: inset 0 0 0 1.5px var(--zhu); transition: background .3s, color .3s, transform .4s; }
.kuai details[open] summary::after { content: "答"; background: var(--zhu); color: #fff; transform: rotate(-8deg); }
.kuai details p { color: var(--mo-2); padding: 0 40px 18px 0; margin: 0; }
.kuai details a { color: var(--jiu); }

/* 结尾 */
.mo { background: var(--jiu); color: var(--zhi); text-align: center; padding: 100px var(--bian) 110px; position: relative; overflow: hidden; }
.mo::before { content: ""; position: absolute; width: 640px; height: 640px; left: 50%; top: 50%; border-radius: 50%; border: 1px solid rgba(240, 185, 168, .25); transform: translate(-50%, -50%); box-shadow: 0 0 0 60px rgba(240, 185, 168, .05), 0 0 0 120px rgba(240, 185, 168, .03); pointer-events: none; }
.mo-shou { font: 400 clamp(30px, 3.4vw, 44px)/1 var(--shou); color: var(--tao); margin-bottom: 18px; position: relative; }
.mo h2 { font-size: clamp(34px, 4.4vw, 62px); line-height: 1.2; margin-bottom: 20px; position: relative; }
.mo h2 .hong { color: var(--tao); }
.mo > p:not(.mo-shou) { max-width: 560px; margin: 0 auto 34px; color: rgba(251, 244, 236, .8); position: relative; }
.mo .an-hang { justify-content: center; position: relative; }
.mo .an-shi { background: var(--zhi); color: var(--jiu); box-shadow: 6px 6px 0 var(--zhu); }
.mo .an-shi:hover { color: var(--zhi); box-shadow: 0 0 0 var(--zhu); }

.di { background: var(--mo); color: rgba(251, 244, 236, .66); padding: 50px var(--bian) 40px; font-size: 14px; }
.di-shang { max-width: var(--kuan); margin: 0 auto 26px; display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: center; padding-bottom: 26px; border-bottom: 1px solid rgba(251, 244, 236, .14); }
.di-biao { text-decoration: none; font: 900 24px/1 var(--biao); color: var(--zhi); }
.di-biao small { display: block; margin-top: 6px; font: 500 11px/1 var(--wen); letter-spacing: .26em; color: var(--tao); }
.di nav { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.di nav a { text-decoration: none; color: var(--zhi); }
.di nav a:hover { color: var(--tao); }
.di > p { max-width: var(--kuan); margin: 0 auto 8px; }
.di-xi { font-size: 13px; opacity: .7; }

/* 大图 */
.deng { position: fixed; inset: 0; z-index: 120; background: rgba(26, 11, 16, .94); display: grid; place-items: center; padding: 60px 74px 70px; }
.deng[hidden] { display: none; }
.deng-tu { max-width: 100%; max-height: calc(100vh - 140px); max-height: calc(100svh - 140px); object-fit: contain; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.deng.kai .deng-tu { animation: fang .5s cubic-bezier(.2, .8, .2, 1); }
@keyframes fang { from { opacity: 0; transform: scale(.9); } }
.deng-zi { position: absolute; left: 0; right: 0; bottom: 22px; margin: 0; text-align: center; font: 400 24px/1 var(--shou); color: var(--tao); }
.deng button { position: absolute; border: 0; background: transparent; color: var(--zhi); cursor: pointer; box-shadow: inset 0 0 0 1px rgba(251, 244, 236, .5); transition: background .3s, color .3s; }
.deng button:hover { background: var(--zhi); color: var(--jiu); }
.deng-qian, .deng-hou { top: 50%; width: 50px; height: 50px; margin-top: -25px; font-size: 20px; }
.deng-qian { left: 14px; } .deng-hou { right: 14px; }
.deng-guan { top: 16px; right: 16px; padding: 11px 16px; font: 600 13px/1 var(--wen); letter-spacing: .18em; }

/* ---------- 平板 ---------- */
@media (max-width: 1080px) {
  .tou-dao { display: none; }
  .jindu { right: 10px; }
  .ying-ti { grid-template-columns: 1fr 1fr; }
  .ying-shuo { grid-column: 1 / -1; }
  .pian:nth-of-type(2) { margin-top: 40px; }
}

/* ---------- 手机 ---------- */
@media (max-width: 760px) {
  body { font-size: 16px; line-height: 1.85; }
  html { scroll-padding-top: 70px; }
  .tou { height: 64px; gap: 10px; }
  .tou.gun { height: 58px; }
  .tou-ming { font-size: 20px; }
  .tou-ming small { white-space: nowrap; letter-spacing: .14em; }
  .tou-biao { gap: 8px; min-width: 0; }
  .tou-fei { display: none; }
  .tou-yu { padding: 10px 11px; }
  .tou-kai { display: inline-flex; align-items: center; gap: 8px; border: 0; padding: 10px 14px; background: var(--jiu); color: var(--zhi); font: 600 14px/1 var(--wen); letter-spacing: .14em; cursor: pointer; position: relative; z-index: 70; }
  .tou-kai[aria-expanded="true"] { background: var(--zhu); }

  .jindu { right: auto; left: 0; top: auto; bottom: auto; transform: none; position: fixed; inset: 0 0 auto; height: 3px; display: block; z-index: 61; }
  .jindu i { display: block; width: 100%; height: 3px; background: transparent; }
  .jindu i::after { transform: scaleX(var(--quan, 0)); transform-origin: left; }
  .jindu span { display: none; }

  .men { grid-template-columns: 1fr; padding-top: 82px; gap: 26px; min-height: 0; }
  .men-tu { order: -1; width: min(72%, 300px); margin-left: 40px; }
  .men-chuang { aspect-ratio: 840 / 1080; }
  .men-quan, .men-tu::before { width: 104px; height: 104px; left: -58px; top: 3%; }
  .men-tu::before { font-size: 38px; }
  .men-tu figcaption { right: -10px; bottom: 16px; font-size: 12px; }
  .men-shang { font-size: 11px; letter-spacing: .16em; margin-bottom: 14px; }
  .men h1 { margin-bottom: 22px; }
  .men-ming { font-size: 13.4vw; }
  .men-ju { font-size: 6.4vw; }
  .men-da { gap: 12px; }
  .yin { width: 34px; height: 34px; font-size: 18px; }
  .an { padding: 16px 20px 15px; font-size: 15px; }
  .an-hang .an { flex: 1 1 auto; justify-content: center; }

  .mulu { padding: 40px var(--bian) 56px; }
  .mulu-lie { grid-template-columns: 1fr; }
  .mulu-lie a { padding: 15px 4px; gap: 12px; }

  .wen { padding: 56px var(--bian); }
  .wen-tou { margin-bottom: 26px; column-gap: 12px; align-items: start; }
  .wen-tou .yin { margin-top: 4px; }
  .wen-hao { top: -50px; font-size: 76px; opacity: .7; }
  .wen-tou h2 { font-size: 26px; }
  .wen-ti, .wen-fan .wen-ti { grid-template-columns: 1fr; gap: 34px; }
  .wen-fan .wen-tu { order: 0; }
  .wen-tu { width: 80%; }
  .wen-fan .wen-tu { margin-left: auto; }
  .wen-tu img { aspect-ratio: 4 / 5; }
  .wen-da { padding-left: 0; padding-top: 50px; }
  .dian li { grid-template-columns: 1fr; gap: 2px; }
  .qu div { grid-template-columns: 1fr; gap: 2px; }
  .bu li { grid-template-columns: 46px 1fr; column-gap: 14px; }
  .bu li::before { width: 46px; height: 46px; font-size: 18px; }
  .bu li:not(:last-child)::after { left: 22px; top: 46px; }

  .ji-shuo, .pt-shuo, .ying-shuo { gap: 14px; }
  .ji-lie { gap: 14px; }
  .ji-lie li { width: 64vw; }
  .ji-lie li:nth-child(3n + 2) { margin-top: 34px; }
  .ji-lie li:nth-child(3n) { margin-top: 14px; }
  .ji-kong { display: none; }

  .ying-ti { gap: 14px; }
  .pian figcaption { font-size: 14px; }
  .pian figcaption b { font-size: 16px; }
  .pian-yuan { width: 56px; height: 56px; }
  .pian-yuan::after { left: 22px; top: 17px; border-left-width: 16px; border-top-width: 11px; border-bottom-width: 11px; }
  .pian.bo .pian-yuan::after { left: 19px; top: 18px; }

  .pt-lie li { grid-template-columns: 40px 1fr; gap: 6px 14px; padding: 20px 4px; }
  .pt-xu { font-size: 26px; grid-row: span 2; align-self: start; }
  .pt-lian { grid-column: 2; }

  .kuai { padding: 20px var(--bian) 70px; }
  .kuai-lie { grid-template-columns: 1fr; }

  .mo { padding: 74px var(--bian) 80px; }
  .mo::before { width: 420px; height: 420px; }

  .deng { padding: 60px 10px 70px; }
  .deng-qian, .deng-hou { top: auto; bottom: 14px; margin: 0; width: 46px; height: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .yin, .js [data-zi] .zi, .js .wen-da > *:not(.yin), .js .wen-tu img, .js .men-chuang { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; }
}

/* 英文页 */
html:lang(en) {
  --biao: "Young Serif", Georgia, serif;
}
html:lang(en) .men-ming { font-size: clamp(42px, 4.4vw, 66px); line-height: 1.05; letter-spacing: -.01em; white-space: nowrap; }
html:lang(en) .men-ju { font-family: var(--wen); font-weight: 500; font-size: clamp(22px, 2.3vw, 32px); }
html:lang(en) h1, html:lang(en) h2, html:lang(en) .pt-ming b, html:lang(en) .tou-ming, html:lang(en) .di-biao { font-weight: 400; }
html:lang(en) .wen-tou h2 { font-size: clamp(26px, 2.9vw, 42px); letter-spacing: -.01em; }
html:lang(en) .yin, html:lang(en) .pt-xu, html:lang(en) .kuai summary::after { font-family: "Noto Serif SC", "Songti SC", serif; font-weight: 900; }
html:lang(en) .chou-lie a, html:lang(en) .mulu-lie a, html:lang(en) .kuai summary, html:lang(en) .dian b, html:lang(en) .qu dt, html:lang(en) .bu b, html:lang(en) .pian figcaption b { font-family: var(--wen); font-weight: 600; }
html:lang(en) .da-zi { font-family: var(--xi); font-weight: 400; }
html:lang(en) .shou, html:lang(en) .mo-shou, html:lang(en) .wen-tu figcaption, html:lang(en) .ji-lie span, html:lang(en) .deng-zi, html:lang(en) .chou-ti { font-family: var(--xi); font-style: italic; font-size: .78em; }
html:lang(en) .wen-tu figcaption, html:lang(en) .ji-lie span { font-size: 16px; }
@media (max-width: 760px) {
  html:lang(en) .men-ming { font-size: 10.6vw; }
  html:lang(en) .tou-kai { letter-spacing: .06em; padding: 10px 12px; }
  html:lang(en) .men-ju { font-size: 5.6vw; }
  html:lang(en) .wen-tou h2 { font-size: 24px; }
}

html:lang(en) .jindu span { letter-spacing: .14em; font-family: var(--wen); font-weight: 600; font-size: 12px; }
