@charset "utf-8";
/* CSS Document */

.pf-snaps-widget {
  background: #04152b;
  color: #ffffff;
  border-radius: 12px;
  padding: 14px 16px 12px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, sans-serif;
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
  max-width: 100%;
  box-sizing: border-box;
}

.pf-snaps-header {
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 13px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.pf-snaps-context {
  font-size: 11px;
  line-height: 1.3;
  opacity: 0.85;
  margin-bottom: 8px;
}

.pf-snaps-context-prev,
.pf-snaps-context-last {
  font-weight: 600;
}

.pf-snaps-section {
  margin-top: 4px;
}

.pf-snaps-section-title {
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 4px;
  opacity: 0.9;
}

.pf-snaps-emoji {
  font-size: 13px;
}

.pf-snaps-divider {
  height: 1px;
  background: linear-gradient(to right, #c8102e, transparent);
  margin: 8px 0;
  opacity: 0.85;
}

#pf-snaps-risers,
#pf-snaps-fallers {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  font-size: 12px;
}

#pf-snaps-risers li,
#pf-snaps-fallers li {
  margin: 3px 0;
}

/* Row layout: name + delta + bar */
.pf-snaps-row-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.pf-snaps-name {
  font-weight: 500;
  margin-right: 6px;
}

.pf-snaps-delta {
  font-weight: 600;
  white-space: nowrap;
  font-size: 11px;
}

.pf-snaps-delta.rise {
  color: #46e37f;
}

.pf-snaps-delta.fall {
  color: #ff726a;
}

/* Animated bar */
.pf-snaps-bar-track {
  margin-top: 2px;
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  height: 4px;
  overflow: hidden;
}

.pf-snaps-bar-fill {
  height: 100%;
  border-radius: inherit;
  width: 0;
  transition: width 0.6s ease-out;
}

.pf-snaps-bar-fill.rise {
  background: linear-gradient(to right, #46e37f, #d5ffb8);
}

.pf-snaps-bar-fill.fall {
  background: linear-gradient(to right, #ff726a, #ffd0c7);
}

.pf-snaps-cta {
  display: block;
  margin-top: 10px;
  font-size: 11px;
  text-align: right;
  text-decoration: none;
  color: #f5f5f5;
  font-weight: 600;
}

.pf-snaps-cta:hover {
  text-decoration: underline;
}