/* V0.28: 排名、雷达、下钻和趋势的视觉对齐。 */
.v23-compare-layout{grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);align-items:stretch}
.v6-compare-wrap,.v23-score-wrap{min-width:0;height:100%}
.v28-ranking,.v28-score-compare{height:820px;min-height:820px;box-sizing:border-box}
.v28-ranking{display:flex;flex-direction:column;padding:27px 28px 20px}
.v28-score-compare{position:static;display:flex;flex-direction:column;padding:30px 32px}
.v28-score-compare .v23-score-head{flex:none;min-height:84px;align-items:flex-start}
.v28-score-compare .v23-score-head strong{display:none}
.v28-score-compare .v28-radar{flex:1;display:flex;align-items:center;justify-content:center;min-height:0}
.v28-rank-head{display:grid;grid-template-columns:minmax(0,1fr) 160px;gap:10px;margin:14px 0 8px;padding:0 12px;color:#789182;font-size:12px;font-weight:700}
.v28-rank-head span:first-child{display:none}
.v28-rank-head span:last-child{text-align:center}
.v28-ranking .rank-list{flex:1;min-height:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#b7d9c2 transparent;padding-right:4px}
.v28-rank-entry{display:grid;grid-template-columns:minmax(0,1fr) 160px;gap:10px;align-items:center;min-height:59px;margin:3px 0;border-radius:12px;transition:background .2s}
.v28-rank-entry:hover{background:#f3faf5}
.v28-rank-entry.is-current{background:#e6f5eb}
.v28-rank-pick{display:grid;grid-template-columns:30px 42px minmax(0,1fr);align-items:center;gap:11px;width:100%;min-height:55px;padding:5px 10px;border:0;background:transparent;text-align:left;color:#274d37;cursor:pointer}
.v28-rank-pick .rank-index{font-variant-numeric:tabular-nums;color:#198544;font-weight:750;text-align:center;font-size:13px}
.v28-rank-content{display:grid;gap:6px;min-width:0}
.v28-rank-line{display:flex;justify-content:space-between;align-items:center;gap:14px;white-space:nowrap}
.v28-rank-line strong{overflow:hidden;text-overflow:ellipsis;font-size:13px;font-weight:700}
.v28-rank-line b{font-family:'DIN Alternate','DIN Condensed',Arial,sans-serif;font-size:17px;color:#186c38;font-variant-numeric:tabular-nums}
.v28-rank-line b small{font:11px inherit;color:#708a78}
.v28-rank-track{display:block;height:5px;background:#e6eee8;border-radius:10px;overflow:hidden}
.v28-rank-track i{display:block;height:100%;border-radius:10px;background:linear-gradient(90deg,#88d59a,#009d4d)}
.v28-row-actions{display:flex;gap:6px;justify-content:center;align-items:center}
.v28-row-actions button{height:31px;border-radius:7px;font-size:12px;font-weight:700;white-space:nowrap;cursor:pointer;transition:background .18s,border-color .18s,transform .18s}
.v28-row-actions button:hover{transform:translateY(-1px)}
.v28-view{min-width:62px;border:1px solid #bddfc8;background:#fff;color:#087b3a}
.v28-view:hover{background:#e9f7ee;border-color:#77bf90}
.v28-compare{min-width:74px;border:1px solid #cce5d2;background:#f4faf5;color:#327d4b}
.v28-compare:hover{border-color:#69bc82;background:#e9f7ec}
.v28-compare.on{background:#087c42;color:#fff;border-color:#087c42}
.v28-rank-footer{flex:none;padding-top:10px}
.v28-rank-footer .rank-more{width:100%;min-height:36px;margin:0}
.v28-rank-footer .v25-selection-count{margin-top:9px}
.brand-badge{display:flex!important;align-items:center!important;justify-content:center!important;flex:none!important;width:42px!important;height:42px!important;box-sizing:border-box;overflow:hidden}
.brand-badge img{position:static!important;display:block!important;max-width:32px!important;max-height:32px!important;width:auto!important;height:auto!important;object-fit:contain!important;transform:none!important;clip-path:none!important;margin:auto!important}
.brand-badge.logo-zhencha img,.brand-badge.logo-shuyi img,.brand-badge.logo-baifencha img{max-width:38px!important;max-height:30px!important}
.brand-badge.logo-naixue img{max-width:31px!important;max-height:31px!important}
.v28-radar{width:100%;max-width:660px;margin:auto}
.v28-radar svg{display:block;width:100%;height:auto;max-height:680px;margin:auto;overflow:visible}
.v28-radar-grid polygon,.v28-radar-grid line{fill:none;stroke:#d7e5dc;stroke-width:1.5}
.v28-radar-grid polygon:last-of-type{stroke:#9ecfaf;stroke-width:2}
.v28-radar-value{fill:rgba(31,191,98,.22);stroke:#05ad57;stroke-width:4;stroke-linejoin:round}
.v28-radar-label{fill:#28503a;font-size:19px;font-weight:700}
.v28-radar-label .value{fill:#008c48;font-family:'DIN Alternate',Arial,sans-serif;font-size:25px;font-weight:800}
.v28-radar-center{fill:#fff;stroke:#c6e5d0;stroke-width:2;filter:drop-shadow(0 5px 12px rgba(0,83,39,.1))}
.v28-total-label{fill:#78927e;font-size:13px;font-weight:700}
.v28-total-value{fill:#0a7e3b;font-family:'DIN Alternate',Arial,sans-serif;font-size:29px;font-weight:800}
.v28-detail-scoreboard{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:22px;align-items:stretch;padding:28px 34px;margin-top:20px}
.v28-detail-chart{display:flex;flex-direction:column;min-width:0;align-items:center;justify-content:center;border-right:1px solid #e2eee5;padding-right:22px}
.v28-detail-chart h3{align-self:flex-start;margin:0;color:#24543a;font-size:19px}
.v28-detail-chart h3 small{font-size:12px;color:#a87527;background:#fff3dd;padding:4px 7px;border-radius:5px}
.v28-detail-chart .v28-radar{max-width:560px}
.v28-detail-groups{min-width:0;display:flex;flex-direction:column;justify-content:center;gap:10px}
.v28-detail-groups-head{display:flex;justify-content:space-between;align-items:center;padding:0 4px 7px}
.v28-detail-groups-head h3{margin:0;color:#24543a;font-size:19px}
.v28-detail-groups-head span{font-size:12px;color:#7c9584}
.v28-detail-index{background:#f6faf7;border:1px solid #e0eee4;border-radius:12px;padding:15px 18px}
.v28-detail-index-head{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid #e1ece4;padding-bottom:9px}
.v28-detail-index-head h4{margin:0;font-size:16px;color:#1f5e3a}
.v28-detail-index-head small{margin-left:5px;color:#809a88;font-size:12px}
.v28-detail-index-head strong{font-family:'DIN Alternate',Arial,sans-serif;font-size:21px;color:#087d3c}
.v28-detail-index-rows>div{display:grid;grid-template-columns:minmax(90px,.8fr) minmax(100px,1.4fr) auto;gap:10px;align-items:center;padding-top:9px;color:#688071;font-size:12px}
.v28-detail-index-rows>div span:nth-child(2){text-align:left;color:#4e6657}
.v28-detail-index-rows b{font-family:'DIN Alternate',Arial,sans-serif;color:#1c6540;font-size:14px}
.v28-score-compare .v23-score-parts{display:none}
.v25-results{overflow:hidden}
.v25-multi-chart{display:block;width:100%;height:310px;max-height:310px;aspect-ratio:auto}
.v26-chart-scroll{height:310px;overflow-x:auto;overflow-y:hidden}
.v25-legend{display:flex;flex-wrap:wrap;gap:18px;justify-content:center;margin-top:18px}
.v25-score-table{margin-bottom:24px}
.v25-chart-head{margin:22px 0 16px}
.v25-chart-caption{margin-top:18px}
.v25-detail-trend .v26-trend svg{display:block;width:100%;height:330px;max-height:330px}
.v25-detail-trend .v26-trend{max-width:none}
.v28-row-actions button:focus-visible,.v28-rank-pick:focus-visible{outline:3px solid #84d9a2;outline-offset:2px}
@media(max-width:1180px){.v23-compare-layout{grid-template-columns:1fr}.v28-ranking,.v28-score-compare{height:auto;min-height:0}.v28-ranking .rank-list{max-height:655px}.v28-score-compare .v28-radar{max-width:580px}.v28-detail-scoreboard{grid-template-columns:1fr}.v28-detail-chart{border-right:0;border-bottom:1px solid #e2eee5;padding:0 0 22px}}
@media(max-width:640px){.v28-ranking,.v28-score-compare{padding:20px 14px}.v28-rank-head{grid-template-columns:1fr 128px}.v28-rank-entry{grid-template-columns:minmax(0,1fr) 128px;gap:3px}.v28-rank-pick{grid-template-columns:20px 34px minmax(0,1fr);gap:5px;padding:4px}.brand-badge{width:34px!important;height:34px!important}.brand-badge img{max-width:27px!important;max-height:27px!important}.v28-rank-line strong{font-size:11px}.v28-rank-line b{font-size:14px}.v28-row-actions{gap:2px}.v28-row-actions button{min-width:0;padding:0 4px;font-size:10px}.v28-detail-scoreboard{padding:20px 14px}.v28-detail-index-rows>div{grid-template-columns:1fr auto;gap:4px}.v28-detail-index-rows>div span:nth-child(2){grid-column:1/3;grid-row:2}.v28-detail-index-rows b{grid-column:2;grid-row:1}.v28-radar-label{font-size:17px}}
.v28-results .v25-score-table{max-width:none}
.v28-comparison-chart{display:grid;grid-template-columns:minmax(0,1fr) 190px;align-items:center;gap:25px;max-width:1600px;margin:8px auto 0;padding:20px 22px 15px;border:1px solid #e5efe7;border-radius:16px;background:linear-gradient(180deg,#fbfefc,#fff)}
.v28-comparison-chart .v25-multi-chart{height:350px;max-height:350px}
.v28-chart-legend{display:grid;gap:10px;align-content:center}
.v28-chart-legend span{display:grid;grid-template-columns:11px minmax(0,1fr) auto;gap:9px;align-items:center;padding:8px 9px;border-radius:8px;background:#f5faf6;color:#476652;font-size:12px}
.v28-chart-legend i{width:10px;height:10px;border-radius:50%}
.v28-chart-legend b{font-family:'DIN Alternate',Arial,sans-serif;color:#1c6040;font-size:15px}
.v28-trend-axis line{stroke:#e2eee5;stroke-width:1.3}
.v28-trend-axis text{fill:#809688;font:12px 'DIN Alternate',Arial,sans-serif}
.v28-trend-point{stroke:#fff;stroke-width:2}
.v28-trend-point.latest{stroke-width:3}
.v28-trend{padding:10px 0 0}
.v28-trend-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:0 0 16px}
.v28-trend-tabs{display:flex;flex-wrap:wrap;gap:7px}
.v28-trend-tabs button{border:1px solid #cfe4d5;background:#f7fbf8;color:#417052;border-radius:7px;padding:8px 13px;font-size:12px;font-weight:700;cursor:pointer}
.v28-trend-tabs button.on{background:#009f50;color:#fff;border-color:#009f50}
.v28-trend-current{display:flex;align-items:baseline;gap:7px;color:#6c8875;white-space:nowrap}
.v28-trend-current small{font-size:11px}
.v28-trend-current b{font-family:'DIN Alternate',Arial,sans-serif;color:#16804a;font-size:25px}
.v28-trend-current span{font-size:11px}
.v28-trend svg{width:100%;height:330px;max-height:330px;display:block}
.v28-trend-foot{display:flex;justify-content:space-between;gap:12px;padding:2px 10px 6px;color:#708a77;font-size:11px}
.v28-trend-foot span:first-child{display:flex;align-items:center;gap:6px}
.v28-trend-foot i{width:8px;height:8px;border-radius:50%}
@media(max-width:800px){.v28-comparison-chart{grid-template-columns:1fr;padding:12px}.v28-chart-legend{grid-template-columns:repeat(2,minmax(0,1fr))}.v28-trend-head{align-items:flex-start;flex-direction:column}.v28-trend svg{min-width:600px}.v28-trend{overflow-x:auto}}
.v23-compare-layout .v28-ranking,.v23-compare-layout .v28-score-compare{height:820px;min-height:820px}
.v23-compare-layout .v28-score-compare{position:static;top:auto}
@media(max-width:1180px){.v23-compare-layout .v28-ranking,.v23-compare-layout .v28-score-compare{height:auto;min-height:0}}
/* Wide source logos need the same optical crop inside the centered square. */
.brand-badge{position:relative!important}
.brand-badge.logo-yht img{position:absolute!important;width:auto!important;height:32px!important;max-width:none!important;max-height:none!important;left:4px!important;top:5px!important;clip-path:inset(0 calc(100% - 34px) 0 0)!important}
.brand-badge.logo-mixue img{position:absolute!important;width:auto!important;height:31px!important;max-width:none!important;max-height:none!important;left:7px!important;top:5px!important;clip-path:inset(0 calc(100% - 28px) 0 0)!important}
.brand-badge.logo-luckin img{position:absolute!important;width:auto!important;height:30px!important;max-width:none!important;max-height:none!important;left:9px!important;top:6px!important}
.brand-badge.logo-chagee img{position:absolute!important;width:106px!important;height:106px!important;max-width:none!important;max-height:none!important;left:0!important;top:-32px!important;object-fit:initial!important}
.brand-badge.logo-zhencha img{position:absolute!important;width:194px!important;height:194px!important;max-width:none!important;max-height:none!important;left:-41px!important;top:-68px!important}
.brand-badge.logo-shuyi img{position:absolute!important;width:225px!important;height:45px!important;max-width:none!important;max-height:none!important;left:-7px!important;top:-3px!important;clip-path:inset(0 calc(100% - 48px) 0 0)!important}
.brand-badge.logo-baifencha img{position:absolute!important;width:242px!important;height:126px!important;max-width:none!important;max-height:none!important;left:-100px!important;top:-42px!important}
@media(max-width:640px){.brand-badge.logo-yht img{height:26px!important;left:3px!important;top:4px!important;clip-path:inset(0 calc(100% - 28px) 0 0)!important}.brand-badge.logo-mixue img{height:25px!important;left:6px!important;top:4px!important;clip-path:inset(0 calc(100% - 23px) 0 0)!important}.brand-badge.logo-luckin img{height:25px!important;left:7px!important;top:4px!important}.brand-badge.logo-chagee img{width:87px!important;height:87px!important;top:-27px!important}.brand-badge.logo-zhencha img{width:157px!important;height:157px!important;left:-33px!important;top:-55px!important}.brand-badge.logo-shuyi img{width:182px!important;height:36px!important;left:-5px!important;top:-2px!important;clip-path:inset(0 calc(100% - 39px) 0 0)!important}.brand-badge.logo-baifencha img{width:196px!important;height:102px!important;left:-81px!important;top:-34px!important}}
