/* v39：直接在背景展开 SVG 卦象，不再使用铜钱图或白卡片。 */
.ask-scene{position:relative;isolation:isolate;min-height:100svh;padding:32px clamp(24px,6vw,96px);display:grid;align-content:center;overflow:clip;background:#d4e0d8;color:#284f48}
.ask-scene::before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 77% 34%,#f3eed6a8,transparent 53%),linear-gradient(145deg,#e6ede344,transparent 60%,#a8c3b650)}
.ask-wrap{width:min(1180px,100%);margin:auto}
.ask-topline{display:flex;justify-content:space-between;align-items:center;font:11px/1.5 -apple-system,'PingFang SC',sans-serif;letter-spacing:.12em;padding-bottom:15px;border-bottom:1px solid #638b7947}
.ask-topline a{color:#507061;text-decoration:none;padding:5px 0;letter-spacing:0}
.ask-layout{display:grid;grid-template-columns:.95fr 1.05fr;gap:clamp(28px,5vw,76px);align-items:center;padding:34px 0 28px}
.ask-eyebrow{font-size:12px;color:#687956;letter-spacing:.18em}
.ask-copy h2{font-size:clamp(42px,4.7vw,66px);font-weight:400;line-height:1.3;letter-spacing:.045em;margin:18px 0 26px}
.ask-copy h2>span{color:#ab8d50}
.ask-questions{border-top:1px solid #74978a55}
.ask-questions button{width:100%;display:grid;grid-template-columns:24px 1fr 22px;align-items:center;gap:12px;border:0;border-bottom:1px solid #74978a55;padding:15px 5px;text-align:left;color:#345f55;background:transparent;cursor:pointer;font:16px/1.5 'Songti SC','STSong',serif;transition:background .25s,color .25s}
.ask-questions button>span:first-child{font:10px/1 Georgia,serif;color:#6b806b}
.ask-questions button>span:last-child{color:#806f42}
.ask-questions button[aria-pressed=true]{color:#244d40;background:#f6f2da45}
.ask-entry{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:18px}
.ask-question-note{font-size:12px;color:#547467;margin:0}
.ask-start{border:1px solid #436b57;border-radius:2px;background:#416c59;color:#f5f1db;padding:12px 18px;font:13px/1.5 'Songti SC',serif}
.ask-start span{margin-left:14px;color:#ddc588}.ask-start:disabled{cursor:not-allowed;opacity:.8}
.gua-gallery{min-width:0}
.gua-heading{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:18px}
.gua-sequence{font-size:11px;color:#7c7a5b;letter-spacing:.1em}
.gua-name{margin:0;font-size:32px;font-weight:400;letter-spacing:.12em;color:#45674f}
.gua-pause{justify-self:end;padding:10px 0;border:0;border-bottom:1px solid #8c9b7e65;background:none;color:#65715c;font:11px/1.4 -apple-system,'PingFang SC',sans-serif;cursor:pointer}
.gua-main{display:block;width:100%;height:clamp(230px,34svh,335px);margin:21px 0 14px;overflow:visible}
.gua-line{fill:#d2daca;opacity:1;transition:fill 1.4s cubic-bezier(.4,0,.2,1)}
.gua-line.is-lit{fill:#ae914e}
.gua-line .bridge{transform-box:fill-box;transform-origin:center;transition:transform .7s cubic-bezier(.22,.7,.15,1),opacity .5s}
.gua-line.is-yin .bridge{transform:scaleX(0);opacity:0}
.gua-line .line-body{transform-box:fill-box;transform-origin:center;transition:filter .35s}
.gua-line .gold-edge{fill:none;stroke:#b89a52;stroke-width:.7;opacity:.38;transition:opacity .35s}
.gua-main:hover .line-body{filter:drop-shadow(0 0 3px #c7af6899)}
.gua-main:hover .gua-line.is-lit{fill:#c1a76a}
.gua-main:hover .gold-edge{opacity:.9}
.gua-line text{fill:#698371;font:12px 'Songti SC',serif}
.trigram-brace{stroke:#8e9d7e;stroke-width:.8;fill:none}
.trigram-label{fill:#7c8065;font:10px 'Songti SC',serif}
.trigram-name{fill:#5d775e;font:14px 'Songti SC',serif}
.gua-choices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;border-top:1px solid #8caa9059}
.gua-choices button{position:relative;display:grid;justify-items:center;gap:9px;padding:15px 3px 10px;color:#64775e;font:13px/1.5 'Songti SC',serif;border:0;background:none;cursor:pointer}
.gua-choices button::before{position:absolute;content:'';top:-1px;left:15%;width:70%;height:2px;background:#a38a4e;transform:scaleX(0);transition:transform .3s}
.gua-choices button[aria-pressed=true]{color:#856e3c}.gua-choices button[aria-pressed=true]::before{transform:scaleX(1)}
.gua-mini{width:34px;height:36px;fill:#b4c2ab;opacity:1;transition:fill .35s}
.gua-choices button[aria-pressed=true] .gua-mini,.gua-choices button:hover .gua-mini{fill:#ae914e}
.gua-footnote{text-align:center;color:#74816d;font:10px/1.6 -apple-system,'PingFang SC',sans-serif;margin:9px 0 0}
.gua-announcement{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.ask-bottom{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #7c9a8059;padding-top:22px;gap:30px}
.ask-term{padding-left:20px;border-left:1px solid #7c9a804d}.ask-term:first-child{padding-left:0;border:0}
.ask-term>span{color:#857750;font:10px/1.4 -apple-system,'PingFang SC',sans-serif;letter-spacing:.08em}
.ask-term h3{font-weight:400;font-size:22px;letter-spacing:.04em;margin:9px 0}
.ask-term p{color:#587361;font:12px/1.7 -apple-system,'PingFang SC',sans-serif;margin:0}
.ask-scene button:focus-visible,.ask-scene a:focus-visible{outline:2px solid #9a8049;outline-offset:4px}
@media(min-width:721px) and (max-height:750px){.ask-scene{padding-top:22px;padding-bottom:22px}.ask-layout{padding:22px 0}.gua-main{height:235px;margin:12px 0}.ask-copy h2{font-size:48px;margin:12px 0 20px}.ask-questions button{padding:12px 5px}.ask-bottom{padding-top:16px}}
@media(max-width:1000px) and (min-width:721px){.ask-layout{gap:28px}.gua-heading{gap:10px}.gua-name{font-size:27px}.gua-sequence{font-size:10px}.ask-start{padding:11px}.ask-question-note{font-size:11px}}
@media(max-width:720px){
 .ask-scene{padding:20px 24px}.ask-topline{padding-bottom:10px;font-size:10px}.ask-layout{grid-template-columns:1fr;gap:21px;padding:18px 0}.ask-eyebrow{display:none}
 .ask-copy h2{font-size:34px;line-height:1.35;margin:0 0 13px}.ask-copy h2 br{display:none}.ask-questions button{font-size:14px;padding:10px 4px;gap:8px;grid-template-columns:22px 1fr 18px}
 .ask-entry{margin-top:11px}.ask-question-note{font-size:11px}.ask-start{padding:8px 12px;font-size:12px}
 .gua-name{font-size:25px}.gua-heading{gap:8px}.gua-sequence,.gua-pause{font-size:10px}.gua-main{height:185px;margin:6px 0 0}.gua-line text{font-size:16px}.trigram-label{font-size:16px}.trigram-name{font-size:18px}
 .gua-choices{gap:9px}.gua-choices button{padding:9px 0 5px;gap:5px;font-size:12px}.gua-mini{width:26px;height:28px}.gua-footnote{font-size:9px;margin-top:5px}
 .ask-bottom{gap:10px;padding-top:14px}.ask-term{padding-left:10px}.ask-term>span{font-size:9px}.ask-term h3{font-size:15px;letter-spacing:0;margin:6px 0;white-space:nowrap}.ask-term p{font-size:10px;line-height:1.7}
}
@media(max-width:720px) and (max-height:740px){.ask-scene{padding:14px 20px}.ask-layout{padding:11px 0;gap:12px}.ask-copy h2{font-size:29px;margin-bottom:9px}.ask-questions button{padding:7px 4px}.ask-entry{margin-top:8px}.gua-main{height:135px;margin:3px 0 0}.gua-heading h3{font-size:23px}.gua-pause{padding:6px 0}.gua-choices button{padding-top:7px}.ask-bottom{padding-top:10px}}
@media(max-width:720px) and (max-height:660px){.ask-scene{padding-top:10px;padding-bottom:10px}.ask-layout{gap:9px;padding-bottom:8px}.ask-bottom{padding-top:8px}.ask-term h3{margin:5px 0}}
@media(prefers-reduced-motion:reduce){.ask-scene *,.ask-scene *::before{animation:none!important;transition:none!important}.gua-line{opacity:1}}
