/* ── Bucket 1: Extracted inline style patterns ─────────────────────────────
   All selectors are namespaced utility classes. No specificity changes.
   ────────────────────────────────────────────────────────────────────────── */

/* Global: "love" heart icon — pink with soft glow */
.fa-heart {
  text-shadow:
    0 0 4px rgba(255, 105, 180, 0.5),
    0 0 8px rgba(255, 45, 120, 0.25);
}
/* Global: broken-heart "hate" icon — nice red with soft glow */
.fa-heart-crack {
  color: #ff3860 !important;
  text-shadow:
    0 0 4px rgba(255, 56, 96, 0.5),
    0 0 8px rgba(239, 35, 60, 0.25) !important;
}
.feed-icon-pink.fa-heart-crack,
.feed-icon-hate.fa-heart-crack {
  color: #ff3860 !important;
}
/* Button hover glows matching icon colors. Not on Love/Hate's Loved | Hated
   words (profile tab and See all): a glow on a plain word drew a square box
   round it on hover, and on :focus it stayed after every mouse click. */
button:has(.fa-heart):not(:has(.fa-heart-crack)):not(.pf-seg__btn):hover,
button:has(.fa-heart):not(:has(.fa-heart-crack)):not(.pf-seg__btn):focus {
  box-shadow: 0 0 14px rgba(255, 105, 180, 0.5) !important;
}
button:has(.fa-heart-crack):not(.pf-seg__btn):hover,
button:has(.fa-heart-crack):not(.pf-seg__btn):focus {
  box-shadow: 0 0 14px rgba(255, 56, 96, 0.5) !important;
}

/* Plain-word filters (Love/Hate's Loved | Hated, Songs / Albums / Artists,
   Highest / Newest, Arrange and the See all page's When row; also Socials and
   Activity, which share .pf-chip). The mouse changes only the word's colour.
   A keyboard focus (:focus-visible only, never a mouse click or a tap) draws
   a soft rounded pill round the word instead of a square outline. Colours
   are the --pf-* tokens of pages/profile-sections.css, so each theme gets its
   own pink. */
.pf-seg .pf-seg__btn,
.pf-chips .pf-chip,
button.pf-lh-arrange {
  position: relative;
  -webkit-tap-highlight-color: transparent;
}
.pf-seg .pf-seg__btn:focus,
.pf-chips .pf-chip:focus,
button.pf-lh-arrange:focus {
  outline: none;
  box-shadow: none;
}
.pf-seg .pf-seg__btn:focus-visible,
.pf-chips .pf-chip:focus-visible,
button.pf-lh-arrange:focus-visible {
  outline: none;
  border-radius: 0;
}
.pf-seg .pf-seg__btn:focus-visible::after,
.pf-chips .pf-chip:focus-visible::after,
button.pf-lh-arrange:focus-visible::after {
  content: "";
  position: absolute;
  inset: 0 -9px -2px;
  border-radius: 999px;
  box-shadow: 0 0 0 2px var(--pf-focus, #ff69b4);
  opacity: 0.7;
  pointer-events: none;
}

/* A1 — Media cover image fill */
.img-cover-fill {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* A2 — Truncated text, bold white */
.text-truncate-bold {
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* A3 — Truncated text, muted small */
.text-truncate-muted {
  color: #aaa;
  font-size: 0.85rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* A4 — Square thumbnail 56×56 */
.thumb-56 {
  width: 56px;
  height: 56px;
  border-radius: 6px;
  object-fit: cover;
}

/* A5 — Square thumbnail 44×44 */
.thumb-44 {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  overflow: hidden;
  background: #111;
  flex-shrink: 0;
}

/* A6 — Flex row, gap-12, align center */
.flex-row-12 {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* A7 — Flex row, gap-8, align center */
.flex-row-8 {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* A8 — Flex row, gap-12, align flex-start */
.flex-row-start-12 {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

/* A9 — Empty state text */
.empty-state {
  color: #aaa;
  text-align: center;
}

/* A15 — Cover art image (full-width, rounded) */
.cover-art {
  width: 100%;
  border-radius: 10px;
}

/* A16 — List reset */
.list-reset {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* A17 — Component list item row */
.list-item-row {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* A28 — Discussion / title link */
.link-title {
  text-decoration: none;
  color: #ffd9f7;
  font-weight: 800;
  font-size: 1.05rem;
}

/* A29 — Flex row, gap-8 (form/button rows) */
.flex-gap-8 {
  display: flex;
  gap: 8px;
}

/* A30 — Flex grow with overflow guard */
.flex-min-0 {
  flex: 1;
  min-width: 0;
}

/* Score pill — canonical base definition */
.score-pill {
  display: inline-block;
  background: #000;
  color: #ff69b4;
  padding: 5px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: none;
  border: 1px solid rgba(255,105,180,0.5);
  z-index: 60;
  white-space: nowrap;
}

/* Score pill — hated variant */
.score-pill.hated {
  background: #000;
  color: #ff6b6b;
  border: 1px solid rgba(255,80,80,0.5);
}
