/* Open birth-chart workspace with actual material photography. */
.bazi-page{--bazi-secondary:#625b54;--bazi-rule:#a79c93;--bazi-error:#8c2b2b;--bazi-wood:#315f4d;--bazi-fire:#b95837;--bazi-earth:#a07f44;--bazi-metal:#676d71;--bazi-water:#344d67;color:#292d29;padding-bottom:60px;font-family:Arial,'PingFang SC','PingFang TC','Microsoft YaHei',sans-serif}
.bazi-page h1,.bazi-page h2,.bazi-page h3,.bazi-page h4{font-family:inherit}
.bazi-wrap{max-width:1300px;margin:0 auto;padding:0 clamp(20px,4vw,58px)}
.bazi-page .breadcrumbs{padding:24px 0 0;margin:0;font-size:12px;display:flex;gap:12px;flex-wrap:wrap;line-height:1.7;color:#6b6a62}
.bazi-opening{display:grid;grid-template-columns:1.25fr 1fr;gap:36px;align-items:center;margin:20px 0 54px}
.bazi-heading{padding:24px 0;max-width:680px}
.bazi-eyebrow{font-size:11px;letter-spacing:.12em;line-height:1.7;color:var(--bazi-wood);margin-bottom:20px}
.bazi-heading h1{font-size:clamp(34px,3.5vw,49px);line-height:1.24;letter-spacing:-.035em;font-weight:600;color:#273e33}
.bazi-intro{font-size:17px;line-height:1.85;max-width:570px;margin-top:26px}
.bazi-privacy{font-size:12px;line-height:1.8;color:var(--bazi-secondary);margin-top:24px;max-width:540px}
.bazi-cycle-figure{margin:0;max-width:420px;justify-self:end;width:100%}
.bazi-cycle-figure svg{display:block;width:100%;height:auto;max-height:365px}
.bazi-cycle-han{font-size:38px;font-weight:500;font-family:'PingFang SC','PingFang TC',sans-serif}
.bazi-cycle-en{font-size:12px;letter-spacing:.035em}
.bazi-cycle-center{font-size:31px;fill:#30392f;font-weight:500}
.bazi-cycle-center-sub{font-size:10px;letter-spacing:.1em;fill:#625b54}
.bazi-cycle-figure figcaption{font-size:11px;line-height:1.85;color:#666259;text-align:center;max-width:350px;margin:0 auto}
.bazi-input-layout{display:grid;grid-template-columns:minmax(0,1fr) 245px;gap:72px;align-items:start}
.bazi-input-section{max-width:850px;min-width:0}
.bazi-form-heading{margin-bottom:30px}
.bazi-section-no{font-size:10px;letter-spacing:.1em;line-height:1.7;color:#806344;margin-bottom:12px}
.bazi-form-heading h2,.bazi-result>header h2,.bazi-reading>header h2{font-size:29px;line-height:1.45;font-weight:600;letter-spacing:-.02em}
.bazi-form-heading>p:last-child{font-size:14px;line-height:1.8;margin-top:10px;color:var(--bazi-secondary);max-width:650px}
.bazi-page fieldset{border:0;padding:0;margin:0 0 28px;min-width:0}
.bazi-page legend{font-size:15px;font-weight:600;padding:0;margin-bottom:15px}
.bazi-date-top{display:flex;gap:20px;align-items:end;margin-bottom:20px}
.bazi-date-top>.bazi-field{width:200px}
.bazi-date-fields{display:grid;grid-template-columns:1.1fr .9fr .9fr 1.25fr;gap:16px}
.bazi-two-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 28px}
.bazi-location-fields{display:grid;grid-template-columns:.8fr 1.6fr;gap:28px}
.bazi-field{min-width:0}
.bazi-field>label{display:block;font-size:13px;line-height:1.6;margin-bottom:8px;font-weight:500}
.bazi-field input,.bazi-field select{display:block;max-width:100%;width:100%;min-width:0;min-height:47px;padding:10px 3px;background:#fff;border:0;border-bottom:1px solid var(--bazi-rule);border-radius:0;font-size:15px;line-height:1.5;color:#2c342d}
.bazi-field select{padding-right:21px;cursor:pointer}
.bazi-field input::placeholder{color:#7a726a;font-size:14px;opacity:1}
.bazi-field input:disabled,.bazi-field select:disabled{color:#777;border-bottom-style:dashed;opacity:.65}
.bazi-field input[aria-invalid=true],.bazi-field select[aria-invalid=true]{border-bottom:2px solid var(--bazi-error)}
.bazi-page input:focus-visible,.bazi-page select:focus-visible,.bazi-page button:focus-visible,.bazi-page a:focus-visible,.bazi-page summary:focus-visible{outline:2px solid var(--bazi-wood);outline-offset:4px}
.bazi-hint{font-size:12px!important;font-weight:400;line-height:1.8!important;color:var(--bazi-secondary);margin:10px 0 0!important;max-width:670px}
.bazi-fixed-time{margin-top:15px!important;color:#776448}
.bazi-check{display:flex;align-items:center;gap:10px;font-size:13px;line-height:1.7;cursor:pointer;min-height:42px}
.bazi-check input{width:18px;height:18px;min-width:18px;min-height:18px;accent-color:var(--bazi-wood);margin:0}
.bazi-advanced{margin:0 0 18px}
.bazi-advanced>summary{font-size:13px;font-weight:500;line-height:1.7;cursor:pointer;padding:9px 0;width:fit-content;text-decoration:underline;text-underline-offset:5px}
.bazi-boundary-field{max-width:540px;margin:13px 0 22px}
.bazi-required{margin-top:20px!important}
.bazi-form-actions,.bazi-result-actions{display:flex;gap:22px;align-items:center;flex-wrap:wrap;margin-top:20px}
.bazi-page .button{min-height:48px;padding:13px 26px;border-radius:3px;font-size:14px;line-height:1.6;display:inline-flex;gap:24px;align-items:center;justify-content:center;text-align:center;background:#31533f;color:#fff}
.bazi-page .button:hover{background:#273e33}
.bazi-text-button{font-size:13px;line-height:1.8;text-decoration:underline;text-underline-offset:5px;color:var(--bazi-secondary);padding:10px 0;min-height:44px}
.bazi-status{font-size:13px;line-height:1.8;min-height:24px;margin-top:17px;color:var(--bazi-secondary)}
.bazi-errors{color:var(--bazi-error);font-size:14px;line-height:1.8;margin:0 0 26px;padding:0}
.bazi-errors h3{font-size:16px;line-height:1.7;margin-bottom:8px}.bazi-errors ul{padding-left:20px;margin:0}.bazi-errors a{text-decoration:underline;text-underline-offset:3px}
.bazi-source-context{margin:0 0 32px;font-size:14px;line-height:1.8}.bazi-source-context a{text-decoration:underline;text-underline-offset:4px}.bazi-source-context img{width:72px;height:90px;object-fit:cover;float:left;margin-right:18px}.bazi-source-context:after{content:'';display:block;clear:both}
.bazi-material-story{padding-top:34px;max-width:300px}
.bazi-material-story figure{margin:0 0 24px}
.bazi-material-story img{width:100%;height:auto;aspect-ratio:3/4;object-fit:cover;display:block}
.bazi-material-story figcaption{font-size:10px;line-height:1.8;color:#776448;margin-top:10px}
.bazi-material-story h2{font-size:20px;line-height:1.5;font-weight:500;margin-bottom:13px}
.bazi-material-story>p{font-size:13px;line-height:1.9;color:#625b54;margin-bottom:17px}
.bazi-material-story>a{font-size:12px;line-height:1.7;text-decoration:underline;text-underline-offset:5px}
.bazi-result{padding:48px 0 12px;scroll-margin-top:28px;max-width:100%}
.bazi-result>header{margin-bottom:30px;max-width:780px}
.bazi-result>header p:not(.bazi-eyebrow){font-size:14px;line-height:1.8;color:var(--bazi-secondary);margin-top:12px}
#bazi-result-body{min-width:0}
#bazi-result-body>section{margin-bottom:42px}
#bazi-result-body h3{font-size:22px;font-weight:600;line-height:1.5;letter-spacing:-.01em;margin:28px 0 16px}
#bazi-result-body h4{font-size:16px;font-weight:600;line-height:1.6;margin:22px 0 12px}
#bazi-result-body p{font-size:14px;line-height:1.9;max-width:840px;margin:12px 0}
#bazi-result-body ul{padding-left:20px;font-size:14px;line-height:1.85;max-width:840px}
#bazi-result-body dl{margin:0;font-size:14px;line-height:1.9}
#bazi-result-body dl>div{display:grid;grid-template-columns:minmax(120px,.7fr) minmax(0,2fr);gap:16px;margin:7px 0}
#bazi-result-body dt{color:var(--bazi-secondary)}
#bazi-result-body dd{margin:0;overflow-wrap:anywhere}
.bazi-table-scroll{overflow-x:auto;max-width:100%;overscroll-behavior-inline:contain;scrollbar-width:thin;padding-bottom:8px}
#bazi-result-body table{border-collapse:collapse;width:100%;font-size:14px;line-height:1.75;text-align:left}
#bazi-result-body th,#bazi-result-body td{padding:13px 14px 13px 0;vertical-align:top;border:0;border-bottom:1px solid #e7e2dc}
#bazi-result-body thead th{font-weight:600;color:var(--bazi-secondary)}
#bazi-result-body tbody th{font-weight:500;color:var(--bazi-secondary)}
#bazi-result-body .bazi-pillars{table-layout:fixed;min-width:520px}
#bazi-result-body .bazi-pillars td{font-size:17px}
.bazi-pillar-han{display:block;font-size:30px;line-height:1.5;font-weight:600}
.bazi-stem-reading{display:block;font-size:12px;color:var(--bazi-secondary)}
.bazi-cycle-table{min-width:650px}
.bazi-element-list,.bazi-elements{display:flex;gap:24px 40px;flex-wrap:wrap;margin:22px 0;padding:0;list-style:none}
.bazi-element-list>li,.bazi-elements>div{display:flex;gap:12px;align-items:baseline;padding:0}
.bazi-element-list strong,.bazi-elements strong{font-size:26px;font-weight:600;line-height:1.3}
.bazi-element-list span,.bazi-elements span{font-size:14px}
.bazi-element-meter{max-width:480px}
.bazi-element-meter>div{display:grid;grid-template-columns:75px 1fr 40px;align-items:center;gap:16px;margin:12px 0;font-size:14px}
.bazi-element-meter meter{width:100%;height:10px;accent-color:var(--accent)}
.bazi-result-note{color:var(--bazi-secondary);font-size:13px!important;line-height:1.9!important;max-width:780px}

.bazi-reading{margin:76px 0 0;max-width:1120px}
.bazi-reading>header{margin-bottom:38px;max-width:720px}
.bazi-reading-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 64px}
.bazi-reading-columns>section{margin:0 0 12px}
.bazi-reading h3{font-size:21px;line-height:1.6;font-weight:500;margin-bottom:16px;color:#2f4a39}
.bazi-reading p{font-size:14px;line-height:1.95;color:#49483f;margin:0 0 16px}
.bazi-faq{max-width:830px;margin-top:35px}
.bazi-faq details{padding:8px 0}.bazi-faq summary{font-size:14px;line-height:1.8;cursor:pointer;padding:4px 0 10px}.bazi-faq details p{font-size:14px;margin:0 0 12px}
.bazi-related{max-width:900px;margin-top:45px}.bazi-related h2{font-size:22px;line-height:1.5;margin-bottom:20px;font-weight:500}.bazi-related>a{font-size:14px;display:inline-flex;gap:12px;align-items:center;margin:0 28px 16px 0;line-height:1.7}.bazi-related>a:hover{text-decoration:underline;text-underline-offset:5px}
.bazi-element-composition{display:grid;grid-template-columns:minmax(240px,.9fr) minmax(0,1.5fr);gap:48px;align-items:center;margin:26px 0}
.bazi-element-ring{width:100%;max-width:340px;margin:0 auto}.bazi-element-ring svg{width:100%;height:auto;display:block}.bazi-element-data{min-width:0}
.bazi-pillars [data-element=wood]{color:var(--bazi-wood)}.bazi-pillars [data-element=fire]{color:var(--bazi-fire)}.bazi-pillars [data-element=earth]{color:var(--bazi-earth)}.bazi-pillars [data-element=metal]{color:var(--bazi-metal)}.bazi-pillars [data-element=water]{color:var(--bazi-water)}
@media(max-width:1000px){.bazi-input-layout{grid-template-columns:minmax(0,1fr) 210px;gap:36px}.bazi-date-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 24px}.bazi-opening{gap:25px;margin-bottom:36px}.bazi-heading h1{font-size:38px}.bazi-cycle-figure{max-width:330px}.bazi-material-story{padding-top:38px}.bazi-reading-columns{gap:26px 38px}}
@media(max-width:768px){.bazi-wrap{padding:0 25px}.bazi-opening{grid-template-columns:1.15fr 1fr;gap:8px}.bazi-heading h1{font-size:32px}.bazi-intro{font-size:15px;line-height:1.8;margin-top:20px}.bazi-privacy{font-size:11px;margin-top:18px}.bazi-cycle-figure figcaption{font-size:10px}.bazi-input-layout{grid-template-columns:1fr}.bazi-input-section{max-width:none}.bazi-material-story{display:grid;grid-template-columns:210px 1fr;column-gap:28px;max-width:none;padding-top:10px;margin-top:12px;align-content:start}.bazi-material-story figure{grid-row:1/5;margin:0}.bazi-material-story h2{align-self:end;margin-top:10px}.bazi-material-story>a{align-self:start}.bazi-reading{margin-top:48px}.bazi-element-composition{grid-template-columns:240px minmax(0,1fr);gap:22px}.bazi-form-heading h2,.bazi-result>header h2,.bazi-reading>header h2{font-size:26px}.bazi-date-fields{grid-template-columns:1.1fr .9fr .9fr 1.25fr;gap:16px}}
@media(max-width:560px){.bazi-wrap{padding:0 20px}.bazi-page .breadcrumbs{font-size:10px;gap:8px;padding-top:18px}.bazi-opening{display:block;margin:8px 0 26px}.bazi-heading{padding:19px 0 0}.bazi-heading h1{font-size:34px;line-height:1.25}.bazi-eyebrow{font-size:10px;margin-bottom:16px}.bazi-intro{font-size:14px;line-height:1.85;margin-top:18px}.bazi-privacy{font-size:10px;line-height:1.8;margin-top:14px}.bazi-cycle-figure{max-width:270px;margin:4px auto 0}.bazi-cycle-figure svg{max-height:228px}.bazi-cycle-figure figcaption{max-width:275px;font-size:9px}.bazi-form-heading{margin-bottom:23px}.bazi-form-heading h2,.bazi-result>header h2,.bazi-reading>header h2{font-size:25px}.bazi-form-heading>p:last-child{font-size:13px}.bazi-section-no{font-size:9px;margin-bottom:8px}.bazi-date-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 20px}.bazi-date-top>.bazi-field{width:155px}.bazi-field input,.bazi-field select{font-size:16px;min-height:46px}.bazi-field>label{font-size:12px}.bazi-page fieldset{margin-bottom:25px}.bazi-page legend{font-size:14px;margin-bottom:12px}.bazi-hint{font-size:10px!important}.bazi-location-fields{grid-template-columns:1fr;gap:18px}.bazi-two-fields{gap:20px}.bazi-form-actions,.bazi-result-actions{gap:15px}.bazi-page .button{font-size:13px;padding:12px 18px}.bazi-form-actions>.button{flex:1}.bazi-text-button{font-size:11px}.bazi-material-story{grid-template-columns:140px 1fr;gap:0 20px;margin-top:0}.bazi-material-story h2{font-size:17px;margin-top:0;margin-bottom:8px}.bazi-material-story>p{font-size:11px;line-height:1.85;margin-bottom:13px}.bazi-material-story>a{font-size:10px}.bazi-material-story figcaption{font-size:9px}.bazi-reading-columns{display:block}.bazi-reading-columns>section{margin-bottom:30px}.bazi-reading h3{font-size:20px}.bazi-reading p{font-size:14px}.bazi-faq{margin-top:25px}.bazi-faq summary{font-size:13px}.bazi-related h2{font-size:21px}.bazi-related>a{display:flex;font-size:13px;width:fit-content;margin-right:0}.bazi-element-composition{display:block}.bazi-element-ring{max-width:265px;margin:0 auto 24px}.bazi-element-data{width:100%}#bazi-result-body dl>div{grid-template-columns:minmax(90px,.8fr) minmax(0,1.5fr);gap:12px}#bazi-result-body dl{font-size:12px}#bazi-result-body table{font-size:12px}#bazi-result-body .bazi-pillars{min-width:460px}.bazi-pillar-han{font-size:27px}}
@media(max-width:360px){.bazi-heading h1{font-size:30px}.bazi-material-story{grid-template-columns:110px 1fr;column-gap:16px}.bazi-material-story h2{font-size:16px}.bazi-material-story img{aspect-ratio:3/4}.bazi-date-fields{column-gap:15px}.bazi-two-fields{grid-template-columns:1fr}}
@media print{.bazi-page .breadcrumbs,.bazi-input-layout,.bazi-reading,.bazi-related,.bazi-result-actions,.bazi-privacy,.bazi-source-context,.bazi-cycle-figure{display:none}.bazi-wrap{max-width:none;padding:0}.bazi-opening{display:block;margin:0}.bazi-heading{padding:0 0 20px}.bazi-heading h1{font-size:25px}.bazi-intro{font-size:12px}.bazi-result{padding-top:0}.bazi-result h3{break-after:avoid}.bazi-table-scroll{overflow:visible}.bazi-result tr{break-inside:avoid}.bazi-cycle-table,#bazi-result-body .bazi-pillars{min-width:0}}
.bazi-hidden-stem{display:block;margin-bottom:10px;font-size:14px}.bazi-hidden-stem small{display:block;color:#675d55;font-size:12px}.bazi-master strong,.bazi-reference-summary{font-size:20px;font-weight:500}.bazi-table-hint{font-size:11px!important;color:#746b62;margin-bottom:8px!important}.bazi-product-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;margin-top:25px}.bazi-product-list img{height:auto;aspect-ratio:3/4;object-fit:cover}.bazi-product-list h4{font-size:15px!important;font-weight:400!important;margin-top:15px!important;margin-bottom:7px!important}.bazi-product-list p{font-size:12px!important;margin:7px 0!important}.bazi-product-list span{font-size:14px}.bazi-recommendations>p>a{text-decoration:underline;text-underline-offset:4px}@media(max-width:700px){.bazi-product-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 16px}.bazi-hidden-stem{font-size:12px}.bazi-hidden-stem small{font-size:11px}.bazi-master strong,.bazi-reference-summary{font-size:18px}}@media(min-width:900px){.bazi-table-hint{display:none}}@media print{.bazi-product-list{display:none}.site-footer,.service-strip,.store-header,.utility-bar,.floating-chat,.skip-link,dialog,.toast{display:none!important}}

.bazi-settings{margin-bottom:28px}.bazi-settings summary{cursor:pointer;font-size:13px;line-height:1.9;color:#675d55;padding:8px 0}.bazi-settings dl{margin-top:17px!important}.bazi-settings ul{margin-top:18px}.bazi-settings+section h3{margin-top:12px!important}
.bazi-ring-master{font:500 48px Arial,'PingFang SC','PingFang TC',sans-serif}.bazi-ring-label{font:12px Arial,'PingFang SC','PingFang TC',sans-serif;fill:#645d54}.bazi-element-name{display:inline-flex;align-items:center;gap:10px}.bazi-element-name i{display:inline-block;width:9px;height:9px}.bazi-element-name [data-element=wood]{background:#315f4d}.bazi-element-name [data-element=fire]{background:#b95837}.bazi-element-name [data-element=earth]{background:#a07f44}.bazi-element-name [data-element=metal]{background:#676d71}.bazi-element-name [data-element=water]{background:#344d67}.bazi-auto-note{color:#315f4d!important}

.bazi-cycle-en{fill:#615a52}
