/* Scoped copper chart: overflow remains inside each labelled scroll region. */
.wcv-chart{min-width:0;max-width:100%;color:#503d2b;font:13px/1.6 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif}
.wcv-chart *{box-sizing:border-box}
.wcv-copper{min-width:0;max-width:100%;padding:18px;border:1px solid #b9a17c;border-radius:8px;background:linear-gradient(135deg,#f9f0df,#f0e1c8 50%,#f7ebd7);box-shadow:inset 0 0 0 4px #f9efdf,inset 0 0 0 5px #cbb594,0 2px 8px #6b4d2710}
.wcv-heading{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:16px;min-width:0}
.wcv-zodiac{width:42px;height:42px;object-fit:contain}
.wcv-person{display:flex;align-items:baseline;flex-wrap:wrap;gap:7px;min-width:0}
.wcv-person strong{font-family:"Songti SC","SimSun",serif;font-size:23px;line-height:1.4;overflow-wrap:anywhere}
.wcv-person span{font-size:12px;white-space:nowrap;color:#7f694d}
.wcv-dates{display:grid;gap:3px;margin:0 0 0 auto;max-width:100%;font-size:12px}
.wcv-dates>div{display:flex;gap:9px}.wcv-dates dt{flex-shrink:0;color:#846f53}.wcv-dates dd{margin:0;overflow-wrap:anywhere}
.wcv-table-scroll,.wcv-timeline{max-width:100%;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-width:auto;scrollbar-color:#ac8c5f #e7d5b7;-webkit-overflow-scrolling:touch;border:1px solid #c0a77f;border-radius:4px;background:#fffaf033}
.wcv-table-scroll::-webkit-scrollbar,.wcv-timeline::-webkit-scrollbar{height:9px}
.wcv-table-scroll::-webkit-scrollbar-track,.wcv-timeline::-webkit-scrollbar-track{background:#e7d5b7;border-radius:5px}
.wcv-table-scroll::-webkit-scrollbar-thumb,.wcv-timeline::-webkit-scrollbar-thumb{background:#ac8c5f;border-radius:5px;border:2px solid #e7d5b7}
.wcv-table-scroll:focus-visible,.wcv-timeline:focus-visible{outline:2px solid #9d7041;outline-offset:3px}
.wcv-table{width:100%;min-width:560px;border-collapse:collapse;table-layout:auto;background:transparent}
.wcv-table caption{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.wcv-table th,.wcv-table td{min-width:76px;border-right:1px solid #cdb694;border-bottom:1px solid #cdb694;padding:9px 8px;text-align:center;vertical-align:middle;white-space:pre-line;overflow-wrap:anywhere;font-weight:400;line-height:1.7}
.wcv-table th:first-child{min-width:56px;width:56px;font-size:12px;color:#806647;background:#e7d5b730}
.wcv-table thead th{font-size:13px;color:#745a37;background:#dfc9a333}
.wcv-table th:last-child,.wcv-table td:last-child{border-right:0}.wcv-table tbody tr:last-child>*{border-bottom:0}
.wcv-table .wcv-day{background:#b37e4020}.wcv-table thead .wcv-day{font-weight:600;color:#7f3e2c}
.wcv-table .wcv-big-row td{font-family:"Songti SC","SimSun",serif;font-size:26px;line-height:1.45;padding:8px}
.wcv-table .wcv-multiline-row td{font-size:12px;line-height:1.9;vertical-align:top}
.wcv-chart .wcv-wood{color:#257255}.wcv-chart .wcv-fire{color:#b64232}.wcv-chart .wcv-earth{color:#986128}.wcv-chart .wcv-metal{color:#6a6051}.wcv-chart .wcv-water{color:#32659a}.wcv-chart .wcv-plain{color:#5f432b}
.wcv-yun{display:flex;align-items:baseline;flex-wrap:wrap;gap:5px 14px;margin:12px 0 16px;font-size:12px;color:#7a6243}
.wcv-yun .wcv-flow{margin-left:auto;border:1px solid #baa17c;border-radius:50%;min-width:25px;padding:1px 5px;text-align:center}
.wcv-cycles{min-width:0}.wcv-cycle-section{min-width:0;margin-top:15px}.wcv-cycle-section h4{margin:0 0 7px;font-size:13px;font-weight:600;color:#735a3c}
.wcv-timeline{display:flex;align-items:stretch;gap:6px;padding:8px 8px 10px;scroll-padding:8px}
.wcv-chart .wcv-cycle{display:flex;flex:0 0 74px;flex-direction:column;align-items:center;gap:2px;min-height:124px;margin:0;padding:8px 5px;border:1px solid #c7af89;border-radius:4px;background:#fff8eb80;color:#60482c;font:inherit;cursor:pointer}
.wcv-chart .wcv-cycle.is-selected{border-color:#9a6242;box-shadow:inset 0 0 0 1px #9a6242;background:#e8cba580}
.wcv-chart .wcv-cycle:disabled{opacity:1;cursor:default}.wcv-chart .wcv-cycle:focus-visible{outline:2px solid #9d7041;outline-offset:2px}
.wcv-cycle-year{font-size:12px;font-weight:600;white-space:nowrap}.wcv-cycle-sub{font-size:10px;color:#8b7250;min-height:16px;white-space:nowrap}
.wcv-cycle-gz{display:flex;align-items:center;justify-content:center;gap:4px;min-height:26px}.wcv-cycle-gz b{font:23px/1.3 "Songti SC","SimSun",serif}.wcv-cycle-gz small{font-size:11px;min-width:11px}
.wcv-year-control{display:flex;align-items:center;gap:10px;margin:17px 0 0;font-size:12px;color:#735a3c}
.wcv-chart .wcv-year-control input{width:105px;max-width:100%;min-height:36px;padding:6px 9px;border:1px solid #bea47d;border-radius:4px;background:#fff9ee;color:#60482c;font:inherit;font-size:16px;line-height:1.4}
.wcv-year-control input:focus-visible{outline:2px solid #9d7041;outline-offset:2px}
.wcv-season{margin:14px 0 0;padding:10px 0;border-top:1px solid #cbb594;color:#7e6749;font-size:12px;overflow-wrap:anywhere}
.wcv-relations{display:grid;gap:7px;margin:12px 0 0;padding-top:12px;border-top:1px solid #cbb594;font-size:12px}.wcv-relations>div{display:grid;grid-template-columns:60px minmax(0,1fr);gap:8px}.wcv-relations dt{color:#806647}.wcv-relations dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.wcv-muted,.wcv-empty{margin:8px 0;color:#8c7659;font-size:12px;line-height:1.8;overflow-wrap:anywhere}
@media(max-width:600px){.wcv-copper{padding:14px}.wcv-heading{gap:9px}.wcv-dates{width:100%;margin-left:0}.wcv-person strong{font-size:21px}.wcv-table{min-width:540px}.wcv-chart .wcv-cycle{flex-basis:70px}}
