.bazi-pro-panel.free-bazi-chart,.ziwei-pro-panel.free-ziwei-chart{--chart-paper:#fffdf8;--chart-line:#e8dbc4;--chart-ink:#3e332a;--chart-muted:#756451;--chart-accent:#983f32;margin:28px 0 0;padding:28px;overflow:visible;color:var(--chart-ink);background:var(--chart-paper);border:1px solid var(--chart-line);border-radius:16px;box-shadow:0 7px 25px #6d4c1810}.bazi-pro-panel.free-bazi-chart:before,.ziwei-pro-panel.free-ziwei-chart:before{display:none}.free-bazi-chart .free-chart-heading,.free-ziwei-chart .free-chart-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.free-bazi-chart .free-chart-eyebrow,.free-ziwei-chart .free-chart-eyebrow{color:#947143;font-size:14px;font-weight:600;letter-spacing:.08em}.free-bazi-chart .free-chart-heading h3,.free-ziwei-chart .free-chart-heading h3{margin:7px 0;color:var(--chart-accent);font:700 clamp(23px,3vw,30px)/1.35 var(--serif,serif)}.free-bazi-chart .free-chart-heading p,.free-ziwei-chart .free-chart-heading p{margin:0;color:var(--chart-muted);font-size:16px;line-height:1.65}.free-bazi-chart .free-chart-badge,.free-ziwei-chart .free-chart-badge{flex:0 0 auto;padding:6px 10px;color:#7b572a;border:1px solid #e2cfad;border-radius:5px;background:#f7efdf;font-size:14px;line-height:1.6}.free-bazi-chart .free-chart-time{margin:22px 0 16px;border-block:1px solid var(--chart-line)}.free-bazi-chart .free-chart-time summary{display:flex;align-items:center;gap:8px;padding:12px 0;color:var(--chart-muted);font-size:14px;cursor:pointer;list-style:none}.free-bazi-chart .free-chart-time summary::-webkit-details-marker{display:none}.free-bazi-chart .free-chart-time summary span{flex:1 1}.free-bazi-chart .free-chart-time summary svg{flex:0 0 auto}.free-bazi-chart .free-chart-time[open] summary>svg:last-child{transform:rotate(180deg)}.free-bazi-chart .free-chart-time p{margin:0 0 14px;color:var(--chart-muted);font-size:14px;line-height:1.7}.free-bazi-chart .free-bazi-table-wrap{overflow:hidden;border:1px solid var(--chart-line);border-radius:9px}.free-bazi-chart .free-bazi-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:15px;text-align:center}.free-bazi-chart .free-bazi-table td,.free-bazi-chart .free-bazi-table th{padding:13px 8px;border-bottom:1px solid var(--chart-line);border-right:1px solid var(--chart-line);line-height:1.65;overflow-wrap:anywhere}.free-bazi-chart .free-bazi-table tr>:first-child{width:76px;color:var(--chart-muted);background:#f7f1e6;font-size:14px;font-weight:500}.free-bazi-chart .free-bazi-table tr>:last-child{border-right:0}.free-bazi-chart .free-bazi-table tbody tr:last-child>*{border-bottom:0}.free-bazi-chart .free-bazi-table thead th{color:#685237;background:#f5ead6;font-size:16px;font-weight:700}.free-bazi-chart .free-bazi-table th small{display:block;margin-top:1px;font-size:12px;font-weight:500}.free-bazi-chart .free-bazi-table .is-day-master{color:var(--chart-accent);background:#fbefe5}.free-bazi-chart .free-bazi-table .is-branch td,.free-bazi-chart .free-bazi-table .is-stem td{padding-block:12px;font:700 32px/1.3 var(--serif,serif)}.free-bazi-chart .free-bazi-table .is-hidden-gods td{font-size:14px}.free-bazi-chart .free-chart-unknown{color:#8b8174;font-size:13px;font-weight:400;line-height:1.6}.free-bazi-chart .free-chart-note{margin:12px 0 0;color:var(--chart-muted);font-size:14px}.free-bazi-chart .free-bazi-elements{display:grid;grid-template-columns:minmax(180px,1fr) minmax(250px,1.35fr);gap:32px;margin-top:28px;align-items:center}.free-bazi-chart .free-bazi-element-summary h4{margin:7px 0 14px;color:var(--chart-accent);font-size:22px;line-height:1.4}.free-bazi-chart .free-bazi-element-summary p{display:flex;gap:16px;margin:7px 0;color:var(--chart-muted);font-size:15px}.free-bazi-chart .free-bazi-element-summary strong{color:var(--chart-ink);font-weight:600}.free-bazi-chart .free-bazi-element-bars{display:grid;gap:12px}.free-bazi-chart .free-element-row{--element-color:#9b6e4b;display:grid;grid-template-columns:82px 1fr 34px;gap:12px;align-items:center}.free-bazi-chart .free-element-row[data-element="木"]{--element-color:#5c8664}.free-bazi-chart .free-element-row[data-element="火"]{--element-color:#bc5c48}.free-bazi-chart .free-element-row[data-element="土"]{--element-color:#ab8247}.free-bazi-chart .free-element-row[data-element="金"]{--element-color:#b39a55}.free-bazi-chart .free-element-row[data-element="水"]{--element-color:#5b839c}.free-bazi-chart .free-element-name{display:flex;align-items:center;gap:8px;color:var(--element-color);font-size:18px;font-weight:700}.free-bazi-chart .free-element-name small{color:var(--chart-muted);font-size:13px;font-weight:400}.free-bazi-chart .free-element-track{height:9px;overflow:hidden;background:#eee7db;border-radius:20px}.free-bazi-chart .free-element-track i{display:block;height:100%;border-radius:inherit;background:var(--element-color)}.free-bazi-chart .free-element-row>strong{color:var(--chart-muted);font-size:14px;text-align:right;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.free-ziwei-chart .free-ziwei-birth{display:flex;flex-wrap:wrap;gap:8px 22px;margin-top:20px;padding:13px 16px;color:var(--chart-muted);background:#f8f1e4;border-radius:6px;font-size:14px}.free-ziwei-chart .free-ziwei-birth strong{color:var(--chart-ink);font-weight:500}.free-ziwei-chart .free-ziwei-mobile-core{display:none}.free-ziwei-chart .free-ziwei-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(4,minmax(158px,auto));gap:1px;margin-top:20px;padding:1px;background:var(--chart-line);border-radius:8px;overflow:hidden}.free-ziwei-chart .free-palace-button{min-width:0;padding:13px 12px;display:flex;flex-direction:column;align-items:stretch;gap:9px;color:var(--chart-ink);background:var(--chart-paper);border:0;border-radius:0;font-family:inherit;text-align:left;cursor:pointer;transition:background-color .15s ease}.free-ziwei-chart .free-palace-button:hover{background:#f8f0e1}.free-ziwei-chart .free-palace-button.is-selected{background:#f9e9dd;box-shadow:inset 0 0 0 2px #ad624c}.free-ziwei-chart .free-palace-button:focus-visible{position:relative;z-index:1;outline:3px solid var(--chart-accent);outline-offset:-4px}.free-ziwei-chart .free-palace-top{display:flex;gap:6px;align-items:baseline;flex-wrap:wrap;color:#8c755b;font-size:13px}.free-ziwei-chart .free-palace-top>strong{color:var(--chart-accent);font:700 18px/1.3 var(--serif,serif)}.free-ziwei-chart .free-palace-top>em{padding:1px 4px;color:#8d5238;background:#f4e6cd;border-radius:3px;font-style:normal;font-size:12px}.free-ziwei-chart .free-palace-stars{display:flex;flex-wrap:wrap;gap:6px 10px}.free-ziwei-chart .free-palace-stars b{display:inline-flex;align-items:baseline;flex-wrap:wrap;gap:4px;color:#664531;font-size:16px;line-height:1.4}.free-ziwei-chart .free-palace-stars em{color:var(--chart-accent);font-style:normal;font-size:13px}.free-ziwei-chart .free-palace-stars small{color:var(--chart-muted);font-size:12px;font-weight:400}.free-ziwei-chart .free-palace-empty{color:var(--chart-muted);font-size:14px;line-height:1.4}.free-ziwei-chart .free-palace-minor{color:var(--chart-muted);font-size:13px;line-height:1.6}.free-ziwei-chart .free-palace-foot{margin-top:auto;color:#957b5c;font-size:13px}.free-ziwei-chart .free-ziwei-center{grid-area:2/2/4/4;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:22px 14px;color:#9a794b;background:#fbf5e9;text-align:center}.free-ziwei-chart .free-ziwei-center>span{margin:9px 0 5px;font-size:14px;letter-spacing:.14em}.free-ziwei-chart .free-ziwei-center>strong{color:var(--chart-accent);font:700 clamp(21px,2.6vw,30px)/1.5 var(--serif,serif)}.free-ziwei-chart .free-ziwei-center>p{margin:10px 0 18px;color:var(--chart-muted);font-size:14px;line-height:1.7}.free-ziwei-chart .free-ziwei-center dl{width:min(100%,250px);display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0}.free-ziwei-chart .free-ziwei-center dl>div{display:flex;justify-content:center;gap:10px;font-size:14px}.free-ziwei-chart .free-ziwei-center dt{color:var(--chart-muted)}.free-ziwei-chart .free-ziwei-center dd{margin:0;color:var(--chart-accent);font-weight:600}.free-ziwei-chart .free-palace-detail{margin-top:20px;padding:20px;background:#fbf5e9;border:1px solid var(--chart-line);border-radius:9px}.free-ziwei-chart .free-palace-detail>header{display:flex;justify-content:space-between;align-items:center;gap:12px}.free-ziwei-chart .free-palace-detail h4{margin:5px 0 0;display:flex;align-items:center;gap:10px;color:var(--chart-accent);font:700 24px/1.4 var(--serif,serif)}.free-ziwei-chart .free-palace-detail h4 small{font:400 14px/1.4 sans-serif;color:#8d6e48}.free-ziwei-chart .free-palace-detail>header>span{color:var(--chart-muted);font-size:14px}.free-ziwei-chart .free-palace-detail>p{margin:10px 0 16px;color:var(--chart-muted);font-size:16px}.free-ziwei-chart .free-palace-detail dl{margin:0;display:grid;gap:12px}.free-ziwei-chart .free-palace-detail dl>div{display:grid;grid-template-columns:36px 1fr;align-items:baseline;gap:14px}.free-ziwei-chart .free-palace-detail dt{color:var(--chart-muted);font-size:14px}.free-ziwei-chart .free-palace-detail dd{display:flex;flex-wrap:wrap;gap:7px;margin:0}.free-ziwei-chart .free-palace-detail dd>span{padding:5px 9px;background:var(--chart-paper);border:1px solid var(--chart-line);border-radius:4px;color:var(--chart-ink);font-size:15px;line-height:1.5}.free-ziwei-chart .free-ziwei-mutagens{margin-top:24px}.free-ziwei-chart .free-ziwei-mutagens h4{display:flex;align-items:center;gap:8px;margin:0 0 12px;color:var(--chart-accent);font-size:18px}.free-ziwei-chart .free-ziwei-mutagens>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.free-ziwei-chart .free-ziwei-mutagens article{display:flex;flex-direction:column;align-items:center;gap:6px;padding:13px 8px;border:1px solid var(--chart-line);border-radius:7px}.free-ziwei-chart .free-ziwei-mutagens article>span{color:var(--chart-accent);font-size:14px}.free-ziwei-chart .free-ziwei-mutagens article>strong{color:var(--chart-ink);font-size:18px}.free-ziwei-chart .free-ziwei-mutagens article>small{color:var(--chart-muted);font-size:14px}@media (max-width:760px){.bazi-pro-panel.free-bazi-chart,.ziwei-pro-panel.free-ziwei-chart{padding:20px 16px}.free-bazi-chart .free-bazi-elements{grid-template-columns:1fr;gap:20px}.free-bazi-chart .free-bazi-element-summary p{display:inline-flex;margin-right:20px}.free-ziwei-chart .free-palace-button{padding:10px 8px}}@media (max-width:600px){.bazi-pro-panel.free-bazi-chart,.ziwei-pro-panel.free-ziwei-chart{margin-top:20px;padding:18px 12px;border-radius:10px}.free-bazi-chart .free-chart-heading,.free-ziwei-chart .free-chart-heading{gap:8px}.free-bazi-chart .free-chart-heading h3,.free-ziwei-chart .free-chart-heading h3{font-size:23px}.free-bazi-chart .free-chart-badge,.free-ziwei-chart .free-chart-badge{padding:4px 6px;font-size:12px}.free-bazi-chart .free-bazi-table td,.free-bazi-chart .free-bazi-table th{padding:10px 3px;font-size:14px}.free-bazi-chart .free-bazi-table tr>:first-child{width:48px;padding-inline:3px;font-size:12px}.free-bazi-chart .free-bazi-table thead th{font-size:15px}.free-bazi-chart .free-bazi-table .is-branch td,.free-bazi-chart .free-bazi-table .is-stem td{font-size:28px}.free-bazi-chart .free-bazi-table .is-hidden-gods td{font-size:13px}.free-bazi-chart .free-element-row{gap:9px;grid-template-columns:78px 1fr 32px}.free-ziwei-chart .free-ziwei-birth{padding:12px;display:grid;gap:7px}.free-ziwei-chart .free-ziwei-mobile-core{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0;color:var(--chart-muted);font-size:14px}.free-ziwei-chart .free-ziwei-mobile-core strong{margin-left:4px;color:var(--chart-accent)}.free-ziwei-chart .free-ziwei-grid{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:none;gap:6px;padding:0;background:transparent;overflow:visible}.free-ziwei-chart .free-palace-button{grid-area:auto!important;min-height:112px;padding:10px 8px;border:1px solid var(--chart-line);border-radius:6px;gap:7px}.free-ziwei-chart .free-palace-top{gap:3px 6px}.free-ziwei-chart .free-palace-top>strong{font-size:17px;order:-1;width:100%}.free-ziwei-chart .free-palace-stars{gap:4px}.free-ziwei-chart .free-palace-stars b{font-size:15px;gap:3px}.free-ziwei-chart .free-palace-foot,.free-ziwei-chart .free-palace-minor,.free-ziwei-chart .free-palace-stars small{display:none}.free-ziwei-chart .free-palace-empty{font-size:12px}.free-ziwei-chart .free-ziwei-center{display:none}.free-ziwei-chart .free-palace-detail{padding:16px 12px}.free-ziwei-chart .free-palace-detail dl>div{grid-template-columns:30px 1fr;gap:10px}.free-ziwei-chart .free-palace-detail dd>span{font-size:14px;padding:5px 7px}.free-ziwei-chart .free-ziwei-mutagens>div{gap:6px}.free-ziwei-chart .free-ziwei-mutagens article{padding-inline:4px}.free-ziwei-chart .free-ziwei-mutagens article>strong{font-size:16px}.free-ziwei-chart .free-ziwei-mutagens article>small{font-size:12px}}@media (prefers-reduced-motion:reduce){.free-ziwei-chart .free-palace-button{transition:none}}