.trending-discovery,.trend-sidebar{--trend-accent:#a6b9ff;--trend-highlight:#9584ff;color:var(--text);min-width:0}
body[data-theme="light"] :is(.trending-discovery,.trend-sidebar){--trend-accent:#4058ba;--trend-highlight:#7450cf}
.trend-intro{display:flex;align-items:center;gap:14px;padding:18px;background:var(--ui-accent-soft);border:1px solid var(--line);border-radius:16px;margin:4px 0 20px;position:relative}
.trend-intro-icon{display:grid;place-items:center;flex:none;width:48px;height:48px;border-radius:15px;background:linear-gradient(135deg,#326bff,#8152eb);color:#fff;box-shadow:0 6px 14px #6d5ee22b}
.trend-intro-icon svg{width:25px;height:25px}
.trend-intro>div{min-width:0;flex:1;padding-right:46px}
.trend-eyebrow{font-size:9px;letter-spacing:1.4px;font-weight:700;color:var(--trend-accent)}
.trending-discovery .trend-intro h3{font-size:19px;line-height:1.3;letter-spacing:-.45px;margin:5px 0 6px;color:var(--text)}
.trend-intro p{font-size:12px;line-height:1.6;color:var(--muted);margin:0}
.trend-period{position:absolute;right:16px;top:18px;font-size:10px;font-weight:600;color:var(--trend-accent);background:var(--panel);border:1px solid var(--line);padding:5px 7px;border-radius:7px;white-space:nowrap}
.trend-view-tabs{display:flex;gap:24px;border-bottom:1px solid var(--line);margin:0 0 18px;background:var(--panel);position:sticky;top:0;z-index:2}
body #socialDialog .trend-view-tabs button{display:flex;align-items:center;gap:7px;font:inherit;font-size:14px;font-weight:600;padding:12px 3px;border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;color:var(--muted);cursor:pointer;box-shadow:none}
body #socialDialog .trend-view-tabs button[aria-selected="true"]{border-bottom-color:var(--trend-highlight);color:var(--text)}
.trend-view-tabs button>svg{width:17px;height:17px;flex:none}
.trend-view-tabs button>span{display:inline-grid;place-items:center;min-width:19px;height:19px;padding:0 4px;font-size:10px;border-radius:6px;background:var(--ui-hover);color:var(--trend-accent);box-sizing:border-box}
.trend-section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin:0 0 12px}
.trending-discovery .trend-section-heading h3{font-size:14px;line-height:1.5;margin:0;color:var(--text)}
.trend-section-heading small{font-size:10px;line-height:1.5;color:var(--muted)}
.trend-topic-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
body :is(.trending-discovery,.trend-sidebar) .trend-topic{display:flex;align-items:center;position:relative;gap:9px;padding:14px 10px 17px;width:100%;box-sizing:border-box;min-width:0;min-height:78px;border:1px solid var(--line);border-radius:12px;background:var(--panel);color:var(--text);font:inherit;font-size:14px;text-align:left;text-decoration:none;cursor:pointer;box-shadow:none;overflow:hidden}
body .trending-discovery .trend-topic:hover{background:var(--ui-hover);border-color:var(--trend-highlight)}
.trend-rank{flex:none;font-size:10px;font-weight:600;color:var(--muted);font-variant-numeric:tabular-nums;width:16px;text-align:center}
.trend-coin{display:grid;place-items:center;width:34px;height:34px;flex:none;border-radius:50%;overflow:hidden}
.trend-coin img{display:block;width:100%;height:100%;object-fit:contain}
.trend-coin-fallback{background:var(--ui-accent-soft);color:var(--trend-accent);font-size:11px;font-weight:700;border-radius:11px}
.trend-topic-copy{min-width:0;flex:1;display:grid;gap:3px}
.trend-topic-copy strong{font-size:14px;line-height:1.4;overflow-wrap:anywhere;color:var(--text);letter-spacing:.1px}
.trend-topic-copy small{font-size:9px;line-height:1.5;color:var(--muted)}
.trend-mentions{flex:none;text-align:right;display:grid;gap:3px}
.trend-mentions b{font-size:16px;line-height:1.2;font-weight:700;letter-spacing:-.3px;color:var(--text)}
.trend-mentions small{font-size:9px;line-height:1.5;color:var(--muted)}
.trend-share{position:absolute;bottom:0;left:0;right:0;height:3px;background:var(--ui-hover)}
.trend-share>span{display:block;height:100%;background:linear-gradient(90deg,#3979f7,#9461ef);border-radius:0 3px 3px 0}
.trend-post-list{display:grid;gap:12px}
body :is(.trending-discovery,.trend-sidebar) .trend-post{display:block;text-decoration:none!important;color:var(--text);border:1px solid var(--line);border-radius:13px;padding:16px;background:var(--panel);box-shadow:none;min-width:0}
body .trending-discovery .trend-post:hover{background:var(--ui-hover);border-color:var(--trend-highlight)}
.trend-post-heading{display:flex;align-items:center;gap:10px;min-width:0}
.trend-author-avatar{display:grid;place-items:center;flex:none;width:35px;height:35px;border-radius:12px;background:var(--ui-accent-soft);color:var(--trend-accent);font-size:14px;font-weight:700;overflow:hidden}
.trend-author-avatar img{width:100%;height:100%;object-fit:contain;display:block}
.trend-post-author{display:grid;gap:2px;min-width:0;flex:1}
.trend-post-author strong{font-size:13px;line-height:1.5;overflow-wrap:anywhere;color:var(--text)}
.trend-post-author time{font-size:10px;line-height:1.5;color:var(--muted)}
.trend-post-rank{display:grid;place-items:center;width:25px;height:25px;border-radius:8px;background:var(--ui-hover);font-size:10px;font-weight:600;color:var(--muted);flex:none;font-variant-numeric:tabular-nums}
.trend-post p{font-size:14px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--text);margin:12px 0 14px;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.trend-post-footer{display:flex;align-items:center;flex-wrap:wrap;gap:12px;font-size:10px;line-height:1.5;color:var(--muted);border-top:1px solid var(--line);padding-top:11px}
.trend-post-footer>span{display:flex;align-items:center;gap:4px;white-space:nowrap}
.trend-post-footer svg{width:13px;height:13px;flex:none}
.trend-post-footer b{font-weight:600;color:var(--text)}
.trend-post-footer .trend-post-open{margin-left:auto;color:var(--trend-accent);font-weight:600}
.trend-source{display:block;font-size:10px;line-height:1.6;color:var(--muted);margin:16px 0 0}
.trend-empty{text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:38px 22px;min-height:160px}
.trend-empty>span{display:grid;place-items:center;width:55px;height:55px;border-radius:19px;background:var(--ui-accent-soft);color:var(--trend-accent);margin-bottom:16px}
.trend-empty>span svg{width:25px;height:25px}
.trending-discovery .trend-empty h3{font-size:17px;line-height:1.5;margin:0 0 8px;color:var(--text)}
.trend-empty p{font-size:13px;line-height:1.6;max-width:300px;margin:0;color:var(--muted)}
body :is(.trending-discovery,.trend-sidebar) :is(button,a):focus-visible{outline:2px solid var(--ui-focus);outline-offset:3px}
body .trend-sidebar .trend-topic{border:0;border-radius:0;background:transparent;padding:10px 0;min-height:57px;border-bottom:1px solid var(--line);gap:7px;overflow:visible}
.trend-sidebar .trend-topic .trend-share{display:none}
.trend-sidebar .trend-topic .trend-coin{width:27px;height:27px}
.trend-sidebar .trend-topic-copy strong{font-size:12px}
.trend-sidebar .trend-mentions b{font-size:12px}
.trend-sidebar .trend-rank{font-size:9px;width:12px}
.trend-sidebar-heading{font-size:10px;color:var(--muted);font-weight:600;margin:16px 0 8px}
body .trend-sidebar .trend-post{padding:10px 0;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent}
.trend-sidebar .trend-post-heading{gap:8px}
.trend-sidebar .trend-author-avatar{width:25px;height:25px;border-radius:8px;font-size:10px}
.trend-sidebar .trend-post-author strong{font-size:11px}
.trend-sidebar .trend-post-author time{font-size:9px}
.trend-sidebar .trend-post-rank{display:none}
.trend-sidebar .trend-post p{font-size:11px;line-height:1.6;-webkit-line-clamp:2;margin:8px 0}
.trend-sidebar .trend-post-footer{gap:10px;border:0;padding:0;font-size:9px}
.trend-sidebar .trend-post-footer .trend-post-open{display:none}
.trend-sidebar .trend-post-footer svg{width:11px;height:11px}
.trend-sidebar .trend-source{font-size:9px;margin-top:12px}
@media(max-width:520px){
 .trend-intro{padding:15px 12px;gap:10px;align-items:flex-start}
 .trend-intro-icon{width:36px;height:36px;border-radius:12px}
 .trend-intro-icon svg{width:21px;height:21px}
 .trend-intro>div{padding:0}
 .trend-period{position:static;font-size:9px;padding:4px 5px;flex:none}
 .trending-discovery .trend-intro h3{font-size:16px;margin-top:4px}
 .trend-intro p{display:none}
 .trend-eyebrow{font-size:8px;letter-spacing:1px}
 .trend-topic-grid{grid-template-columns:1fr;gap:8px}
 body .trending-discovery .trend-topic{min-height:73px;padding:12px 14px 15px;gap:12px}
 .trend-section-heading{align-items:flex-start;flex-direction:column;gap:3px}
 body .trending-discovery .trend-post{padding:14px}
 .trend-post p{font-size:13px}
 .trend-post-footer{gap:10px}
 .trend-post-footer .trend-post-open{width:100%;margin-left:0}
}
