/* Keep recipe sharing reachable from the recipe cards themselves. */
.app-shell #recipeScreen .discovery-card .discovery-share {
  position: absolute;
  top: -3px;
  right: -7px;
  display: grid;
  width: 44px;
  height: 44px;
  min-height: 44px;
  place-items: center;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: #cfb59c;
  cursor: pointer;
}
.app-shell #recipeScreen .discovery-card .discovery-share svg { width: 18px; height: 18px; }
.app-shell #recipeScreen .discovery-card .discovery-share:hover { color: #fff0db; background: #ffffff12; }
body[data-screen="recipes"][data-recipe-view="library"] .app-shell #recipeScreen .library-card .discovery-body { padding-right: 62px; }
.app-shell #recipeScreen .library-card .discovery-share {
  position: absolute;
  z-index: 2;
  top: 8px;
  right: 32px;
  display: grid;
  width: 28px;
  height: 32px;
  min-height: 32px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #cfb59c;
  cursor: pointer;
}
.app-shell #recipeScreen .library-card .discovery-share svg { width: 16px; height: 16px; }
.app-shell #recipeScreen .library-card .discovery-share:hover { color: #fff0db; background: #ffffff12; }
body[data-screen="recipes"][data-recipe-view="library"] .app-shell #recipeScreen .library-card .discovery-favorite {
  top: 8px;
  right: 0;
  width: 32px;
  height: 32px;
  min-height: 32px;
}
@media (max-width: 620px) {
  body[data-screen="recipes"][data-recipe-view="results"] .app-shell #recipeScreen .discovery-card:not(.library-card) .discovery-share {
    top: -5px;
    width: 32px;
    height: 32px;
    min-height: 32px;
  }
  body[data-screen="recipes"][data-recipe-view="results"] .app-shell #recipeScreen .discovery-card:not(.library-card) .discovery-share { right: -6px; }
}
