/* ParlayDesk — Favorites ★ control (2026-10-20, pd-favorites.js).
   A small outline star (☆) that fills amber when saved (★). The visible
   button is 28px so it sits inside a line of text without growing it; on
   touch screens an invisible ::after extends the target to 40px. */
.pd-fav-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  margin: -4px 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted, #94a3b8);
  cursor: pointer;
  vertical-align: middle;
  -webkit-tap-highlight-color: transparent;
  transition: color 120ms ease, background-color 120ms ease, transform 120ms ease;
}
.pd-fav-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linejoin: round;
}
.pd-fav-btn[data-fav-on="true"] { color: #fbbf24; }
.pd-fav-btn[data-fav-on="true"] .pd-fav-icon { fill: currentColor; }
.pd-fav-btn:active { transform: scale(.9); }
.pd-fav-btn:focus-visible {
  outline: 2px solid var(--accent2, #60a5fa);
  outline-offset: 1px;
}
@media (hover: hover) {
  .pd-fav-btn:hover { color: var(--text, #e5e7eb); background: rgba(255, 255, 255, .06); }
  .pd-fav-btn[data-fav-on="true"]:hover { color: #fcd34d; }
}
@media (pointer: coarse) {
  .pd-fav-btn::after {
    content: "";
    position: absolute;
    inset: -6px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pd-fav-btn { transition: none; }
  .pd-fav-btn:active { transform: none; }
}
