@charset "UTF-8";
.portal-footer{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:12px 24px;padding:24px 0;border-top:1px solid #dedfd5;color:#6c7d65;font-size:12px;line-height:1.8}.portal-footer a:hover{text-decoration:underline;text-underline-offset:3px}
:root{--app-width:700px;--paper:#f7f5ef;--white:#fffefb;--ink:#202f2b;--green:#174c40;--deep:#123c33;--muted:#727b72;--line:#dedfd5;--copper:#b48158;--soft:#edf0e7;--serif:"Songti SC","STSong","Noto Serif CJK SC",serif;--sans:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px;background:#fff}body{width:100%;max-width:var(--app-width);min-height:100vh;margin:0 auto;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:15px;-webkit-font-smoothing:antialiased}button,select,input{font:inherit}button,a,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid #bd8c62;outline-offset:4px}[hidden]{display:none!important}button svg{width:18px;height:18px;stroke:currentColor;stroke-width:1.5}button{color:inherit}.page-width{width:calc(100% - 48px);margin-inline:auto}.skip-link{position:fixed;left:max(16px,calc((100vw - var(--app-width))/2 + 16px));top:-60px;z-index:100;background:white;padding:12px}.skip-link:focus{top:12px}
.site-header{height:92px;display:flex;align-items:center;justify-content:space-between;max-width:1440px;margin:auto;padding:0 48px}.brand{display:flex;align-items:center;gap:12px}.brand-seal{display:grid;place-items:center;width:36px;height:39px;border:1px solid var(--copper);color:var(--copper);border-radius:2px;font-family:var(--serif);font-size:24px}.brand-name{font-family:var(--serif);font-size:28px;letter-spacing:4px;display:flex;align-items:baseline;gap:14px}.brand-en{font-family:var(--sans);font-size:10px;letter-spacing:2.8px;color:var(--muted)}.site-header nav{display:flex;align-items:center;gap:36px;font-size:13px}.site-header nav a{color:#606c64}.site-header nav a:hover{color:var(--green)}.edition{font-size:11px;letter-spacing:1px;border-left:1px solid var(--line);padding-left:30px;display:flex;align-items:center;gap:8px}.edition i{width:5px;height:5px;border-radius:50%;background:var(--copper)}
.eyebrow{font-size:10px;letter-spacing:2.3px;display:flex;gap:10px;align-items:center;color:#c5bc9c;margin:0 0 23px;font-weight:500}.eyebrow>span{height:1px;width:22px;background:#b39c6c}.accent-script{color:#d1be93}
.explore-section{padding-top:40px;padding-bottom:40px;scroll-margin-top:24px}.section-heading{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:28px}.eyebrow.dark{color:#8b977e;font-size:9px;letter-spacing:2.7px;margin-bottom:12px}h2{font-family:var(--serif);font-weight:400;font-size:34px;letter-spacing:.5px;margin:0}.step-pill{border:1px solid var(--line);border-radius:100px;font-size:10px;color:var(--muted);padding:9px 14px;letter-spacing:1px}.explore-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;align-items:stretch}.birth-card{background:var(--white);border:1px solid #dfdfd4;border-radius:14px;padding:32px;box-shadow:0 8px 24px #263c2010}.card-top{display:flex;align-items:center;justify-content:space-between}.field-heading{font-size:18px;font-weight:500;letter-spacing:.7px}.calendar-pill{font-size:10px;border-radius:4px;border:1px solid #dde4d8;padding:6px 9px;background:#f1f4ec;color:#687b5e;letter-spacing:.4px}.form-intro{color:var(--muted);font-size:12px;line-height:1.8;margin:12px 0 26px}.form-fieldset{border:0;padding:0;margin:0 0 22px;min-width:0}.form-fieldset legend{font-size:13px;font-weight:500;padding:0;margin-bottom:10px;width:100%}.form-fieldset legend>span{float:right;font-weight:400;color:#939b90;font-size:10px;line-height:20px}.date-fields{display:grid;grid-template-columns:1.02fr 1fr 1fr;gap:10px}.select-wrap{min-width:0}.select-wrap label{display:block;font-size:10px;color:#899081;margin:0 0 6px}.select-wrap select{appearance:none;display:block;width:100%;min-height:49px;border:1px solid #dedfd6;border-radius:6px;background:var(--white);color:var(--ink);font-size:16px;padding:0 29px 0 13px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23727b72' stroke-width='1.3'%3E%3Cpath d='m4 5 3 3 3-3'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center}.select-wrap select:invalid{color:#8a9389}.select-wrap select:disabled{opacity:1;color:#7b8578;background-color:#f1f1eb;cursor:default}.select-wrap select:hover:not(:disabled){border-color:#8fa18c}.field-help{font-size:10px;color:#91978c;line-height:1.8;margin:8px 0 0}.time-fields{display:grid;grid-template-columns:1fr 14px 1fr;gap:10px;align-items:end}.time-colon{height:49px;display:flex;align-items:center;justify-content:center;color:#8a967e}.gender-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}.gender-option{position:relative;cursor:pointer}.gender-option input{position:absolute;opacity:0;width:1px;height:1px}.gender-option>span{display:flex;align-items:center;justify-content:center;gap:10px;border:1px solid #dedfd6;border-radius:6px;min-height:46px;color:#727d71;font-size:13px}.gender-option svg{width:18px;height:18px;stroke:currentColor;stroke-width:1.4}.gender-option input:checked+span{color:var(--green);border-color:#728c73;background:#f0f3e9}.gender-option input:focus-visible+span{outline:3px solid var(--copper);outline-offset:3px}.primary-button{width:100%;display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:54px;padding:0 21px;border:1px solid var(--green);border-radius:6px;color:#f8f6e9;background:var(--green);font-weight:400;font-size:14px;letter-spacing:1px;transition:background .2s,transform .2s}.primary-button:hover{background:#103f33}.button-arrow{font-size:25px;font-family:var(--serif);line-height:1}.primary-button:disabled{opacity:.65}.is-loading .button-arrow{animation:spin 1.2s linear infinite}.form-error{border:1px solid #dcbdb0;background:#fbf1eb;border-radius:5px;padding:11px 13px;color:#9f4d37;font-size:12px;line-height:1.7;margin-bottom:14px}
.reading-preview{background:#ebeee4;border-radius:14px;border:1px solid #e0e4d6;padding:31px 30px;position:relative;overflow:hidden}.preview-label{font-size:10px;color:#829274;letter-spacing:1px;display:flex;justify-content:space-between;align-items:center;margin-bottom:28px}.preview-label>span:last-child{font-size:25px;color:#9fae8d}.reading-preview h3{font-family:var(--serif);font-size:36px;line-height:1.45;font-weight:400;letter-spacing:1px;margin:0 0 16px;color:#374e3c}.reading-preview>p{font-size:12px;line-height:1.9;color:#7e8c75;max-width:260px;margin:0 0 24px}.theme-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px}.theme-list>div{display:flex;align-items:center;gap:14px;padding:16px 0;border-bottom:1px solid #d6decb}.theme-icon{font-family:var(--serif);color:#7b8b68;font-size:21px;width:38px;height:38px;border:1px solid #becaaf;border-radius:50%;display:grid;place-items:center;flex:none}.theme-list h4{font-size:13px;font-weight:500;margin:0 0 6px;color:#485b3f}.theme-list p{font-size:10px;color:#86917b;margin:0;line-height:1.6}.theme-number{margin-left:auto;font-family:var(--serif);font-size:13px;color:#9aa58b}.preview-footer{display:flex;align-items:center;justify-content:center;white-space:nowrap;gap:13px;font-family:var(--serif);color:#869578;font-size:12px;line-height:1.8;padding-top:24px}.tiny-compass{font-size:34px;line-height:1;color:#9aa98b}.guide{border-top:1px solid var(--line);padding:32px 0 40px;display:grid;grid-template-columns:minmax(0,1fr);gap:20px;align-items:center}.guide h2{font-size:27px}.guide>p{font-size:12px;color:#899080;line-height:2;margin:0}.site-footer{border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:28px 0 16px;gap:16px}.footer-brand{font-family:var(--serif);font-size:23px;letter-spacing:2px;white-space:nowrap}.footer-brand span{font-family:var(--sans);font-size:8px;letter-spacing:2px;color:#8e9788;margin-left:12px}.site-footer p,.site-footer>span{font-size:10px;color:#899080;margin:0}.site-footer>span{font-size:9px}.source-credit{font-size:9px;line-height:1.8;color:#9ba18f;padding-bottom:24px}.source-credit a{text-decoration:underline;text-underline-offset:3px}
.report-view{padding-top:32px;padding-bottom:32px}.report-topline{display:flex;justify-content:space-between;align-items:center;margin-bottom:36px}.text-button{border:0;background:none;padding:6px 0;font-size:12px;color:#6f7e69}.text-button>span{padding-right:7px}.report-edition{font-size:10px;letter-spacing:1.5px;color:#9c916f}.report-heading{display:flex;justify-content:space-between;align-items:center;gap:24px}.report-heading h1{font-family:var(--serif);font-size:34px;font-weight:400;margin:0 0 18px;letter-spacing:1px}.report-birth{color:#7f8979;font-size:12px;letter-spacing:.6px;line-height:1.9;margin:0}.outline-button{display:flex;align-items:center;justify-content:center;gap:9px;border:1px solid #b7c4ae;border-radius:6px;background:transparent;color:#4d6e4b;font-size:12px;padding:11px 16px;white-space:nowrap}.outline-button:hover{background:#e9eee3}.date-adjustment{background:#efede0;border:1px solid #dfd8b9;color:#8d7954;padding:13px 16px;font-size:12px;line-height:1.8;border-radius:5px;margin-top:24px}.report-overview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin:28px 0 24px;border:1px solid var(--line);background:var(--white);border-radius:9px;padding:0}.overview-item{padding:18px 20px;border-left:1px solid #e6e6dd;min-width:0}.overview-item:nth-child(odd){border-left:0}.overview-item:nth-child(n+3){border-top:1px solid #e6e6dd}.overview-label{font-size:10px;color:#929a89;display:block;margin-bottom:11px;letter-spacing:1px}.overview-value{font-family:var(--serif);font-size:24px;color:#3c5b41;white-space:normal;line-height:1.4;display:block}.overview-value.compact{font-size:20px}.overview-detail{display:block;color:#a2aa97;font-size:9px;margin-top:5px;line-height:1.7}.report-nav{position:sticky;top:0;z-index:10;display:flex;gap:0;border-bottom:1px solid var(--line);background:var(--paper);padding:0 2px;overflow-x:auto;scrollbar-width:none}.report-nav::-webkit-scrollbar{display:none}.report-nav button{flex:1;min-width:0;border:0;border-bottom:2px solid transparent;background:none;color:#899180;padding:17px 2px;font-size:14px;white-space:nowrap;min-height:54px}.report-nav button[aria-selected="true"]{color:var(--green);border-bottom-color:var(--green);font-weight:500}.report-panel{padding-top:32px}.chart-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:22px}.chart-heading h2{font-size:29px}.chart-heading>p{font-size:10px;color:#939b88;margin:0 0 3px}.chart-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:20px;align-items:start}.chart-board{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(4,155px);gap:1px;background:#c8cbb9;border:1px solid #c8cbb9;border-radius:5px;overflow:hidden}.palace{min-width:0;border:0;border-radius:0;background:#fffef9;text-align:left;padding:12px 10px;display:flex;flex-direction:column;gap:12px;transition:background .15s;cursor:pointer}.palace:hover{background:#f0f2e8}.palace.selected{background:#e5eddf;box-shadow:inset 0 0 0 2px #708d67}.palace:focus-visible{outline-offset:-4px}.palace-header{display:flex;align-items:center;justify-content:space-between;gap:3px;width:100%;font-size:11px;font-weight:500}.palace-header small{font-size:9px;color:#a0a794;font-weight:400}.palace-main{display:flex;flex-direction:column;gap:5px;min-height:42px}.major-star{font-size:16px;font-family:var(--serif);color:#3b715c;line-height:1.35;white-space:nowrap}.major-star small{font-family:var(--sans);font-size:8px;color:#84937b;margin-left:3px}.star-transform{font-size:8px;font-family:var(--sans);padding:1px 2px;border-radius:2px;background:#dee9d8;color:#526f3e;margin-left:3px}.star-transform.ji{background:#f0e0d6;color:#ac6953}.palace-empty{font-size:12px;color:#9ca48f;font-family:var(--serif)}.palace-aux{font-size:9px;color:#939e87;line-height:1.8;display:block}.body-palace-label{font-size:8px;color:#8b8058;font-family:var(--sans);font-weight:400;margin-left:4px}.cell-5{grid-column:1;grid-row:1}.cell-6{grid-column:2;grid-row:1}.cell-7{grid-column:3;grid-row:1}.cell-8{grid-column:4;grid-row:1}.cell-4{grid-column:1;grid-row:2}.cell-9{grid-column:4;grid-row:2}.cell-3{grid-column:1;grid-row:3}.cell-10{grid-column:4;grid-row:3}.cell-2{grid-column:1;grid-row:4}.cell-1{grid-column:2;grid-row:4}.cell-0{grid-column:3;grid-row:4}.cell-11{grid-column:4;grid-row:4}.chart-center{grid-column:2/span 2;grid-row:2/span 2;background:#f4f3e9;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:13px;padding:22px;color:#6f7f60}.chart-center .center-emblem{font-family:var(--serif);font-size:45px;color:#6f8b60;line-height:1.2}.chart-center .center-caption{font-size:8px;letter-spacing:2.5px;color:#a2ab8f}.chart-center h3{font-family:var(--serif);font-weight:400;font-size:25px;color:#41603e;margin:0}.chart-center p{margin:0;font-size:10px;line-height:2;color:#8c987d}.chart-center .center-rule{width:30px;height:1px;background:#bbc5a9}.palace-detail{background:#ecefe4;padding:24px 22px;border-radius:8px;border:1px solid #e0e5d6;position:static}.palace-detail .eyebrow{margin-bottom:14px}.palace-detail h3{font-family:var(--serif);font-weight:400;font-size:27px;margin:0 0 8px;color:#44613d}.palace-detail .palace-purpose{font-size:11px;color:#8a987e;line-height:1.8;margin:0 0 20px}.detail-label{font-size:9px;letter-spacing:1px;color:#9aa68d;display:block;margin-bottom:9px}.detail-main{font-family:var(--serif);font-size:19px;line-height:1.8;color:#3a6647;margin:0 0 21px}.detail-aux{font-size:11px;color:#7b8c6d;line-height:2;margin:0}.detail-note{font-size:9px;color:#9eab90;line-height:1.9;border-top:1px solid #d9dfce;padding-top:17px;margin-top:20px}.chart-note{font-size:10px;color:#939c88;line-height:1.9;margin:16px 0 0}.continue-reading{margin-top:27px;padding:23px 26px;border:1px solid var(--line);border-radius:7px;display:flex;flex-direction:column;align-items:stretch;gap:18px}.continue-reading p{font-family:var(--serif);font-size:21px;color:#617654;margin:0}.compact{max-width:none;min-height:44px;padding:0 15px;font-size:12px}.report-disclaimer{display:flex;gap:13px;margin:36px 0 0;padding-top:23px;border-top:1px solid var(--line);align-items:flex-start;color:#939d87}.report-disclaimer>span{font-size:24px;line-height:1.3;color:#a4ad93}.report-disclaimer p{font-size:10px;line-height:1.9;margin:0}.topic-panel{max-width:850px;margin-inline:auto}.topic-opening{padding:12px 0 25px}.topic-opening h2{font-size:38px;margin:0 0 13px}.topic-opening .topic-subtitle{font-size:12px;color:#8a9580;line-height:1.9;margin:0}.topic-facts{background:#eaf0e3;border-left:3px solid #80956d;padding:18px 22px;border-radius:0 6px 6px 0;margin-bottom:28px}.topic-facts .section-kicker{font-size:10px;color:#849472;margin:0 0 8px;letter-spacing:1px}.topic-facts p{font-family:var(--serif);font-size:19px;color:#45633e;line-height:1.8;margin:0}.reading-article{padding:0 5px}.reading-article h3{font-family:var(--serif);font-size:23px;font-weight:400;color:#44633c;line-height:1.6;margin:34px 0 14px}.reading-article p{font-size:14px;color:#65735c;line-height:2.1;margin:0 0 17px;letter-spacing:.2px}.reading-article p.fact-line{font-size:12px;line-height:2;color:#89957d}.topic-pager{border-top:1px solid var(--line);margin-top:35px;padding:23px 0;display:flex;justify-content:space-between;gap:16px}.topic-pager button{background:transparent;border:0;color:#54744b;padding:9px 0;font-size:12px}.topic-pager button span{color:#9aa88c}.toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);background:#264f3f;color:#f2f4e7;padding:13px 23px;border-radius:7px;font-size:12px;line-height:1.6;box-shadow:0 8px 20px #183e2526;z-index:50;max-width:calc(100% - 36px);text-align:center;white-space:nowrap}@keyframes spin{to{transform:rotate(360deg)}}

/* 离线体验流程：介绍、出生资料、报告分别显示。 */
.intro-section{padding-top:30px;padding-bottom:30px}
.intro-section .reading-preview>p{max-width:440px}
.intro-section .reading-preview h3{font-size:34px}
.intro-section .reading-preview h3 br{display:initial}
.intro-section .theme-list h4{font-size:14px}
.intro-section .theme-list p{font-size:12px}
.intro-start{margin-top:24px}
.start-test-button{justify-content:center;font-size:16px;min-height:54px}
.birth-view{padding-top:26px;padding-bottom:40px}
.birth-topline{margin-bottom:28px}
.birth-view h1{font-family:var(--serif);font-size:34px;font-weight:400;line-height:1.4;margin:0}
#hero-title:focus,#birth-title:focus,#report-title:focus{outline:none}
@media(max-width:480px){.intro-section{padding-top:22px;padding-bottom:26px}.intro-section .reading-preview h3{font-size:27px}.intro-section .theme-list h4{font-size:12px}.intro-section .theme-list p{font-size:11px}.intro-section .theme-list{gap:0 16px}.intro-section .theme-list>div{gap:8px}.intro-start{margin-top:20px}.birth-view{padding-top:20px;padding-bottom:28px}.birth-topline{margin-bottom:22px}.birth-view h1{font-size:26px}}

/* 首屏：左侧标题与介绍、右侧命盘图，底部说明整组居中。 */
.hero{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:22px 20px;padding:32px 36px 24px;background:var(--deep);color:#f3f0df}
.hero:after{content:"";position:absolute;inset:10px;border:1px solid #c8b48c38;pointer-events:none}
.hero-copy{position:relative;z-index:1;min-width:0}
.hero h1{font-family:var(--serif);font-weight:400;font-size:52px;letter-spacing:0;line-height:1.3;margin:0 0 28px}
.hero-description{margin:0;font-size:14px;line-height:1.95;letter-spacing:0;color:#c6d1c4;text-wrap:balance}
.hero-description span{white-space:nowrap}
.hero-art{position:relative;width:100%;max-width:276px;justify-self:center;pointer-events:none}
.hero-art img{display:block;width:116%;height:auto;margin:-8%;filter:brightness(1.6)}
.art-caption{position:absolute;writing-mode:vertical-rl;letter-spacing:4px;font-family:var(--serif);font-size:14px;color:#c6bb97}
.art-caption-top{right:0;top:10%}.art-caption-bottom{left:0;bottom:8%}
.hero-bottom{grid-column:1/-1;display:flex;justify-content:center;margin:0 -26px;padding:20px 20px 0;border-top:1px solid #c8b48c45}
.hero-bottom-content{display:flex;align-items:center;justify-content:center;gap:14px;max-width:100%}
.small-star{flex:none;font-size:26px;line-height:1;color:#c5b183}
.hero-bottom p{display:flex;flex-wrap:wrap;justify-content:center;gap:0 10px;margin:0;font-size:14px;line-height:1.9;letter-spacing:.2px;text-align:center;color:#ded9c4}
.hero-bottom p span{white-space:nowrap}
.hero-bottom p span:last-child{color:#b5c4b4}
@media(max-width:620px){.hero{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:20px 12px;padding:28px 20px 20px}.hero-copy{display:contents}.hero h1{grid-column:1;grid-row:1;margin:0;font-size:clamp(24px,7.8vw,38px)}.hero-art{grid-column:2;grid-row:1;max-width:190px}.hero-description{grid-column:1/-1;grid-row:2;font-size:13px;max-width:440px}.hero-bottom{grid-row:3;margin:0 -10px;padding:16px 10px 0}.hero-bottom-content{gap:10px}.hero-bottom p{font-size:11px}.small-star{font-size:23px}.art-caption{font-size:10px;letter-spacing:2px}}

@media(max-width:1100px){.birth-card{padding:27px}.reading-preview{padding:28px 24px}.chart-layout{gap:16px}.chart-board{grid-template-rows:repeat(4,160px)}.major-star{font-size:14px}.palace{padding:11px 8px}.palace-aux{font-size:8px}.palace-detail{padding:21px 18px}.chart-center{gap:11px;padding:14px}.chart-center p{font-size:9px}.chart-center h3{font-size:23px}}
@media(max-width:800px){.site-header{height:78px;padding-inline:28px}.site-header nav{gap:24px}.brand-en{display:none}.edition{padding-left:20px}.eyebrow{font-size:8px;letter-spacing:1.6px}.page-width{width:calc(100% - 48px)}.explore-grid{grid-template-columns:1fr}.explore-section{padding-top:44px;padding-bottom:42px}.section-heading{margin-bottom:23px}h2{font-size:29px}.reading-preview{padding:25px 28px}.preview-label{margin-bottom:15px}.reading-preview h3{font-size:30px}.reading-preview h3 br{display:none}.reading-preview>p{max-width:none;margin-bottom:10px}.theme-list{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}.theme-list>div{padding:16px 0;gap:10px}.theme-list p{font-size:9px}.theme-list h4{font-size:12px}.theme-icon{height:32px;width:32px;font-size:18px}.theme-number{display:none}.preview-footer{font-size:11px}.preview-footer br{display:none}.guide{grid-template-columns:1fr;gap:20px;padding:32px 0 35px}.guide h2{font-size:26px}.site-footer{flex-wrap:wrap}.site-footer>span{display:none}.chart-layout{grid-template-columns:1fr}.chart-board{grid-template-rows:repeat(4,155px)}.palace-detail{position:static}.palace-detail h3{display:inline-block;margin-right:12px}.palace-detail .palace-purpose{display:inline-block;margin-bottom:14px}.detail-main{font-size:18px;margin-bottom:13px}.detail-note{margin-top:12px;padding-top:12px}.palace-detail{padding:20px}.chart-center h3{font-size:26px}.chart-center p{font-size:11px}.chart-center .center-emblem{font-size:42px}.major-star{font-size:16px}.palace-aux{font-size:9px}.report-heading h1{font-size:38px}.overview-item{padding:18px 20px}.overview-value{font-size:21px}.overview-value.compact{font-size:17px}.report-nav{gap:0}.report-heading{align-items:flex-start}.outline-button{margin-top:25px}.chart-heading h2{font-size:26px}}
@media(max-width:480px){.page-width{width:calc(100% - 36px)}.site-header{height:74px;padding:0 20px}.brand-seal{width:29px;height:32px;font-size:20px}.brand{gap:9px}.brand-name{font-size:24px;letter-spacing:3px}.site-header nav{gap:0}.site-header nav a{display:none}.edition{border:0;padding:0;font-size:9px;letter-spacing:.7px}.section-heading{display:block}.section-heading h2{font-size:25px;letter-spacing:0}.step-pill{display:inline-block;margin-top:13px;font-size:8px;padding:7px 9px;white-space:nowrap}.eyebrow.dark{font-size:7px;letter-spacing:2px;margin-bottom:11px}.explore-section{padding-top:35px}.birth-card{padding:24px 19px;border-radius:11px}.field-heading{font-size:17px}.calendar-pill{font-size:9px;padding:5px 7px}.form-intro{font-size:10px;margin:11px 0 23px}.form-fieldset{margin-bottom:21px}.form-fieldset legend{font-size:12px}.form-fieldset legend>span{font-size:9px}.date-fields{gap:7px}.select-wrap select{font-size:16px;padding-left:9px;padding-right:23px;background-position:right 6px center;min-height:48px}.select-wrap label{font-size:9px}.field-help{font-size:9px}.time-fields{gap:8px;grid-template-columns:1fr 10px 1fr}.gender-option>span{font-size:12px}.primary-button{min-height:53px;font-size:13px;padding:0 17px}.reading-preview{padding:23px 22px;border-radius:11px}.reading-preview h3{font-size:26px;line-height:1.5}.reading-preview>p{font-size:10px}.preview-label{font-size:9px}.theme-list{gap:0 12px}.theme-list>div{gap:8px;align-items:flex-start}.theme-icon{width:29px;height:29px;font-size:16px}.theme-list h4{font-size:11px;margin-top:3px}.theme-list p{font-size:9px;line-height:1.7}.preview-footer{font-size:10px}.guide h2{font-size:24px}.guide>p{font-size:10px;line-height:2}.site-footer{padding-top:23px;gap:12px}.site-footer p{font-size:8px}.footer-brand{font-size:21px}.footer-brand span{font-size:7px;margin-left:7px}.source-credit{font-size:8px;line-height:1.9}.report-view{padding-top:22px}.report-topline{margin-bottom:28px}.text-button{font-size:10px}.report-edition{font-size:8px;letter-spacing:1px}.report-heading{display:block}.report-heading h1{font-size:30px;letter-spacing:0;margin-bottom:14px}.report-birth{font-size:11px}.outline-button{font-size:10px;padding:8px 12px;margin-top:16px}.outline-button svg{width:15px;height:15px}.report-overview{margin:24px 0 20px;grid-template-columns:repeat(2,minmax(0,1fr));padding:0}.overview-item{padding:16px 17px;border-left:1px solid #e6e6dd}.overview-item:nth-child(3){border-left:0;border-top:1px solid #e6e6dd}.overview-item:nth-child(4){border-top:1px solid #e6e6dd}.overview-label{font-size:9px;margin-bottom:8px}.overview-value{font-size:22px}.overview-value.compact{font-size:19px;letter-spacing:-.2px;white-space:nowrap}.overview-detail{font-size:8px}.report-nav{gap:0;padding:0}.report-nav button{font-size:12px;padding:15px 0;min-height:49px}.report-panel{padding-top:25px}.chart-heading{display:block;margin-bottom:17px}.chart-heading h2{font-size:26px}.chart-heading>p{font-size:9px;margin-top:10px}.chart-board{grid-template-rows:repeat(4,119px)}.palace{padding:8px 5px;gap:9px}.palace-header{font-size:9px;gap:1px}.palace-header small{font-size:7px}.palace-main{min-height:35px;gap:6px}.major-star{font-size:13px;line-height:1.4}.major-star small{font-size:7px;margin-left:1px}.star-transform{font-size:7px;margin-left:2px;padding:1px}.palace-aux{display:none}.palace-empty{font-size:11px}.body-palace-label{font-size:6px;margin-left:2px}.chart-center{padding:10px 7px;gap:10px}.chart-center .center-emblem{font-size:33px}.chart-center .center-caption{font-size:6px;letter-spacing:1.2px}.chart-center h3{font-size:20px}.chart-center p{font-size:8px;line-height:1.9}.palace-detail{padding:20px 18px}.palace-detail h3{font-size:24px}.palace-detail .palace-purpose{font-size:10px}.detail-main{font-size:17px}.detail-aux{font-size:10px}.chart-note{font-size:8px}.continue-reading{padding:19px 17px;display:block;margin-top:22px}.continue-reading p{font-size:20px;margin-bottom:16px}.compact{max-width:none;min-height:43px;font-size:12px}.topic-opening h2{font-size:32px}.topic-opening .topic-subtitle{font-size:10px}.topic-facts{padding:15px 17px}.topic-facts p{font-size:17px}.topic-facts .section-kicker{font-size:9px}.reading-article{padding:0 1px}.reading-article p{font-size:13px;line-height:2.05;margin-bottom:18px}.reading-article p.fact-line{font-size:11px}.reading-article h3{font-size:22px;margin-top:28px}.topic-pager button{font-size:11px}.report-disclaimer{gap:10px;margin-top:27px;padding-top:18px}.report-disclaimer p{font-size:9px}.date-adjustment{font-size:10px;padding:11px 13px}.toast{font-size:10px;white-space:normal;bottom:20px;width:max-content}}
@media(max-width:360px){.intro-section .reading-preview h3{font-size:24px}.date-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.year-select{grid-column:1/-1}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}
@media print{body{width:100%;max-width:none;background:white;color:#111}.site-header,.site-footer,.source-credit,#home-view,.report-topline,.report-heading>.outline-button,.report-nav,.topic-pager,.continue-reading,.toast,.palace-detail{display:none!important}.report-view{width:100%;max-width:none;padding:0}.report-panel{display:block!important;break-before:page}.topic-panel{max-width:none}.chart-layout{display:block}.chart-board{grid-template-rows:repeat(4,150px)}.report-overview{break-inside:avoid}.reading-article p{color:#222}.report-heading h1{font-size:30px}.report-disclaimer{break-inside:avoid}}

.confirm-dialog{width:min(440px,calc(100% - 36px));max-width:none;border:1px solid #dedfd5;border-radius:14px;padding:0;background:var(--white);color:var(--ink);box-shadow:0 24px 80px #102c2550}.confirm-dialog::backdrop{background:#10282099}.confirm-content{padding:32px}.confirm-eyebrow{margin:0 0 12px;color:#8b977e;font-size:11px;letter-spacing:1.5px}.confirm-content h2{font-size:27px}.confirm-description{margin:12px 0 22px;color:var(--muted);font-size:13px;line-height:1.8}.confirm-details{margin:0 0 26px;padding:8px 18px;background:#f2f4ed;border-radius:8px}.confirm-details>div{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:12px 0}.confirm-details>div+div{border-top:1px solid #e0e5d9}.confirm-details dt{color:var(--muted);font-size:12px}.confirm-details dd{margin:0;color:var(--green);font-size:14px;text-align:right}.confirm-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.confirm-actions button{min-height:48px;border-radius:6px;font-size:13px}.confirm-back{border:1px solid #d8ded2;background:transparent;color:var(--green)}.confirm-continue{border:1px solid var(--green);background:var(--green);color:#f8f6e9}.confirm-continue:hover{background:#103f33}@media(max-width:480px){.confirm-content{padding:25px 21px}.confirm-content h2{font-size:24px}}
.place-fields{grid-template-columns:1fr 1fr}.periods{margin-top:36px;padding-top:28px;border-top:1px solid var(--line)}.periods h2{font-size:27px}.periods h3{font-family:var(--serif);font-size:20px;font-weight:400;margin:24px 0 12px}.period-note,.period-detail{font-size:12px;line-height:1.9;color:#7e8c75}.period-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.period-item{padding:12px;background:#ecefe4;border-radius:6px;display:flex;justify-content:space-between;gap:8px;font-size:12px;color:#5b6e54}.period-item strong{font-weight:500}
.period-decade{background:#ecefe4;border-radius:6px;min-width:0}.period-decade summary{cursor:pointer}.period-decade .period-detail{margin:8px 12px;overflow-wrap:anywhere}
.report-nav{scrollbar-width:thin}.report-nav button{flex:0 0 auto;min-width:68px;padding-inline:10px}.source-note{font-size:11px!important;color:#8a9580!important}.source-note a{text-decoration:underline;text-underline-offset:3px}
.report-nav::-webkit-scrollbar{display:block;height:3px}.report-nav::-webkit-scrollbar-thumb{background:#a5b1a0;border-radius:4px}

/* 报告主题导航：按阅读顺序分行展示。 */
.report-nav{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:0;overflow:visible;padding:0;background:var(--paper);border-bottom:1px solid var(--line)}
.report-nav::-webkit-scrollbar{display:none}
.report-nav button{min-width:0;min-height:50px;padding:12px 2px;border:0;border-bottom:2px solid transparent;background:transparent;color:#69776a;font-family:var(--serif);font-size:14px;line-height:1.4;white-space:nowrap;text-align:center}
.report-nav button:nth-child(-n+7){border-bottom-color:var(--line)}
.report-nav button[aria-selected="true"]{color:var(--green);border-bottom-color:var(--green);font-weight:600}
.report-nav button:hover{color:var(--green)}
@media(max-width:480px){.report-nav{grid-template-columns:repeat(4,minmax(0,1fr))}.report-nav button{min-height:44px;font-size:12px;padding:10px 2px}.report-nav button:nth-child(-n+7){border-bottom-color:transparent}.report-nav button[aria-selected="true"]{border-bottom-color:var(--green)}}
.report-nav button[aria-selected="true"]{border-bottom-color:transparent;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:10px;text-decoration-skip-ink:none}
.report-nav button[aria-selected="true"]:nth-child(-n+7){border-bottom-color:var(--line)}
@media(max-width:480px){.report-nav button[aria-selected="true"]:nth-child(-n+7){border-bottom-color:transparent}}

/* 增大正文、说明与表单提示的字号，保留标题层级。 */
.intro-section .theme-list h4{font-size:15px}
.intro-section .theme-list p{font-size:13px;color:#586b56}
.hero-description{font-size:15px}
.hero-bottom p{font-size:14px}
.guide>p{font-size:14px;color:#5d705b}
.preview-footer{font-size:13px;color:#657a60}
.form-intro,.form-fieldset legend,.gender-option>span{font-size:14px}
.select-wrap label,.field-help{font-size:12px;color:#667767}
.report-birth,.topic-opening .topic-subtitle{font-size:14px;color:#657660}
.date-adjustment,.chart-note,.report-disclaimer p,.detail-note{font-size:13px}
.overview-label,.overview-detail,.detail-label{font-size:11px}
.palace-detail .palace-purpose,.detail-aux{font-size:13px}
.reading-article p{font-size:16px;line-height:2;color:#485d49}
.reading-article p.fact-line{font-size:13px}
.period-note,.period-detail,.period-item{font-size:14px;color:#586c54}
.period-item{flex-wrap:wrap}
.topic-pager button,.text-button,.outline-button{font-size:14px}
.source-note{font-size:13px!important;color:#5d705b!important}
@media(max-width:480px){
 .intro-section .theme-list h4{font-size:14px}
 .intro-section .theme-list p{font-size:12px}
 .hero-description{font-size:14px}
 .hero-bottom p{font-size:12px}
 .preview-footer{font-size:clamp(9px,2.9vw,11px);gap:6px}
 .tiny-compass{font-size:26px}
 .guide>p{font-size:13px}
 .form-fieldset legend,.gender-option>span{font-size:14px}
 .report-birth,.topic-opening .topic-subtitle{font-size:13px}
 .date-adjustment,.chart-note,.report-disclaimer p,.detail-note{font-size:12px}
 .reading-article p{font-size:15px;line-height:2}
 .period-note,.period-detail,.period-item{font-size:13px}
 .palace-header{font-size:10px}
 .palace-header small{font-size:8px}
 .major-star{font-size:14px}
 .topic-pager button,.text-button,.outline-button{font-size:13px}
}

@media(max-width:480px){.preview-footer{gap:4px}.tiny-compass{font-size:22px}}
.palace-header{font-size:12px}
.palace-header small{font-size:10px;color:#72816c}
.palace-aux{font-size:11px;line-height:1.6;color:#687b64}
.major-star small,.star-transform{font-size:9px}
.body-palace-label{font-size:10px}
.chart-center p{font-size:11px;color:#6c7d65}
.chart-heading>p{font-size:12px;color:#6b7d66}
.overview-label,.overview-detail{font-size:12px}
@media(max-width:480px){.palace-header{font-size:10px}.palace-header small{font-size:8px}.major-star small,.star-transform{font-size:8px}.body-palace-label{font-size:9px}.chart-center p{font-size:10px}.chart-heading>p{font-size:11px}}
@media(max-width:360px){.major-star{font-size:13px}.major-star small,.star-transform{font-size:7px}.major-star small{margin-left:1px}.star-transform{margin-left:1px;padding:0 1px}}
