@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600&display=swap');
:root{font-family:system-ui,-apple-system,"Microsoft YaHei",sans-serif;color:#202e2a;background:#fafbf9;font-synthesis:none;line-height:1.7;--green:#243f34;--muted:#707970;--line:#dde2db;--red:#a54b35}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}a{color:inherit;text-decoration:none}header{max-width:1120px;margin:auto;padding:30px 40px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:12px;font-family:"Noto Serif SC",serif;font-weight:600;font-size:18px;letter-spacing:2px}.mark{font-size:29px;line-height:1}.header-note{font-size:14px;color:var(--muted);letter-spacing:3px}main{max-width:620px;padding:42px 30px 80px;margin:auto;min-height:calc(100vh - 178px)}.eyebrow{font-size:14px;color:var(--muted);letter-spacing:2px}h1{font-family:"Noto Serif SC","SimSun",serif;font-size:48px;line-height:1.5;letter-spacing:4px;font-weight:500;margin:17px 0 40px}label,legend{font-size:15px}textarea{display:block;resize:vertical;width:100%;border:1px solid var(--line);background:#fff;border-radius:8px;padding:17px 19px;min-height:126px;color:inherit;line-height:1.8;margin-top:10px}textarea::placeholder{color:#949c93}input:focus,textarea:focus{outline:2px solid #819d89;outline-offset:2px}button:focus-visible,a:focus-visible{outline:2px solid #819d89;outline-offset:4px}.field-foot{display:flex;justify-content:space-between;font-size:13px;color:var(--muted);margin-top:7px}.methods{border:0;padding:0;margin:30px 0 18px;display:flex;gap:22px}.methods legend{margin-bottom:12px}.methods label{display:flex;align-items:center;gap:6px;cursor:pointer}.methods input{accent-color:var(--green);width:16px;height:16px}.coin-stage{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 0 12px}#coin-values{display:flex;gap:10px}#coin-values span{width:54px;height:54px;display:grid;place-items:center;background:#fff;border:1px solid #cdd6cc;border-radius:50%;font-family:"Noto Serif SC",serif;font-size:19px;color:var(--green)}.outline{background:transparent;border:1px solid #b7c3b7;border-radius:6px;padding:9px 18px;color:var(--green);font-size:14px}.outline:hover{background:#eff3ed}.toss-progress{display:flex;gap:15px;align-items:center;min-height:70px}#line-preview{width:48px;display:flex;flex-direction:column-reverse;gap:4px;flex-shrink:0}#toss-status,.hint{color:var(--muted);font-size:14px}.yao{display:flex;gap:8px;height:8px;width:104px}.yao i{display:block;flex:1;background:var(--green)}.yao.moving i{background:var(--red)}#line-preview .yao{width:48px;height:4px;gap:4px}.numbers{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.numbers label{color:var(--muted);font-size:14px}.numbers input{display:block;width:100%;padding:12px;border:1px solid var(--line);border-radius:6px;text-align:center;margin-top:8px;background:#fff;font-size:22px;color:var(--green)}.primary{background:var(--green);color:#fff;border:0;border-radius:7px;padding:14px 20px;font-size:16px;transition:background .15s}.primary:hover:not(:disabled){background:#355847}#cast-submit{width:100%;margin-top:10px}.error{color:#a1382c;font-size:14px;min-height:0}.error:empty{display:none}.quiet-note{font-size:13px;text-align:center;color:var(--muted);margin:25px 0 0}footer{max-width:1040px;margin:auto;padding:24px 0;border-top:1px solid var(--line);display:flex;justify-content:space-between;font-size:13px;color:var(--muted)}.text-button{background:none;border:0;padding:0;color:var(--muted);font-size:14px;margin-bottom:30px}.result-question{font-size:27px;letter-spacing:1px;line-height:1.7;margin:12px 0 26px;overflow-wrap:anywhere}.hexagrams{display:flex;justify-content:space-around;padding:30px 15px;background:#f0f3ee;border-radius:8px;gap:25px}.hexagram{text-align:center}.hexagram .lines{display:flex;flex-direction:column-reverse;gap:8px;align-items:center;margin:18px 0 15px}.hexagram h2{font-size:20px;font-family:"Noto Serif SC",serif;font-weight:500;margin:8px 0 0}.hexagram small{font-size:13px;color:var(--muted)}.hexagram .kind{font-size:14px;color:var(--muted)}.moving-caption{font-size:13px;color:var(--muted);text-align:center;margin:12px 0 35px}.reading{border-bottom:1px solid var(--line);padding-bottom:30px}.reading-head{display:flex;align-items:center;justify-content:space-between;gap:20px}h2{font-size:19px;font-weight:500;margin:0 0 15px}#reading-status{font-size:13px;color:var(--muted)}#reading-content{font-size:16px;line-height:1.9;overflow-wrap:anywhere}.reading-summary{font-family:"Noto Serif SC",serif;font-size:21px;line-height:1.8;margin:6px 0 20px}.reading-label{font-size:14px;color:var(--muted);margin:23px 0 5px}.reading p{white-space:pre-wrap}.reading ol{padding-left:23px}.reading li{padding-left:5px;margin:9px 0}details{margin-top:22px}summary{cursor:pointer;color:var(--green);font-size:14px}#conversation{padding-top:30px}.chat-form{display:flex;align-items:flex-end;gap:10px;margin-top:20px}.chat-form textarea{min-height:85px;margin:0}.chat-form button{flex-shrink:0;padding:12px 18px}.message{padding:15px 18px;margin:12px 0;border-radius:8px;background:#f0f3ee;white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px}.message.user{background:#fff;border:1px solid var(--line);margin-left:35px}.message-label{display:block;color:var(--muted);font-size:12px;margin-bottom:5px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}[hidden]{display:none!important}@media(max-width:680px){header{padding:22px 24px}main{padding:25px 24px 55px}h1{font-size:39px;margin:15px 0 30px}footer{margin:0 24px;padding:20px 0;gap:15px}.header-note{font-size:12px}.coin-stage{gap:10px}#coin-values{gap:7px}#coin-values span{width:45px;height:45px}.hexagrams{padding:24px 10px;gap:12px}.hexagram h2{font-size:18px}.result-question{font-size:24px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}
.header-actions select{font:inherit;font-size:14px;color:var(--green);background:transparent;border:1px solid var(--line);border-radius:6px;padding:7px 9px;cursor:pointer}html[lang=en] h1{font-family:Georgia,serif;letter-spacing:-1.5px;font-size:44px;line-height:1.25}html[lang=en] .brand{letter-spacing:0;font-family:Georgia,serif}html[lang=en] .hexagram h2{font-family:Georgia,serif;line-height:1.35;font-size:20px;overflow-wrap:anywhere}html[lang=en] .hexagram{flex:1;min-width:0}html[lang=en] .reading-summary{font-family:Georgia,serif}html[lang=en] .eyebrow{letter-spacing:.5px}html[lang=en] .result-question{font-size:28px;line-height:1.5;letter-spacing:0}@media(max-width:680px){html[lang=en] h1{font-size:36px}html[lang=en] .result-question{font-size:24px}html[lang=en] .hexagram h2{font-size:18px}.reading-head{flex-wrap:wrap;gap:0}.brand{font-size:17px}.header-actions select{max-width:100px}}

.methods{flex-wrap:wrap;gap:12px 22px}#local-time{display:block;width:100%;min-width:0;margin-top:10px;padding:12px;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--green)}#time-basis{margin:-15px 0 30px}#time-basis-text{overflow-wrap:anywhere}
