:root{font-family:Microsoft YaHei,PingFang SC,sans-serif;color:#302e28;background:#f5f1e8;font-synthesis:none;font-size:15px;--accent:#993f30;--muted:#736b5e;--line:#ded7c9}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button,summary{cursor:pointer}button{transition:background .18s,color .18s}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:4px}::selection{background:#e8cabe}input{caret-color:var(--accent)}a{color:inherit;text-underline-offset:4px}button{color:inherit}button:disabled,input:disabled{opacity:.5;cursor:not-allowed}.site-header{max-width:1280px;margin:auto;padding:25px 40px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.brand{display:flex;gap:13px;align-items:center;text-decoration:none;font-family:STSong,SimSun,serif;font-weight:700;font-size:23px;letter-spacing:2px}.seal{display:grid;place-items:center;width:39px;height:43px;background:var(--accent);color:#fff6e7;font-size:16px;letter-spacing:3px;border-radius:3px}.site-header nav{display:flex;gap:25px}.site-header nav button{border:0;background:none;padding:12px 0;color:var(--muted);font-size:14px}.site-header nav .active{color:var(--accent);box-shadow:0 2px var(--accent)}.count{font-size:11px;margin-left:4px}main{max-width:1200px;margin:auto;padding:0 0 48px}.intro{display:flex;justify-content:space-between;align-items:center;padding:54px 0 45px}.intro h1{font-family:STSong,SimSun,serif;font-weight:500;font-size:43px;line-height:1.45;margin:0 0 18px;letter-spacing:3px}.intro p{color:var(--muted);line-height:1.9;margin:0}.mobile-break{display:none}.season-mark{width:168px;height:168px;border:1px solid #d3c8b5;border-radius:50%;position:relative;margin-right:72px;display:grid;grid-template-columns:1fr 1fr;place-items:center;transform:rotate(-12deg);color:#827462;font-family:serif}.season-mark:before,.season-mark:after{content:"";position:absolute;background:#d3c8b5;width:1px;height:100%}.season-mark:after{transform:rotate(90deg)}.season-mark span{transform:rotate(12deg);letter-spacing:5px}.season-mark i{position:absolute;width:12px;height:12px;background:var(--accent);border-radius:50%}.workspace{display:grid;grid-template-columns:350px minmax(0,1fr);gap:40px;align-items:start}.birth-panel{background:#fffcf5;padding:28px;border:1px solid var(--line);border-radius:12px}.section-head{margin-bottom:25px}.section-head h2{font-size:21px;margin:0 0 8px;font-family:serif}.section-head>span,.field-note,.privacy-note{font-size:12px;color:var(--muted);line-height:1.8}label{display:block;font-size:13px}input:not([type=checkbox]):not([type=radio]),select{display:block;width:100%;min-width:0;border:1px solid #cfc6b7;border-radius:5px;background:#fffdf8;padding:11px;margin-top:8px;color:#302e28;height:43px}input::placeholder{color:#736b5e}.optional{font-size:11px;color:var(--muted);font-weight:400;margin-left:5px}.switches{padding:0;margin:22px 0;border:0}.switches legend{font-size:13px;margin-bottom:12px}.switches label{display:inline-flex;align-items:center;gap:5px;margin-right:20px}input[type=checkbox],input[type=radio]{accent-color:var(--accent);width:16px;height:16px;margin:0}.date-row{display:grid;grid-template-columns:1.35fr 1fr 1fr;gap:10px}.time-title{display:flex;justify-content:space-between;margin:20px 0 10px;font-size:13px}.inline-check{display:flex;gap:7px;align-items:center}.time-row{grid-template-columns:1fr 1fr}.time-row label{color:var(--muted);font-size:11px}.field-note{margin:9px 0}.advanced{border-top:1px solid var(--line);margin-top:18px;padding-top:16px;font-size:13px}.advanced summary{padding:4px 0}.advanced>label{margin-top:16px}.primary,.secondary{border-radius:5px;padding:12px 21px;font-weight:500;border:1px solid var(--accent)}.primary{background:var(--accent);color:#fff9ed}.primary:hover{background:#7b2d23}.secondary{background:transparent;color:var(--accent)}.secondary:hover{background:#f1e5d8}.submit{width:100%;display:flex;justify-content:space-between;margin-top:24px}.privacy-note{text-align:center;margin-bottom:0}.empty-result{min-height:640px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center}.empty-symbol{font-family:serif;color:#a79b87;display:flex;gap:22px;font-size:27px;margin-bottom:35px}.empty-symbol span{color:#857761}.empty-result h2{font-family:STSong,SimSun,serif;font-size:31px;font-weight:400;line-height:1.7;margin:0 0 15px}.empty-result p{color:var(--muted);line-height:1.9;font-size:14px}.empty-bottom{display:flex;gap:32px;margin-top:48px;font-size:12px;color:var(--muted)}.result-paper{background:#faf7ef;padding:35px 32px;border-top:3px solid var(--accent);scroll-margin-top:20px}.result-title{display:flex;justify-content:space-between;align-items:center}.result-caption{font-size:14px;color:var(--muted);overflow-wrap:anywhere}.result-title h2{font-family:serif;font-size:48px;margin:8px 0}.result-title small{font:14px Microsoft YaHei,sans-serif;margin-left:18px;color:var(--muted)}.stamp{border:1px solid var(--accent);padding:8px;line-height:1.5;color:var(--accent);font-family:serif;letter-spacing:3px}.birth-summary{color:var(--muted);font-size:12px;line-height:1.9;margin:8px 0 24px}.pillars{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.pillar{text-align:center;border-right:1px solid var(--line);padding:18px 0}.pillar:last-child{border:0}.pillar h3{font-size:13px;font-weight:400;margin:0 0 16px;color:var(--muted)}.pillar .god{display:block;font-size:12px;margin-bottom:16px}.pillar strong{display:block;font-family:STSong,SimSun,serif;font-size:42px;line-height:1.45;font-weight:500}.hidden-stems,.nayin{display:block;font-size:11px;margin-top:14px;color:var(--muted)}[data-element=木]{color:#42664b}[data-element=火]{color:#a34733}[data-element=土]{color:#876828}[data-element=金]{color:#6d6977}[data-element=水]{color:#39677e}.table-key{font-size:11px;color:var(--muted);line-height:1.8}.reading{margin-top:30px}.reading h3{font-size:19px;font-family:serif;margin:0 0 18px}.reading p{font-size:13px;line-height:1.95;color:#645d51}.reading details{font-size:13px;line-height:1.8}.elements{display:grid;grid-template-columns:repeat(5,1fr);gap:16px}.elements span{font-family:serif;font-size:20px}.elements strong{float:right;font-size:18px;font-weight:400}.bar{height:3px;background:#e3ddd1;margin-top:12px}.bar i{display:block;height:3px;background:currentColor}.luck-strip{display:flex;overflow:auto;padding:4px 0 12px;gap:5px;scrollbar-color:#a79b87 #eee7da;scrollbar-width:thin}.luck-strip button{min-width:87px;border:1px solid transparent;background:transparent;display:flex;flex-direction:column;gap:10px;padding:12px 8px}.luck-strip span{font-size:10px;color:var(--muted)}.luck-strip b{font:22px serif}.luck-strip .chosen{background:#eee3d6;border-color:#d3b39e}.years{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;padding-top:10px}.years div{display:flex;gap:8px;font-size:12px;justify-content:center}.years span{color:var(--muted)}.years b{font-weight:500}.chart-footer{margin-top:30px;padding-top:20px;border-top:1px solid var(--line);font-size:11px;color:var(--muted);line-height:1.9}.result-actions{display:flex;gap:12px;margin-top:22px}.error,.notice{font-size:13px;line-height:1.7;color:#8a3328;background:#f5e4dc;padding:12px;border-radius:5px}.status{position:fixed;bottom:25px;left:50%;transform:translate(-50%);max-width:90%;width:max-content;background:#332f27;color:#fff8ed;padding:15px 22px;box-shadow:0 5px 20px #302e2826;border-radius:6px;z-index:10;font-size:13px}.simple-page{max-width:780px;margin:60px auto;min-height:55vh}.simple-page h1{font-family:serif;font-size:38px;font-weight:400}.simple-page p{line-height:1.9;color:var(--muted);font-size:14px}.guide h2{font-size:23px;margin:40px 0 20px;font-family:serif}.guide h3{margin-top:32px}.saved-row{display:flex;justify-content:space-between;padding:20px 0;border-bottom:1px solid var(--line);gap:20px}.saved-row button{border:0;background:none;text-align:left}.saved-row b,.saved-row span{display:block;overflow-wrap:anywhere}.saved-row span{font-size:12px;color:var(--muted);margin-top:10px}.saved-row .delete{color:var(--accent);flex-shrink:0}.blank-state{padding:40px 0}.site-footer{max-width:1200px;margin:auto;border-top:1px solid var(--line);padding:27px 0 35px;display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:11px}.site-footer>span:first-child{font-family:serif;font-size:17px;color:#4b4539}.site-footer p{margin:0}@media(max-width:1280px){main,.site-footer{margin-left:40px;margin-right:40px}}@media(max-width:850px){.workspace{grid-template-columns:310px minmax(0,1fr);gap:22px}.birth-panel{padding:22px}.result-paper{padding:24px 18px}.years{grid-template-columns:repeat(2,1fr)}.season-mark{margin-right:30px}.hidden-stems{font-size:10px}.pillar strong{font-size:34px}}@media(max-width:680px){main,.site-footer{margin-left:20px;margin-right:20px}.site-header{padding:18px 20px;gap:15px;flex-wrap:wrap}.brand{font-size:20px}.seal{width:32px;height:35px;font-size:13px}.site-header nav{gap:22px;width:100%;justify-content:space-between}.site-header nav button{font-size:13px}.intro{padding:32px 0}.intro h1{font-size:32px;letter-spacing:1px}.intro p{font-size:12px}.mobile-break{display:block}.season-mark{width:94px;height:94px;flex-shrink:0;margin:0 0 0 10px;font-size:11px}.season-mark span{letter-spacing:1px}.season-mark i{height:7px;width:7px}.workspace{grid-template-columns:1fr;gap:25px}.birth-panel{padding:24px}.empty-result{min-height:340px}.empty-result h2{font-size:25px}.empty-symbol{margin-bottom:20px;font-size:22px}.empty-bottom{margin-top:20px}.result-paper{padding:26px 16px}.pillar strong{font-size:38px}.years{grid-template-columns:repeat(5,1fr);gap:14px 4px}.years div{flex-direction:column;align-items:center}.elements{gap:12px}.site-footer{flex-wrap:wrap;gap:20px}.site-footer>span:last-child{width:100%}.simple-page{margin:35px auto}.simple-page h1{font-size:31px}.status{bottom:14px}.result-actions button{flex:1;padding:12px}.nayin{font-size:10px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}@media print{.site-header,.intro,.birth-panel,.site-footer,.result-actions,.status{display:none}.workspace{display:block}.result-paper{padding:0}.luck-strip{flex-wrap:wrap}main{margin:0}}.workspace>*{min-width:0}.result-paper{border-radius:0}.export-layout .luck-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));overflow:visible}.export-layout .luck-strip button{min-width:0}.export-layout .years{grid-template-columns:repeat(5,1fr)}.result-paper:focus-visible{outline:2px solid var(--accent);outline-offset:4px}.ai-section{border-top:1px solid var(--line);padding-top:28px}.ai-year{max-width:160px;margin:18px 0}.ai-consent{display:flex;align-items:flex-start;gap:10px;line-height:1.8;margin:18px 0;color:var(--muted)}.ai-consent input{flex-shrink:0;margin-top:5px}.ai-report h4{font-size:15px;margin:24px 0 8px}.ai-report p{white-space:pre-wrap;overflow-wrap:anywhere}.ai-section button{min-height:44px}.ai-chapter{border-top:1px solid var(--line);padding:8px 0}.ai-chapter summary{padding:12px 0;font-weight:600;min-height:44px}.ai-chapter summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.ai-chapter p{margin-top:8px}.export-layout .ai-chapter{break-inside:avoid}.report-prose{font-family:Report Brush,KaiTi,STKaiti,serif;font-synthesis:weight}.celestial-site.celestial-palace .complete-report>.report-prose{max-width:44rem;margin-inline:auto}.celestial-site.celestial-palace .complete-report .report-prose p,.celestial-site.celestial-palace .complete-report .report-prose li,.edition-document .report-prose p,.edition-document .report-prose li{font-size:18px;line-height:1.95;letter-spacing:.01em;color:#304e40}.celestial-site.celestial-palace .complete-report .report-prose p,.edition-document .report-prose p{margin:0 0 24px}.celestial-site.celestial-palace .complete-report .report-prose .prose-heading,.edition-document .report-prose .prose-heading{font-family:Report Brush,KaiTi,STKaiti,serif;font-weight:700;color:#173d35;letter-spacing:.025em;text-wrap:balance;scroll-margin-top:28px}.celestial-site.celestial-palace .complete-report .report-prose .prose-document,.edition-document .report-prose .prose-document{font-size:32px;line-height:1.5;margin:44px 0 26px;padding:0;border:0}.celestial-site.celestial-palace .complete-report .report-prose .prose-chapter,.edition-document .report-prose .prose-chapter{font-size:28px;line-height:1.55;margin:56px 0 22px;padding:26px 0 0;border:0;border-top:1px solid #c9b990}.celestial-site.celestial-palace .complete-report .report-prose .prose-section,.edition-document .report-prose .prose-section{font-size:22px;line-height:1.6;margin:32px 0 14px;padding:0;border:0}.celestial-site.celestial-palace .complete-report .report-prose .prose-takeaway,.edition-document .report-prose .prose-takeaway{box-sizing:border-box;margin:0 0 30px;padding:18px 20px;border:1px solid #d3d4bc;background:#eef2e7;color:#173d35;font-family:Report Brush,KaiTi,STKaiti,serif;font-size:20px;font-weight:700;line-height:1.85;letter-spacing:.01em;white-space:pre-line;overflow-wrap:anywhere}.celestial-site.celestial-palace .complete-report .report-prose .prose-takeaway strong,.edition-document .report-prose .prose-takeaway strong{font-weight:700;color:inherit}.celestial-site.celestial-palace .complete-report .report-prose .prose-takeaway-label,.edition-document .report-prose .prose-takeaway-label{margin-bottom:0;padding-bottom:6px;border-bottom:0;font-size:14px;letter-spacing:.08em}.celestial-site.celestial-palace .complete-report .report-prose .prose-takeaway-body,.edition-document .report-prose .prose-takeaway-body{padding-top:4px;border-top:0}.report-prose>.prose-heading:first-child{margin-top:0}.report-prose .prose-heading:focus-visible{outline:2px solid #315b48;outline-offset:5px}@media(max-width:680px){.celestial-site.celestial-palace .complete-report .report-prose .prose-document,.edition-document .report-prose .prose-document{font-size:29px}.celestial-site.celestial-palace .complete-report .report-prose .prose-chapter,.edition-document .report-prose .prose-chapter{font-size:26px;margin-top:44px;padding-top:22px}.celestial-site.celestial-palace .complete-report .report-prose .prose-section,.edition-document .report-prose .prose-section{font-size:21px;margin-top:28px}.celestial-site.celestial-palace .complete-report .report-prose .prose-takeaway,.edition-document .report-prose .prose-takeaway{font-size:19px;padding:16px;margin-bottom:26px}.celestial-site.celestial-palace .complete-report .report-prose .prose-takeaway-label,.edition-document .report-prose .prose-takeaway-label{font-size:14px;padding-bottom:6px;margin-bottom:0}.celestial-site.celestial-palace .complete-report .report-prose .prose-takeaway-body,.edition-document .report-prose .prose-takeaway-body{padding-top:4px}}.celestial-site.celestial-palace[aria-hidden=true] .report-prose .prose-document{font-size:50px!important;line-height:1.5!important}.celestial-site.celestial-palace[aria-hidden=true] .report-prose .prose-chapter{font-size:44px!important;line-height:1.55!important}.celestial-site.celestial-palace[aria-hidden=true] .report-prose .prose-section{font-size:36px!important;line-height:1.6!important}.celestial-site.celestial-palace[aria-hidden=true] .report-prose .prose-takeaway{font-size:36px!important;line-height:1.8!important;font-weight:700!important;padding:24px 28px!important}.celestial-site.celestial-palace[aria-hidden=true] .report-prose .prose-takeaway-label{font-size:28px!important;padding-bottom:6px!important}.celestial-site.celestial-palace[aria-hidden=true] .report-prose .prose-takeaway-body{padding-top:4px!important}@media print{.report-prose .prose-takeaway{break-inside:avoid}.report-prose .prose-heading{break-after:avoid}}.celestial-site.celestial-palace .complete-report .edition-cover h2,.edition-document .edition-cover h1{font-family:Report Brush,KaiTi,STKaiti,serif;font-weight:400}
