.fear-greed-dashboard{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(230px,.7fr);gap:15px;max-width:1000px;margin-inline:auto;color:var(--tool-text)}
.fear-greed-dashboard .tool-panel{padding:22px;border-radius:19px;margin:0;min-width:0;background:var(--tool-card);border:1px solid var(--tool-line)}
.fg-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}
.fg-panel-heading :is(h2,h3),.fg-comparisons h3{margin:0;font-size:17px;color:var(--tool-text)}
.fg-panel-heading>button{border:0;background:var(--tool-tint);color:var(--tool-muted);padding:6px 10px;border-radius:999px;cursor:pointer;font:11px/1.5 system-ui}
.fg-panel-heading>button:disabled{opacity:.6}
.fg-gauge{position:relative;width:min(290px,100%);margin:22px auto 0;aspect-ratio:240/140}
.fg-gauge>svg{width:100%;height:100%;overflow:visible}.fg-gauge text{font:9px system-ui;fill:var(--tool-muted)}
.fg-current{position:absolute;inset:44% 0 8%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px}
.fg-current strong{font:650 53px/1.08 system-ui;letter-spacing:-2px;color:var(--tool-text)}
.fg-current>span{font-size:13px;color:var(--tool-muted)}
.fg-scale-labels{display:flex;justify-content:space-between;max-width:320px;margin:3px auto 18px;font-size:10px;color:var(--tool-muted)}
.fg-current-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid var(--tool-line);padding-top:14px;font-size:11px;color:var(--tool-muted)}
.fg-current-meta strong{font-weight:500;color:var(--tool-text)}
.fg-overview .tools-data-state{margin:11px 0 0;padding:0;background:transparent;font-size:10px;line-height:1.6;color:var(--tool-muted)}
.fg-overview .tools-data-state.is-error{color:#d77c79}
.fg-comparisons h3{margin-bottom:10px}.fg-comparison{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:21px 0;border-bottom:1px solid var(--tool-line);font-size:13px}
.fg-comparison:last-child{border:0;padding-bottom:0}.fg-comparison>span{color:var(--tool-muted)}
.fg-comparison>div{display:flex;align-items:center;gap:12px}.fg-comparison strong{font:650 26px/1.2 system-ui;color:var(--tool-text)}
.fg-comparison>div>span{font-size:11px;min-width:48px;text-align:right;color:var(--tool-muted)}
.fg-trend,.fg-history,.fg-explain,.fg-source{grid-column:1/-1}
.fg-periods{display:flex;gap:3px;padding:3px;border-radius:10px;background:var(--tool-tint)}
.fg-periods button{border:0;border-radius:8px;background:transparent;color:var(--tool-muted);font:11px/1.5 system-ui;padding:5px 10px;cursor:pointer}
.fg-periods button[aria-pressed=true]{background:var(--tool-card);color:var(--tool-link);box-shadow:0 1px 5px #142d4810}
.fg-chart{margin-top:22px;min-height:190px}.fg-chart svg{display:block;width:100%;height:215px}.fg-chart svg text{fill:var(--tool-muted);font-size:10px}.fg-chart .chart-grid{stroke:var(--tool-line);stroke-dasharray:3 5}.fg-chart .chart-line{fill:none;stroke:#4a83da;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round}.fg-chart .fear-trend-area{fill:#6999e616}.fg-chart .fear-trend-dot{fill:#4a83da}.fg-chart .fear-trend-dot-glow{fill:#4a83da25}
.fg-chart-footer{display:flex;justify-content:space-between;gap:10px;margin-top:3px;color:var(--tool-muted);font-size:10px}
.fg-history summary,.fg-explain summary{display:flex;align-items:center;justify-content:space-between;list-style:none;cursor:pointer;font-size:14px;font-weight:600;color:var(--tool-text)}
.fg-history summary::-webkit-details-marker,.fg-explain summary::-webkit-details-marker{display:none}.fg-history summary:after,.fg-explain summary:after{content:'＋';font:16px system-ui;color:var(--tool-muted)}
.fg-history[open] summary:after,.fg-explain[open] summary:after{content:'−'}
.fg-history .tool-table-wrap{margin-top:16px}.fg-history .tool-data-table{min-width:0;width:100%}.fg-history .tool-data-table :is(th,td){padding:12px 9px;font-size:12px;white-space:nowrap}
.fg-explain p{font-size:12px;line-height:1.9;color:var(--tool-muted);margin:13px 0 0}
.fg-source{display:flex;flex-wrap:wrap;gap:5px;font-size:10px;color:var(--tool-muted);margin:0 2px}.fg-source>span{margin-left:auto}.fg-source a{color:var(--tool-muted)}
@media(max-width:760px){.fear-greed-dashboard{grid-template-columns:1fr;gap:12px}.fear-greed-dashboard .tool-panel{padding:17px 14px;border-radius:17px}.fg-panel-heading :is(h2,h3){font-size:16px}.fg-gauge{width:250px;margin-top:17px}.fg-current strong{font-size:48px}.fg-scale-labels{max-width:270px;margin-bottom:15px}.fg-current-meta{font-size:10px}.fg-comparisons h3{font-size:13px;margin:0 0 12px}.fg-comparisons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.fg-comparisons h3{grid-column:1/-1}.fg-comparison{display:flex;flex-direction:column;gap:9px;padding:0 5px!important;border:0;font-size:11px}.fg-comparison+.fg-comparison{border-left:1px solid var(--tool-line)}.fg-comparison>div{flex-direction:column;gap:4px}.fg-comparison strong{font-size:24px}.fg-comparison>div>span{text-align:center;min-width:0;font-size:10px}.fg-chart{margin-top:16px;min-height:170px}.fg-chart svg{height:185px}.fg-periods button{padding:5px 8px}.fg-history .tool-data-table :is(th,td){padding:11px 5px;font-size:11px}.fg-source>span{width:100%;margin:0}}

.fg-auto-update{display:inline-flex;align-items:center;gap:5px;color:var(--tool-muted);font-size:10px;white-space:nowrap}.fg-auto-update:before{content:"";width:5px;height:5px;border-radius:50%;background:#67a68a}
