@charset "utf-8";
/* CSS Document */

.pf-stats-widget {
  background: radial-gradient(circle at top left, #0b254a, #020814);
  color: #ffffff;
  border-radius: 14px;
  padding: 14px 16px 12px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, sans-serif;
  box-shadow: 0 10px 28px rgba(0,0,0,0.45);
  margin-bottom: 18px;
  border: 1px solid rgba(255,255,255,0.05);
  position: relative;
  overflow: hidden;
}

.pf-stats-widget::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at top right,
              rgba(200,16,46,0.13),
              transparent 60%);
  opacity: 0.9;
  pointer-events: none;
}

/* Header row */

.pf-stats-header-row {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1;
}

.pf-stats-kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.9;
}

.pf-stats-badge {
  font-size: 11px;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(4,21,43,0.7);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.45);
  letter-spacing: 0.08em;
  animation: pf-stats-badge-pulse 3s ease-in-out infinite;
}

@keyframes pf-stats-badge-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200,16,46,0.0); }
  50%      { box-shadow: 0 0 12px 0 rgba(200,16,46,0.5); }
}

/* Week / matchup line */

.pf-stats-week {
  position: relative;
  margin-top: 6px;
  margin-bottom: 10px;
  font-size: 11px;
  opacity: 0.95;
  z-index: 1;
}

.pf-stats-week::after {
  content: "";
  display: block;
  margin-top: 6px;
  height: 1px;
  background: linear-gradient(to right, #c8102e, transparent);
  opacity: 0.9;
}

/* Body */

.pf-stats-body {
  position: relative;
  margin-top: 2px;
  z-index: 1;
}

.pf-stats-line {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 4px 0;
}

.pf-stats-line-compact {
  align-items: center;
}

.pf-stats-label {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 2px 6px 2px 5px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(3,16,34,0.9);
}

.pf-stats-label-qb {
  border-color: rgba(255,255,255,0.25);
}

.pf-stats-label-rush {
  border-color: rgba(91, 214, 135, 0.7);
}

.pf-stats-label-rec {
  border-color: rgba(121, 191, 255, 0.7);
}

.pf-stats-label-3rd {
  border-color: rgba(252, 211, 77, 0.8);
}

.pf-stats-text {
  font-size: 12px;
  line-height: 1.3;
}

/* 3rd down “chip” */

.pf-stats-chip {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(252, 211, 77, 0.12);
  border: 1px solid rgba(252, 211, 77, 0.7);
  font-weight: 600;
}

/* CTA */

.pf-stats-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 10px;
  margin-left: auto;
  font-size: 11px;
  text-decoration: none;
  color: #f5f5f5;
  font-weight: 600;
  gap: 4px;
  z-index: 1;
}

.pf-stats-cta::after {
  content: "›";
  font-size: 12px;
  margin-top: 1px;
  transition: transform 0.15s ease-out;
}

.pf-stats-cta:hover::after {
  transform: translateX(2px);
}

.pf-stats-cta:hover {
  text-decoration: underline;
}
