/* Compact instrument dial; both themes share geometry and paired text colors. */
#real-sentiment{--fg-fear-deep:#2758a2;--fg-fear:#6398dd;--fg-neutral:#b6c2d2;--fg-greed:#ecbb64;--fg-greed-deep:#ee872f}
#real-sentiment .fg-dashboard{display:grid;grid-template-columns:minmax(0,1fr) 104px;align-items:center;gap:16px;margin:0}
#real-sentiment .fg-dial{margin:0;min-width:0;max-width:300px;width:100%;justify-self:center}
#real-sentiment .fg-dial svg{display:block;width:100%;height:auto;overflow:visible}
#real-sentiment .fg-track{fill:none;stroke:var(--mm-soft);stroke-width:23}
#real-sentiment .fg-arc{fill:none;stroke-width:20;stroke-linecap:butt}
#real-sentiment .fg-fear-deep{stroke:var(--fg-fear-deep);background:var(--fg-fear-deep)}
#real-sentiment .fg-fear{stroke:var(--fg-fear);background:var(--fg-fear)}
#real-sentiment .fg-neutral{stroke:var(--fg-neutral);background:var(--fg-neutral)}
#real-sentiment .fg-greed{stroke:var(--fg-greed);background:var(--fg-greed)}
#real-sentiment .fg-greed-deep{stroke:var(--fg-greed-deep);background:var(--fg-greed-deep)}
#real-sentiment .fg-tick{stroke:var(--mm-muted);stroke-width:1;fill:none}
#real-sentiment .fg-needle{fill:var(--mm-ink);stroke:var(--mm-surface);stroke-width:1.5;stroke-linejoin:round}
#real-sentiment .fg-dial text{font-family:inherit;fill:var(--mm-ink)}
#real-sentiment .fg-dial .fg-score{font-size:58px;font-weight:750;letter-spacing:-2px;font-variant-numeric:tabular-nums}
#real-sentiment .fg-dial .fg-out-of{font-size:13px;fill:var(--mm-muted)}
#real-sentiment .fg-dial .fg-grade{font-size:19px;font-weight:700}
#real-sentiment .fg-dial :is(.fg-scale,.fg-end-label){font-size:13px;fill:var(--mm-muted)}
#real-sentiment .fg-history{display:grid;gap:8px;margin:0;min-width:0}
#real-sentiment .fg-history>div{background:var(--mm-soft);padding:10px 11px;border-radius:10px}
#real-sentiment .fg-history dt{font-size:11px;line-height:1.5;color:var(--mm-muted);margin:0}
#real-sentiment .fg-history dd{margin:0;font-size:23px;line-height:1.4;font-weight:700;color:var(--mm-ink);font-variant-numeric:tabular-nums}
#real-sentiment .fg-history small{display:block;font-size:10px;line-height:1.5;font-weight:500;white-space:nowrap;color:var(--mm-muted)}
#real-sentiment .fg-as-of{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;color:var(--mm-muted);padding:9px 0 10px;margin-top:4px;border-bottom:1px solid var(--mm-line)}
#real-sentiment .fg-as-of>span{display:flex;gap:6px;align-items:center;color:var(--mm-ink);font-weight:600}
#real-sentiment .fg-as-of i{display:inline-block;width:8px;height:8px;border-radius:50%}
#real-sentiment .fg-method{margin-top:9px!important;font-size:11px!important}
#real-sentiment .fg-method summary{color:var(--mm-muted);cursor:pointer;min-height:24px;line-height:24px}
#real-sentiment .fg-method p{font-size:12px;line-height:1.7;color:var(--mm-muted)}
#real-sentiment .fg-indicators>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 8px;padding:9px 0;border-bottom:1px solid var(--mm-line)}
#real-sentiment .fg-indicators b{font-size:12px;color:var(--mm-ink)}
#real-sentiment .fg-indicators strong{font-size:14px;color:var(--mm-ink)}
#real-sentiment .fg-indicators small{grid-column:1/-1;color:var(--mm-muted);font-size:11px;line-height:1.6}
#real-sentiment[aria-busy=true] .fg-dashboard{opacity:.6}
@media(max-width:760px){#real-sentiment .fg-dashboard{gap:8px;grid-template-columns:minmax(0,1fr) 94px}#real-sentiment .fg-history>div{padding:8px}#real-sentiment .fg-history dd{font-size:21px}#real-sentiment .fg-history small{font-size:9px}#real-sentiment .fg-dial{max-width:300px}}
@media(max-width:360px){#real-sentiment .fg-dashboard{grid-template-columns:minmax(0,1fr) 80px;gap:4px}#real-sentiment .fg-history small{white-space:normal}}

#real-sentiment .fg-loading{min-height:245px;display:grid;place-content:center;color:var(--mm-muted);font-size:12px}
@media(max-width:760px){#real-sentiment .fg-dial .fg-scale{font-size:18px}#real-sentiment .fg-dial .fg-end-label{font-size:17px}#real-sentiment .fg-dial .fg-out-of{font-size:17px}#real-sentiment .fg-dial .fg-grade{font-size:24px}#real-sentiment .fg-history small{font-size:11px!important}}

/* Each score owns a separate card, so adjacent columns never join label and value. */
#real-sentiment .fg-indicators{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;margin-top:10px}
#real-sentiment .fg-indicator{display:block;min-width:0;padding:12px;border:1px solid var(--mm-line);border-radius:12px;background:var(--mm-surface)}
#real-sentiment .fg-indicator-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:9px}
#real-sentiment .fg-indicator-head>b{font-size:13px;line-height:1.55;color:var(--mm-ink);overflow-wrap:anywhere}
#real-sentiment .fg-indicator-score{display:flex;align-items:baseline;gap:4px;flex-shrink:0;padding:1px 7px;border-radius:7px;background:var(--mm-soft);font-variant-numeric:tabular-nums}
#real-sentiment .fg-indicator-score strong{font-size:20px;line-height:1.35;color:var(--mm-ink)}
#real-sentiment .fg-indicator-score small{font-size:11px;color:var(--mm-muted)}
#real-sentiment .fg-indicator-track{height:6px;border-radius:5px;background:var(--mm-soft);overflow:hidden}
#real-sentiment .fg-indicator-track>i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#5683b8,#e49a4b)}
#real-sentiment .fg-indicator>p{font-size:12px!important;line-height:1.7;margin:8px 0!important;color:var(--mm-muted);overflow-wrap:anywhere}
#real-sentiment .fg-indicator>.fg-indicator-meta{display:flex;justify-content:space-between;align-items:center;gap:8px;color:var(--mm-muted);font-size:11px;line-height:1.5;padding:0;margin:0;border:0;background:none}
#real-sentiment .fg-indicator-intro{margin:8px 0!important;font-size:12px!important}
@media(max-width:760px){#real-sentiment .fg-indicators{grid-template-columns:minmax(0,1fr)!important}}
