  /* ==========================================================================
    Theme Like — heart button + dropdown
    ========================================================================== */

  /* Base pill - higher specificity to override Bootstrap */
  button.theme-like,
  .btn.theme-like {
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: .4rem !important;
    min-height: 32px !important;
    padding: .25rem .7rem !important;
    border: 1px solid rgba(255,23,68,.45) !important;
    border-radius: 9999px !important;
    background: rgba(255,23,68,.08) !important;
    line-height: 1 !important;
    user-select: none !important;
    transition: background .15s, border-color .15s, box-shadow .15s !important;
    text-decoration: none !important;
    font-weight: normal !important;
    box-shadow: none !important;
  }

  button.theme-like:hover,
  .btn.theme-like:hover {
    background: rgba(255,23,68,.15) !important;
    border-color: rgba(255,23,68,.55) !important;
    box-shadow: none !important;
  }

  button.theme-like:focus,
  .btn.theme-like:focus {
    box-shadow: none !important;
    outline: none !important;
  }

  button.theme-like:active,
  .btn.theme-like:active {
    box-shadow: none !important;
    transform: none !important;
  }

  /* Icon */
  .theme-like .heart-icon {
    font-style: normal !important;
    display: inline-block !important;
    transform: translateY(-1px) !important;
    font-size: 20px !important;          /* bigger heart */
    line-height: 1 !important;
    transition: transform .15s !important;
  }

  .theme-like:hover .heart-icon {
    transform: translateY(-1px) scale(1.1) !important;
  }

  /* Default state */
  .theme-like .heart-icon::before {
    content: '♡' !important;
    color: #d0d6e1 !important;
  }

  /* Liked state = filled red heart */
  .theme-like.is-liked .heart-icon::before {
    content: '❤' !important;
    color: #ff1744 !important;
  }

  .theme-like.is-liked {
    border-color: rgba(255,23,68,.55) !important;
    box-shadow: inset 0 0 10px rgba(255,23,68,.25) !important;
  }

  /* Count */
  .theme-like .like-count {
    font-weight: 700 !important;
    opacity: .95 !important;
    font-size: 15px !important;
  }

  /* Dropdown with liker names */
  .theme-like-wrap .theme-like {
    position: relative !important;
  }

  .theme-like-dropdown {
    border-radius: .75rem !important;
    font-size: .85rem !important;
    background: #111 !important;
    color: #eee !important;
    border: 1px solid rgba(255,255,255,.1) !important;
  }

  .theme-like-dropdown li {
    padding: .25rem .5rem !important;
    cursor: default !important;
  }

  .theme-like-dropdown li:not(:last-child) {
    border-bottom: 1px solid rgba(255,255,255,.07) !important;
  }

  .theme-like-dropdown li:hover {
    background: rgba(255,255,255,.05) !important;
  }

  /* ---- Context: theme row ---- */
  .ap-theme-row .theme-like {
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: .4rem !important;
    min-height: 32px !important;
    padding: .25rem .7rem !important;
    border: 1px solid rgba(22,241,211,.30) !important;
    border-radius: 9999px !important;
    background: rgba(22,241,211,.06) !important;
  }

  .ap-theme-row .theme-like:hover {
    background: rgba(22,241,211,.10) !important;
  }

  .ap-theme-row .theme-like .heart-icon {
    font-style: normal !important;
    transform: translateY(-1px) !important;
    font-size: 20px !important;
  }

  .ap-theme-row .theme-like .heart-icon::before {
    content: '♡' !important;
    color: #d0d6e1 !important;
  }

  .ap-theme-row .theme-like.is-liked .heart-icon::before {
    content: '❤' !important;
    color: #ff1744 !important;
  }

  .ap-theme-row .theme-like .like-count {
    font-weight: 700 !important;
    opacity: .95 !important;
    font-size: 15px !important;
  }

  /* tiny nudge so the pill doesn't stick to the title */
  .ap-theme-row .ap-title {
    margin-right: .35rem !important;
  }
