.pf-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 14px 0;
}

@media (max-width: 980px) {
  .pf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .pf-grid { grid-template-columns: 1fr; }
}

.pf-card {
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 16px;
  padding: 14px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

.pf-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
}

.pf-date {
  font-size: 13px;
  opacity: .75;
}

.pf-title {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom: 10px;
}

.pf-badge {
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(0,0,0,.03);
}

.pf-status { font-weight: 800; }
.pf-status-en_cours { background: rgba(255,165,0,.12); }
.pf-status-gagne { background: rgba(0,200,90,.12); }
.pf-status-perdu { background: rgba(220,0,0,.10); }
.pf-status-rembourse { background: rgba(80,80,80,.10); }

.pf-odd {
  font-size: 13px;
  opacity: .9;
}

.pf-matches {
  font-size: 13px;
  margin: 10px 0;
  line-height: 1.35;
}
.pf-match { margin: 3px 0; }
.pf-sub { opacity: .7; font-size: 12px; }

.pf-tip {
  margin: 10px 0 12px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(0,0,0,.03);
  border: 1px solid rgba(0,0,0,.06);
  font-size: 14px;
}

.pf-meta .pf-row {
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:12px;
  padding: 6px 0;
  border-top: 1px dashed rgba(0,0,0,.10);
}
.pf-meta .pf-row:first-child { border-top: none; padding-top: 0; }

.pf-label { font-size: 12px; opacity: .75; }
.pf-val { font-size: 13px; }

.pf-alert {
  margin-top: 10px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(255,0,0,.06);
  border: 1px solid rgba(255,0,0,.16);
  color: #b30000;
  font-weight: 700;
  font-size: 13px;
}

.pf-profit-plus { font-weight: 800; }
.pf-profit-minus { font-weight: 800; }
.pf-profit-zero { font-weight: 800; opacity:.8; }

.pf-filters {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:end;
  padding: 12px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  background: rgba(0,0,0,.02);
  margin: 12px 0 14px;
}
.pf-filters label {
  display:flex;
  flex-direction:column;
  gap:6px;
  font-size: 12px;
  opacity: .9;
}
.pf-filters select, .pf-filters input[type="date"] {
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,.14);
  background: #fff;
}
.pf-filters button {
  padding: 9px 14px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.14);
  background: #fff;
  font-weight: 800;
}

.pf-stats {
  display:grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0;
}
@media (max-width: 980px) {
  .pf-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.pf-stat {
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 16px;
  padding: 12px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,.05);
}
.pf-stat-label { font-size: 12px; opacity:.75; margin-bottom: 6px; }
.pf-stat-val { font-size: 18px; font-weight: 900; }
.pf-stat-highlight { border-width: 2px; }

.pf-bankroll {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:end;
  margin: 8px 0 12px;
}
.pf-bankroll label {
  display:flex;
  flex-direction:column;
  gap:6px;
  font-size: 12px;
}
.pf-bankroll input {
  padding: 9px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.14);
}
.pf-bankroll button {
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.14);
  background: #fff;
  font-weight: 900;
}
