/* ══════════════════════════════════════════════════════════════════════
   Sentiment Pulse Widget CSS — plan-20260323-042100-feat-002
   ══════════════════════════════════════════════════════════════════════ */

.sp-widget {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 4px 10px;
  cursor: pointer;
  position: relative;
  white-space: nowrap;
}
.sp-widget:hover .sp-tooltip { display: block; }

.sp-label {
  font-size: .6rem;
  font-weight: 700;
  color: var(--text2);
  letter-spacing: .06em;
  line-height: 1;
}

.sp-score {
  font-size: .9rem;
  font-weight: 800;
  line-height: 1;
  color: var(--yellow);
}
.sp-score.bull { color: var(--green); }
.sp-score.bear { color: var(--red); }
.sp-score.neut { color: var(--yellow); }

.sp-bar-track {
  width: 54px;
  height: 4px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.sp-bar-fill {
  height: 100%;
  background: var(--yellow);
  border-radius: 3px;
  transition: width .5s ease, background .3s ease;
}

.sp-interpretation {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--yellow);
  line-height: 1;
  margin-top: 1px;
}
.sp-interpretation.bull { color: var(--green); }
.sp-interpretation.bear { color: var(--red); }
.sp-interpretation.neut { color: var(--yellow); }

.sp-trend {
  font-size: .62rem;
  font-weight: 700;
  color: var(--yellow);
  line-height: 1;
  padding-left: 4px;
  border-left: 1px solid var(--border);
}

/* Tooltip */
.sp-tooltip {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: #161b22;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  width: 230px;
  z-index: 200;
  box-shadow: 0 4px 16px rgba(0,0,0,.5);
}

.sp-tooltip-row {
  display: flex;
  justify-content: space-between;
  font-size: .7rem;
  padding: 2px 0;
  line-height: 1.4;
}
