/* Resident pillar charts: traditional characters, aligned rows, restrained color. */
:is(.fs-lite-shell,.fs-storefront-tools) #pp-natal-card .fsm-nc-wrap{overflow-x:auto;border:0;border-radius:0;background:#fff}
:is(.fs-lite-shell,.fs-storefront-tools) .fsm-pillar-table{width:100%;border-collapse:collapse;table-layout:fixed;color:var(--lite-ink);font-size:12px}
:is(.fs-lite-shell,.fs-storefront-tools) .fsm-natal-table{min-width:530px}
:is(.fs-lite-shell,.fs-storefront-tools) .fsm-pillar-table caption{position:absolute}
:is(.fs-lite-shell,.fs-storefront-tools) .fsm-pillar-table th,:is(.fs-lite-shell,.fs-storefront-tools) .fsm-pillar-table td{border:1px solid var(--lite-line);text-align:center;vertical-align:middle}
:is(.fs-lite-shell,.fs-storefront-tools) .fsm-pillar-table thead th{padding:12px 8px;background:var(--matrix-brand-dark);border-color:var(--matrix-brand-dark);color:#fff5e7;font-size:13px;font-weight:500}
:is(.fs-lite-shell,.fs-storefront-tools) .fsm-pillar-table .fsm-pillar-corner{width:94px}
:is(.fs-lite-shell,.fs-storefront-tools) .fsm-pillar-table td{padding:22px 12px;background:#fff}
:is(.fs-lite-shell,.fs-storefront-tools) .fsm-pillar-symbol{display:block;font-family:'Noto Serif','Songti SC','SimSun',serif;font-size:48px;line-height:1.3;font-weight:600;color:#342b29}
:is(.fs-lite-shell,.fs-storefront-tools) .fsm-pillar-roman{display:block;margin-top:6px;font-size:12px;line-height:1.5;color:#967333;font-weight:500}
:is(.fs-lite-shell,.fs-storefront-tools) .fsm-pillar-caption{display:block;margin-top:3px;font-size:11px;line-height:1.6;color:var(--lite-muted);font-weight:400}
:is(.fs-lite-shell,.fs-storefront-tools) .fsm-pillar-row-label{padding:12px 8px;background:#fcfaf5;color:var(--lite-muted);font-size:10px;line-height:1.6;font-weight:500}
:is(.fs-lite-shell,.fs-storefront-tools) .fsm-pillar-row-label>span{display:block;font-family:'Noto Serif',serif;font-size:16px;line-height:1.6;color:var(--lite-ink-soft);margin-bottom:5px}
:is(.fs-lite-shell,.fs-storefront-tools) .fsm-pillar-hidden{display:flex;justify-content:center;align-items:flex-start;gap:16px}
:is(.fs-lite-shell,.fs-storefront-tools) .fsm-pillar-hidden>span{flex:1;min-width:0}
:is(.fs-lite-shell,.fs-storefront-tools) .fsm-pillar-symbol.is-small{font-size:27px}
:is(.fs-lite-shell,.fs-storefront-tools) .fsm-pillar-hidden .fsm-pillar-roman{font-size:10px}
:is(.fs-lite-shell,.fs-storefront-tools) .fsm-pillar-hidden .fsm-pillar-caption{font-size:9px}
:is(.fs-lite-shell,.fs-storefront-tools) #pp-luck-card .fsm-luck-scroll{margin:0;padding:0;overflow-x:auto;border:1px solid var(--lite-line);border-radius:10px;scrollbar-width:thin;overscroll-behavior-inline:contain}
:is(.fs-lite-shell,.fs-storefront-tools) .fsm-luck-table{min-width:1000px}
:is(.fs-lite-shell,.fs-storefront-tools) .fsm-luck-table thead th{position:relative;padding:12px 6px}
:is(.fs-lite-shell,.fs-storefront-tools) .fsm-luck-table thead small{display:block;margin-top:5px;font-size:10px;font-weight:400;color:#e6d7ca}
:is(.fs-lite-shell,.fs-storefront-tools) .fsm-luck-table thead th.is-current{background:#c7a34e;color:#2b2118;border-color:#c7a34e}
:is(.fs-lite-shell,.fs-storefront-tools) .fsm-luck-table thead th.is-current small{color:#493819}
:is(.fs-lite-shell,.fs-storefront-tools) .fsm-luck-table td.is-current{background:#faf6eb}
:is(.fs-lite-shell,.fs-storefront-tools) .fsm-current-period{display:block;margin-top:4px;font-size:9px;font-weight:600}
:is(.fs-lite-shell,.fs-storefront-tools) .fsm-luck-table .fsm-pillar-symbol{font-size:36px}
:is(.fs-lite-shell,.fs-storefront-tools) .fsm-luck-table .fsm-pillar-hidden{gap:5px}
:is(.fs-lite-shell,.fs-storefront-tools) .fsm-luck-table .fsm-pillar-symbol.is-small{font-size:21px}
:is(.fs-lite-shell,.fs-storefront-tools) .fsm-luck-table td{padding:18px 6px}
:is(.fs-lite-shell,.fs-storefront-tools) .fsm-balance-disclosure{margin-top:22px;border-top:1px solid var(--lite-line);padding-top:16px}
:is(.fs-lite-shell,.fs-storefront-tools) .fsm-balance-disclosure summary{font-size:13px;font-weight:500;color:var(--lite-muted);cursor:pointer}
:is(.fs-lite-shell,.fs-storefront-tools) .fsm-balance-disclosure summary:focus-visible{outline:2px solid var(--lite-gold);outline-offset:4px}
:is(.fs-lite-shell,.fs-storefront-tools) .fsm-balance-disclosure .fsm-nc-strength-h{display:none}
@media(max-width:600px){:is(.fs-lite-shell,.fs-storefront-tools) .fsm-natal-table{min-width:500px}:is(.fs-lite-shell,.fs-storefront-tools) .fsm-pillar-table .fsm-pillar-corner{width:76px}:is(.fs-lite-shell,.fs-storefront-tools) .fsm-pillar-table td{padding:18px 8px}:is(.fs-lite-shell,.fs-storefront-tools) .fsm-pillar-symbol{font-size:40px}:is(.fs-lite-shell,.fs-storefront-tools) .fsm-pillar-hidden{gap:8px}}

:is(.fs-lite-shell,.fs-storefront-tools) .fsm-pillar-scroll{overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin;max-width:100%}
