:root{--bg:#f4f5f1;--paper:#fff;--ink:#233c33;--muted:#63716a;--line:#dce3db;--green:#22705a;font-family:-apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei',sans-serif;color:var(--ink);background:var(--bg);font-size:14px;font-synthesis:none;scroll-behavior:smooth;scroll-padding-top:24px}*{box-sizing:border-box}body{margin:0}button,select{font:inherit}button,select,summary{cursor:pointer}button{color:inherit}button:focus-visible,a:focus-visible,select:focus-visible,summary:focus-visible,svg:focus-visible{outline:3px solid #74a58a;outline-offset:4px}::selection{background:#cfdfd0}a{color:inherit;text-decoration:none}button{transition:background .15s,color .15s}.site-header{height:78px;border-bottom:1px solid var(--line);padding:0 max(30px,calc((100vw - 1320px)/2));display:flex;align-items:center;gap:50px;background:#f9faf6}.brand{display:flex;align-items:center;gap:10px;font-size:19px;font-weight:650;white-space:nowrap}.brand svg{background:var(--green);stroke:white;stroke-width:2;stroke-linecap:round;fill:none;width:31px;height:34px;border-radius:7px;padding:3px}nav{display:flex;gap:30px;font-size:12px;color:#53665a}nav a{padding:14px 0}nav a:hover{color:var(--green)}.demo-badge{margin-left:auto;border:1px solid #e5d7af;background:#f8f0db;color:#795e2c;font-size:11px;padding:7px 11px;border-radius:5px;white-space:nowrap}main{max-width:1380px;margin:auto;padding:0 30px}.page-title{display:flex;align-items:center;justify-content:space-between;padding:36px 0 21px;gap:24px}h1{font-size:31px;font-weight:600;letter-spacing:-.7px;margin:0 0 9px}p{line-height:1.8}.page-title p{margin:0;font-size:13px;color:var(--muted)}.run-info{text-align:right;font-size:12px;color:#496252}.run-info b{margin:0 8px;font-weight:400;color:#87978c}.run-info small{display:block;margin-top:9px;font-size:11px;color:var(--muted)}.disclosure{font-size:11px;color:#786338;margin-bottom:28px}.drama-summary{display:grid;grid-template-columns:205px 1fr;margin-bottom:30px;border-top:1px solid #b7c9b8;border-bottom:1px solid #b7c9b8;padding:23px 0;gap:20px}.summary-title h2{font-size:16px;margin:3px 0 11px}.summary-title p{font-size:11px;color:var(--muted);line-height:1.8;margin:0}.drama-stats{display:grid;grid-template-columns:1fr 1fr;gap:32px}.drama-stat+.drama-stat{border-left:1px solid var(--line);padding-left:30px}.stat-platform{font-size:12px;margin-bottom:11px;display:flex;gap:7px;align-items:center}.platform-dot{width:6px;height:6px;border-radius:50%;background:#ad4c6b}.platform-dot.dy{background:#4d78a4}.stat-body{display:flex;align-items:flex-start;gap:34px}.number-block{font-variant-numeric:tabular-nums;white-space:nowrap}.number-block strong{font-size:27px;font-weight:580;letter-spacing:-.5px;display:block;line-height:1.2}.number-block small{font-size:11px;color:var(--muted);display:block;margin-top:6px;letter-spacing:0;font-weight:400}.stat-secondary{font-size:11px;color:var(--muted);line-height:1.8}.stat-secondary b{display:block;font-weight:550;font-size:15px;color:#345642}.stat-platform small{margin-left:auto;color:var(--muted);font-size:10px}.stat-note{font-size:10px;color:var(--muted);margin:14px 0 0}.panel{background:var(--paper);border:1px solid var(--line);border-radius:12px;margin-bottom:28px;overflow:hidden}.panel-heading{padding:25px 26px 20px;display:flex;align-items:center;justify-content:space-between;gap:18px}h2{font-size:18px;font-weight:600;margin:0}h3{font-size:14px;font-weight:550;margin:0}.panel-heading p{font-size:12px;color:var(--muted);margin:7px 0 0}.segmented{display:flex;border:1px solid var(--line);border-radius:6px;padding:3px;background:#f7f9f5;flex:none}.segmented button{border:0;border-radius:4px;background:none;color:#5d6b60;font-size:12px;padding:8px 17px;min-height:34px}.segmented button[aria-pressed=true]{background:#e0ebdf;color:#24563b;font-weight:600}.segmented button:hover{background:#e9efe5}.chart-toolbar{display:flex;align-items:center;justify-content:space-between;padding:0 26px 17px;gap:15px}.chart-toolbar>span{font-size:11px;color:var(--muted)}.metric-tabs{background:none;border:0;padding:0;gap:6px}.metric-tabs button{border:1px solid var(--line);font-size:11px;padding:7px 12px}.metric-tabs button[aria-pressed=true]{border-color:#abc6b1;background:#eef4eb}.legend{display:flex;gap:9px;flex-wrap:wrap;padding:0 26px 20px}.legend button{background:white;border:1px solid var(--line);border-radius:5px;padding:7px 10px;display:flex;gap:7px;align-items:center;font-size:11px;min-height:32px}.legend i,.color-dot{display:inline-block;background:var(--series);width:7px;height:7px;border-radius:50%;flex:none}.legend button[aria-pressed=false]{color:#929d95;background:#f6f7f4}.legend button[aria-pressed=false] i{background:#bec7c0}.comparison-layout{display:grid;grid-template-columns:minmax(0,1fr) 218px;padding:0 26px;gap:23px}.chart-wrap{height:280px;position:relative;min-width:0}.chart-wrap svg,.detail-chart svg{width:100%;height:100%;display:block;overflow:visible;touch-action:pan-y}.plot-grid{stroke:#e5eae3;stroke-width:1}.plot-label{fill:#65736a;font-size:11px}.plot-path{fill:none;stroke-width:2.1;stroke-linejoin:round;stroke-linecap:round}.plot-point{stroke:white;stroke-width:1.5}.plot-cursor{stroke:#b1c5b3;stroke-dasharray:4 4}.chart-hit{fill:transparent;cursor:crosshair}.chart-help{font-size:10px;color:var(--muted);margin:8px 0 20px;line-height:1.8}.point-details{border-left:1px solid var(--line);padding-left:20px;font-size:11px}.point-heading{display:flex;flex-direction:column;gap:7px;padding-bottom:14px;border-bottom:1px solid #edf0ea;color:var(--muted)}.point-heading strong{color:#354e3e;font-size:12px;font-weight:550;font-variant-numeric:tabular-nums}.point-row{padding:10px 0;display:grid;grid-template-columns:1fr auto;gap:7px}.point-row .name{display:flex;gap:7px;align-items:center;font-size:11px}.point-row .point-number{text-align:right;font-variant-numeric:tabular-nums;font-size:12px}.point-row small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.point-details>p{font-size:10px;color:var(--muted);line-height:1.8;margin:8px 0 0}.comparison-table-header{border-top:1px solid var(--line);padding:20px 26px 15px;display:flex;justify-content:space-between;gap:14px;align-items:center}.comparison-table-header span{font-size:10px;color:var(--muted)}.table-scroll{overflow:auto;scrollbar-color:#afc3b2 transparent;scrollbar-width:thin}table{width:100%;border-collapse:collapse;text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}th{text-align:right;color:var(--muted);font-size:10px;font-weight:500;padding:12px 20px;background:#f7f9f4;border-top:1px solid #edf0ea;border-bottom:1px solid #edf0ea}td{padding:17px 20px;border-bottom:1px solid #e9ede6;font-size:12px}th:first-child,td:first-child{text-align:left;padding-left:26px}th:last-child,td:last-child{padding-right:26px}tr:last-child td{border-bottom:0}th button{font:inherit;border:0;padding:2px 0;background:none;color:inherit;min-height:24px}th button span{margin-left:5px;color:#829287}.sort-active{color:var(--green);font-weight:650}td .number-block strong{font-size:17px;font-weight:550;letter-spacing:-.2px}td .number-block small{font-size:10px}.term-button{background:none;border:0;font-weight:550;font-size:12px;padding:7px 0;display:flex;align-items:center;gap:8px;color:inherit}.term-button:hover{color:var(--green)}.term-note{color:var(--muted);font-size:10px;display:block;margin:5px 0 0 15px}.drama-row{background:#f1f6ed}.positive{color:#22705a}.negative{color:#a04d52}.muted{color:var(--muted)}.plain-value{font-size:11px;color:#506457;line-height:1.8}.plain-value small{display:block;font-size:10px;color:var(--muted)}.panel-foot{padding:13px 26px;font-size:10px;color:var(--muted);border-top:1px solid var(--line);line-height:1.8}.topic-select{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:11px}select{background:white;border:1px solid var(--line);border-radius:5px;color:#34503e;padding:8px 30px 8px 11px;font-size:12px;min-height:36px}.detail-head{display:flex;align-items:flex-end;justify-content:space-between;padding:0 26px 17px;gap:15px}.detail-head>span{font-size:10px;color:var(--muted)}.detail-head .number-block strong{font-size:23px}.detail-chart{height:205px;margin:0 26px 14px}.daily-records{border-top:1px solid var(--line)}summary{cursor:pointer;padding:17px 26px;font-size:12px;color:#53695a}summary:focus-visible{outline-offset:-4px}.month-section{margin-top:35px;padding-bottom:24px;border-bottom:1px solid var(--line)}.month-heading{display:flex;justify-content:space-between;gap:20px;align-items:center}.month-heading h2{font-size:16px}.month-heading p{font-size:11px;color:var(--muted);margin:8px 0 0}.text-button{background:none;border:0;color:var(--green);font-size:11px;padding:10px 0;min-height:34px}.text-button:hover{text-decoration:underline;text-underline-offset:4px}.month-chart{height:96px;margin:20px 0 11px}.month-bars{height:100%;display:flex;gap:4px;align-items:stretch}.month-day{background:none;border:0;padding:0;flex:1;min-width:0;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:9px}.month-day .bar-well{width:100%;height:70px;display:flex;align-items:flex-end;background:#e8ede5;border-radius:3px;overflow:hidden}.month-day .bar{background:#a9bfab;width:100%;min-height:2px}.month-day.in-range .bar{background:#497d5b}.month-day:hover .bar{background:#2b6545}.month-day > span:last-child{font-size:9px;color:#617366;height:12px}.month-day[aria-pressed=true] .bar-well{outline:2px solid #537c58;outline-offset:2px}.coverage-line{display:flex;justify-content:space-between;gap:15px;font-size:10px;color:var(--muted);line-height:1.8}footer{display:flex;justify-content:space-between;gap:15px;padding:22px 0 30px;font-size:10px;color:var(--muted);line-height:1.8}.empty-chart{display:flex;align-items:center;justify-content:center;height:100%;font-size:12px;color:var(--muted);padding:25px;text-align:center;line-height:1.9}#error{padding:35px;text-align:center;color:#a04d52} [hidden]{display:none!important}
@media(max-width:1100px){.site-header{gap:30px}main{padding:0 24px}.drama-summary{grid-template-columns:160px 1fr}.stat-body{gap:15px}.number-block strong{font-size:24px}.comparison-layout{grid-template-columns:minmax(0,1fr) 190px;gap:15px}.point-details{padding-left:15px}td,th{padding-left:14px;padding-right:14px}}
@media(max-width:760px){.site-header{height:65px;padding:0 18px;gap:14px;flex-wrap:wrap}.brand{font-size:17px}.brand svg{width:27px;height:29px}nav{display:none}.demo-badge{font-size:10px;padding:6px 8px}main{padding:0 16px}.page-title{padding:27px 0 20px;align-items:flex-start;flex-direction:column;gap:15px}h1{font-size:28px}.run-info{text-align:left;display:flex;gap:12px;align-items:center;flex-wrap:wrap}.run-info small{margin:0;font-size:10px}.disclosure{font-size:11px;line-height:1.8;margin-bottom:22px}.drama-summary{display:block;padding:19px 0;margin-bottom:23px}.summary-title{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:17px}.summary-title h2{font-size:15px;margin:0}.summary-title p{font-size:10px;margin:0}.drama-stats{gap:16px}.drama-stat+.drama-stat{padding-left:16px}.stat-platform{font-size:12px;flex-wrap:wrap;gap:5px}.stat-platform small{display:none}.stat-body{display:block}.number-block strong{font-size:25px}.number-block small{font-size:11px}.stat-secondary{margin-top:13px;font-size:11px;display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}.stat-secondary b{font-size:14px}.stat-note{font-size:10px;line-height:1.8}.panel-heading{padding:21px 16px 17px;align-items:flex-start;flex-wrap:wrap}.panel-heading h2{font-size:17px}.panel-heading p{font-size:12px}.panel-heading>.segmented{width:100%}.panel-heading>.segmented button{flex:1;font-size:12px;min-height:38px}.chart-toolbar{padding:0 16px 16px;flex-wrap:wrap;gap:11px}.chart-toolbar>span{font-size:11px}.legend{padding:0 16px 17px;gap:7px}.legend button{font-size:11px;min-height:36px;padding:7px 9px}.comparison-layout{display:block;padding:0 12px}.chart-wrap{height:260px}.chart-help{font-size:11px;margin:8px 4px 17px}.point-details{padding:15px 4px;border-left:0;border-top:1px solid var(--line);margin:0 4px 19px}.point-heading{flex-direction:row;align-items:center;justify-content:space-between;padding-bottom:12px}.point-heading span{font-size:11px}.point-heading strong{font-size:12px}.point-row{padding:7px 0;grid-template-columns:1fr auto}.point-row .name{font-size:12px}.point-row .point-number{font-size:13px;display:flex;align-items:baseline;gap:10px}.point-row small{font-size:11px;margin:0}.point-details>p{font-size:11px}.comparison-table-header{padding:18px 16px 13px;align-items:flex-start;flex-direction:column;gap:7px}.comparison-table-header span{font-size:11px}.table-scroll table{min-width:850px}td .number-block strong{font-size:17px}td .number-block small{font-size:11px}th{font-size:11px}td,th{padding:14px 16px}th:first-child,td:first-child{padding-left:16px}td:first-child,th:first-child{position:sticky;left:0;background:#fff;z-index:1;border-right:1px solid #e5ebe3}th:first-child{background:#f7f9f4}.drama-row td:first-child{background:#f1f6ed}.term-button{font-size:12px}.term-note{font-size:11px}.panel-foot{padding:13px 16px;font-size:11px}.detail-head{padding:0 16px 15px;align-items:flex-start;flex-direction:column;gap:10px}.detail-head>span{font-size:11px}.detail-chart{margin:0 10px 14px;height:220px}.topic-select{font-size:11px}.topic-select select{font-size:12px}.daily-records table{min-width:660px}summary{padding:17px 16px}.month-heading{align-items:flex-start;gap:10px}.month-heading p{font-size:11px}.month-heading h2{font-size:16px}.month-day > span:last-child{font-size:9px}.month-bars{gap:3px}.coverage-line{font-size:11px;flex-direction:column;gap:6px}footer{font-size:10px;flex-direction:column;gap:4px}.panel{margin-bottom:23px}.metric-tabs button{min-height:36px}.month-heading .text-button{white-space:nowrap}}
@media(prefers-reduced-motion:reduce){:root{scroll-behavior:auto}*{transition:none!important}}

.point-heading select{font-size:11px;width:100%;padding:7px 18px 7px 8px;font-variant-numeric:tabular-nums}.swipe-hint{display:none}.text-button:disabled{opacity:.55;cursor:default;text-decoration:none}.point-heading{align-items:stretch}@media(max-width:760px){.point-row .point-number{display:flex;flex-direction:column;align-items:flex-end;gap:4px}.point-heading select{width:auto;max-width:195px;font-size:11px}.point-heading{align-items:center}.swipe-hint{display:inline}.comparison-table-header>span{line-height:1.8}}

.stat-value-label{display:block;color:#63716a;font-size:11px;margin-bottom:7px}.stat-body{display:grid;grid-template-columns:1fr 1fr;gap:20px}.drama-stat>.stat-secondary{display:flex;gap:9px;align-items:baseline;margin-top:13px}.drama-stat>.stat-secondary b{font-size:13px}.stat-note{margin-top:7px}.stat-platform small{display:none}@media(max-width:760px){.stat-body{display:flex;flex-direction:column;gap:15px}.stat-value-label{font-size:11px}.drama-stat>.stat-secondary{gap:5px;font-size:10px;flex-wrap:wrap}.drama-stat>.stat-secondary b{font-size:12px}.table-scroll table{min-width:1050px}.metric-tabs{gap:5px;flex-wrap:wrap}.metric-tabs button{font-size:11px;padding:7px 9px}}

nav a.active{color:#22705a;border-bottom:2px solid #22705a;font-weight:600}.route-page{animation:page-in .18s ease-out}@keyframes page-in{from{opacity:.65}to{opacity:1}}.overview-table .comparison-table-header{border-top:0;padding-top:0}.back-link{display:inline-block;font-size:12px;color:#22705a;margin:22px 26px 0}.history-platform{width:max-content;margin-bottom:25px}.month-section{margin-top:0;background:#fff;border:1px solid #dce3db;border-radius:12px;padding:26px}.history-explanation{font-size:12px;color:#63716a;line-height:1.9;margin-top:25px}.month-chart{height:145px}.month-day .bar-well{height:110px}.site-header nav a{min-height:44px;display:flex;align-items:center}.overview-table .panel-heading p{max-width:65ch}@media(max-width:760px){.site-header{height:auto;padding-top:14px;gap:12px 10px;justify-content:space-between}.site-header nav{order:3;width:100%;display:flex;justify-content:space-around;gap:12px;border-top:1px solid #e1e7de;margin-top:3px}.site-header nav a{font-size:13px;padding:13px 8px;min-height:46px}.demo-badge{margin-left:0}.overview-table table{min-width:1050px}.back-link{margin:18px 16px 0;font-size:12px;min-height:30px}.month-section{padding:20px 16px}.history-platform button{min-width:110px}.history-explanation{font-size:12px}.month-chart{height:150px}.month-day .bar-well{height:115px}.route-page[hidden]{display:none!important}}

[data-series-color="drama"]{--series:#22705a}[data-series-color="yang"]{--series:#b57531}[data-series-color="zheng"]{--series:#9c577c}[data-series-color="chen"]{--series:#4d78a4}[data-series-color="dong"]{--series:#797347}
.pct-0{height:0%}.pct-1{height:1%}.pct-2{height:2%}.pct-3{height:3%}.pct-4{height:4%}.pct-5{height:5%}.pct-6{height:6%}.pct-7{height:7%}.pct-8{height:8%}.pct-9{height:9%}.pct-10{height:10%}.pct-11{height:11%}.pct-12{height:12%}.pct-13{height:13%}.pct-14{height:14%}.pct-15{height:15%}.pct-16{height:16%}.pct-17{height:17%}.pct-18{height:18%}.pct-19{height:19%}.pct-20{height:20%}.pct-21{height:21%}.pct-22{height:22%}.pct-23{height:23%}.pct-24{height:24%}.pct-25{height:25%}.pct-26{height:26%}.pct-27{height:27%}.pct-28{height:28%}.pct-29{height:29%}.pct-30{height:30%}.pct-31{height:31%}.pct-32{height:32%}.pct-33{height:33%}.pct-34{height:34%}.pct-35{height:35%}.pct-36{height:36%}.pct-37{height:37%}.pct-38{height:38%}.pct-39{height:39%}.pct-40{height:40%}.pct-41{height:41%}.pct-42{height:42%}.pct-43{height:43%}.pct-44{height:44%}.pct-45{height:45%}.pct-46{height:46%}.pct-47{height:47%}.pct-48{height:48%}.pct-49{height:49%}.pct-50{height:50%}.pct-51{height:51%}.pct-52{height:52%}.pct-53{height:53%}.pct-54{height:54%}.pct-55{height:55%}.pct-56{height:56%}.pct-57{height:57%}.pct-58{height:58%}.pct-59{height:59%}.pct-60{height:60%}.pct-61{height:61%}.pct-62{height:62%}.pct-63{height:63%}.pct-64{height:64%}.pct-65{height:65%}.pct-66{height:66%}.pct-67{height:67%}.pct-68{height:68%}.pct-69{height:69%}.pct-70{height:70%}.pct-71{height:71%}.pct-72{height:72%}.pct-73{height:73%}.pct-74{height:74%}.pct-75{height:75%}.pct-76{height:76%}.pct-77{height:77%}.pct-78{height:78%}.pct-79{height:79%}.pct-80{height:80%}.pct-81{height:81%}.pct-82{height:82%}.pct-83{height:83%}.pct-84{height:84%}.pct-85{height:85%}.pct-86{height:86%}.pct-87{height:87%}.pct-88{height:88%}.pct-89{height:89%}.pct-90{height:90%}.pct-91{height:91%}.pct-92{height:92%}.pct-93{height:93%}.pct-94{height:94%}.pct-95{height:95%}.pct-96{height:96%}.pct-97{height:97%}.pct-98{height:98%}.pct-99{height:99%}.pct-100{height:100%}.pct-missing{display:none}

/* 完整时刻数据与自身三日对比 */
.comparison-layout{display:block}.point-details{border-left:0;border-top:1px solid var(--line);padding:20px 0 22px;margin-top:15px}.point-heading{flex-direction:row;align-items:center;justify-content:space-between;border-bottom:0;padding-bottom:17px}.point-heading select{width:auto;max-width:230px;font-size:12px}.point-details>p{font-size:11px}.point-table-wrap{overflow:auto}.point-table{table-layout:fixed}.point-table th,.point-table td{padding:15px 18px}.point-table th:first-child,.point-table td:first-child{padding-left:0}.point-table th:last-child,.point-table td:last-child{padding-right:0}.point-table th{background:none;font-size:12px}.point-table td{font-size:13px}.point-table .number-block strong{font-size:18px}.point-table .number-block small{font-size:11px}.point-topic{display:flex;gap:8px;align-items:center}.metric-help{font-size:11px;line-height:1.9;color:#63716a;margin:12px 4px}.self-entry{display:inline-block;font-size:12px;padding-top:12px}.self-controls{display:flex;gap:22px;flex-wrap:wrap;padding:0 26px 15px}.self-controls label{display:flex;align-items:center;gap:9px;font-size:12px;color:#63716a}.self-legend{display:flex;gap:24px;flex-wrap:wrap;padding:12px 26px}.self-day-key{display:flex;align-items:center;gap:7px;font-size:12px}.self-day-key i{width:18px;height:3px;background:#737f76;display:block}.self-day-key.day-1 i{background:#5c86a6}.self-day-key.day-2 i{background:#22705a}.self-chart{height:310px;margin:0 26px}.self-chart svg,.history-chart svg{width:100%;height:100%;display:block}.self-values{margin-top:20px;border-top:1px solid #dce3db}.self-table{min-width:0!important;table-layout:fixed}.history-chart{height:330px;margin:0 26px}.history-point{margin:0 26px;padding-top:20px}.history-chart svg{touch-action:pan-y}.self-chart+.chart-help{margin:5px 26px 18px}#self>.metric-help,#month>.metric-help{margin:0 26px 16px}.self-table td,.self-table th{font-size:12px}.self-table .number-block strong{font-size:16px}.comparison .chart-wrap{height:300px}
@media(max-width:760px){.site-header nav{gap:0;justify-content:space-between}.site-header nav a{font-size:12px;padding:13px 7px}.comparison-layout{padding:0 16px}.point-details{padding-top:18px;margin-left:0;margin-right:0}.point-heading select{font-size:11px;max-width:180px}.point-heading span{font-size:12px}.point-table,.point-table tbody{display:block;min-width:0}.point-table thead{display:none}.point-table tr{display:grid;grid-template-columns:1.15fr 1.15fr .8fr;gap:15px 8px;padding:17px 0;border-bottom:1px solid #e9ede6}.point-table tr:last-child{border:0}.point-table td{display:block;padding:0!important;border:0!important;min-width:0;text-align:left;position:static!important;background:transparent!important;white-space:normal}.point-table td:first-child{grid-column:1/-1;font-size:13px}.point-table td:not(:first-child)::before{display:block;content:attr(data-label);font-size:10px;color:#63716a;margin-bottom:9px;white-space:nowrap}.point-table .number-block strong{font-size:16px}.point-table .number-block small{font-size:10px;overflow-wrap:anywhere;white-space:normal}.point-table .number-block{white-space:normal}.point-topic{font-size:13px}.point-table td:last-child{font-size:15px;font-variant-numeric:tabular-nums}.self-controls{padding:0 16px 15px;gap:12px}.self-controls label{font-size:11px;justify-content:space-between;min-width:100%;}.self-controls select{min-width:180px;font-size:12px}.self-legend{padding:10px 16px;gap:12px}.self-day-key{font-size:11px}.self-chart{margin:0 10px;height:290px}.self-chart+.chart-help{margin:7px 16px 18px}.history-chart{margin:0 10px;height:300px}.history-point{margin:0 16px}.metric-help{font-size:11px;line-height:1.9}.comparison .chart-wrap{height:270px}#self>.metric-help,#month>.metric-help{margin:0 16px 16px}.self-table td,.self-table th{padding:13px 7px!important;font-size:11px;position:static!important}.self-table .number-block strong{font-size:13px}.self-table .number-block small{font-size:10px}.self-table{white-space:normal}.point-details>.metric-help{font-size:11px}}

/* 正文收紧：解释只在按需展开时出现。 */
.page-title p{display:none}.page-title h1{margin-bottom:0}.page-title{padding:28px 0 25px}.metric-definitions{margin:0 26px 14px;color:#63716a}.metric-definitions summary{font-size:11px;padding:3px 0;min-height:27px;width:max-content}.metric-definitions p{font-size:12px;max-width:65ch;margin:8px 0 0;line-height:1.8}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.comparison .chart-wrap{margin-bottom:20px}.overview-table .panel-heading{padding-bottom:20px}.self-values{margin-top:14px}.history-point{padding-top:18px}.point-details{padding-bottom:15px}.panel-heading{padding-top:23px;padding-bottom:20px}.self-legend{padding-top:5px;padding-bottom:10px}@media(max-width:760px){.page-title{padding:22px 0}.metric-definitions{margin:0 16px 13px}.metric-definitions summary{font-size:11px;min-height:28px}.point-details{margin-top:5px}.panel-heading{padding-top:20px;padding-bottom:18px}.self-controls{padding-bottom:10px}}
/* 话题卡片与聚合详情 */
.overview-heading{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin:4px 0 18px}.overview-heading span{font-size:12px;color:var(--muted)}.topic-cards{display:grid;gap:22px}.topic-card{position:relative;background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:24px 26px}.topic-card:hover{border-color:#9bb8a7}.topic-card:focus-within{outline:3px solid #74a58a;outline-offset:3px}.topic-primary{background:#f0f5ed}.topic-card-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}.topic-card h3{font-size:18px;display:flex;align-items:center;gap:9px}.topic-kind{display:block;font-size:11px;color:var(--muted);margin:6px 0 0 16px}.topic-card-link{font-size:12px;color:var(--green);min-height:44px;display:flex;align-items:center;gap:10px}.topic-card-link::after{content:"";position:absolute;inset:0;border-radius:12px}.topic-card-link:focus-visible{outline:0}.dual-platform{display:grid;grid-template-columns:1fr 1fr;gap:32px}.platform-summary{min-width:0}.dual-platform .platform-summary+.platform-summary{border-left:1px solid var(--line);padding-left:32px}.platform-label{display:flex;gap:8px;align-items:center;font-size:13px;margin-bottom:16px}.platform-numbers{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:18px}.platform-numbers>div>span{display:block;color:var(--muted);font-size:12px;margin-bottom:8px}.platform-numbers .number-block strong{font-size:28px}.platform-numbers .number-block small{font-size:11px}.platform-secondary{display:flex;gap:12px;align-items:baseline;margin-top:8px;flex-wrap:wrap;font-size:12px;line-height:1.6}.platform-secondary>span{color:var(--muted)}.platform-secondary b{font-weight:550}.platform-time{font-size:11px;color:var(--muted);margin:16px 0 0}.data-warning{font-size:12px;color:#95502c;line-height:1.7}.detail-summary{padding:0 26px 24px;max-width:680px}.detail-self,.detail-trend{border-top:1px solid var(--line);padding-bottom:24px}.section-note{font-size:12px;line-height:1.8;color:var(--muted);margin:0 26px 18px;max-width:70ch}.detail-controls{display:flex;gap:22px;flex-wrap:wrap;padding:0 26px 20px}.detail-controls label{display:flex;gap:10px;align-items:center;color:var(--muted);font-size:12px}.detail-chart{height:280px}.record-list{padding:0 26px 16px;max-height:650px;overflow:auto}.record-row{display:grid;grid-template-columns:1.4fr .7fr repeat(3,1fr);gap:14px;align-items:center;padding:18px 0;border-bottom:1px solid var(--line);font-size:12px;font-variant-numeric:tabular-nums}.record-row>span,.record-row div>span{color:var(--muted)}.record-row div>span{display:block;font-size:11px;margin-bottom:6px}.record-row b{font-weight:550;overflow-wrap:anywhere}.self-values{margin:14px 26px 0}.history-bar{fill:#8aaa96;pointer-events:none}.history-bar.selected{fill:#22705a}.history-bar.below-zero{fill:#a04d52}.bar-hit{fill:transparent;cursor:pointer}.bar-zero{stroke:#81968a;stroke-width:1}.missing-bar{stroke:#a04d52;stroke-width:1.5;pointer-events:none}.history-chart g:hover .history-bar,.history-chart g:focus .history-bar{fill:#345e49}.history-chart g:focus{outline:none}.history-chart g:focus .bar-hit{stroke:#22705a;stroke-width:1}.history-chart{height:300px}.legend label{display:flex;align-items:center;gap:12px;font-size:12px;color:var(--muted)}.self-table{min-width:0!important}.detail-summary .platform-numbers .number-block strong{font-size:30px}
@media(max-width:760px){.overview-heading{align-items:flex-start;flex-direction:column;gap:6px;margin-bottom:16px}.overview-heading h2{font-size:17px}.overview-heading span{font-size:12px}.topic-card{padding:20px 18px}.topic-cards{gap:18px}.topic-card-heading{margin-bottom:20px}.topic-card h3{font-size:18px}.topic-card-link{white-space:nowrap}.dual-platform{grid-template-columns:1fr;gap:22px}.dual-platform .platform-summary+.platform-summary{border-left:0;border-top:1px solid var(--line);padding-left:0;padding-top:22px}.platform-numbers .number-block strong{font-size:26px}.platform-numbers{gap:12px}.platform-secondary{gap:8px;font-size:12px}.platform-time{font-size:11px;line-height:1.7}.detail-summary{padding:0 16px 24px}.detail-summary .platform-numbers .number-block strong{font-size:26px}.section-note{margin:0 16px 18px}.detail-controls{padding:0 16px 20px;gap:12px}.detail-controls label{justify-content:space-between;width:100%}.detail-controls select{min-width:180px}.detail-chart{height:270px;margin:0 10px}.record-list{padding:0 16px 16px}.record-row{grid-template-columns:1fr 1fr;gap:14px 10px}.record-row time{font-size:12px}.record-row>span{text-align:right}.record-row div:last-child{grid-column:1/-1}.self-values{margin:14px 16px 0}.self-table thead,.self-table tbody,.self-table tr,.self-table th,.self-table td{display:revert}.self-table{width:100%;table-layout:fixed}.self-table th:first-child,.self-table td:first-child{width:15%}.self-table th{font-size:10px;white-space:normal}.self-table .number-block{white-space:normal}.self-table .number-block small{overflow-wrap:anywhere}.self-table .number-block strong{font-size:12px;white-space:normal}.self-table td{font-size:11px}.history-chart{margin:0 10px}.panel-heading{flex-wrap:wrap}.site-header nav{justify-content:space-around}select{min-height:44px}button{touch-action:manipulation}.metric-tabs button,.legend button,.segmented button{min-height:44px}}
@media(max-width:350px){.platform-numbers .number-block strong{font-size:23px}.topic-card{padding:18px 14px}.platform-secondary{gap:5px}.topic-card h3{font-size:16px}.topic-card-link{font-size:11px}}

/* 高区分度词条色，与曲线数据源一致 */
[data-series-color="drama"]{--series:#137C56}[data-series-color="yang"]{--series:#CE6500}[data-series-color="zheng"]{--series:#D12E64}[data-series-color="chen"]{--series:#2166D1}[data-series-color="dong"]{--series:#7C3EB5}
.self-day-key.day-0 i{background:#CE6500}.self-day-key.day-1 i{background:#2166D1}.self-day-key.day-2 i{background:#137C56}.history-bar{fill:var(--series,#137C56);opacity:.62}.history-bar.selected{fill:var(--series,#137C56);opacity:1}.history-chart g:hover .history-bar,.history-chart g:focus .history-bar{fill:var(--series,#137C56);opacity:1}.history-bar.below-zero{fill:#a04d52}.legend button[data-series-color="yang"] i{border-radius:0}.legend button[data-series-color="zheng"] i{border-radius:0;transform:rotate(45deg)}.legend button[data-series-color="dong"] i{border-radius:2px}

/* 历史回看：词条选择与双平台简洁柱图 */
.archive{padding:26px}.archive-controls{display:flex;align-items:center;gap:14px;margin-bottom:28px;font-size:13px;color:var(--muted)}.archive-controls select{min-width:200px;min-height:44px}.archive-platform+.archive-platform{border-top:1px solid var(--line);margin-top:28px;padding-top:26px}.archive-label{display:flex;justify-content:space-between;align-items:baseline;gap:14px;margin-bottom:12px}.archive-label h2{font-size:14px;font-weight:550}.archive-label span{font-size:11px;color:var(--muted)}.archive-chart{height:184px;min-width:0;margin:0}.archive-chart svg{width:100%;height:100%;display:block}.archive-track{fill:#edf1e9}.archive-column{fill:#a9bfab}.archive-column.latest{fill:#497d5b}.archive-column:hover{fill:#22705a}.archive-column.below-zero{fill:#a04d52}.archive-missing{stroke:#8b978d;stroke-width:1.5}.archive-chart .plot-label{font-size:10px;fill:#617366}
@media(max-width:760px){.archive{padding:20px 16px}.archive-controls{margin-bottom:24px;gap:12px}.archive-controls select{flex:1;min-width:0;font-size:13px}.archive-platform+.archive-platform{margin-top:23px;padding-top:22px}.archive-label{margin-bottom:8px}.archive-chart{height:170px}.archive-label h2{font-size:13px}}
/* 统一选择控件与日历 */
select,.self-controls select,.detail-controls select,.archive-controls select{appearance:none;-webkit-appearance:none;min-height:44px;border:1px solid #cbd8ce;border-radius:8px;padding:10px 38px 10px 13px;font:inherit;font-size:13px;line-height:1.4;color:#294d3e;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23537060' stroke-width='1.5' viewBox='0 0 20 20'%3E%3Cpath d='m5 8 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 12px center;box-shadow:none}.date-control{display:flex;align-items:center;gap:10px;font-size:13px;color:var(--muted)}.calendar-field{display:inline-flex;position:relative;min-width:0}.calendar-trigger{display:flex;align-items:center;gap:10px;justify-content:flex-start;min-height:44px;border:1px solid #cbd8ce;border-radius:8px;padding:10px 13px;background:#fff;color:#294d3e;font-size:13px;white-space:nowrap;font-variant-numeric:tabular-nums}.calendar-trigger::before{content:"";width:17px;height:17px;flex:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23537060' stroke-width='1.5'%3E%3Crect x='3' y='4' width='14' height='13' rx='2'/%3E%3Cpath d='M6 2v4m8-4v4M3 9h14'/%3E%3C/svg%3E") center/contain no-repeat}.calendar-trigger:hover{border-color:#789d86;background-color:#f8faf6}.calendar-trigger[aria-expanded=true]{border-color:#22705a;background-color:#f0f5ed}.calendar-popover{position:absolute;display:block;z-index:30;top:calc(100% + 8px);right:0;width:306px;max-width:calc(100vw - 48px);box-sizing:border-box;padding:14px;background:#fff;border-radius:12px;box-shadow:0 8px 30px #163c292b;color:var(--ink);font-size:13px;white-space:normal}.panel:has(.calendar-popover:not([hidden])){overflow:visible}.calendar-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.calendar-header b{font-size:14px;font-weight:600}.calendar-popover button{border:0;background:none;color:var(--ink);border-radius:6px;min-height:36px;font:inherit;cursor:pointer}.calendar-header button{display:flex;width:36px;align-items:center;justify-content:center}.calendar-header svg{width:18px;height:18px;stroke:currentColor;stroke-width:1.5;fill:none}.calendar-week,.calendar-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}.calendar-week{margin-bottom:6px;text-align:center;color:var(--muted);font-size:11px;line-height:28px}.calendar-days button{width:100%;padding:0;min-height:36px;font-variant-numeric:tabular-nums}.calendar-popover button:hover:not(:disabled){background:#eaf1e7}.calendar-days button[aria-pressed=true],.calendar-times button[aria-pressed=true]{background:#22705a;color:#fff}.calendar-days button.in-range{background:#eaf1e7}.calendar-popover button:disabled{color:#bcc5be;cursor:default}.calendar-times{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;padding-top:12px;margin-top:12px;border-top:1px solid var(--line)}.calendar-times button{background:#f2f5ee;font-size:12px}.calendar-range-hint{display:block;font-size:11px;color:var(--muted);margin-top:12px;line-height:1.7}.calendar-shortcuts{display:flex;gap:8px;margin-top:8px}.calendar-shortcuts button{padding:0 10px;background:#f0f5ed;font-size:12px}.calendar-close{display:flex;justify-content:flex-end;margin-top:6px}.calendar-close button{font-size:12px;color:var(--green);padding:0 10px}#self-date{min-width:164px}#detail-range{font-size:12px}.point-heading .calendar-trigger{font-size:12px}.self-controls{align-items:center}.detail-controls{align-items:center}
@media(max-width:760px){.self-controls .date-control,.detail-controls .date-control{width:100%;justify-content:space-between}.self-controls select,.detail-controls select{font-size:13px}.calendar-trigger{font-size:13px}.calendar-popover{width:300px}.calendar-days button,.calendar-header button{min-height:38px}.calendar-trigger:focus-visible,select:focus-visible{outline:2px solid #22705a;outline-offset:2px}.point-heading{flex-wrap:wrap;gap:10px}#detail-range{font-size:11px;padding:10px 9px;gap:6px}.date-control>.calendar-field{max-width:calc(100% - 40px)}.calendar-shortcuts button,.calendar-close button,.calendar-times button{min-height:40px}}

.rank-topic{fill:#294d3e;font-size:12px}.rank-value{fill:#294d3e;font-size:12px;font-variant-numeric:tabular-nums}.rank-track{fill:#eef2eb}.rank-bar{fill:var(--series)}.metric-result th:first-child,.metric-result td:first-child{width:50%}.metric-result td:last-child{text-align:right}@media(max-width:760px){.point-table.metric-result tr{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:12px}.point-table.metric-result td:first-child{grid-column:auto;width:auto}.point-table.metric-result td:last-child{text-align:right}.point-table.metric-result td:last-child::before{display:none}.point-table.metric-result .number-block small{font-size:11px}.rank-topic,.rank-value{font-size:11px}}
/* 四种时间尺度与完整累计/新增数据 */
.bar-viewport{width:100%;height:100%;overflow-x:auto;overflow-y:hidden;scrollbar-color:#93b09e #edf2eb;scrollbar-width:thin}.bar-viewport svg{display:block;width:auto;min-width:100%;height:100%;overflow:visible}.period-hit{fill:transparent;cursor:pointer}.period-bar{fill:var(--series);pointer-events:auto}.period-bar.negative-bar{fill:#a04d52}.period-group:hover .period-bar{opacity:.78}.period-group:focus{outline:none}.period-group:focus .period-hit{stroke:#22705a;stroke-width:1}.period-missing{stroke:#89998c;stroke-width:2}.full-result{table-layout:auto}.full-result th,.full-result td{width:auto!important}.full-result .number-block strong{font-size:17px}.full-result td{white-space:nowrap}.record-row{grid-template-columns:1.3fr .8fr repeat(4,1fr)}
.topic-card[data-series-color="drama"]{--card-bg:#edf7f1;--card-ink:#244d39;--muted:#526e5d;--line:#d3e5d8;--card-accent:#176140}
.topic-card[data-series-color="yang"]{--card-bg:#fff3e4;--card-ink:#593a20;--muted:#796048;--line:#eedbc2;--card-accent:#8c4300}
.topic-card[data-series-color="zheng"]{--card-bg:#fff0f4;--card-ink:#603247;--muted:#815969;--line:#efd5df;--card-accent:#a52350}
.topic-card[data-series-color="chen"]{--card-bg:#edf4ff;--card-ink:#2c4667;--muted:#56708b;--line:#cfdff2;--card-accent:#215ca5}
.topic-card[data-series-color="dong"]{--card-bg:#f4effc;--card-ink:#4c3866;--muted:#736087;--line:#dfd3ee;--card-accent:#6c359b}
.topic-card[data-series-color]{background:var(--card-bg);border-color:var(--line);color:var(--card-ink)}.topic-card[data-series-color]:hover{border-color:var(--card-accent)}.topic-card .topic-card-link{color:var(--card-accent)}.topic-card .platform-secondary b{color:var(--card-ink)}.topic-card .platform-secondary b.negative{color:#a04d52}
@media(max-width:760px){.full-result,.full-result tbody{display:block}.point-table.full-result tr{display:grid;grid-template-columns:1fr 1fr;gap:20px 14px;padding:20px 0}.point-table.full-result td:first-child{grid-column:1/-1;width:auto}.point-table.full-result td:last-child{text-align:left}.point-table.full-result td:not(:first-child)::before{display:block;font-size:11px}.full-result .number-block strong{font-size:18px}.full-result .number-block small{font-size:11px}.record-row{grid-template-columns:1fr 1fr}.record-row div:last-child{grid-column:auto}.self-table th{font-size:10px;overflow-wrap:anywhere}.self-chart{margin:0 8px}.metric-tabs{display:grid;grid-template-columns:1fr 1fr;width:100%;gap:7px}.metric-tabs button{font-size:12px;min-height:42px}.chart-toolbar{align-items:flex-start;flex-direction:column}.self-controls select{max-width:205px;min-width:0}.point-heading .calendar-field{margin-left:auto}.point-heading .calendar-popover{right:0}}
.grouped-chart{position:relative;width:100%;height:100%;min-width:0}.grouped-chart .bar-axis{position:absolute;left:0;top:0;width:60px!important;min-width:0;height:100%;z-index:2;background:#fff;pointer-events:none}.bar-viewport svg{max-width:none}.period-group:focus .period-hit{stroke-dasharray:3 3}
