/* Selected Signal Riot: independent public smart-money snapshot view. */
#primary-views>.view-switch{grid-template-columns:repeat(4,minmax(0,1fr))}
#primary-views>.view-switch button{font-size:14px;gap:8px}
.smart-controls{display:grid;gap:10px;padding:12px 0 15px;grid-column:1/-1}
.smart-control-group{display:flex;align-items:center;gap:5px;flex-wrap:wrap}
.smart-control-group>span{font-size:10px;font-weight:600;color:#65705b;min-width:44px;margin-right:3px}
.smart-control-group button{font-size:11px;padding:6px 9px;background:#fafbf4;border:1px solid #bbc3ac;color:#4c5941;border-radius:1px;line-height:1.3}
.smart-control-group button[aria-pressed=true]{background:#242a1d;color:#f7de55;border-color:#242a1d;box-shadow:2px 2px 0 #d8dbc9}
.smart-source-status{display:flex;gap:5px 13px;flex-wrap:wrap;align-items:center;border:1px solid #c2c8b6;border-left:3px solid #5c6b48;padding:9px 11px;background:#f5f6ed;color:#65705b;font-size:10px;line-height:1.7;grid-column:1/-1}
.smart-source-status .smart-status-mode{font-weight:600;color:#3c4730}.smart-source-status.has-error{border-left-color:#a85c32}.smart-source-status.has-error .smart-status-mode{color:#854a2c}
.smart-intro{grid-column:1/-1;padding:11px 13px!important;border:1px solid #c2c7b5;background:#edeee2;font-size:11px;line-height:1.8;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 14px}
.smart-intro>strong{font-size:12px;font-weight:600}.smart-intro>p{margin:0;grid-column:1;line-height:1.8}.smart-intro>a{grid-column:2;grid-row:1/3;align-self:center;font-size:10px;color:#70621d;border-bottom:1px solid #c8b754}
#feed.feed-smart,#feed:has(.smart-card){grid-template-columns:1fr!important}
.signal.smart-card{display:block;min-height:0;padding:16px 18px;background:#fdfef8;border:1px solid #aeb69e!important;border-radius:2px!important;box-shadow:3px 3px 0 #e0e2d4;min-width:0}
.smart-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.smart-token{display:flex;gap:10px;min-width:0;align-items:center}.smart-token>div{min-width:0}.smart-token b{font-size:16px;font-weight:650;display:block;overflow-wrap:anywhere;line-height:1.4;color:#262e1e}.smart-monogram{width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;background:#e8e2f7;border:1px solid #c6b8e3;color:#74549b;font-size:12px;font-weight:700}.smart-robinhood .smart-monogram{background:#f4e6a1;border-color:#d8c775;color:#786111}
.smart-wallet{font-size:10px;color:#6a755e;display:block;margin-top:3px;overflow-wrap:anywhere}.smart-badges{display:flex;align-items:center;justify-content:flex-end;gap:5px;flex-wrap:wrap;flex-shrink:0}.smart-chain,.smart-kind{font-size:10px;font-weight:650;line-height:1.3;border:1px solid #c3b3da;padding:4px 7px;background:#ebe3f4;color:#6c478f}.smart-robinhood .smart-chain{background:#f4e6a1;border-color:#d6c26b;color:#796311}.smart-kind{background:#2c3324;color:#f5edd0;border-color:#2c3324}.smart-kind-cluster{background:#f6df58;color:#3a341c;border-color:#c7b247}.smart-kind-sell{background:#eee1dc;color:#8e4a39;border-color:#cfb4a8}.smart-kind-deploy{background:#e2e9d3;color:#4e6835;border-color:#b7c6a1}
.smart-byline{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:12px 0 8px;font-size:10px;color:#78816d}.smart-byline>span{color:#7a6924}.smart-byline time{font-variant-numeric:tabular-nums;text-align:right}
.smart-message,.smart-full-message{white-space:pre-wrap;overflow-wrap:anywhere;word-break:normal;font-family:Inter,"Microsoft YaHei",sans-serif;font-size:13px;line-height:1.85;color:#30392a;margin:0}.smart-message{padding:10px 12px;border-left:3px solid #e1c52c;background:#f3f3e8}
.smart-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;border-bottom:1px solid #dce1d0;padding:12px 0 10px;margin-bottom:9px}.smart-metrics>div{min-width:0}.smart-metrics span{display:block;font-size:9px;color:#818974;margin-bottom:4px}.smart-metrics strong{display:block;font-size:12px;font-weight:550;color:#4d5b3e;overflow-wrap:anywhere}.smart-unprovided{font-size:10px;color:#7a846e}
.smart-card .smart-card-actions{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:0;margin:0;border:0;font-size:11px;max-width:none}.smart-copy{border:0;border-bottom:1px dotted #9aab83;padding:3px 0;background:transparent;color:#61704e;font:10px Consolas,monospace;max-width:100%;overflow-wrap:anywhere;text-align:left}.smart-copy>span{font-size:12px;margin-left:4px}.smart-explorer{font-size:10px;color:#897522;white-space:nowrap}
.smart-detail{margin-top:12px;border-top:1px dashed #b6c0a5;padding-top:9px}.smart-detail>summary{cursor:pointer;font-size:11px;font-weight:550;color:#626d51;width:fit-content;max-width:100%}.smart-detail[open]>summary{color:#74601c}.smart-detail-body{padding:13px 0 0;min-width:0}.smart-full-message{padding:11px 12px;background:#eeefe4;border:1px solid #d4dac6;font-size:12px}.smart-detail dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 20px;margin:16px 0 0}.smart-detail dl>div{min-width:0}.smart-detail dt{font-size:10px;color:#8a907f;margin-bottom:4px}.smart-detail dd{font-size:11px;line-height:1.8;color:#4e5a40;margin:0;overflow-wrap:anywhere}.smart-detail .smart-full-address{grid-column:1/-1}.smart-full-address code{font:11px Consolas,monospace;display:block;overflow-wrap:anywhere;color:#46553a}.smart-field-note{font-size:10px;line-height:1.8;color:#7e866f;margin:15px 0 0;padding-top:10px;border-top:1px solid #d7dec9}.smart-empty{grid-column:1/-1}
.smart-controls button:focus-visible,.smart-copy:focus-visible,.smart-explorer:focus-visible,.smart-detail summary:focus-visible{outline:2px solid #9c7c0f;outline-offset:3px}
@media(hover:hover) and (pointer:fine){.smart-control-group button:hover{border-color:#727f60}.smart-control-group button[aria-pressed=true]:hover{background:#3c442f}.smart-copy:hover,.smart-explorer:hover{color:#8c6d08}.smart-detail summary:hover{color:#8c6d08}}
@media(max-width:900px){#primary-views>.view-switch button{font-size:12px;gap:6px}.smart-intro{grid-template-columns:1fr}.smart-intro>a{grid-column:1;grid-row:auto;justify-self:start}.smart-intro>p{grid-column:1}}
@media(max-width:600px){#primary-views>.view-switch{grid-template-columns:repeat(2,minmax(0,1fr))}#primary-views>.view-switch button{font-size:13px;min-height:44px}#primary-views>.view-switch button:nth-child(2){border-right:0}#primary-views>.view-switch button:nth-child(-n+2){border-bottom:1px solid #25271f}.smart-controls{gap:9px;padding:9px 0 12px}.smart-control-group{gap:4px}.smart-control-group>span{font-size:9px;min-width:38px}.smart-control-group button{font-size:10px;padding:6px 7px}.smart-source-status{font-size:9px;padding:8px 9px;gap:3px 10px}.smart-intro{padding:9px 11px!important;font-size:10px}.smart-intro>strong{font-size:11px}.signal.smart-card{padding:13px 12px;box-shadow:2px 2px 0 #e0e2d4}.smart-head{gap:9px}.smart-token{gap:8px}.smart-token b{font-size:14px}.smart-monogram{width:30px;height:30px;flex-basis:30px;font-size:10px}.smart-wallet{font-size:9px;line-height:1.6}.smart-badges{gap:4px;max-width:119px}.smart-chain,.smart-kind{font-size:9px;padding:3px 5px}.smart-byline{font-size:9px;align-items:start;gap:12px;margin:10px 0 7px}.smart-byline time{max-width:180px}.smart-message{font-size:12px;line-height:1.85;padding:9px 10px}.smart-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px;padding:11px 0}.smart-metrics strong{font-size:11px}.smart-card .smart-card-actions{flex-wrap:wrap;gap:6px 12px}.smart-explorer{font-size:10px}.smart-detail>summary{font-size:10px}.smart-detail dl{grid-template-columns:1fr;gap:11px;margin-top:12px}.smart-detail .smart-full-address{grid-column:1}.smart-full-message{font-size:11px;padding:9px 10px}.smart-detail dd{font-size:10px}.smart-full-address code{font-size:10px}.smart-field-note{font-size:9px}}
@media(prefers-reduced-motion:reduce){.smart-card,.smart-controls button,.smart-copy,.smart-explorer{transition:none!important;animation:none!important}}

/* Compact smart-view hierarchy: search, filters, then matching results. */
.smart-controls{grid-row:2}
#controls:has(.smart-controls) .results-info{grid-row:3;grid-column:1/-1;justify-content:space-between}
.smart-intro{display:flex;align-items:flex-start;justify-content:space-between;gap:8px 14px;padding:8px 11px!important}
.smart-notes{min-width:0;flex:1}.smart-notes>summary{font-size:10px;font-weight:550;color:#536143;cursor:pointer;line-height:1.8}
.smart-notes>div{padding-top:7px}.smart-notes p{font-size:10px;line-height:1.8;margin:0 0 6px;color:#737c65}
.smart-intro>a{font-size:10px;align-self:flex-start;white-space:nowrap;margin-top:2px}
.smart-notes>summary:focus-visible{outline:2px solid #9c7c0f;outline-offset:3px}
@media(max-width:600px){.smart-intro{gap:6px 9px;padding:8px 9px!important}.smart-notes>summary,.smart-intro>a{font-size:9px}.smart-notes p{font-size:9px}}

.smart-metrics{grid-template-columns:repeat(2,minmax(0,1fr));padding:9px 0 8px;gap:9px 16px}
@media(min-width:601px){.smart-metrics:has(>div:nth-child(3)){grid-template-columns:repeat(4,minmax(0,1fr))}}

/* Keep filters and source notes compact enough to expose the signal itself. */
#controls[data-view="smart-money"]{gap:6px;padding:8px 0 10px}
.smart-controls{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;padding:2px 0}
#feed:has(.smart-source-status){row-gap:8px!important}
@media(max-width:700px){#stats[data-view="smart-money"]{grid-template-columns:repeat(4,minmax(0,1fr))}#stats[data-view="smart-money"] .stat{padding:8px}#stats[data-view="smart-money"] .stat-label{font-size:8px;min-height:24px;line-height:1.5;margin-bottom:3px}#stats[data-view="smart-money"] .stat-value{font-size:22px}}
@media(max-width:600px){.smart-controls{display:grid;gap:7px;padding:2px 0}.smart-source-status span:nth-child(n+3){display:none}.smart-source-status{gap:3px 8px}.smart-intro{align-items:center}}

.smart-debot{display:inline-flex;align-items:center;justify-content:center;padding:6px 9px;background:var(--yellow);border:1px solid #25271f;color:#25271f;font-size:10px;font-weight:650;line-height:1.5;box-shadow:2px 2px 0 #ddd3a0}
.smart-debot:hover{background:#f1d237}.smart-debot:focus-visible{outline:2px solid #9c7c0f;outline-offset:3px}
@media(max-width:600px){.smart-debot{font-size:9px;padding:5px 7px}}
