.search-trend-panel{min-width:0}.trend-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:28px}.trend-heading h2{font-size:23px;color:#0d2b50;margin:0;line-height:1.4}.trend-heading>a{color:#1684ff;font-size:13px;font-weight:700;white-space:nowrap}.trend-subtitle{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.trend-subtitle h3{font-size:17px;color:#19334f;margin:0}.trend-subtitle>span{font-size:11px;font-weight:700;color:#ff5075;border:1px solid #ff86a0;border-radius:20px;padding:5px 10px;background:#fff8fa}.trend-caption{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:10px 0 18px;color:#8a9bb2;font-size:12px}.trend-caption p{margin:0}.trend-caption time{white-space:nowrap;font-size:11px}.trend-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.trend-tabs button{border:0;border-radius:8px;padding:13px 5px;background:#edf4fb;color:#2f5376;font-size:14px;font-weight:700;cursor:pointer}.trend-tabs button[aria-pressed=true]{background:#3688ed;color:white}.trend-status{font-size:12px;color:#8195b0;line-height:1.7}.trend-status:empty{display:none}.trend-ranks{list-style:none;margin:16px 0;padding:0}.trend-ranks li{display:flex;align-items:center;gap:12px;min-height:43px;border-bottom:1px solid #edf1f7;font-size:14px}.trend-rank{display:flex;align-items:center;justify-content:center;flex:0 0 30px;height:28px;border-radius:9px;background:#ecf5ff;color:#2e77bb;font-size:16px;font-weight:800}.trend-ranks li:first-child .trend-rank{color:#087fff}.trend-ranks a{font-weight:700;color:#253f60;text-decoration:none}.trend-ranks a:hover{color:#0080ff}.trend-change{margin-left:auto;display:flex;gap:6px;align-items:center;white-space:nowrap;font-size:12px;font-weight:700}.trend-change b{font-size:15px}.trend-change.up,.trend-change.surge,.trend-change.new{color:#ff5074}.trend-change.down{color:#2789fa}.trend-change.flat,.trend-change.unavailable{color:#95a4b8}.trend-hot{font-size:10px;padding:2px 5px;color:#ff5074;border:1px solid #ff9bad;border-radius:4px;background:#fff5f7}.trend-footer{padding:12px;border-radius:9px;background:#f0f7ff;color:#5c89b7;font-size:12px;line-height:1.7}.trend-method{font-size:11px;line-height:1.7;color:#99a5b5;margin-bottom:0}.trend-full{max-width:950px;margin:30px auto}.trend-full .trend-ranks li{min-height:54px} .bottom-grid:has([data-search-trends]){grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}@media(max-width:800px){.bottom-grid:has([data-search-trends]){grid-template-columns:1fr}.trend-heading h2{font-size:20px}.trend-ranks li{gap:8px;font-size:13px}.trend-caption{align-items:flex-start;flex-direction:column}.trend-hot{display:none}.trend-full{margin:18px auto}}

.bottom-grid:has([data-search-trends]){align-items:stretch}.bottom-grid:has([data-search-trends])>.panel{align-self:stretch;height:auto}.bottom-grid [data-search-trends]{display:flex;flex-direction:column}.bottom-grid [data-search-trends] .trend-ranks{flex:1;display:flex;flex-direction:column}.bottom-grid [data-search-trends] .trend-ranks li{flex:1}.bottom-grid [data-search-trends] .trend-heading{margin-bottom:22px}
/* Compact provenance selector and disclosure rows, scoped to the existing card. */
.trend-heading{gap:10px;flex-wrap:wrap}.trend-heading h2{font-size:22px}.trend-source{max-width:150px;padding:7px 24px 7px 9px;border:1px solid #dce8f5;border-radius:8px;background:#fff;color:#426284;font-size:12px}.trend-subtitle>span[hidden]{display:none}.trend-sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.trend-ranks li{display:block;min-width:0}.trend-item{width:100%;position:relative}.trend-item>summary{display:flex;align-items:center;gap:9px;min-height:45px;padding:5px 0;list-style:none;cursor:pointer}.trend-item>summary::-webkit-details-marker{display:none}.trend-keyword{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700;color:#253f60}.trend-item .trend-change{font-size:10px;max-width:145px;white-space:normal;text-align:right;line-height:1.4;color:#6b839e}.trend-item .trend-change.up{color:#ed4e74}.trend-item .trend-change.down{color:#2789fa}.trend-detail{position:absolute;z-index:8;top:100%;left:0;right:0;padding:15px;border:1px solid #c9ddf2;border-radius:10px;background:#fff;box-shadow:0 8px 28px #17365525;font-size:12px;line-height:1.7;color:#56718f;overflow-wrap:anywhere}.trend-detail strong{display:block;color:#173655;font-size:14px}.trend-detail p{margin:7px 0}.trend-search-links{display:flex;gap:14px;flex-wrap:wrap}.trend-method summary{cursor:pointer;color:#7390ae}.trend-method p{margin:8px 0}.trend-method a{color:#356b9d}.trend-ranks:empty{min-height:230px}.bottom-grid [data-search-trends] .trend-ranks li{display:flex;align-items:center}.trend-item>summary:focus-visible{outline:2px solid #2184f4;border-radius:5px}.trend-method{position:relative}.trend-method[open]{padding-bottom:10px}@media(max-width:800px){.trend-heading h2{font-size:20px}.trend-item .trend-change{max-width:115px;font-size:10px}.trend-source{font-size:11px}.trend-detail{position:static;box-shadow:none;margin-bottom:8px}.trend-ranks:empty{min-height:170px}}
.trend-item .trend-change{word-break:keep-all}.trend-detail p{word-break:keep-all;overflow-wrap:anywhere}
.trend-item .trend-change{max-width:none;white-space:nowrap;font-size:12px;gap:6px;flex-shrink:0}.trend-item .trend-change.new{color:#6d63d9}.trend-item .trend-change.new b{font-size:10px;border:1px solid #c8c2f4;padding:0 3px;border-radius:3px}
.trend-item-link{display:flex;align-items:center;gap:9px;min-height:45px;padding:5px 0;width:100%;text-decoration:none}.trend-item-link:hover .trend-keyword{color:#087fff}.trend-item-link:focus-visible{outline:2px solid #2184f4;border-radius:5px}
